note 22559 deleted from language.oop by vincent

From: Date: Thu, 11 Sep 2003 20:00:27 +0000
Subject: note 22559 deleted from language.oop by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56205@lists.php.net to get a copy of this message
Note Submitter: mark6139@yahoo.com ---- Given lack of type checking I understand why it is necessary to use $this every time you access a member variable in a class; but this is a serious gotcha for those used to coding in C++/Java where you can refer to the variable name only. I am also submitting a feature request that a warning be generated where a variable name is used in a class that matches a class member variable name.

« previous php.notes (#56205) next »