Re: Class::__construct() vs. $this->__construct()

From: Date: Thu, 31 Mar 2005 02:08:32 +0000
Subject: Re: Class::__construct() vs. $this->__construct()
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37017@lists.php.net to get a copy of this message
Nikolas 'Atrus' Coukouma wrote:
This merits some clarification. The example does, in fact, work in PHP5. Using $this in a static context does cause an error. However, PHP has this obsession with namespaces and having lots of them ... Here's a demonstration of the namespaces:
http://zaphod.student.umd.edu/~atrus/plethora_ns.php http://zaphod.student.umd.edu/~atrus/plethora_ns.phps
-Nikolas 'Atrus' Coukouma


« previous php.pear.dev (#37017) next »