3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(implode(",", "PTP"));
Output for 5.2.5 - 5.6.28, 7.0.0 - 7.1.0
Warning: implode(): Invalid arguments passed in /in/4Tf7a on line 3 NULL
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/4Tf7a on line 3 NULL
Output for 5.2.3 - 5.2.4
Warning: implode(): Bad arguments. in /in/4Tf7a on line 3 NULL
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in <b>/in/4Tf7a</b> on line <b>3</b><br /> NULL
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: implode(): Bad arguments. in <b>/in/4Tf7a</b> on line <b>3</b><br /> NULL
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: implode() [<a href='http://www.php.net/function.implode'>function.implode</a>]: Bad arguments. in <b>/in/4Tf7a</b> on line <b>3</b><br /> NULL