We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb89c7b + 06e190e commit 95ce652Copy full SHA for 95ce652
src/builders/module.rs
@@ -131,7 +131,8 @@ impl ModuleBuilder {
131
/// This function can be useful if you need to do any final cleanup at the
132
/// very end of a request, after all other resources have been released. For
133
/// example, if your extension creates any persistent resources that last
134
- /// beyond a single request, you could use this function to clean those up. # Arguments
+ /// beyond a single request, you could use this function to clean those up.
135
+ /// # Arguments
136
///
137
/// * `func` - The function to be called when shutdown is requested.
138
pub fn post_deactivate_function(mut self, func: extern "C" fn() -> i32) -> Self {
src/wrapper.h
@@ -17,6 +17,7 @@
17
#include "php.h"
18
19
#include "ext/standard/info.h"
20
+#include "ext/standard/php_var.h"
21
#include "ext/standard/file.h"
22
#include "zend_exceptions.h"
23
#include "zend_inheritance.h"
src/zend/globals.rs
@@ -9,10 +9,10 @@ use parking_lot::{const_rwlock, RwLock, RwLockReadGuard, RwLockWriteGuard};
9
use crate::boxed::ZBox;
10
use crate::ffi::{
11
_zend_executor_globals, ext_php_rs_executor_globals, ext_php_rs_process_globals,
12
- ext_php_rs_sapi_globals, php_core_globals, sapi_globals_struct, sapi_header_struct,
13
- sapi_headers_struct, sapi_request_info, zend_is_auto_global, TRACK_VARS_COOKIE, TRACK_VARS_ENV,
14
- TRACK_VARS_FILES, TRACK_VARS_GET, TRACK_VARS_POST, TRACK_VARS_REQUEST, TRACK_VARS_SERVER,
15
- php_file_globals, file_globals
+ ext_php_rs_sapi_globals, file_globals, php_core_globals, php_file_globals, sapi_globals_struct,
+ sapi_header_struct, sapi_headers_struct, sapi_request_info, zend_is_auto_global,
+ TRACK_VARS_COOKIE, TRACK_VARS_ENV, TRACK_VARS_FILES, TRACK_VARS_GET, TRACK_VARS_POST,
+ TRACK_VARS_REQUEST, TRACK_VARS_SERVER,
16
};
use crate::types::{ZendHashTable, ZendObject, ZendStr};
src/zend/mod.rs
@@ -19,9 +19,9 @@ pub use class::ClassEntry;
pub use ex::ExecuteData;
pub use function::FunctionEntry;
pub use globals::ExecutorGlobals;
+pub use globals::FileGlobals;
pub use globals::ProcessGlobals;
24
pub use globals::SapiGlobals;
-pub use globals::FileGlobals;
25
pub use handlers::ZendObjectHandlers;
26
pub use linked_list::ZendLinkedList;
27
pub use module::ModuleEntry;
0 commit comments