diff options
author | 2014-03-21 17:04:58 +0100 | |
---|---|---|
committer | 2014-03-21 17:04:58 +0100 | |
commit | d7c2c9d47216297820512f5541cec4ae912ca603 (patch) | |
tree | 1ee11eccbe07e7336aecb793ce18b743e260863a /phpBB/docs/coding-guidelines.html | |
parent | [ticket/12286] Add section about plurals to the coding guidelines (diff) | |
download | phpbb-d7c2c9d47216297820512f5541cec4ae912ca603.tar.gz phpbb-d7c2c9d47216297820512f5541cec4ae912ca603.tar.bz2 phpbb-d7c2c9d47216297820512f5541cec4ae912ca603.zip |
[ticket/12286] Add note that goto should not be used
PHPBB3-12286
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
-rw-r--r-- | phpBB/docs/coding-guidelines.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index f9d1dbbc47..6c0f07a5a9 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -1151,6 +1151,14 @@ append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&amp; <p>The <strong>e</strong> modifier in <strong>preg_replace</strong> can be replaced by <strong>preg_replace_callback</strong> and objects to encapsulate state that is needed in the callback code.</p> + <h4>Other functions, operators, statements and keywords:</h4> + + <p>The following PHP statements should also not be used in phpBB:</p> + + <ul> + <li><strong>goto</strong></li> + </ul> + </div> <div class="back2top"><a href="#wrap" class="top">Back to Top</a></div> |