3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("foo", "lol", TRUE); echo Foo; define ("Foo", "wat"); echo Foo; echo foo;
Output for master
Deprecated: define(): Argument #3 ($case_insensitive) is ignored and treated as false since declaration of case-insensitive constants is no longer supported, passing the argument explicitly is unnecessary in /in/FpVkB on line 3 Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported, this will be an error in PHP 9.0 in /in/FpVkB on line 3 Fatal error: Uncaught Error: Undefined constant "Foo" in /in/FpVkB:5 Stack trace: #0 {main} thrown in /in/FpVkB on line 5
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:
26.18 ms | 1174 KiB | 7 Q