nlopess Fri Aug 11 17:06:19 2006 UTC
Modified files:
/php-src/ext/spl spl_array.c
Log:
MFB5.2: fix #38402 (wrong proto for Array*::offsetGet())
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.111&r2=1.112&diff_format=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.111 php-src/ext/spl/spl_array.c:1.112
--- php-src/ext/spl/spl_array.c:1.111 Sat May 20 19:47:18 2006
+++ php-src/ext/spl/spl_array.c Fri Aug 11 17:06:19 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_array.c,v 1.111 2006/05/20 19:47:18 helly Exp $ */
+/* $Id: spl_array.c,v 1.112 2006/08/11 17:06:19 nlopess Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -490,8 +490,8 @@
RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 1
TSRMLS_CC));
} /* }}} */
-/* {{{ proto bool ArrayObject::offsetGet(mixed $index)
- proto bool ArrayIterator::offsetGet(mixed $index)
+/* {{{ proto mixed ArrayObject::offsetGet(mixed $index)
+ proto mixed ArrayIterator::offsetGet(mixed $index)
Returns the value at the specified $index. */
SPL_METHOD(Array, offsetGet)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php