Defining case-insensitive constants is deprecated as of PHP 7.3.0. As of PHP 8.0.0, only
falseis an acceptable value, passing
truewill produce a warning.
// Bad practice define('ACTIVE', 1, true); // Argument #3 is ignored since declaration of case-insensitive constants is no longer supported as of PHP 8.0.0 define('IN_ACTIVE', 0, false); // Recommended define('ACTIVE', 1); define('IN_ACTIVE', 0);