summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2015-06-22 21:33:18 -0400
committerRasmus Lerdorf <rasmus@php.net>2015-06-22 21:33:18 -0400
commit865ee412e5162aeece419cb4f53cc40607f071ef (patch)
tree1aed70a45c451ad40d5afaab09d631fc94fee897
parentd71080068b23c649570b6f16d4e074db83398338 (diff)
downloadphp-git-internal-arg-info.tar.gz
Fix a few arg name mistakesinternal-arg-info
-rw-r--r--Zend/zend_builtin_functions.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 8b5028a273..4cd499e783 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -177,7 +177,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_define, 0, 2, _IS_BOOL, 0, 0)
ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0)
ZEND_ARG_INFO(0, value)
- ZEND_ARG_TYPE_INFO(0, case_insensitive=false, _IS_BOOL, 0)
+ ZEND_ARG_TYPE_INFO(0, case_insensitive, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
/* bool defined(string constant_name) */
@@ -199,18 +199,18 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_get_parent_class, 0, 0, 0)
ZEND_ARG_INFO(0, object)
ZEND_END_ARG_INFO()
-/* bool is_subclass_of(mixed object_or_string, string class_name [, bool allow_string=true]) */
+/* bool is_subclass_of(mixed object_or_string, string class_name [, bool allow_string]) */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_subclass_of, 0, 2, _IS_BOOL, 0, 0)
ZEND_ARG_INFO(0, object_or_string)
ZEND_ARG_TYPE_INFO(0, class_name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, allow_string=true, _IS_BOOL, 0)
+ ZEND_ARG_TYPE_INFO(0, allow_string, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
-/* bool is_a(mixed object_or_string, string class_name [, bool allow_string=false]) */
+/* bool is_a(mixed object_or_string, string class_name [, bool allow_string]) */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_a, 0, 2, _IS_BOOL, 0, 0)
ZEND_ARG_INFO(0, object_or_string)
ZEND_ARG_TYPE_INFO(0, class_name, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, allow_string=false, _IS_BOOL, 0)
+ ZEND_ARG_TYPE_INFO(0, allow_string, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
/* array get_class_vars(string class_name) */
@@ -271,9 +271,9 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_alias, 0, 2, _IS_BOOL, 0,
ZEND_END_ARG_INFO()
#if ZEND_DEBUG
-/* void leak([int num_bytes=3]) */
+/* void leak([int num_bytes]) */
ZEND_BEGIN_ARG_INFO_EX(arginfo_leak, 0, 0, 0)
- ZEND_ARG_TYPE_INFO(0, num_bytes=3, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, num_bytes, IS_LONG, 0)
ZEND_END_ARG_INFO()
/* void leak_variable(mixed variable [, bool leak_data]) */