3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tests = array( '2012-12-04', '12/04/2012', '12/13/2012', '13/12/2012', '04/12/2012' ); foreach($tests as $test){ $ts = strtotime($test); echo "$test : $ts : ".date('Y-m-d', $ts)." \n" }
Output for 5.3.0 - 5.4.9
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/aTB7Q on line 12
Process exited with code 255.