diff options
author | Andi Gutmans <andi@php.net> | 2002-11-27 20:09:36 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-11-27 20:09:36 +0000 |
commit | c6502fa225c2326db7a5a6a6962dc8be16bd919d (patch) | |
tree | 59d7970627c32deea6604cbbfaf0d01d53f085b0 /Zend/zend_builtin_functions.c | |
parent | 52a451ccd2772b549a1e11bc40a17f2b05b7b7f6 (diff) | |
download | php-git-c6502fa225c2326db7a5a6a6962dc8be16bd919d.tar.gz |
- Nuke use of deprecated macro
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index c5ca128211..f41b5ee7b8 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1253,7 +1253,7 @@ static int add_constant_info(zend_constant *constant, void *arg TSRMLS_DC) ZEND_FUNCTION(get_loaded_extensions) { if (ZEND_NUM_ARGS() != 0) { - WRONG_PARAM_COUNT; + ZEND_WRONG_PARAM_COUNT(); } array_init(return_value); @@ -1267,7 +1267,7 @@ ZEND_FUNCTION(get_loaded_extensions) ZEND_FUNCTION(get_defined_constants) { if (ZEND_NUM_ARGS() != 0) { - WRONG_PARAM_COUNT; + ZEND_WRONG_PARAM_COUNT(); } array_init(return_value); @@ -1314,7 +1314,7 @@ ZEND_FUNCTION(debug_backtrace) int frames_on_stack = 0; if (ZEND_NUM_ARGS()) { - WRONG_PARAM_COUNT; + ZEND_WRONG_PARAM_COUNT(); } while (--args >= EG(argument_stack).elements) { @@ -1446,7 +1446,7 @@ ZEND_FUNCTION(extension_loaded) zval **extension_name; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &extension_name)) { - WRONG_PARAM_COUNT; + ZEND_WRONG_PARAM_COUNT(); } convert_to_string_ex(extension_name); @@ -1468,7 +1468,7 @@ ZEND_FUNCTION(get_extension_funcs) zend_function_entry *func; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &extension_name)) { - WRONG_PARAM_COUNT; + ZEND_WRONG_PARAM_COUNT(); } convert_to_string_ex(extension_name); |