Quoting "Arno A. Karner" <[EMAIL PROTECTED]>:
> i dissagree $this in a static object should point to the default
> declared object,
> and if that is unacceptable because u want the the default data to be
> read only,
> then it should be allowed for methods at least.
It is unacceptable because it
[EMAIL PROTECTED] wrote:
i dissagree $this in a static object should point to the default
declared object,
and if that is unacceptable because u want the the default data to be
read only,
then it should be allowed for methods at least.
example
class lubas class
{
var $tbl = "";
var $fmt
From: [EMAIL PROTECTED]
Operating system: Linux 2.2
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: Static classes sometimes have a $this pointer
If you call a static method from within an object, the static method will inherit the
$this pointe