3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dtArray = array(); $dtArray[] = new DateTime(); $dtArray[] = new DateTime(); foreach($dtArray as $value) { $value = null; } echo "object NOT reference: \n"; var_dump($dtArray); $dtArrayRef = array(); $dtArrayRef[] = new DateTime(); $dtArrayRef[] = new DateTime(); foreach($dtArrayRef as &$value) { $value = null; } echo "object REFERENCE: \n"; var_dump($dtArrayRef); $string = array(); $string[] = 'new DateTime();'; $string[] = 'new DateTime();'; foreach($string as $value) { $value = null; } echo "string NOT reference: \n"; var_dump($string);
based on fU5oH
Output for 7.2.0
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.003955" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.003968" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.1.10
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.006416" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.006431" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.1.7
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.002516" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.002525" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.1.6
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.011916" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.011932" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.1.5
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.005685" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.005694" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.1.0
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.003915" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.003921" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.28, 7.0.20
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.6
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 18:34:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-03 18:34:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.5
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 06:59:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-03 06:59:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.4
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 18:46:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-10 18:46:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.3
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 19:55:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-18 19:55:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.2
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 02:03:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-23 02:03:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.1
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 05:41:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-24 05:41:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 7.0.0
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 07:37:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-27 07:37:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.21
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 13:43:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-02 13:43:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.20
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 05:58:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-10 05:58:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.19
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 02:58:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-08 02:58:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.18
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 11:41:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-15 11:41:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.17
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 23:21:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-19 23:21:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.16
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 08:25:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-28 08:25:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.15
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 09:15:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-29 09:15:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.14
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 11:06:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-02 11:06:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.13
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 15:31:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-15 15:31:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.12
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 06:00:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-20 06:00:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.11
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 12:23:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-24 12:23:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.10
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 14:26:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-25 14:26:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.9
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 19:35:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-27 19:35:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.6.8
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 04:28:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-30 04:28:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.35
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-22 21:07:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-22 21:07:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.34
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 08:10:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-11 08:10:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.33
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 05:42:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-09 05:42:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.32
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 15:37:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-17 15:37:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.31
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 02:23:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-21 02:23:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.30
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 11:09:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-01 11:09:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.29
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 05:54:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-17 05:54:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.28
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 09:14:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-21 09:14:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.27
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 11:00:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-22 11:00:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.26
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 17:09:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-26 17:09:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.25
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 00:04:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-29 00:04:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.5.24
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 06:33:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-24 06:33:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.45
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:13:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:13:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.44
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.42 - 5.4.43
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.40 - 5.4.41
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.38 - 5.4.39
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.35 - 5.4.37
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.32 - 5.4.34
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.30 - 5.4.31
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-09 20:14:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2015-11-09 20:14:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.3.29, 5.4.28 - 5.4.29
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:06" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:06" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.4.25 - 5.4.27
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:07" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:07" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.3.28, 5.4.21 - 5.4.24
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:08" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:08" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.3.27, 5.4.17 - 5.4.20
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:09" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:09" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:10" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:10" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.3.20 - 5.3.23, 5.4.9 - 5.4.12
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:11" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:11" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }
Output for 5.3.19
object NOT reference: array(2) { [0]=> object(DateTime)#1 (3) { ["date"]=> string(19) "2015-11-09 20:14:12" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } [1]=> object(DateTime)#2 (3) { ["date"]=> string(19) "2015-11-09 20:14:12" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } } object REFERENCE: array(2) { [0]=> NULL [1]=> &NULL } string NOT reference: array(2) { [0]=> string(15) "new DateTime();" [1]=> string(15) "new DateTime();" }