3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = array( array('5004','Product Name 1','Price 1'), array('1003','Product Name 2','Price 2') ); echo implode(', ', $array);
Output for 5.2.5 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: array in /in/rA2Hf on line 7 Warning: implode(): Invalid arguments passed in /in/rA2Hf on line 7
Output for hhvm-3.12.0
Notice: Undefined variable: array in /in/rA2Hf on line 7 Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/rA2Hf on line 7
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.2.4
Notice: Undefined variable: array in /in/rA2Hf on line 7 Warning: implode(): Bad arguments. in /in/rA2Hf on line 7
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: array in /in/rA2Hf on line 7 Warning: implode(): Bad arguments. in /in/rA2Hf on line 7
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: array in /in/rA2Hf on line 7 Warning: implode() [http://www.php.net/function.implode]: Bad arguments. in /in/rA2Hf on line 7