func_get_arg
PHP 4, PHP 5, PHP 7, PHP 8
func_get_arg - Return an item from the argument list
Example #1 func_get_arg example of byref and byval arguments
Result: As passed : 'bar'
After change : 'baz'
As passed : 'bar'
After change : 'baz'
Example #2 func_get_arg example
Result: Number of arguments: 3
Second argument is: 2