3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('UTC+2'); echo (new \DateTime())->format('d.m.Y H:i:s');
Output for 5.6.28, 7.0.14 - 7.1.0
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 19.03.2014 23:47:40
Output for 7.0.6
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 03.05.2016 02:15:35
Output for 7.0.5
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 02.04.2016 15:30:40
Output for 7.0.4
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 10.03.2016 00:59:16
Output for 7.0.3
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 18.03.2016 01:11:43
Output for 7.0.2
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 21.03.2016 11:46:39
Output for 7.0.1
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 23.03.2016 11:58:26
Output for 7.0.0
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 26.03.2016 14:29:29
Output for 5.6.21
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 01.05.2016 21:18:00
Output for 5.6.20
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 09.04.2016 10:45:27
Output for 5.6.19
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 06.03.2016 23:14:38
Output for 5.6.18
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.03.2016 11:01:31
Output for 5.6.17
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 19.03.2016 05:40:36
Output for 5.6.16
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 27.03.2016 16:14:30
Output for 5.6.15
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 28.03.2016 17:08:11
Output for 5.6.14
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 01.04.2016 19:46:34
Output for 5.6.13
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.04.2016 23:34:29
Output for 5.6.12
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 19.04.2016 12:42:58
Output for 5.6.11
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 22.04.2016 19:59:08
Output for 5.6.10
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 24.04.2016 21:39:06
Output for 5.6.9
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 27.04.2016 02:48:15
Output for 5.6.8
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 29.04.2016 10:23:26
Output for 5.6.7
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 24.05.2016 21:04:49
Output for 5.5.35
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 22.05.2016 00:39:16
Output for 5.5.34
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 10.04.2016 16:41:13
Output for 5.5.33
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 08.03.2016 11:53:25
Output for 5.5.32
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 16.03.2016 17:34:14
Output for 5.5.31
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 20.03.2016 08:33:34
Output for 5.5.30
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 31.03.2016 19:09:42
Output for 5.5.29
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 16.04.2016 13:41:22
Output for 5.5.28
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 20.04.2016 15:57:24
Output for 5.5.27
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 21.04.2016 18:30:39
Output for 5.5.26
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 25.04.2016 23:56:22
Output for 5.5.25
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 28.04.2016 06:04:57
Output for 5.5.24
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 30.04.2016 13:35:36
Output for 5.4.45
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.09.2015 06:23:52
Output for 5.4.44
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.09.2015 06:23:49
Output for 5.4.43
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.09.2015 06:23:46
Output for 5.4.42
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.09.2015 06:23:44
Output for 5.4.41
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 14.09.2015 06:23:42
Output for 5.4.40
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 15.05.2015 01:45:11
Output for 5.4.39
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 15.05.2015 01:45:10
Output for 5.4.38
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 02.03.2015 15:19:47
Output for 5.4.36 - 5.4.37
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 08.02.2015 15:48:27
Output for 5.4.34 - 5.4.35
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 08.02.2015 15:48:26
Output for 5.4.32
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 07.09.2014 16:10:35
Output for 5.4.31
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 07.09.2014 16:10:31
Output for 5.4.29 - 5.4.30
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 07.09.2014 16:10:26
Output for 5.4.28
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 07.09.2014 16:10:24
Output for 5.4.27
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 07.09.2014 16:10:33
Output for 5.4.9 - 5.4.26
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 19.03.2014 23:47:41
Output for 5.4.0 - 5.4.8
Notice: date_default_timezone_set(): Timezone ID 'UTC+2' is invalid in /in/OSMko on line 2 19.03.2014 23:47:42
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/OSMko on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/OSMko on line 3 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/OSMko on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/OSMko on line 3 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/OSMko on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/OSMko on line 3 Parse error: parse error, expecting `','' or `';'' in /in/OSMko on line 3
Process exited with code 255.