3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date_default_timezone_get() . "\n"; date_default_timzone_set('UTC'); echo date_default_timezone_get() . "\n"; date_default_timezone_set(''); echo date_default_timezone_get() . "\n";
based on m9Ccn
Output for 7.0.0 - 7.2.0
Europe/Amsterdam Fatal error: Uncaught Error: Call to undefined function date_default_timzone_set() in /in/JK6vQ:5 Stack trace: #0 {main} thrown in /in/JK6vQ on line 5
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Europe/Amsterdam Fatal error: Call to undefined function date_default_timzone_set() in /in/JK6vQ on line 5
Process exited with code 255.