nlopess         Fri Aug 11 17:05:23 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/spl    spl_array.c 
  Log:
  fix #38402: wrong proto for Array*::offsetGet()
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.2&r2=1.71.2.17.2.3&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.2 
php-src/ext/spl/spl_array.c:1.71.2.17.2.3
--- php-src/ext/spl/spl_array.c:1.71.2.17.2.2   Thu May 11 08:06:22 2006
+++ php-src/ext/spl/spl_array.c Fri Aug 11 17:05:23 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_array.c,v 1.71.2.17.2.2 2006/05/11 08:06:22 helly Exp $ */
+/* $Id: spl_array.c,v 1.71.2.17.2.3 2006/08/11 17:05:23 nlopess Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -485,8 +485,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

Reply via email to