3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('GMT'); var_dump(date_create(null, new DateTimeZone('UTC')));
Output for git.master
Deprecated: date_create(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/k8Ilf on line 5 object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-15 05:47:22.003880" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for git.master_jit
Deprecated: date_create(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/k8Ilf on line 5 object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-15 05:47:22.003990" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Output for rfc.property-hooks
Deprecated: date_create(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/k8Ilf on line 5 object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-15 05:47:22.003898" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.11 ms | 401 KiB | 8 Q