Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Zend/zend_builtin_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -2549,6 +2549,9 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int
debug_backtrace_get_args(call, &args);
add_assoc_zval_ex(&stack_frame, "args", sizeof("args")-1, &args);
}

add_assoc_long(&stack_frame, "strict_types",
(ZEND_CALL_INFO(call) & ZEND_CALL_STRICT_TYPEHINTS) > 0);
} else {
/* i know this is kinda ugly, but i'm trying to avoid extra cycles in the main execution loop */
zend_bool build_filename_arg = 1;
Expand Down