com php-src: Fix a few arg name mistakes: Zend/zend_builtin _functions.c
| From: | Rasmus Lerdorf | Date: | Tue, 23 Jun 2015 01:33:18 +0000 |
| Subject: | com php-src: Fix a few arg name mistakes: Zend/zend_builtin _functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87451@lists.php.net to get a copy of this message | ||
Commit: 865ee412e5162aeece419cb4f53cc40607f071ef
Author: Rasmus Lerdorf <rasmus@php.net> Mon, 22 Jun 2015 21:33:18 -0400
Parents: d71080068b23c649570b6f16d4e074db83398338
Branches: internal-arg-info
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=865ee412e5162aeece419cb4f53cc40607f071ef
Log:
Fix a few arg name mistakes
Changed paths:
M Zend/zend_builtin_functions.c
Diff:
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 8b5028a..4cd499e 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]) */