curt Thu Jun 24 23:09:01 2004 EDT
Modified files: /phpdoc/en/language operators.xml Log: So not to imply that php 5 no longer support this. http://cvs.php.net/diff.php/phpdoc/en/language/operators.xml?r1=1.70&r2=1.71&ty=u Index: phpdoc/en/language/operators.xml diff -u phpdoc/en/language/operators.xml:1.70 phpdoc/en/language/operators.xml:1.71 --- phpdoc/en/language/operators.xml:1.70 Sun Jun 13 04:50:07 2004 +++ phpdoc/en/language/operators.xml Thu Jun 24 23:09:00 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.70 $ --> +<!-- $Revision: 1.71 $ --> <chapter id="language.operators"> <title>Operators</title> <simpara> @@ -263,8 +263,8 @@ 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 <computeroutput>$var = + like a large array inside a tight loop. Since PHP 4, assignment + by reference has been supported, using the <computeroutput>$var = &$othervar;</computeroutput> 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 @@ <entry>Identical</entry> <entry> &true; if $a is equal to $b, and they are of the same - type. (PHP 4 only) + type. (introduced in PHP 4) </entry> </row> <row> @@ -402,7 +402,7 @@ <entry>Not identical</entry> <entry> &true; if $a is not equal to $b, or they are not of the same - type. (PHP 4 only) + type. (introduced in PHP 4) </entry> </row> <row>