felipe Tue Sep 23 23:05:24 2008 UTC
Modified files:
/php-src/ext/pdo pdo_stmt.c
Log:
- Fixed bug #46157 (PDOStatement::fetchObject prototype error)
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.198&r2=1.199&diff_format=u
Index: php-src/ext/pdo/pdo_stmt.c
diff -u php-src/ext/pdo/pdo_stmt.c:1.198 php-src/ext/pdo/pdo_stmt.c:1.199
--- php-src/ext/pdo/pdo_stmt.c:1.198 Tue Aug 12 17:15:59 2008
+++ php-src/ext/pdo/pdo_stmt.c Tue Sep 23 23:05:24 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdo_stmt.c,v 1.198 2008/08/12 17:15:59 felipe Exp $ */
+/* $Id: pdo_stmt.c,v 1.199 2008/09/23 23:05:24 felipe Exp $ */
/* The PDO Statement Handle Class */
@@ -46,7 +46,7 @@
ZEND_ARG_INFO(0, orientation)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetchobject, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetchobject, 0, 0, 0)
ZEND_ARG_INFO(0, class_name)
ZEND_ARG_INFO(0, ctor_args) /* array */
ZEND_END_ARG_INFO()
@@ -1381,7 +1381,7 @@
}
/* }}} */
-/* {{{ proto mixed PDOStatement::fetchObject(string class_name [, NULL|array
ctor_args])
+/* {{{ proto mixed PDOStatement::fetchObject([string class_name [, NULL|array
ctor_args]])
Fetches the next row and returns it as an object. */
static PHP_METHOD(PDOStatement, fetchObject)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php