felipe Wed Feb 20 22:15:53 2008 UTC Modified files: /php-src/ext/pcre php_pcre.c Log: MFB: Fixed Bug #44191 (preg_grep messes up array index) http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/php_pcre.c?r1=1.229&r2=1.230&diff_format=u Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_pcre.c:1.229 php-src/ext/pcre/php_pcre.c:1.230 --- php-src/ext/pcre/php_pcre.c:1.229 Fri Jan 25 19:39:45 2008 +++ php-src/ext/pcre/php_pcre.c Wed Feb 20 22:15:53 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.229 2008/01/25 19:39:45 nlopess Exp $ */ +/* $Id: php_pcre.c,v 1.230 2008/02/20 22:15:53 felipe Exp $ */ /* TODO * php_pcre_replace_impl(): @@ -2013,7 +2013,7 @@ zend_hash_move_forward(Z_ARRVAL_P(input)); } - + zend_hash_internal_pointer_reset(Z_ARRVAL_P(input)); /* Clean up */ efree(offsets); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php