mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Disallow to changing the backtrace
This commit is contained in:
parent
a986b3f6a4
commit
fdf3fbadf0
2 changed files with 2 additions and 2 deletions
|
@ -388,7 +388,7 @@ static void zend_register_default_exception(TSRMLS_D)
|
|||
zend_declare_property_long(default_exception_ptr, "code", sizeof("code")-1, 0, ZEND_ACC_PROTECTED TSRMLS_CC);
|
||||
zend_declare_property_null(default_exception_ptr, "file", sizeof("file")-1, ZEND_ACC_PROTECTED TSRMLS_CC);
|
||||
zend_declare_property_null(default_exception_ptr, "line", sizeof("line")-1, ZEND_ACC_PROTECTED TSRMLS_CC);
|
||||
zend_declare_property_null(default_exception_ptr, "trace", sizeof("trace")-1, ZEND_ACC_PROTECTED TSRMLS_CC);
|
||||
zend_declare_property_null(default_exception_ptr, "trace", sizeof("trace")-1, ZEND_ACC_PRIVATE TSRMLS_CC);
|
||||
}
|
||||
|
||||
ZEND_API zend_class_entry *zend_exception_get_default(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue