3v4l.org

run code in 300+ PHP versions simultaneously
<?php $issue_date = new DateTime($values['vendor_badge_issue_date']); $expiration_date = new DateTime($values['vendor_badge_issue_date']); date_modify($expiration_date, '+60 day'); $issue_date_text = date_format($issue_date, 'Y-m-d'); $expiration_date_text = date_format($expiration_date, 'Y-m-d'); echo($issue_date_text . " " . $expiration_date_text);
Output for git.master, git.master_jit
Warning: Undefined variable $values in /in/DoQoe on line 2 Warning: Trying to access array offset on value of type null in /in/DoQoe on line 2 Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/DoQoe on line 2 Warning: Undefined variable $values in /in/DoQoe on line 3 Warning: Trying to access array offset on value of type null in /in/DoQoe on line 3 Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/DoQoe on line 3 2014-07-17 2014-09-15
Output for rfc.property-hooks
Warning: Undefined variable $values in /in/DoQoe on line 2 Warning: Trying to access array offset on null in /in/DoQoe on line 2 Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/DoQoe on line 2 Warning: Undefined variable $values in /in/DoQoe on line 3 Warning: Trying to access array offset on null in /in/DoQoe on line 3 Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/DoQoe on line 3 2014-07-17 2014-09-15

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.15 ms | 402 KiB | 8 Q