3v4l.org

run code in 300+ PHP versions simultaneously
<?php $call['triggerOn'] = null ; $USER_TIME_ZONE = new DateTimeZone('America/Los_Angeles'); $UTC = new DateTimeZone('UTC'); $schedule_date = new DateTime($call['triggerOn'], $USER_TIME_ZONE); echo $schedule_date->format('m/d/Y h:i A'),PHP_EOL; $schedule_date = new DateTime($call['triggerOn'], $UTC); echo $schedule_date->format('m/d/Y h:i A'),PHP_EOL; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/c6POT on line 7 03/21/2013 09:40 AM Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/c6POT on line 10 03/21/2013 04:40 PM

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:
41.61 ms | 401 KiB | 8 Q