3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set("UTC"); echo date("Y-m-d H:i:s");
based on oTE5E
Output for 5.1.0 - 5.6.30, hhvm-3.12.14, hhvm-3.17.3 - 3.18.5, hhvm-3.20.2, hhvm-3.22.0, 7.0.0 - 7.1.11, 7.1.13 - 7.3.0alpha1
2018-07-11 15:38:51
Output for hhvm-3.10.1 - 3.11.1, hhvm-3.13.2 - 3.15.4, hhvm-3.19.2, hhvm-3.21.0 - 3.21.3, 7.1.12
2018-07-11 15:38:52
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/PrWPB on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_default_timezone_set() in /in/PrWPB on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_default_timezone_set() in /in/PrWPB on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_default_timezone_set() in /in/PrWPB on line 2