3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'Hello world!'; echo implode('', array_reverse(explode('', $a)));
Output for 5.3.0 - 5.6.21, 7.0.0 - 7.1.0
Warning: explode(): Empty delimiter in /in/t0CRM on line 3 Warning: array_reverse() expects parameter 1 to be array, boolean given in /in/t0CRM on line 3 Warning: implode(): Invalid arguments passed in /in/t0CRM on line 3
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: delimiter: (empty) in /in/t0CRM on line 3 Warning: array_reverse() expects parameter 1 to be array, boolean given in /in/t0CRM on line 3 Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/t0CRM on line 3
Output for 5.2.5 - 5.2.17
Warning: explode(): Empty delimiter in /in/t0CRM on line 3 Warning: array_reverse(): The argument should be an array in /in/t0CRM on line 3 Warning: implode(): Invalid arguments passed in /in/t0CRM on line 3
Output for 4.3.2 - 5.2.4
Warning: explode(): Empty delimiter. in /in/t0CRM on line 3 Warning: array_reverse(): The argument should be an array in /in/t0CRM on line 3 Warning: implode(): Bad arguments. in /in/t0CRM on line 3
Output for 4.3.0 - 4.3.1
Warning: explode() [http://www.php.net/function.explode]: Empty delimiter. in /in/t0CRM on line 3 Warning: array_reverse() [http://www.php.net/function.array-reverse]: The argument should be an array in /in/t0CRM on line 3 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/t0CRM on line 3