/* {{{ 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);
}
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;
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);
}
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 *));
}
/* }}} */
}
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--;
}
}