3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = new DateTimeImmutable(); echo $now->date; print_r($now, true); echo $now->date;
Output for 7.2.0
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.003800
Output for 7.1.10
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.003801
Output for 7.1.7
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.003631
Output for 7.1.6
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.012725
Output for 7.1.5
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.012802
Output for 7.1.0
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.004059
Output for 5.6.28, 7.0.20
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2015-10-10 16:30:32.000000
Output for 7.0.6
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-05-03 16:10:17.000000
Output for 7.0.5
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-03 04:42:41.000000
Output for 7.0.4
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-10 16:14:42.000000
Output for 7.0.3
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-18 16:56:33.000000
Output for 7.0.2
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-22 23:03:25.000000
Output for 7.0.1
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-24 03:18:29.000000
Output for 7.0.0
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-27 05:15:55.000000
Output for 5.6.21
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-05-02 11:20:33.000000
Output for 5.6.20
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-10 03:39:56.000000
Output for 5.6.19
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-07 23:55:42.000000
Output for 5.6.18
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-15 08:52:51.000000
Output for 5.6.17
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-19 20:46:32.000000
Output for 5.6.16
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-28 06:04:13.000000
Output for 5.6.15
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-29 06:55:35.000000
Output for 5.6.14
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-02 08:54:23.000000
Output for 5.6.13
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-15 13:09:27.000000
Output for 5.6.12
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-20 03:33:05.000000
Output for 5.6.11
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-23 10:05:18.000000
Output for 5.6.10
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-25 11:59:05.000000
Output for 5.6.9
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-27 17:06:59.000000
Output for 5.6.8
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-30 01:49:18.000000
Output for 5.5.35
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-05-22 16:17:05.000000
Output for 5.5.34
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-11 05:54:09.000000
Output for 5.5.33
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-09 03:02:07.000000
Output for 5.5.32
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-17 12:33:19.000000
Output for 5.5.31
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-03-20 23:32:25.000000
Output for 5.5.30
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-01 08:49:03.000000
Output for 5.5.29
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-17 03:31:11.000000
Output for 5.5.28
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-21 06:43:54.000000
Output for 5.5.27
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-22 08:41:36.000000
Output for 5.5.26
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-26 14:39:35.000000
Output for 5.5.25
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-04-28 21:27:12.000000
Output for 5.5.24
Notice: Undefined property: DateTimeImmutable::$date in /in/sFKEc on line 4 2016-05-24 04:15:03.000000
Output for 5.3.18 - 5.4.45
Fatal error: Class 'DateTimeImmutable' not found in /in/sFKEc on line 3
Process exited with code 255.