📄 language.references.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>References Explained</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="language.exceptions.html">Exceptions</a></div> <div class="next" style="text-align: right; float: right;"><a href="language.references.whatdo.html">What References Do</a></div> <div class="up"><a href="langref.html">Language Reference</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>References Explained</h1><h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="language.references.whatdo.html">What References Do</a></li><li><a href="language.references.arent.html">What References Are Not</a></li><li><a href="language.references.pass.html">Passing by Reference</a></li><li><a href="language.references.return.html">Returning References</a></li><li><a href="language.references.unset.html">Unsetting References</a></li><li><a href="language.references.spot.html">Spotting References</a></li></ul> <div id="language.references.whatare" class="sect1"> <h2 class="title">What References Are</h2> <p class="simpara"> References in PHP are a means to access the same variable content by different names. They are not like C pointers; instead, they are symbol table aliases. Note that in PHP, variable name and variable content are different, so the same content can have different names. The most close analogy is with Unix filenames and files - variable names are directory entries, while variable contents is the file itself. References can be thought of as hardlinking in Unix filesystem. </p> </div> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="language.exceptions.html">Exceptions</a></div> <div class="next" style="text-align: right; float: right;"><a href="language.references.whatdo.html">What References Do</a></div> <div class="up"><a href="langref.html">Language Reference</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 + -