3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = new DateTime(); array_walk($d, 'var_dump');
based on UPItE
Output for 7.2.0
string(26) "2015-10-05 17:34:51.003887" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.1.10
string(26) "2015-10-05 17:34:51.003951" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.1.7
string(26) "2015-10-05 17:34:51.002696" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.1.6
string(26) "2015-10-05 17:34:51.056580" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.1.5
string(26) "2015-10-05 17:34:51.008574" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.1.0
string(26) "2015-10-05 17:34:51.003947" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.28, 7.0.20
string(26) "2015-10-05 17:34:51.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.6
string(26) "2016-05-03 08:48:45.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.5
string(26) "2016-04-02 21:43:37.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.4
string(26) "2016-03-10 08:07:27.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.3
string(26) "2016-03-18 08:41:45.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.2
string(26) "2016-03-22 14:27:27.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.1
string(26) "2016-03-23 19:27:24.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 7.0.0
string(26) "2016-03-26 21:01:53.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.21
string(26) "2016-05-02 04:09:37.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.20
string(26) "2016-04-09 20:38:09.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.19
string(26) "2016-03-07 16:15:19.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.18
string(26) "2016-03-15 00:00:57.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.17
string(26) "2016-03-19 12:59:35.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.16
string(26) "2016-03-27 22:47:42.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.15
string(26) "2016-03-28 23:40:28.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.14
string(26) "2016-04-02 02:16:17.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.13
string(26) "2016-04-15 06:09:48.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.12
string(26) "2016-04-19 19:49:28.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.11
string(26) "2016-04-23 02:55:23.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.10
string(26) "2016-04-25 04:38:50.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.9
string(26) "2016-04-27 09:36:31.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.8
string(26) "2016-04-29 17:38:16.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.6.7
string(26) "2016-05-25 13:19:56.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.35
string(26) "2016-05-22 07:53:10.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.34
string(26) "2016-04-10 23:00:23.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.33
string(26) "2016-03-08 19:12:40.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.32
string(26) "2016-03-17 01:52:51.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.31
string(26) "2016-03-20 15:45:42.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.30
string(26) "2016-04-01 01:48:21.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.29
string(26) "2016-04-16 20:15:11.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.28
string(26) "2016-04-20 22:55:43.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.27
string(26) "2016-04-22 01:26:25.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.26
string(26) "2016-04-26 07:05:47.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.25
string(26) "2016-04-28 13:10:22.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.5.24
string(26) "2016-05-23 20:23:50.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.44 - 5.4.45
string(26) "2015-10-05 17:35:01.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.39 - 5.4.43
string(26) "2015-10-05 17:35:02.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.31 - 5.4.38
string(26) "2015-10-05 17:35:03.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.30
string(26) "2015-10-05 17:35:04.000000" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.25 - 5.4.29
string(19) "2015-10-05 17:35:04" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.19 - 5.4.24
string(19) "2015-10-05 17:35:05" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.13 - 5.4.18
string(19) "2015-10-05 17:35:06" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.8 - 5.4.12
string(19) "2015-10-05 17:35:07" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.7
string(19) "2015-10-27 01:51:43" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.6
string(19) "2015-10-27 03:19:25" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.5
string(19) "2015-10-27 04:50:02" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.4
string(19) "2015-10-27 06:25:30" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.3
string(19) "2015-10-27 08:07:02" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.4.2
string(19) "2015-10-27 09:52:27" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.29
string(19) "2015-10-31 05:32:22" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.28
string(19) "2015-10-31 07:40:20" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.27
string(19) "2015-10-31 09:48:43" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.26
string(19) "2015-11-02 08:45:06" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.25
string(19) "2015-11-02 10:27:46" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.24
string(19) "2015-11-02 11:44:54" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.23
string(19) "2015-11-02 13:10:22" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.22
string(19) "2015-11-02 14:41:14" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.21
string(19) "2015-11-02 15:52:49" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.20
string(19) "2015-11-02 16:50:52" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.19
string(19) "2015-11-02 18:18:23" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"
Output for 5.3.18
string(19) "2015-11-02 19:09:07" string(4) "date" int(3) string(13) "timezone_type" string(16) "Europe/Amsterdam" string(8) "timezone"