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.
1 parent 87ac43d commit 831b3c8Copy full SHA for 831b3c8
src/zend/globals.rs
@@ -36,7 +36,7 @@ impl ExecutorGlobals {
36
/// Attempting to retrieve the globals while already holding the global
37
/// guard will lead to a deadlock. Dropping the globals guard will release
38
/// the lock.
39
- fn get_mut() -> GlobalWriteGuard<Self> {
+ pub fn get_mut() -> GlobalWriteGuard<Self> {
40
// SAFETY: PHP executor globals are statically declared therefore should never
41
// return an invalid pointer.
42
let globals = unsafe { ext_php_rs_executor_globals().as_mut() }
0 commit comments