felipe Wed Feb 20 22:12:18 2008 UTC Modified files: (Branch: PHP_5_3) /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.168.2.9.2.21.2.10&r2=1.168.2.9.2.21.2.11&diff_format=u Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_pcre.c:1.168.2.9.2.21.2.10 php-src/ext/pcre/php_pcre.c:1.168.2.9.2.21.2.11 --- php-src/ext/pcre/php_pcre.c:1.168.2.9.2.21.2.10 Fri Jan 25 19:38:26 2008 +++ php-src/ext/pcre/php_pcre.c Wed Feb 20 22:12:17 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.168.2.9.2.21.2.10 2008/01/25 19:38:26 nlopess Exp $ */ +/* $Id: php_pcre.c,v 1.168.2.9.2.21.2.11 2008/02/20 22:12:17 felipe Exp $ */ #include "php.h" #include "php_ini.h" @@ -1771,7 +1771,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