3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_pop(range(1,4))); var_dum(array_pop( (range(1,4)) ));
based on DTNH9
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/MghAV on line 3 int(4) Fatal error: Uncaught Error: Call to undefined function var_dum() in /in/MghAV:4 Stack trace: #0 {main} thrown in /in/MghAV on line 4
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/MghAV on line 3 int(4) Fatal error: Call to undefined function var_dum() in /in/MghAV on line 4
Process exited with code 255.