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 have this instead?
#define U_EMPTY_STR ((UChar*)"\0\0")
-Andrei
On Aug 17, 2005, at 12:59 AM, Dmitry Stogov wrote:
- ZVAL_UNICODEL(delim, USTR_MAKE(""),
sizeof("")-1, 0);
+ ZVAL_UNICODEL(delim, EMPTY_STR, sizeof("")-1,
0);
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php