]> granicus.if.org Git - php/commitdiff
- Fix typo
authorAndi Gutmans <andi@php.net>
Tue, 3 Sep 2002 04:19:04 +0000 (04:19 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 3 Sep 2002 04:19:04 +0000 (04:19 +0000)
Zend/zend_builtin_functions.c

index 2918dc068b8bf28c80122e7b5ff3d48450c98391..851a94f14737b95b5cf07fde36bf1069c4e02377 100644 (file)
@@ -1281,7 +1281,7 @@ ZEND_FUNCTION(debug_backtrace)
        zval *stack_frame;
        void **cur_arg_pos = EG(argument_stack).top_element;
        void **args = cur_arg_pos;
-       int arg_stack_consitent = 0;
+       int arg_stack_consistent = 0;
 
        if (ZEND_NUM_ARGS()) {
                WRONG_PARAM_COUNT;
@@ -1294,7 +1294,7 @@ ZEND_FUNCTION(debug_backtrace)
                args -= *(ulong*)args;
 
                if (args == EG(argument_stack).elements) {
-                       arg_stack_consitent = 1;
+                       arg_stack_consistent = 1;
                        break;
                }
        }
@@ -1346,7 +1346,7 @@ ZEND_FUNCTION(debug_backtrace)
                        }
 
                        if ((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == ZEND_DO_FCALL))) {
-                               if (arg_stack_consitent) {
+                               if (arg_stack_consistent) {
                                        add_assoc_zval_ex(stack_frame, "args", sizeof("args"), debug_backtrace_get_args(&cur_arg_pos TSRMLS_CC));
                                }
                        }