Not an answer to your question, but you should not use function names
beginning with 2 underscores (__arr in your case) unless you want to use
special functionality associated with that name (e.g. __construct). This
will avoid possible conflicts with future version of php.
Vivian Steller wrote:
On Fri, 2004-02-06 at 08:29, Vivian Steller wrote:
> The problem is, that i want MyClass::getClassname() to return "MyClass"?!
I have the same problem:
http://marc.theaimsgroup.com/?l=php-general&m=107575408628272&w=2
I continued discussion of this in the php internals list:
http://lists.php.net/
Hi,
i've just another problem concerning classes, inheritance and the '::'
Syntax. Take a look at the following example code:
__arr("test");
}
public function __arr($var) {
array_push($this->__arr, $var);
}
3 matches
Mail list logo