📄 userlandnaming.tips.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Tips</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="userlandnaming.html">Userland Naming Guide</a></div> <div class="next" style="text-align: right; float: right;"><a href="about.html">About the manual</a></div> <div class="up"><a href="userlandnaming.html">Userland Naming Guide</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="userlandnaming.tips" class="section"> <h2 class="title">Tips</h2> <p class="para"> In order to write future-proof code, it is recommended that you prefix (or suffix) anything that goes into the global namespace with an uncommon 3-4 letter prefix (or suffix) separated with an underscore. It is recommended that in order to prevent namespace clashes with other userland code that projects research existing prefixes (or suffixes) used in other projects and advertise their chosen prefix (or suffix) appropriately. Examples: </p> <ul class="itemizedlist"> <li class="listitem"><p class="para">MyPx_someFunc()</p></li> <li class="listitem"><p class="para">Foo_Date</p></li> <li class="listitem"><p class="para">$asdf_dbh</p></li> </ul> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="userlandnaming.html">Userland Naming Guide</a></div> <div class="next" style="text-align: right; float: right;"><a href="about.html">About the manual</a></div> <div class="up"><a href="userlandnaming.html">Userland Naming Guide</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -