mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Arrays with references (bug #20993)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164351 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cc46787fd6
commit
e2a9b05e17
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.27 $ -->
|
||||
<!-- $Revision: 1.28 $ -->
|
||||
<chapter id="language.references">
|
||||
<title>References Explained</title>
|
||||
|
||||
|
@ -43,6 +43,12 @@ $a =& $b
|
|||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
If array with references is copied, its values are not dereferenced.
|
||||
This is valid also for arrays passed by value to functions.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
The same syntax can be used with functions, that return references,
|
||||
and with <literal>new</literal> operator (in PHP 4.0.4 and later):
|
||||
|
|
Loading…
Reference in a new issue