3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var1 = ["2243124114411|02-02|02003050020|2|1|2015/12/05 09:37:09|17|page_B3_100020.html","2243124114411|03-01|02003050020|2|1|2015/12/05 09:37:09|18|page_B3_100030.html","2243124114411|01-02|02003050020|4|2|2015/12/05 09:37:09|19|page_B3_100040.html","2243124114411|02-01|02003050020|3|2|2015/12/05 09:37:09|11|page_B3_100050.html","2243124114411|08-01|02003050111|1|3|2015/12/05 09:37:09|6|page_B3_100060.html","2243124114411|04-01|02003050020|2|4|2015/12/05 09:37:09|7|page_B3_100070.html","2243124114411|02-03|02003050020|4|4|2015/12/05 09:37:09|9|page_B3_100080.html","2243124114411|02-04|02003050020|1|3|2015/12/05 09:37:09|8|page_B3_100090.html","2243124114411|03-02|02003050020|1|4|2015/12/05 09:37:09|8|page_B3_100100.html","2243124114411|05-01|02003050111|4|4|2015/12/05 09:37:09|10|page_B3_100110.html","2243124114411|06-01|02003050111|4|3|2015/12/05 09:37:09|8|page_B3_100120.html","2243124114411|01-01|02003050020|1|3|2015/12/05 09:37:09|11|page_B3_100130.html","2243124114411|04-01|02003050111|1|4|2015/12/05 09:37:09|9|page_B3_100140.html"]; echo "\n\nRaw:\n" . $var1; echo "\nString: \n" . explode('","', $var1) ;
based on NATvg
Output for 5.4.10 - 7.2.0
Notice: Array to string conversion in /in/Hmttp on line 9 Raw: Array Warning: explode() expects parameter 2 to be string, array given in /in/Hmttp on line 11 String:
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/Hmttp on line 3
Process exited with code 255.