3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = range(1, 10000, time()); foreach ($data as $k => $v) { echo date('d.m.y H:i:s); }
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected ''d.m.y H:i:s); ' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /in/6i4eR on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /in/6i4eR on line 6
Process exited with code 255.