3v4l.org

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

preferences:
197.03 ms | 1395 KiB | 67 Q