@@ -990,8 +990,8 @@ It is also possible to use byRef assignment to make three or more VSlots
990
990
point to the same VStore. Consider the following example:
991
991
992
992
```
993
- $b = & $a;
994
- $c = & $b;
993
+ $b =& $a;
994
+ $c =& $b;
995
995
$a = 123;
996
996
```
997
997
<pre >
@@ -1144,7 +1144,7 @@ as follows:
1144
1144
- If ` $source ` ’s VStore has a refcount that is greater than 1, the Engine
1145
1145
uses an implementation-defined algorithm to decide whether to copy the element
1146
1146
using value assignment (` $destination = $source ` ) or byRef
1147
- assignment (` $destination = & $source ` ).
1147
+ assignment (` $destination =& $source ` ).
1148
1148
1149
1149
Note the member-copy assignment ` =* ` is ** not** an operator or language
1150
1150
construct in the PHP language, but instead it is used internally to
@@ -5851,14 +5851,14 @@ expression having array type, see [§§](#deferred-array-copying).
5851
5851
5852
5852
```
5853
5853
$a = 10;
5854
- $b = & $a; // make $b an alias of $a
5854
+ $b =& $a; // make $b an alias of $a
5855
5855
++$a; // increment $a/$b to 11
5856
5856
$b = -12; // sets $a/$b to -12
5857
5857
$a = "abc"; // sets $a/$b to "abc"
5858
5858
unset($b); // removes $b's alias to $a
5859
5859
// -----------------------------------------
5860
5860
function &g2() { $t = "xxx"; return $t; } // return byRef
5861
- $b = & g2(); // make $b an alias to "xxx"
5861
+ $b =& g2(); // make $b an alias to "xxx"
5862
5862
```
5863
5863
5864
5864
##Compound Assignment
0 commit comments