diff options
author | Felipe Pena <felipe@php.net> | 2008-09-23 23:07:52 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-09-23 23:07:52 +0000 |
commit | 6bc9869ad9147f7bd59afbd04d94f10d694e4e7d (patch) | |
tree | bfb00177d59f1fcb79b0f7cdbf5f3ea29c4545e0 | |
parent | 8a77e55566f13cd9d17909aac705ab79e9d35953 (diff) | |
download | php-git-6bc9869ad9147f7bd59afbd04d94f10d694e4e7d.tar.gz |
- MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error)
-rwxr-xr-x | ext/pdo/pdo_stmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 053a3ef46c..45c5ccf8d4 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -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() @@ -1381,7 +1381,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) { |