3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(\DateTime::createFromFormat('e', 'AEST'));
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.004076" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.004017" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.002394" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.012200" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.010940" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.003883" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.28, 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-02 13:34:40.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 13:15:14.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 09:18:01.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 21:24:20.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 22:47:16.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 05:00:19.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 08:08:36.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 7.0.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 10:01:50.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 16:10:47.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 08:19:46.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 05:32:06.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 14:28:51.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 02:00:30.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 10:51:17.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 11:40:14.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 17:22:45.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 18:01:44.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 08:30:45.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 14:56:41.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 17:02:29.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 22:23:30.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.6.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 06:59:01.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 01:51:30.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.34
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 10:33:33.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 08:31:02.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 18:24:47.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.31
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 05:09:30.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 13:32:40.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 08:19:37.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 11:49:09.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 13:28:17.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 19:43:08.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 03:08:12.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.5.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 09:32:05.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(4) "AEST" }
Output for 5.3.21 - 5.4.45
bool(false)