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 a9dffe0 commit 5d1ffceCopy full SHA for 5d1ffce
src/zend/globals.rs
@@ -50,6 +50,11 @@ impl ExecutorGlobals {
50
unsafe { self.class_table.as_ref() }
51
}
52
53
+ /// Attempts to retrieve the global constants table.
54
+ pub fn constants(&self) -> Option<&ZendHashTable> {
55
+ unsafe { self.zend_constants.as_ref() }
56
+ }
57
+
58
/// Attempts to extract the last PHP exception captured by the interpreter.
59
/// Returned inside a [`ZBox`].
60
///
0 commit comments