.. _structures-dieexitconsistance: .. _die-exit-consistence: Die Exit Consistence ++++++++++++++++++++ `Die `_ and `Exit `_ have the same functional use. The analyzed code has less than 10% of one of them : for consistency reasons, it is recommended to make them all the same. It happens that `die `_ or `exit `_ are used depending on coding style and files. One file may be consistently using `exit `_, while the others are all using `exit `_. Using `die `_ or `exit `_ is also the target of other analysis. .. code-block:: php Suggestions ___________ * Adopt one of the two syntaxes Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Structures/DieExitConsistance | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Preferences ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.9 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Features | die | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+