3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $wrap = array( array( (object)array("content" => "GrĂ¼ne Logistik", "date" => "2014-04-02 14:08:52"), (object)array("content" => "bellomondo ist klimaneutral", "date" => "2014-03-06 09:15:59"), ), array( (object)array("content" => "en test post title", "date" => "2014-04-07 15:31:19"), ), ); //var_dump($wrap); //echo '---------------------'; $sorted = call_user_func_array('array_merge', $wrap); //var_dump($sorted); //echo '---------------------'; print $sorted[0]; ?>
Output for 7.1.0
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/6HvXV on line 23
Process exited with code 255.
Output for 5.2.0 - 7.0.14
Catchable fatal error: Object of class stdClass could not be converted to string in /in/6HvXV on line 23
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Object id #1
Output for 4.3.0 - 4.4.9
Object