mirror of
https://github.com/php/php-src.git
synced 2026-03-28 10:12:18 +01:00
- MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error)
This commit is contained in:
1
NEWS
1
NEWS
@@ -18,6 +18,7 @@ PHP NEWS
|
||||
(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)
|
||||
|
||||
@@ -46,7 +46,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_pdostatement_fetch, 0, 0, 0)
|
||||
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 @@ static PHP_METHOD(PDOStatement, fetch)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ 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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user