int(1)
Deprecated: Implicit conversion from float 1.5 to int loses precision in /in/7rAQF on line 3
int(1)
int(10)
Fatal error: Uncaught TypeError: f(): Argument #1 ($foo) must be of type int, string given, called in /in/7rAQF on line 10 and defined in /in/7rAQF:3
Stack trace:
#0 /in/7rAQF(10): f('10gaklj')
#1 {main}
thrown in /in/7rAQF on line 3
Process exited with code 255.
Output for 8.0.0 - 8.0.30
int(1)
int(1)
int(10)
Fatal error: Uncaught TypeError: f(): Argument #1 ($foo) must be of type int, string given, called in /in/7rAQF on line 10 and defined in /in/7rAQF:3
Stack trace:
#0 /in/7rAQF(10): f('10gaklj')
#1 {main}
thrown in /in/7rAQF on line 3
Process exited with code 255.
int(1)
int(1)
int(10)
Notice: A non well formed numeric value encountered in /in/7rAQF on line 3
int(10)
Output for 7.3.32 - 7.3.33
int(1)
int(1)
int(10)
int(10)
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Catchable fatal error: Argument 1 passed to f() must be an instance of int, integer given, called in /in/7rAQF on line 7 and defined in /in/7rAQF on line 3
Process exited with code 255.