3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fromDate = '25-11-2013'; $fromDate = sprintf('%d-%d-%d', $d, $m, $Y); $strFromDate = date("Y-m-d", strtotime("$Y-$m-$d")); echo $strFromDate; // 2018-05-06
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $d in /in/CEqJ5 on line 3 Warning: Undefined variable $m in /in/CEqJ5 on line 3 Warning: Undefined variable $Y in /in/CEqJ5 on line 3 Warning: Undefined variable $Y in /in/CEqJ5 on line 4 Warning: Undefined variable $m in /in/CEqJ5 on line 4 Warning: Undefined variable $d in /in/CEqJ5 on line 4 1970-01-01

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:
37.67 ms | 402 KiB | 8 Q