Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c

From: Date: Mon, 01 Dec 2003 22:06:20 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c
References: 1 2 3 4  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2044@lists.php.net to get a copy of this message
At 10:55 PM 12/1/2003 +0100, Marcus Boerger wrote:
Huh? What do you mean? Don't you think isset($this->foobar) should work? This is a bug! A declared property always exists doesn't it? So at least it has the value NULL. Or do we introduce a forth state here?
But it's not declared. Check out the following code Jani sent me: <?php class A { function NotAConstructor(){ if(isset($this->x)){ //just for demo } } } $t=new A(); var_dump($t); ?> Andi

« previous php.zend-engine.cvs (#2044) next »