3v4l.org

run code in 300+ PHP versions simultaneously
<?php (function_exists('date_default_timezone_set') ? date_default_timezone_set('Europe/Brussels') :; echo date('Y-m-d', time('now')); ?>
Output for 5.3.0 - 5.3.14, 5.4.0 - 5.4.4
Parse error: syntax error, unexpected ';' in npcDV on line 1
Process exited with code 255.

preferences:
164.28 ms | 1399 KiB | 27 Q