3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = strtotime('2013-10-08') + 7 * 24 * 3600; for($i=0; $<=15; $i++) { echo date("Y-m-d h:i:s", $it + $i * 24 * 3600); }
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected '<=' (T_IS_SMALLER_OR_EQUAL), expecting variable (T_VARIABLE) or '$' in /in/ETsaF on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_IS_SMALLER_OR_EQUAL, expecting T_VARIABLE or '$' in /in/ETsaF on line 6
Process exited with code 255.

preferences:
174.54 ms | 1395 KiB | 57 Q