3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ipPostbusSprinterOxid = md5(rand()); $ipFlughafentransferOxid = md5(rand()); $ipAngebote = md5(rand()); $newCmsPages = array( // OXID,OXLOADID,OXSHOPID,OXSNIPPET,OXTYPE,OXACTIVE,OXACTIVE_1,OXPOSITION,OXTITLE,OXCONTENT,OXTITLE_1,OXCONTENT_1,OXACTIVE_2,OXTITLE_2,OXCONTENT_2,OXACTIVE_3,OXTITLE_3,OXCONTENT_3,OXCATID,OXFOLDER,OXTERMVERSION,OXTIMESTAMP "'$ipPostbusSprinterOxid', 'ip_postbus_sprinter', 2, false, true, true, false, 10, 'Postbus Sprinter', '', '', '', false, '', '', false, '', '', '25f5a4e6eb6d9962f623307a7d23bbaa', '', '', '1970-01-01 00:00:01'", "'$ipFlughafentransferOxid', 'ip_flughafentransfer', 2, false, true, true, false, 11, 'Flughafentransfer', '', '', '', false, '', '', false, '', '', '25f5a4e6eb6d9962f623307a7d23bbaa', '', '', '1970-01-01 00:00:01'", "'$ipAngebote', 'ip_angebote', 2, false, true, true, false, 12, 'Postbus Angebote', '', '', '', false, '', '', false, '', '', '25f5a4e6eb6d9962f623307a7d23bbaa', '', '', '1970-01-01 00:00:01'" ); $newCmsPage = $newCmsPages[0]; $ar = explode(",",$newCmsPage;) echo str_replace("'", "", $ar[1]);
based on 5aaWQ
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/jp0uN on line 17
Process exited with code 255.
Output for 5.3.21 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/jp0uN on line 17
Process exited with code 255.