.. _structures-comparisonfavorite: .. _strict-or-relaxed-comparison: Strict Or Relaxed Comparison ++++++++++++++++++++++++++++ PHP has two comparison styles : strict and relaxed. The analyzed code has less than 10% of one of them : for consistency reasons, it is recommended to make them all the same. It is recommended to always use the strict comparison by default, and use the relaxed in case of specific situations. .. code-block:: php See also `Comparison Operators `_. Connex PHP features ------------------- + `comparison `_ Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Structures/ComparisonFavorite | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Preferences ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 1.3.2 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | High | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+