felipe Tue Sep 23 23:10:02 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/pdo pdo_stmt.c
/php-src NEWS
Log:
- MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error)
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.118.2.38.2.35&r2=1.118.2.38.2.36&diff_format=u
Index: php-src/ext/pdo/pdo_stmt.c
diff -u php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.35
php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.36
--- php-src/ext/pdo/pdo_stmt.c:1.118.2.38.2.35 Wed May 14 12:34:10 2008
+++ php-src/ext/pdo/pdo_stmt.c Tue Sep 23 23:10:01 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdo_stmt.c,v 1.118.2.38.2.35 2008/05/14 12:34:10 felipe Exp $ */
+/* $Id: pdo_stmt.c,v 1.118.2.38.2.36 2008/09/23 23:10:01 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()
@@ -1365,7 +1365,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)
{
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1231&r2=1.2027.2.547.2.1232&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1231 php-src/NEWS:1.2027.2.547.2.1232
--- php-src/NEWS:1.2027.2.547.2.1231 Mon Sep 22 13:17:58 2008
+++ php-src/NEWS Tue Sep 23 23:10:01 2008
@@ -18,6 +18,7 @@
(Scott)
- Fixed a crash on invalid method in ReflectionParameter constructor.
(Christian Seiler)
+- Fixed bug #46157 (PDOStatement::fetchObject prototype error). (Felipe)
- Fixed bug #46147 (after stream seek, appending stream filter reads incorrect
data).
(Greg)
- Fixed bug #46088 (RegexIterator::accept - segfault). (Felipe)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php