|
80 | 80 | }
|
81 | 81 | }
|
82 | 82 | }
|
83 |
| -pub const ZEND_DEBUG: u32 = 0; |
| 83 | +pub const ZEND_DEBUG: u32 = 1; |
84 | 84 | pub const _ZEND_TYPE_NAME_BIT: u32 = 8388608;
|
85 | 85 | pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
|
86 | 86 | pub const HT_MIN_SIZE: u32 = 8;
|
@@ -455,10 +455,22 @@ pub struct _zend_ast_ref {
|
455 | 455 | pub gc: zend_refcounted_h,
|
456 | 456 | }
|
457 | 457 | extern "C" {
|
458 |
| - pub fn _emalloc(size: usize) -> *mut ::std::os::raw::c_void; |
| 458 | + pub fn _emalloc( |
| 459 | + size: usize, |
| 460 | + __zend_filename: *const ::std::os::raw::c_char, |
| 461 | + __zend_lineno: u32, |
| 462 | + __zend_orig_filename: *const ::std::os::raw::c_char, |
| 463 | + __zend_orig_lineno: u32, |
| 464 | + ) -> *mut ::std::os::raw::c_void; |
459 | 465 | }
|
460 | 466 | extern "C" {
|
461 |
| - pub fn _efree(ptr: *mut ::std::os::raw::c_void); |
| 467 | + pub fn _efree( |
| 468 | + ptr: *mut ::std::os::raw::c_void, |
| 469 | + __zend_filename: *const ::std::os::raw::c_char, |
| 470 | + __zend_lineno: u32, |
| 471 | + __zend_orig_filename: *const ::std::os::raw::c_char, |
| 472 | + __zend_orig_lineno: u32, |
| 473 | + ); |
462 | 474 | }
|
463 | 475 | extern "C" {
|
464 | 476 | pub fn __zend_malloc(len: usize) -> *mut ::std::os::raw::c_void;
|
@@ -1651,6 +1663,11 @@ pub struct _php_stream_wrapper_ops {
|
1651 | 1663 | options: ::std::os::raw::c_int,
|
1652 | 1664 | opened_path: *mut *mut zend_string,
|
1653 | 1665 | context: *mut php_stream_context,
|
| 1666 | + __php_stream_call_depth: ::std::os::raw::c_int, |
| 1667 | + __zend_filename: *const ::std::os::raw::c_char, |
| 1668 | + __zend_lineno: u32, |
| 1669 | + __zend_orig_filename: *const ::std::os::raw::c_char, |
| 1670 | + __zend_orig_lineno: u32, |
1654 | 1671 | ) -> *mut php_stream,
|
1655 | 1672 | >,
|
1656 | 1673 | pub stream_closer: ::std::option::Option<
|
@@ -1683,6 +1700,11 @@ pub struct _php_stream_wrapper_ops {
|
1683 | 1700 | options: ::std::os::raw::c_int,
|
1684 | 1701 | opened_path: *mut *mut zend_string,
|
1685 | 1702 | context: *mut php_stream_context,
|
| 1703 | + __php_stream_call_depth: ::std::os::raw::c_int, |
| 1704 | + __zend_filename: *const ::std::os::raw::c_char, |
| 1705 | + __zend_lineno: u32, |
| 1706 | + __zend_orig_filename: *const ::std::os::raw::c_char, |
| 1707 | + __zend_orig_lineno: u32, |
1686 | 1708 | ) -> *mut php_stream,
|
1687 | 1709 | >,
|
1688 | 1710 | pub label: *const ::std::os::raw::c_char,
|
@@ -1762,6 +1784,8 @@ pub struct _php_stream {
|
1762 | 1784 | pub readpos: zend_off_t,
|
1763 | 1785 | pub writepos: zend_off_t,
|
1764 | 1786 | pub chunk_size: usize,
|
| 1787 | + pub open_filename: *const ::std::os::raw::c_char, |
| 1788 | + pub open_lineno: u32, |
1765 | 1789 | pub enclosing_stream: *mut _php_stream,
|
1766 | 1790 | }
|
1767 | 1791 | impl _php_stream {
|
|
0 commit comments