diff --git a/language/operators.xml b/language/operators.xml index fc9d1b2d60..4d57ea575f 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1,5 +1,5 @@ - + Operators @@ -263,8 +263,8 @@ $b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!"; Note that the assignment copies the original variable to the new one (assignment by value), so changes to one will not affect the other. This may also have relevance if you need to copy something - like a large array inside a tight loop. PHP 4 supports assignment - by reference, using the $var = + like a large array inside a tight loop. Since PHP 4, assignment + by reference has been supported, using the $var = &$othervar; syntax, but this is not possible in PHP 3. 'Assignment by reference' means that both variables end up pointing at the same data, and nothing is copied anywhere. @@ -384,7 +384,7 @@ echo "hallo" ^ "hello"; // Outputs the ascii values #0 #4 #0 #0 #0 Identical &true; if $a is equal to $b, and they are of the same - type. (PHP 4 only) + type. (introduced in PHP 4) @@ -402,7 +402,7 @@ echo "hallo" ^ "hello"; // Outputs the ascii values #0 #4 #0 #0 #0 Not identical &true; if $a is not equal to $b, or they are not of the same - type. (PHP 4 only) + type. (introduced in PHP 4)