Type Definition ext_php_rs::zend::ZendType [−][src]
pub type ZendType = zend_type;
Expand description
Internal Zend type.
Implementations
Builds an empty Zend type container.
Parameters
pass_by_ref
- Whether the value should be passed by reference.is_variadic
- Whether this type represents a variadic argument.
Attempts to create a zend type for a given datatype. Returns an option containing the type.
Returns None
if the data type was a class object where the class
name could not be converted into a C string (i.e. contained
NUL-bytes).
Parameters
type_
- Data type to create zend type for.pass_by_ref
- Whether the type should be passed by reference.is_variadic
- Whether the type is for a variadic argument.allow_null
- Whether the type should allow null to be passed in place.