.. _constants-isglobalconstant: .. _is-global-constant: Is Global Constant ++++++++++++++++++ Mark a constant that may fallback to a global const definition, even though it is in a namespace. This analysis skips PHP and ext's functions, namespaced constants. .. code-block:: php See also `$GLOBALS `_ and `Variable scope `_. Connex PHP features ------------------- + `constant `_ Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Constants/IsGlobalConstant | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+