Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.4.1 - 8.4.14 ================================================================================
(1) string : 'foo'
callable : false
__invoke : false
closure : false
================================================================================
(2) string : 'trim'
callable : true
__invoke : false
closure : false
================================================================================
(3) string : '\\Potherca\\Example\\TypeHints\\Example::typeHintMissing'
callable : true
__invoke : false
closure : false
Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /in/jqMtg:54
Stack trace:
#0 /in/jqMtg(54): method_exists(Array, '__invoke')
#1 [internal function]: {closure:/in/jqMtg:51}(Array, 4)
#2 /in/jqMtg(51): array_walk(Array, Object(Closure))
#3 {main}
thrown in /in/jqMtg on line 54
Process exited with code 255 . Output for 8.2.0 - 8.2.29 , 8.3.0 - 8.3.27 ================================================================================
(1) string : 'foo'
callable : false
__invoke : false
closure : false
================================================================================
(2) string : 'trim'
callable : true
__invoke : false
closure : false
================================================================================
(3) string : '\\Potherca\\Example\\TypeHints\\Example::typeHintMissing'
callable : true
__invoke : false
closure : false
Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /in/jqMtg:54
Stack trace:
#0 /in/jqMtg(54): method_exists(Array, '__invoke')
#1 [internal function]: Potherca\Example\TypeHints\{closure}(Array, 4)
#2 /in/jqMtg(51): array_walk(Array, Object(Closure))
#3 {main}
thrown in /in/jqMtg on line 54
Process exited with code 255 . Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.33 ================================================================================
(1) string : 'foo'
callable : false
__invoke : false
closure : false
================================================================================
(2) string : 'trim'
callable : true
__invoke : false
closure : false
================================================================================
(3) string : '\\Potherca\\Example\\TypeHints\\Example::typeHintMissing'
callable : true
__invoke : false
closure : false
Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /in/jqMtg:54
Stack trace:
#0 /in/jqMtg(54): method_exists(Array, '__invoke')
#1 [internal function]: Potherca\Example\TypeHints\{closure}(Array, 4)
#2 /in/jqMtg(79): array_walk(Array, Object(Closure))
#3 {main}
thrown in /in/jqMtg on line 54
Process exited with code 255 . Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.30 , 7.0.0 - 7.0.25 , 7.1.0 - 7.1.20 , 7.2.5 - 7.2.33 , 7.3.16 - 7.3.33 , 7.4.0 - 7.4.33 ================================================================================
(1) string : 'foo'
callable : false
__invoke : false
closure : false
================================================================================
(2) string : 'trim'
callable : true
__invoke : false
closure : false
================================================================================
(3) string : '\\Potherca\\Example\\TypeHints\\Example::typeHintMissing'
callable : true
__invoke : false
closure : false
================================================================================
(4) array : array (0 => '\\Potherca\\Example\\TypeHints\\Example',1 => 'typeHintMissing',)
callable : true
__invoke : false
closure : false
================================================================================
(5) array : array (0 => Potherca\Example\TypeHints\Example::__set_state(array()),1 => 'typeHintMissing',)
callable : true
__invoke : false
closure : false
================================================================================
(6) object : Potherca\Example\TypeHints\Example::__set_state(array())
callable : true
__invoke : true
closure : false
================================================================================
(7) object : Closure::__set_state(array())
callable : true
__invoke : true
closure : true
Output for 5.3.0 - 5.3.29 ================================================================================
(1) string : 'foo'
callable : false
__invoke : false
closure : false
Catchable fatal error: Argument 1 passed to Potherca\Example\TypeHints\Example::typeHintCallable() must be an instance of Potherca\Example\TypeHints\callable, string given, called in /in/jqMtg on line 60 and defined in /in/jqMtg on line 12
Process exited with code 255 . Output for 4.4.2 - 4.4.9 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 Parse error: syntax error, unexpected T_STRING in /in/jqMtg on line 3
Process exited with code 255 . Output for 4.3.0 - 4.3.1 , 4.3.5 - 4.3.11 , 4.4.0 - 4.4.1 , 5.0.0 - 5.0.5 Parse error: parse error, unexpected T_STRING in /in/jqMtg on line 3
Process exited with code 255 . Output for 4.3.2 - 4.3.4 Parse error: parse error in /in/jqMtg on line 3
Process exited with code 255 .