note 32220 modified in language.variables by torben

From: Date: Wed, 18 Jun 2003 19:21:59 +0000
Subject: note 32220 modified in language.variables by torben
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50599@lists.php.net to get a copy of this message
I might mention that stlawson's comment is directly contradicted in Chapter 15: http://www.php.net/manual/en/language.references.php. References "are not like C pointers, they are symbol table aliases." And regarding "$a =& $b" it says "that's not $a is pointing to $b or vice versa, that's $a and $b pointing to the same place." Also, daevid's comment is contradicted in Chapter 15: http://www.php.net/manual/en/language.references.pass.php. (Actually, Daevid's syntax is still legal, but they're phasing it out.) [Ed. note -- The second comment mentioned above has been removed to help prevent the spread of call-by-reference. :)] --was-- I might mention that stlawson's comment is directly contradicted in Chapter 15: http://www.php.net/manual/en/language.references.php. References "are not like C pointers, they are symbol table aliases." And regarding "$a =& $b" it says "that's not $a is pointing to $b or vice versa, that's $a and $b pointing to the same place." Also, daevid's comment is contradicted in Chapter 15: http://www.php.net/manual/en/language.references.pass.php. (Actually, Daevid's syntax is still legal, but they're phasing it out.) http://www.php.net/manual/en/language.variables.php

« previous php.notes (#50599) next »