note 13117 rejected from function.array by hholzgra

From: Date: Sat, 02 Mar 2002 18:11:42 +0000
Subject: note 13117 rejected from function.array by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27275@lists.php.net to get a copy of this message
When dealing with objects and arrays and you cannot figure out why $this->array1 is referencing $this->array2 which seems impossible. Be sure NOT TO put a dollar sign after the object reference arrow. *******WRONG******** $this->$array1 *******CORRECT****** $this->array1 I now you say "obviously" but if you are a two-fingered typer like me and accidentally copy and paste a dollar sign were it should not be. You may find your self a day behind like me :-). PHP does not detect this error and gives baffling results. ****randy@lawyerfind.ca*******

« previous php.notes (#27275) next »