About 1,400,000 results
Open links in new tab
  1. process - Running multiple functions in php - Stack Overflow

    Jan 20, 2016 · I need to run several functions at the same time. I had successfully implemented in C# by creating an ElapsedEventHandler and executing it when a timer gets elapsed. In this way I could run a number of functions at the same time (delegates). How can I …

  2. Combining multiple PHP functions - Stack Overflow

    Feb 3, 2015 · Unlike some other languages (as i.e. Java) in PHP you can't have 2 functions with same name and different parameters. You can not overload the function. Same named function with multiple arguments in PHP

  3. php - Call multiple functions simultaneously - Stack Overflow

    Aug 5, 2015 · I have a function getdata () to retrieve remote webpages and two functions abc () and xyz () with two unique url that are to be retrieved. Now the problem is that each request for getdata () takes around 5 seconds, I have many functions like abc () and xyz (), so calling them sequentially will cost me a lot of time.

  4. PHP Functions - W3Schools

    PHP has over 1000 built-in functions that can be called directly, from within a script, to perform a specific task. Please check out our PHP reference for a complete overview of the PHP built-in functions. Besides the built-in PHP functions, it is possible to create your own functions.

  5. PHP | Functions - GeeksforGeeks

    May 1, 2025 · PHP has two types of functions: 1. User-Defined Functions. A user-defined function is created to perform a specific task as per the developer’s need. These functions can accept parameters, perform computations, and return results. Now, let us understand with the help of example: In this example:

  6. How to excecute multiple functions at a same time - PHP Freaks

    Feb 17, 2009 · You can break up your code into 3 PHP files. And try to use the "system" function that will run these programs independently... system( "file1.php" ); system( "file2.php" ); system( "file3.php" );

  7. How to Define and Call a Function in PHP - Tutorial Republic

    PHP has a huge collection of internal or built-in functions that you can call directly within your PHP scripts to perform a specific task, like gettype(), print_r(), var_dump, etc. Please check out PHP reference section for a complete list of useful PHP built-in functions.

  8. Functions in PHP: Lesson with Examples

    Apr 12, 2022 · Functions in PHP can be called inside other functions. Let's take an absolutely simple example. For example, we need to find the sum of the cosines of two numbers.

  9. PHP Functions - Online Tutorials Library

    There are two types of functions in PHP −. Built-in functions − PHP's standard library contains a large number of built-in functions for string processing, file IO, mathematical computations and more. User-defined functions − You can create user-defined functions too, specific to the requirements of the programming logic.

  10. php - Multiple returns from a function - Stack Overflow

    Is it possible to have a function with two returns like this: function test($testvar) { // Do something return $var1; return $var2; } If so, how would I be able to get each return separately?

  11. Some results have been removed
Refresh