3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test(DateTime $a = null, array $b = []) { var_dump($a, $b); }; test(new DateTime, []); test(null); test(null, null);
based on 05UTc
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.004031" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.003260" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.002916" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.011657" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.017409" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.004109" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-03 07:07:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 20:07:32.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 06:17:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 06:44:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-22 12:17:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 17:39:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 7.0.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-26 19:20:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Fatal error: Uncaught TypeError: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R:3 Stack trace: #0 /in/fe68R(9): test(NULL, NULL) #1 {main} thrown in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 02:24:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-09 16:15:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-07 07:48:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-14 20:33:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-19 11:04:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 21:05:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 21:57:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-02 00:26:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 04:30:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-19 18:02:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-23 01:00:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 02:52:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 07:50:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 15:44:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.6.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-25 08:07:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-22 06:02:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.34
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 21:21:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 17:11:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-16 23:14:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.31
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 13:53:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-31 23:57:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-16 18:35:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 21:07:20.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 23:33:43.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 05:18:34.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-28 11:21:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.5.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 18:16:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.39 - 5.4.45
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.34 - 5.4.38
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.30 - 5.4.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-29 15:22:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.26 - 5.4.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-29 15:22:53" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.20 - 5.4.25
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-29 15:22:54" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.14 - 5.4.19
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-29 15:22:55" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.9 - 5.4.13
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-29 15:22:56" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.8
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-29 15:22:57" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.7
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 01:46:16" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.6
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 03:05:26" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.5
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 04:37:38" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.4
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 06:10:56" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.3
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 07:52:16" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.4.2
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-10-27 09:37:10" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } array(0) { } NULL array(0) { } Catchable fatal error: Argument 2 passed to test() must be of the type array, null given, called in /in/fe68R on line 9 and defined in /in/fe68R on line 3
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/fe68R on line 3
Process exited with code 255.