3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = <<<EOT "program_name","merchant_id","code","description","url","start_date","end_date","region","Date_Added","exclusive" "Store1","01","RAWFOOD20","£20 off £90 spend on Veg","http://www.site.com/ ","2013-07-04 00:00:00","2013-10-31 23:59:59","GB","2013-07-04 01:00:00","No" "Store1","01","RAWFOOD0","£10 off £60 spend on Milk","http://www.site.com/ ","2013-07-04 00:00:00","2013-10-31 23:59:59","GB","2013-07-04 01:00:00","No"'; EOT; $parse = str_getcsv($data); var_dump($parse);
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '<<' (T_SL) in /in/dIYSb on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_SL in /in/dIYSb on line 2
Process exited with code 255.