3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("DEVELOPMENT", true); define("DEVELOPMENT", false); var_dump(DEVELOPMENT);
Output for 8.5.0 - 8.5.7
Warning: Constant DEVELOPMENT already defined, this will be an error in PHP 9 in /in/7i8XL on line 4 bool(true)
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.34, 8.2.0 - 8.2.31, 8.3.0 - 8.3.31, 8.4.1 - 8.4.22
Warning: Constant DEVELOPMENT already defined in /in/7i8XL on line 4 bool(true)
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Notice: Constant DEVELOPMENT already defined in /in/7i8XL on line 4 bool(true)

preferences:
69.45 ms | 1709 KiB | 4 Q