3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = date("Y/m/d"); $date = DateTime::createFromFormat("l dS F Y", $in); echo $i."<br>"; for ($y=1; $norooms>=$y; $y++) { echo "Day difference=".$len." No of rooms=".$norooms."<br>"; $date = $date->format('d/m/Y'); $sql="INSERT INTO singlerooms (Date,Ref_Date)VALUES ($date,$today)"; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $in in /in/8MdRF on line 4 Deprecated: DateTime::createFromFormat(): Passing null to parameter #2 ($datetime) of type string is deprecated in /in/8MdRF on line 4 Warning: Undefined variable $i in /in/8MdRF on line 6 <br> Warning: Undefined variable $norooms in /in/8MdRF on line 7

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