3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = new DateTime('noon second day this month'); $clone = clone $today; $clone->modify('+1 day'); //$currentGenerateDay = (new DateTime('noon first day of this month'))->modify('+1 day'); echo $clone->format('Y-m-d H:i:s').' '.$currentGenerateDay->format('Y-m-d H:i:s'); var_dump($clone == $currentGenerateDay);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $currentGenerateDay in /in/HS5WS on line 8 Fatal error: Uncaught Error: Call to a member function format() on null in /in/HS5WS:8 Stack trace: #0 {main} thrown in /in/HS5WS on line 8
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:
43.56 ms | 401 KiB | 8 Q