3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Print the array from getdate() print_r(getdate()); echo "<br><br>"; // Return date/time info of a timestamp; then format the output $mydate=getdate(date("U")); echo "$mydate[weekday], $mydate[month] $mydate[mday], $mydate[year]";
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [seconds] => 24 [minutes] => 57 [hours] => 8 [mday] => 15 [wday] => 4 [mon] => 5 [year] => 2014 [yday] => 134 [weekday] => Thursday [month] => May [0] => 1400137044 ) <br><br>Thursday, May 15, 2014

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