.. _php-globalsvsglobal: .. _$globals-or-global: $GLOBALS Or global ++++++++++++++++++ Usually, PHP projects make a choice between the global keyword, and the $GLOBALS variable. Sometimes, the project has no recommendations. When your project use a vast majority of one of the convention, then the analyzer will report all remaining inconsistently cased constant. .. code-block:: php Connex PHP features ------------------- + `global `_ Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Php/GlobalsVsGlobal | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Preferences ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.9.2 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+