3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $myvar = array(2) { [0]=> array(2) { [0]=> object(WP_Post)#610 (24) { ["ID"]=> int(12798) ["post_author"]=> string(2) "55" ["post_date"]=> string(19) "2014-04-02 14:08:52" ["post_date_gmt"]=> string(19) "2014-04-02 13:08:52" ["post_content"]=> string(1078) "Der nachhaltige G├╝tertransport........................" ["post_title"]=> string(50) "Gr├╝ne Logistik: Mit PTV Group und ClimatePartner " ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(4) "open" ["post_password"]=> string(0) "" ["post_name"]=> string(57) "grune-logistik-ab-sofort-mit-ptv-group-und-climatepartner" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2014-04-07 16:23:33" ["post_modified_gmt"]=> string(19) "2014-04-07 15:23:33" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(38) "http://www.climatepartner.com/?p=12798" ["menu_order"]=> int(0) ["post_type"]=> string(4) "post" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } [1]=> object(WP_Post)#609 (24) { ["ID"]=> int(12669) ["post_author"]=> string(2) "58" ["post_date"]=> string(19) "2014-03-06 09:15:59" ["post_date_gmt"]=> string(19) "2014-03-06 08:15:59" ["post_content"]=> string(5219) "Ob Bio-Hundefutter ................" ["post_title"]=> string(28) "bellomondo ist klimaneutral " ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(4) "open" ["post_password"]=> string(0) "" ["post_name"]=> string(27) "bellomondo-ist-klimaneutral" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2014-04-07 16:23:34" ["post_modified_gmt"]=> string(19) "2014-04-07 15:23:34" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(38) "http://www.climatepartner.com/?p=12669" ["menu_order"]=> int(0) ["post_type"]=> string(4) "post" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } } [1]=> array(1) { [0]=> object(WP_Post)#642 (24) { ["ID"]=> int(12329) ["post_author"]=> string(2) "45" ["post_date"]=> string(19) "2014-04-07 15:31:19" ["post_date_gmt"]=> string(19) "2014-04-07 14:31:19" ["post_content"]=> string(7) "en text" ["post_title"]=> string(18) "en test post title" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(4) "open" ["post_password"]=> string(0) "" ["post_name"]=> string(12) "en-test-post" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2014-04-07 15:31:34" ["post_modified_gmt"]=> string(19) "2014-04-07 14:31:34" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(46) "http://www.climatepartner.com/english/?p=12329" ["menu_order"]=> int(0) ["post_type"]=> string(4) "post" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } } }; var_dump($myvar); ?>
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.27
Parse error: syntax error, unexpected '{' in /in/LQSiJ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '{' in /in/LQSiJ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/LQSiJ on line 3
Process exited with code 255.