3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("Foo", "lol", TRUE); echo Foo; define ("Foo", "wat"); 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/b1hmb 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/b1hmb on line 3 lol Warning: Constant Foo already defined, this will be an error in PHP 9 in /in/b1hmb on line 7 lol

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:
23.21 ms | 1177 KiB | 7 Q