3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); 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/TfCKa on line 5 object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-15 05:46:49.004573" ["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/TfCKa on line 5 object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-15 05:46:49.003938" ["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/TfCKa on line 5 object(DateTime)#2 (3) { ["date"]=> string(26) "2014-08-15 05:46:49.004112" ["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:
47.61 ms | 401 KiB | 8 Q