cvs: ZendEngine2 / zend_builtin_functions.c

From: Date: Mon, 09 Jun 2003 00:15:11 +0000
Subject: cvs: ZendEngine2 / zend_builtin_functions.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1354@lists.php.net to get a copy of this message
sniper Sun Jun 8 20:15:11 2003 EDT Modified files: /ZendEngine2 zend_builtin_functions.c Log: ws Index: ZendEngine2/zend_builtin_functions.c diff -u ZendEngine2/zend_builtin_functions.c:1.192 ZendEngine2/zend_builtin_functions.c:1.193 --- ZendEngine2/zend_builtin_functions.c:1.192 Sun Jun 8 10:00:11 2003 +++ ZendEngine2/zend_builtin_functions.c Sun Jun 8 20:15:11 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_builtin_functions.c,v 1.192 2003/06/08 14:00:11 zeev Exp $ */ +/* $Id: zend_builtin_functions.c,v 1.193 2003/06/09 00:15:11 sniper Exp $ */ #include "zend.h" #include "zend_API.h" @@ -634,7 +634,7 @@ /* {{{ proto bool is_subclass_of(object object, string class_name) - Returns true if the object has this class as one of its parents */ + Returns true if the object has this class as one of its parents */ ZEND_FUNCTION(is_subclass_of) { is_a_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); @@ -964,7 +964,7 @@ } ALLOC_ZVAL(EG(user_error_handler)); - if (!zend_is_true(*error_handler)) { /* unset user-defined handler */ + if (!zend_is_true(*error_handler)) { /* unset user-defined handler */ FREE_ZVAL(EG(user_error_handler)); EG(user_error_handler) = NULL; RETURN_TRUE; @@ -1066,9 +1066,9 @@ Returns an array of all declared classes. */ ZEND_FUNCTION(get_declared_classes) { - if (ZEND_NUM_ARGS() != 0) { - ZEND_WRONG_PARAM_COUNT(); - } + if (ZEND_NUM_ARGS() != 0) { + ZEND_WRONG_PARAM_COUNT(); + } array_init(return_value); zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) copy_class_name, 1, return_value); } @@ -1135,8 +1135,8 @@ array_init(return_value); - zend_hash_copy(return_value->value.ht, EG(active_symbol_table), - (copy_ctor_func_t)zval_add_ref, &tmp, sizeof(zval *)); + zend_hash_copy(return_value->value.ht, EG(active_symbol_table), + (copy_ctor_func_t)zval_add_ref, &tmp, sizeof(zval *)); } /* }}} */ @@ -1453,7 +1453,7 @@ } if ((! ptr->opline) || ((ptr->opline->opcode == ZEND_DO_FCALL_BY_NAME) || (ptr->opline->opcode == ZEND_DO_FCALL))) { if (arg_stack_consistent && (frames_on_stack > 0)) { - arg_array = debug_backtrace_get_args(&cur_arg_pos TSRMLS_CC); + arg_array = debug_backtrace_get_args(&cur_arg_pos TSRMLS_CC); frames_on_stack--; } }

« previous php.zend-engine.cvs (#1354) next »