Function ext_php_rs::zend::ce::stdclass

source ·
pub fn stdclass() -> &'static ClassEntry
Expand description

Returns the base stdClass class.

Examples found in repository?
src/types/object.rs (line 72)
69
70
71
72
73
    pub fn new_stdclass() -> ZBox<Self> {
        // SAFETY: This will be `NULL` until it is initialized. `as_ref()` checks for
        // null, so we can panic if it's null.
        Self::new(ce::stdclass())
    }