Fatal error: Uncaught TypeError: Foo::fromInt(): Argument #1 ($value) must be of type int, Foo given, called in /in/ROpEJ on line 15 and defined in /in/ROpEJ:10
Stack trace:
#0 /in/ROpEJ(15): Foo::fromInt(Object(Foo))
#1 {main}
thrown in /in/ROpEJ on line 10
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::fromInt() must be of the type int, object given, called in /in/ROpEJ on line 15 and defined in /in/ROpEJ:10
Stack trace:
#0 /in/ROpEJ(15): Foo::fromInt(Object(Foo))
#1 {main}
thrown in /in/ROpEJ on line 10
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to Foo::fromInt() must be of the type integer, object given, called in /in/ROpEJ on line 15 and defined in /in/ROpEJ:10
Stack trace:
#0 /in/ROpEJ(15): Foo::fromInt(Object(Foo))
#1 {main}
thrown in /in/ROpEJ on line 10
Process exited with code 255.
Output for 5.6.38
Catchable fatal error: Argument 1 passed to Foo::fromInt() must be an instance of int, instance of Foo given, called in /in/ROpEJ on line 15 and defined in /in/ROpEJ on line 10
Process exited with code 255.