the part of haystack before or after first occurence of needle. (Johannes)
- Added possibility to check in which extension an internal function was
defined using reflection API. (Johannes)
-- Added an additional field $frame['object'] to the result array of
- debug_backtrace() that contains a reference to the respective object when the
- frame was called from an object. (Sebastian)
- Fixed bug #34286 (__toString() behavior is inconsistent). (Marcus)
dup = zend_get_object_classname(ptr->object, &class_name, &class_name_len TSRMLS_CC);
add_assoc_text_ex(stack_frame, "class", sizeof("class"), class_name, dup);
}
- add_assoc_zval_ex(stack_frame, "object", sizeof("object"), ptr->object);
- ptr->object->refcount++;
-
add_assoc_ascii_string_ex(stack_frame, "type", sizeof("type"), "->", 1);
} else if (ptr->function_state.function->common.scope) {
add_assoc_textl_ex(stack_frame, "class", sizeof("class"), ptr->function_state.function->common.scope->name, ptr->function_state.function->common.scope->name_length, 1);