Module ext_php_rs::prelude

source ·
Expand description

A module typically glob-imported containing the typically required macros and imports.

Re-exports

pub use crate::closure::Closure;
pub use crate::exception::PhpException;
pub use crate::exception::PhpResult;

Macros

Prints to the PHP standard output, without a newline.
Prints to the PHP standard output, with a newline.

Structs

Builds a Zend module extension to be registered with PHP. Must be called from within an external function called get_module, returning a mutable pointer to a ModuleEntry.
Acts as a wrapper around a callable Zval. Allows the owner to call the Zval as if it was a PHP function through the try_call method.

Attribute Macros

Derive Macros