3v4l.org

run code in 300+ PHP versions simultaneously
<?php $batchIn = "1111111111111122222222222222"; $batchSplit = array( str_split($batchIn, 14); ) foreach (array($batchSplit) as $value) { echo $value; php?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected ';', expecting ')' in /in/dvXFg on line 4
Process exited with code 255.

preferences:
182.53 ms | 1395 KiB | 67 Q