3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.4.1 - 8.4.5
string(16) "no_such_function" object(Closure)#1 (4) { ["name"]=> string(21) "{closure:/in/Vr9oq:6}" ["file"]=> string(9) "/in/Vr9oq" ["line"]=> int(6) ["parameter"]=> array(1) { ["$args"]=> string(10) "<optional>" } } Fatal error: Uncaught Error: Call to undefined function no_such_function() in /in/Vr9oq:9 Stack trace: #0 {main} thrown in /in/Vr9oq on line 9
Process exited with code 255.
Output for 8.1.30 - 8.1.32, 8.2.3 - 8.2.28, 8.3.5 - 8.3.19
string(16) "no_such_function" object(Closure)#1 (1) { ["parameter"]=> array(1) { ["$args"]=> string(10) "<optional>" } } Fatal error: Uncaught Error: Call to undefined function no_such_function() in /in/Vr9oq:9 Stack trace: #0 {main} thrown in /in/Vr9oq on line 9
Process exited with code 255.

preferences:
74.31 ms | 413 KiB | 5 Q