3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = DateTime::createFromFormat('U.u', number_format(microtime(true), 6, '.', '')->setTimezone(new \DateTimeZone(date(''))); echo $now->format("Ymd H:i:s");
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/eICOY on line 2
Process exited with code 255.

preferences:
162.6 ms | 1387 KiB | 35 Q