Deprecated: foo(): Optional parameter $foo declared before required parameter $bar is implicitly treated as a required parameter in /in/qgbh7 on line 2
name opt? def? value
foo false false -
bar false false -
Deprecated: Optional parameter $foo declared before required parameter $bar is implicitly treated as a required parameter in /in/qgbh7 on line 2
name opt? def? value
foo false false -
bar false false -
Output for 8.0.0 - 8.0.30
Deprecated: Required parameter $bar follows optional parameter $foo in /in/qgbh7 on line 2
name opt? def? value
foo false true foo
bar false false -
name opt? def? value
foo false false -
bar false false -
Output for 5.3.16
name opt? def? value
Fatal error: Uncaught exception 'ReflectionException' with message 'Parameter is not optional' in /in/qgbh7:13
Stack trace:
#0 /in/qgbh7(13): ReflectionParameter->getDefaultValue()
#1 /in/qgbh7(18): dump_function('foo')
#2 {main}
thrown in /in/qgbh7 on line 13
Process exited with code 255.
Output for 5.0.0 - 5.0.2
name opt? def? value
Fatal error: Call to undefined method ReflectionParameter::isDefaultValueAvailable() in /in/qgbh7 on line 13
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: reflectionfunction in /in/qgbh7 on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: reflectionfunction in /in/qgbh7 on line 8