Expand description
A module typically glob-imported containing the typically required macros and imports.
Re-exports§
pub use crate::builders::ModuleBuilder;pub use crate::closure::Closure;closurepub use crate::exception::PhpException;pub use crate::exception::PhpResult;pub use crate::types::ZendCallable;
Macros§
- php_
print - Prints to the PHP standard output, without a newline.
- php_
println - Prints to the PHP standard output, with a newline.
- wrap_
constant - Wraps a constant to be used in the [
ModuleBuilder::constant] method. - wrap_
function - Wraps a function to be used in the [
Module::function] method. - zend_
fastcall - Defines an
externfunction with the Zend fastcall convention based on operating system.
Attribute Macros§
- php_
class #[php_class]Attribute- php_
const #[php_const]Attribute- php_
enum enum #[php_enum]Attribute- php_
extern #[php_extern]Attribute- php_
function #[php_function]Attribute- php_
impl #[php_impl]Attribute- php_
module #[php_module]Attribute
Derive Macros§
- Zval
Convert ZvalConvertDerive Macro