3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = new StdClass(); $obj->a = 'aaa'; $obj->b = 'bbb'; var_dump(implode(',"',$obj));
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
Warning: implode(): Invalid arguments passed in /in/NTlJC on line 7 NULL
Output for hhvm-3.15.4
Warning: Invalid operand type was used: implode() expects a container as one of the arguments in /in/NTlJC on line 7 NULL