summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMichael Moravec <mail@majkl578.cz>2017-11-02 19:22:37 +0100
committerSara Golemon <pollita@php.net>2017-11-06 17:52:17 -0500
commitf70ca770b657f2d0dfe2b44f369c266e1ae15ab2 (patch)
treea9f8298e6b0825bd6b5f4a3df54bd1b691b281ba /ext/reflection/php_reflection.c
parent5060fc2349447fe17b59184a0147e73feb0e7a30 (diff)
downloadphp-git-f70ca770b657f2d0dfe2b44f369c266e1ae15ab2.tar.gz
Revert BC break caused by fixing bug #74035
This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index a87ecddae4..6cf0392a73 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -4715,7 +4715,7 @@ ZEND_METHOD(reflection_class, isInstance)
}
/* }}} */
-/* {{{ proto public stdclass ReflectionClass::newInstance([mixed* args], ...)
+/* {{{ proto public stdclass ReflectionClass::newInstance(mixed* args, ...)
Returns an instance of this class */
ZEND_METHOD(reflection_class, newInstance)
{
@@ -6419,8 +6419,8 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_isInstance, 0)
ZEND_ARG_INFO(0, object)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_class_newInstance, 0, 0, 0)
- ZEND_ARG_VARIADIC_INFO(0, args)
+ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_newInstance, 0)
+ ZEND_ARG_INFO(0, args)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_newInstanceWithoutConstructor, 0)