3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("date.timezone", ''); var_dump(ini_get("date.timezone")); var_dump(date_default_timezone_get());

preferences:
23.69 ms | 407 KiB | 5 Q