3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTimeImmutable(); var_dump($date); for ($i = 0; i < 5; $i++) { $date = $date->modify('+ 1 month'); }

Abusive script

This script was stopped while abusing our resources

Output for git.master_jit
object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2020-10-12 09:18:15.004640" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } Fatal error: Uncaught Error: Undefined constant "i" in /in/C8AdK:6 Stack trace: #0 {main} thrown in /in/C8AdK on line 6
Process exited with code 255.
Output for git.master
object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2020-10-12 09:18:15.004269" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } Fatal error: Uncaught Error: Undefined constant "i" in /in/C8AdK:6 Stack trace: #0 {main} thrown in /in/C8AdK on line 6
Process exited with code 255.
Output for rfc.property-hooks
object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2020-10-12 09:18:15.006791" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } Fatal error: Uncaught Error: Undefined constant "i" in /in/C8AdK:6 Stack trace: #0 {main} thrown in /in/C8AdK 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:
71.52 ms | 1669 KiB | 4 Q