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 42ef04a commit 89c7758Copy full SHA for 89c7758
src/zend/globals.rs
@@ -51,6 +51,16 @@ impl ExecutorGlobals {
51
unsafe { self.class_table.as_ref() }
52
}
53
54
+ /// Attempts to retrieve the global functions hash table.
55
+ pub fn function_table(&self) -> Option<&ZendHashTable> {
56
+ unsafe { self.function_table.as_ref() }
57
+ }
58
+
59
+ /// Attempts to retrieve the global functions hash table as mutable.
60
+ pub fn function_table_mut(&self) -> Option<&mut ZendHashTable> {
61
+ unsafe { self.function_table.as_mut() }
62
63
64
/// Attempts to retrieve the global constants table.
65
pub fn constants(&self) -> Option<&ZendHashTable> {
66
unsafe { self.zend_constants.as_ref() }
0 commit comments