Warning: Unsupported declare 'strict' in /in/OvN4O on line 5
Deprecated: Implicit conversion from float 123.5 to int loses precision in /in/OvN4O on line 6
int(123)
Deprecated: Implicit conversion from float-string "123.5" to int loses precision in /in/OvN4O on line 6
int(123)
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type int, string given, called in /in/OvN4O on line 12 and defined in /in/OvN4O:6
Stack trace:
#0 /in/OvN4O(12): foo('132abc')
#1 {main}
thrown in /in/OvN4O on line 6
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Warning: Unsupported declare 'strict' in /in/OvN4O on line 5
int(123)
int(123)
Fatal error: Uncaught TypeError: foo(): Argument #1 ($a) must be of type int, string given, called in /in/OvN4O on line 12 and defined in /in/OvN4O:6
Stack trace:
#0 /in/OvN4O(12): foo('132abc')
#1 {main}
thrown in /in/OvN4O on line 6
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: Unsupported declare 'strict' in /in/OvN4O on line 5
int(123)
int(123)
Notice: A non well formed numeric value encountered in /in/OvN4O on line 6
int(132)
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type int, string given, called in /in/OvN4O on line 13 and defined in /in/OvN4O:6
Stack trace:
#0 /in/OvN4O(13): foo('apple')
#1 {main}
thrown in /in/OvN4O on line 6
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Warning: Unsupported declare 'strict' in /in/OvN4O on line 5
int(123)
int(123)
int(132)
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type int, string given, called in /in/OvN4O on line 13 and defined in /in/OvN4O:6
Stack trace:
#0 /in/OvN4O(13): foo('apple')
#1 {main}
thrown in /in/OvN4O on line 6
Process exited with code 255.
Warning: Unsupported declare 'strict' in /in/OvN4O on line 5
int(123)
int(123)
Notice: A non well formed numeric value encountered in /in/OvN4O on line 6
int(132)
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type integer, string given, called in /in/OvN4O on line 13 and defined in /in/OvN4O:6
Stack trace:
#0 /in/OvN4O(13): foo('apple')
#1 {main}
thrown in /in/OvN4O on line 6
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Warning: Unsupported declare 'strict' in /in/OvN4O on line 5