helly Fri Apr 6 17:57:10 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src NEWS
/php-src/ext/spl spl_array.c
Log:
- Fix 40442
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.627&r2=1.2027.2.547.2.628&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.627 php-src/NEWS:1.2027.2.547.2.628
--- php-src/NEWS:1.2027.2.547.2.627 Thu Apr 5 01:48:56 2007
+++ php-src/NEWS Fri Apr 6 17:57:09 2007
@@ -120,6 +120,8 @@
methods). (Tony)
- Fixed bug #40451 (addAttribute() may crash when used with non-existent child
node). (Tony)
+- Fixed bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0).
+ (olivier at elma dot fr, Marcus)
- Fixed bug #40428 (imagepstext() doesn't accept optional parameter). (Pierre)
- Fixed bug #40417 (Allow multiple instances of the same named PDO token in
prepared statement emulation code). (Ilia)
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.10&r2=1.71.2.17.2.11&diff_format=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.71.2.17.2.10
php-src/ext/spl/spl_array.c:1.71.2.17.2.11
--- php-src/ext/spl/spl_array.c:1.71.2.17.2.10 Sat Mar 24 16:28:53 2007
+++ php-src/ext/spl/spl_array.c Fri Apr 6 17:57:10 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_array.c,v 1.71.2.17.2.10 2007/03/24 16:28:53 helly Exp $ */
+/* $Id: spl_array.c,v 1.71.2.17.2.11 2007/04/06 17:57:10 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -520,7 +520,7 @@
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) ==
FAILURE) {
return;
}
- RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 1
TSRMLS_CC));
+ RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0
TSRMLS_CC));
} /* }}} */
/* {{{ proto mixed ArrayObject::offsetGet(mixed $index)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php