3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hour24_seconds = 60*24*60; $checkout_time = date("Y-m-d H:i:s"); echo $checkout_time.">>>>>>".date("Y-m-d H:i:s", strtotime($checkout_time) + $hour24_seconds); echo ">>>>>>>>>>>>>>>>>>>>>>>>>>".date_diff("2012-02-02", "2012-02-05");
Output for git.master, git.master_jit, rfc.property-hooks
2013-11-14 10:58:24>>>>>>2013-11-15 10:58:24 Fatal error: Uncaught TypeError: date_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, string given in /in/mLPGT:7 Stack trace: #0 /in/mLPGT(7): date_diff('2012-02-02', '2012-02-05') #1 {main} thrown in /in/mLPGT on line 7
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:
35.34 ms | 401 KiB | 8 Q