Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c
| From: | Marcus Boerger | Date: | Fri, 08 Apr 2005 15:04:46 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15904@lists.php.net to get a copy of this message | ||
Hello Andrey,
somehow i knew someone would ask for that....
how about you writing a patch?
Friday, April 8, 2005, 5:01:24 PM, you wrote:
> Hi Marcus,
> what about class_constant_exists("classname", "const")
> (a bit long function name though)?
> Andrey
> Marcus Boerger wrote:
>> helly Fri Apr 8 09:33:17 2005 EDT
>>
>> Modified files:
>> /ZendEngine2 zend_builtin_functions.c
>> Log:
>> - Add property_exits()
>>
>>
>> http://cvs.php.net/diff.php/ZendEngine2/zend_builtin_functions.c?r1=1.262&r2=1.263&ty=u
>> Index: ZendEngine2/zend_builtin_functions.c
>> diff -u ZendEngine2/zend_builtin_functions.c:1.262
>> ZendEngine2/zend_builtin_functions.c:1.263
>> --- ZendEngine2/zend_builtin_functions.c:1.262 Mon Apr 4 13:23:38 2005
>> +++ ZendEngine2/zend_builtin_functions.c Fri Apr 8 09:33:15 2005
>> @@ -17,7 +17,7 @@
>>
>> +----------------------------------------------------------------------+
>> */
>>
>> -/* $Id: zend_builtin_functions.c,v 1.262 2005/04/04 17:23:38 stas Exp $ */
>> +/* $Id: zend_builtin_functions.c,v 1.263 2005/04/08 13:33:15 helly Exp $ */
>>
>> #include "zend.h"
>> #include "zend_API.h"
>> @@ -43,6 +43,7 @@
>> static ZEND_FUNCTION(get_class);
>> static ZEND_FUNCTION(get_parent_class);
>> static ZEND_FUNCTION(method_exists);
>> +static ZEND_FUNCTION(property_exists);
>> static ZEND_FUNCTION(class_exists);
>> static ZEND_FUNCTION(interface_exists);
>> static ZEND_FUNCTION(function_exists);
>> @@ -102,6 +103,7 @@
>> ZEND_FE(get_class, NULL)
--
Best regards,
Marcus mailto:mail@marcus-boerger.de