Re: [PHP-DEV] Re: [PATCH] internal class' static properties and constants

2005-08-17 Thread Michael Wallner
Hi Marcus Boerger, you wrote: > Hello Michael, > > a few questions/comments so that i can understand better: > > 1) Zend/zend_API.c: > +ZEND_API int zend_declare_class_constant_stringl(zend_class_entry *ce, char > *name, size_t name_length, char *value, size_t value_length TSRMLS_DC) > +{ > +

Re: [PHP-DEV] PHP 5.1.0RC1 rolled

2005-08-17 Thread Piotr Roszatycki
On Tuesday 16 of August 2005 20:13, Zeev Suraski wrote: > http://www.php.net/distributions/php-5.1.0RC1.tar.gz I can't install PEAR modules. See Bug #34168... -- .''`.Piotr Roszatycki, Netia SA : :' :mailto:[EMAIL PROTECTED] `. `' mailto:[EMAIL PROTECTED] `- -- PHP Internals - P

Re: [PHP-DEV] ext/calendar - New test scripts

2005-08-17 Thread Rathna N
Comments incorporated and pls do find the cat of the patches and test report at the below links. http://www.geocities.com/rs81099/calendertests.txt - Contains the cat of test scripts patches. http://www.geocities.com/rs81099/phpCalendartestRep.txt - contains TesReport on SuSe 9.x If incase any

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/standard string.c /ext/standard/tests/strings bug22224.phpt

2005-08-17 Thread Andrei Zmievski
Dmitriy, Where did EMPTY_STR come from? It seems to be used in non-Unicode context also: Zend/zend_API.c: zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? scope->name : EMPTY_STR, scope ? "::" : "", ptr->fname); Besides, it generates a compile warning. Should we

Re: [PHP-DEV] Property Overloading RFC

2005-08-17 Thread Jeff Moore
On Aug 2, 2005, at 9:05 AM, Derick Rethans wrote: Problems: 1. There is no way to document the 'virtual' properties with any of the existing documentation tools (such as phpdoc and doxygen) This sounds like a tool problem, not a language problem. 2. There is no way how the magic method

[PHP-DEV] RE: [PHP-CVS] cvs: php-src /ext/standard string.c /ext/standard/tests/strings bug22224.phpt

2005-08-17 Thread Dmitry Stogov
Hi, > Dmitriy, > > Where did EMPTY_STR come from? It was defined by me. > It seems to be used in non-Unicode > context also: > > Zend/zend_API.c: >zend_error(error_type, "Method %s%s%s() cannot be a NULL > function", > scope ? scope->name : EMPTY_STR, scope ? "::" : "", ptr->fname); Th

Re: [PHP-DEV] Re: [PATCH] internal class' static properties and constants

2005-08-17 Thread Michael Wallner
I wrote: > Hi Marcus Boerger, you wrote: >> Before your patch we have the situation that consts can only be >> decalred in user space. Thus it is ensured that their data is >> emalloc'd and only ever needs to be const-updated once. Now that >> you have this as well as your default static propertie

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/standard string.c /ext/standard/tests/strings bug22224.phpt

2005-08-17 Thread Andrei Zmievski
On Aug 17, 2005, at 10:27 AM, Dmitry Stogov wrote: Zend/zend_API.c: zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? scope->name : EMPTY_STR, scope ? "::" : "", ptr->fname); This place doesn't need EMPTY_STR. ("" is enough) If EMPTY_STR is supposed to be used on

Re: [PHP-DEV] Re: [PATCH] internal class' static properties and constants

2005-08-17 Thread Marcus Boerger
Hello Michael, Wednesday, August 17, 2005, 9:14:50 AM, you wrote: > Hi Marcus Boerger, you wrote: >> Hello Michael, >> >> a few questions/comments so that i can understand better: >> >> 1) Zend/zend_API.c: >> +ZEND_API int zend_declare_class_constant_stringl(zend_class_entry >> *ce, char *name,

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c

2005-08-17 Thread Andrei Zmievski
I agree with all of this. Anyone want to update README.UNICODE to reflect this change? -Andrei On Aug 16, 2005, at 4:52 PM, Andi Gutmans wrote: I think we should make the following assumptions: a) Being able to create and manipulate IS_UNICODE zvals when unicode_semantics=off will be very