3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo var_export(\DateTime::createFromFormat('Ymd','20151203'),true);
based on vvAd5
Output for 5.6.28, 7.0.20 - 7.2.0
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:10.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.6
DateTime::__set_state(array( 'date' => '2015-12-03 12:37:26.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.5
DateTime::__set_state(array( 'date' => '2015-12-03 08:46:12.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.4
DateTime::__set_state(array( 'date' => '2015-12-03 20:49:03.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.3
DateTime::__set_state(array( 'date' => '2015-12-03 22:09:13.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.2
DateTime::__set_state(array( 'date' => '2015-12-03 04:23:15.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.1
DateTime::__set_state(array( 'date' => '2015-12-03 07:35:03.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 7.0.0
DateTime::__set_state(array( 'date' => '2015-12-03 09:28:55.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.21
DateTime::__set_state(array( 'date' => '2015-12-03 15:37:15.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.20
DateTime::__set_state(array( 'date' => '2015-12-03 07:47:47.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.19
DateTime::__set_state(array( 'date' => '2015-12-03 04:57:08.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.18
DateTime::__set_state(array( 'date' => '2015-12-03 13:49:40.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.17
DateTime::__set_state(array( 'date' => '2015-12-03 01:23:59.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.16
DateTime::__set_state(array( 'date' => '2015-12-03 10:18:03.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.15
DateTime::__set_state(array( 'date' => '2015-12-03 11:07:31.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.14
DateTime::__set_state(array( 'date' => '2015-12-03 16:48:32.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.13
DateTime::__set_state(array( 'date' => '2015-12-03 17:28:45.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.12
DateTime::__set_state(array( 'date' => '2015-12-03 07:56:27.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.11
DateTime::__set_state(array( 'date' => '2015-12-03 14:21:55.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.10
DateTime::__set_state(array( 'date' => '2015-12-03 16:26:44.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.9
DateTime::__set_state(array( 'date' => '2015-12-03 21:34:52.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.6.8
DateTime::__set_state(array( 'date' => '2015-12-03 06:24:19.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.35
DateTime::__set_state(array( 'date' => '2015-12-03 01:04:12.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.34
DateTime::__set_state(array( 'date' => '2015-12-03 09:59:53.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.33
DateTime::__set_state(array( 'date' => '2015-12-03 07:53:57.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.32
DateTime::__set_state(array( 'date' => '2015-12-03 17:45:07.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.31
DateTime::__set_state(array( 'date' => '2015-12-03 04:31:18.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.30
DateTime::__set_state(array( 'date' => '2015-12-03 12:59:34.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.29
DateTime::__set_state(array( 'date' => '2015-12-03 07:46:28.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.28
DateTime::__set_state(array( 'date' => '2015-12-03 11:14:26.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.27
DateTime::__set_state(array( 'date' => '2015-12-03 12:54:48.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.26
DateTime::__set_state(array( 'date' => '2015-12-03 19:06:12.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.25
DateTime::__set_state(array( 'date' => '2015-12-03 02:31:35.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.5.24
DateTime::__set_state(array( 'date' => '2015-12-03 08:57:37.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.45
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:15.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.44
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:16.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.43
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:17.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.41 - 5.4.42
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:18.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.39 - 5.4.40
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:19.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.37 - 5.4.38
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:20.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.35 - 5.4.36
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:21.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.32 - 5.4.34
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:22.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.30 - 5.4.31
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:23.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.3.29, 5.4.29
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:23', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.25 - 5.4.28
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:24', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.3.28, 5.4.23 - 5.4.24
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:25', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.4.20 - 5.4.22
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:26', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.3.27, 5.4.16 - 5.4.19
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:27', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.15
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:28', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))
Output for 5.3.20 - 5.3.23, 5.4.10 - 5.4.12
DateTime::__set_state(array( 'date' => '2015-12-03 18:37:29', 'timezone_type' => 3, 'timezone' => 'Europe/Amsterdam', ))