@@ -163,7 +163,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strncasecmp, 0, 3, IS_LONG, 0, 0
163
163
ZEND_ARG_TYPE_INFO (0 , len , IS_LONG , 0 )
164
164
ZEND_END_ARG_INFO ()
165
165
166
- /* array each(array &arr) */
166
+ /* mixed each(array &arr) */
167
167
ZEND_BEGIN_ARG_INFO_EX (arginfo_each , 0 , 0 , 1 )
168
168
ZEND_ARG_TYPE_INFO (1 , arr , IS_ARRAY , 0 )
169
169
ZEND_END_ARG_INFO ()
@@ -194,8 +194,8 @@ ZEND_END_ARG_INFO()
194
194
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_get_called_class , 0 , 0 , IS_STRING , 0 , 0 )
195
195
ZEND_END_ARG_INFO ()
196
196
197
- /* string get_parent_class([mixed object]) */
198
- ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_get_parent_class , 0 , 0 , IS_STRING , 0 , 0 )
197
+ /* mixed get_parent_class([mixed object]) */
198
+ ZEND_BEGIN_ARG_TYPE_INFO_EX (arginfo_get_parent_class , 0 , 0 , 0 )
199
199
ZEND_ARG_INFO (0 , object )
200
200
ZEND_END_ARG_INFO ()
201
201
@@ -307,8 +307,8 @@ ZEND_END_ARG_INFO()
307
307
ZEND_BEGIN_ARG_INFO_EX (arginfo_restore_error_handler , 0 , 0 , 0 )
308
308
ZEND_END_ARG_INFO ()
309
309
310
- /* string set_exception_handler(callable exception_handler) */
311
- ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_set_exception_handler , 0 , 1 , IS_STRING , 0 , 0 )
310
+ /* mixed set_exception_handler(callable exception_handler) */
311
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_set_exception_handler , 0 , 0 , 1 )
312
312
ZEND_ARG_TYPE_INFO (0 , exception_handler , IS_CALLABLE , 0 )
313
313
ZEND_END_ARG_INFO ()
314
314
@@ -1071,8 +1071,8 @@ ZEND_FUNCTION(get_called_class)
1071
1071
}
1072
1072
/* }}} */
1073
1073
1074
- /* {{{ proto string get_parent_class([mixed object])
1075
- Retrieves the parent class name for object or class or current scope. */
1074
+ /* {{{ proto mixed get_parent_class([mixed object])
1075
+ Retrieves the parent class name for object or class or current scope or false if not in a scope . */
1076
1076
ZEND_FUNCTION (get_parent_class )
1077
1077
{
1078
1078
zval * arg ;
@@ -1878,7 +1878,7 @@ ZEND_FUNCTION(restore_error_handler)
1878
1878
/* }}} */
1879
1879
1880
1880
/* {{{ proto mixed set_exception_handler(callable exception_handler)
1881
- Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error */
1881
+ Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error */
1882
1882
ZEND_FUNCTION (set_exception_handler )
1883
1883
{
1884
1884
zval * exception_handler ;
0 commit comments