diff --git a/en/contributing/cakephp-coding-conventions.rst b/en/contributing/cakephp-coding-conventions.rst index 9b9f1532e7..00d8e9c682 100644 --- a/en/contributing/cakephp-coding-conventions.rst +++ b/en/contributing/cakephp-coding-conventions.rst @@ -265,7 +265,24 @@ When including files with classes or libraries, use only and always the PHP Tags ======== -Always use long tags (````) Instead of short tags (). +Always use long tags (````) Instead of short tags (````). The short echo +should be used in view files (``.ctp``) where appropriate. + +Short Echo +---------- + +The short echo should be used in view files in place of `` + + // good = spaces, no semicolon + + +As of PHP 5.4 the short echo tag (``