aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/docs/coding-guidelines.html
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-21 17:04:58 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-03-21 17:04:58 +0100
commitd7c2c9d47216297820512f5541cec4ae912ca603 (patch)
tree1ee11eccbe07e7336aecb793ce18b743e260863a /phpBB/docs/coding-guidelines.html
parent6750e19214d3770280c729a4f85c96fd972d92c5 (diff)
downloadforums-d7c2c9d47216297820512f5541cec4ae912ca603.tar
forums-d7c2c9d47216297820512f5541cec4ae912ca603.tar.gz
forums-d7c2c9d47216297820512f5541cec4ae912ca603.tar.bz2
forums-d7c2c9d47216297820512f5541cec4ae912ca603.tar.xz
forums-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.html8
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(&quot;{$phpbb_root_path}memberlist.$phpEx&quot;, 'mode=group&amp;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>