3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set("CST"); $d = new DateTimeImmutable("now"); echo $d->format("Y-m-d H:i:s");
based on sis0C
Output for 5.6.28, 7.0.20 - 7.2.0
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2015-09-21 06:03:05
Output for 7.0.6
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-05-03 07:18:37
Output for 7.0.5
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-02 20:18:03
Output for 7.0.4
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-10 06:29:27
Output for 7.0.3
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-18 06:58:11
Output for 7.0.2
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-22 12:30:56
Output for 7.0.1
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-23 17:50:29
Output for 7.0.0
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-26 19:31:59
Output for 5.6.21
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-05-02 02:36:21
Output for 5.6.20
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-09 16:38:29
Output for 5.6.19
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-07 08:39:10
Output for 5.6.18
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-14 21:10:35
Output for 5.6.17
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-19 11:17:43
Output for 5.6.16
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-27 21:16:55
Output for 5.6.15
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-28 22:10:51
Output for 5.6.14
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-02 00:36:58
Output for 5.6.13
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-15 04:41:18
Output for 5.6.12
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-19 18:14:29
Output for 5.6.11
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-23 01:12:42
Output for 5.6.10
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-25 03:04:33
Output for 5.6.9
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-27 08:02:28
Output for 5.6.8
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-29 15:58:27
Output for 5.6.7
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-05-25 08:42:01
Output for 5.5.35
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-05-22 06:13:46
Output for 5.5.34
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-10 21:32:25
Output for 5.5.33
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-08 17:23:50
Output for 5.5.32
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-16 23:26:43
Output for 5.5.31
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-03-20 14:06:09
Output for 5.5.30
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-01 00:11:13
Output for 5.5.29
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-16 18:46:03
Output for 5.5.28
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-20 21:19:21
Output for 5.5.27
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-21 23:44:50
Output for 5.5.26
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-26 05:30:15
Output for 5.5.25
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-04-28 11:33:07
Output for 5.5.24
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 2016-05-23 18:28:47
Output for 5.3.18 - 5.4.45
Notice: date_default_timezone_set(): Timezone ID 'CST' is invalid in /in/gqRcU on line 2 Fatal error: Class 'DateTimeImmutable' not found in /in/gqRcU on line 3
Process exited with code 255.