3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $states = '1,2,3'; $statesArray = implode(',',$states); print_r($statesArray());
based on IHWOZ
Output for 7.0.0 - 7.1.0
Warning: implode(): Invalid arguments passed in /in/UqQNE on line 5 Fatal error: Uncaught Error: Function name must be a string in /in/UqQNE:7 Stack trace: #0 {main} thrown in /in/UqQNE on line 7
Process exited with code 255.
Output for hhvm-3.12.0 - 3.13.2
Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/UqQNE on line 5 Fatal error: Uncaught Error: Function name must be a string in /in/UqQNE:7 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/UqQNE on line 5 Fatal error: Function name must be a string in /in/UqQNE on line 7
Process exited with code 255.
Output for 5.2.5 - 5.6.28
Warning: implode(): Invalid arguments passed in /in/UqQNE on line 5 Fatal error: Function name must be a string in /in/UqQNE on line 7
Process exited with code 255.
Output for 5.0.0 - 5.2.4
Warning: implode(): Bad arguments. in /in/UqQNE on line 5 Fatal error: Function name must be a string in /in/UqQNE on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: implode(): Bad arguments. in /in/UqQNE on line 5 Fatal error: Call to undefined function: () in /in/UqQNE on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: implode(): Bad arguments. in /in/UqQNE on line 5 Fatal error: Call to undefined function: () in /in/UqQNE on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/UqQNE on line 5 Fatal error: Call to undefined function: () in /in/UqQNE on line 7