ext-php-rs 0.15.9

Bindings for the Zend API to build PHP extensions natively in Rust.
Documentation
1
2
3
4
5
6
7
8
use crate::builders::FunctionBuilder;

/// Implemented on ZSTs that represent PHP functions.
pub trait PhpFunction {
    /// Function used to 'build' the PHP function, returning a
    /// [`FunctionBuilder`] used to build the function.
    const FUNCTION_ENTRY: fn() -> FunctionBuilder<'static>;
}