Module ext_php_rs::php::types::zval[][src]

Expand description

The base value in PHP. A Zval can contain any PHP type, and the type that it contains is determined by a property inside the struct. The content of the Zval is stored in a union.

Traits

Allows zvals to be converted into Rust types in a fallible way. Reciprocal of the IntoZval trait.

Provides implementations for converting Rust primitive types into PHP zvals. Alternative to the built-in Rust From and TryFrom implementations, allowing the caller to specify whether the Zval contents will persist between requests.

An object-safe version of the IntoZval trait.

Type Definitions

Zend value. Represents most data types that are in the Zend engine.