3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php array_pop(explode('', ''));
Output for 7.0.0 - 7.1.0
Warning: explode(): Empty delimiter in /in/H3Vdf on line 2 Notice: Only variables should be passed by reference in /in/H3Vdf on line 2 Warning: array_pop() expects parameter 1 to be array, boolean given in /in/H3Vdf on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: delimiter: (empty) in /in/H3Vdf on line 2 Warning: array_pop() expects parameter 1 to be an array or mutable collection in /in/H3Vdf on line 2
Output for 5.3.0 - 5.6.28
Warning: explode(): Empty delimiter in /in/H3Vdf on line 2 Strict Standards: Only variables should be passed by reference in /in/H3Vdf on line 2 Warning: array_pop() expects parameter 1 to be array, boolean given in /in/H3Vdf on line 2
Output for 5.2.5 - 5.2.17
Warning: explode(): Empty delimiter in /in/H3Vdf on line 2 Strict Standards: Only variables should be passed by reference in /in/H3Vdf on line 2 Warning: array_pop(): The argument should be an array in /in/H3Vdf on line 2
Output for 5.1.0 - 5.2.4
Warning: explode(): Empty delimiter. in /in/H3Vdf on line 2 Strict Standards: Only variables should be passed by reference in /in/H3Vdf on line 2 Warning: array_pop(): The argument should be an array in /in/H3Vdf on line 2
Output for 5.0.5
Warning: explode(): Empty delimiter. in /in/H3Vdf on line 2 Fatal error: Only variables can be passed by reference in /in/H3Vdf on line 2
Process exited with code 255.
Output for 4.3.2 - 5.0.4
Warning: explode(): Empty delimiter. in /in/H3Vdf on line 2 Warning: array_pop(): The argument should be an array in /in/H3Vdf on line 2
Output for 4.3.0 - 4.3.1
Warning: explode() [http://www.php.net/function.explode]: Empty delimiter. in /in/H3Vdf on line 2 Warning: array_pop() [http://www.php.net/function.array-pop]: The argument should be an array in /in/H3Vdf on line 2