3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo($givendate = strtotime('2013-07-16 17:30:00')."\n"); $cd = strtotime($givendate); $newdate = date('Y/m/d h:i:s', mktime(date('Y', $cd)), mktime(date('m', $cd)), mktime(date('d', $cd)), mktime(date('h', $cd) + 15), mktime(date('i', $cd)), mktime(date('s', $cd))); echo($newdate."\n");
Output for git.master, git.master_jit, rfc.property-hooks
1373988600 Fatal error: Uncaught ArgumentCountError: date() expects at most 2 arguments, 7 given in /in/UmiRE:6 Stack trace: #0 /in/UmiRE(6): date('Y/m/d h:i:s', 1381018679, 1373930279, 1373930279, 1373984279, 1373926679, 1373926679) #1 {main} thrown in /in/UmiRE on line 6
Process exited with code 255.

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