Why not pass it as parameter to the function instead? The parameters were changed already anyway..
--Jani On Tue, 16 Aug 2005, Marcus Boerger wrote:
helly Tue Aug 16 16:22:38 2005 EDT Modified files: /php-src/ext/standard string.c Log: - TSRM Fix http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.456&r2=1.457&ty=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.456 php-src/ext/standard/string.c:1.457 --- php-src/ext/standard/string.c:1.456 Tue Aug 16 12:57:59 2005 +++ php-src/ext/standard/string.c Tue Aug 16 16:22:33 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.456 2005/08/16 16:57:59 tony2001 Exp $ */ +/* $Id: string.c,v 1.457 2005/08/16 20:22:33 helly Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1147,6 +1147,7 @@ int numelems, i; HashPosition pos; zval **tmp; + TSRMLS_FETCH(); if (Z_TYPE_P(delim) != IS_UNICODE && Z_TYPE_P(delim) != IS_BINARY) { convert_to_string_ex(&delim);
-- Donate @ http://pecl.php.net/wishlist.php/sniper -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php