func_get_arg

PHP 4, PHP 5, PHP 7, PHP 8
func_get_arg - Return an item from the argument list
Manual
Code Examples

Example #1 func_get_arg example of byref and byval arguments

Result: As passed : 'bar' After change : 'baz' As passed : 'bar' After change : 'baz'
PHP Version:

Example #2 func_get_arg example

Result: Number of arguments: 3 Second argument is: 2
PHP Version:


Function func_get_arg:

Function Handling Functions

Most used PHP functions