On Thu, 29 May 2003 07:21:01 -0700 (Pacific Standard Time), Rasmus Lerdorf wrote:
>It isn't a pointer. It is a reference which you should think of as a >symbol table alias. A pointer, at least by my definition, is a memory >address. In PHP it isn't a memory address, just another entry in the >symbol table that references the same data as another symbol. I understood the logical distinction, I guess I should have said "most of the benefits of a pointer without many of the potential headaches". Pointers in C are REAL memory addresses, HOWEVER, in many (if not most) situations they are used as symbol table aliases. It's when they AREN'T carefully used this way that memory overwrites happen. As I said, most of the good without most of the bad. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php