.. _structures-echoprintconsistance: .. _echo-or-print: Echo Or Print +++++++++++++ Echo and print have the same functional use. `_ are also considered in this analysis. There seems to be a choice that is not enforced : one form is dominant, (> 90%) while the others are rare. The analyzed code has less than 10% of one of the three : for consistency reasons, it is recommended to make them all the same. It happens that print, echo or Connex PHP features ------------------- + `echo `_ + `print `_ Specs _____ +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Short name | Structures/EchoPrintConsistance | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Coding conventions `, :ref:`Preferences ` | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Severity | | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+