Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c
| From: | Marcus Boerger | Date: | Fri, 15 Apr 2005 18:54:50 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c | ||
| References: | 1 2 3 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-3564@lists.php.net to get a copy of this message | ||
Hello Nuno,
try again, i hopefully have fixed all isues now. But you houldn't document
the code since the function will be renamed anyway.
best regards
marcus
Friday, April 15, 2005, 6:35:55 PM, you wrote:
> BTW, there is another bug:
> <?
> class myClass {
> public $mine;
> }
> var_dump(property_exists('myClass', 'mine'));
> var_dump(property_exists(new myClass, 'mine'));
?>>
> outputs:
> bool(true)
> bool(false)
> If the property is initializated, both output true.
> Nuno
> ----- Original Message -----
>>> helly Fri Apr 8 09:33:17 2005 EDT
>>>
>>> Modified files:
>>> /ZendEngine2 zend_builtin_functions.c
>>> Log:
>>> - Add property_exits()
>>
>>
>> It segfaults with empty strings:
>> <?
>> var_dump(property_exists('',''));
>> ?>
>>
>> Nuno