Version 0.5.2
- Constructors that return
Self
can now be added to classes. #83Default
is no longer required to be implemented on classes, however, a
constructor must be specified if you want to construct the class from PHP.- Constructors can return
Self
orResult<Self, E>
, where
E: Into<PhpException>
.
- Added
FromZendObject
andIntoZendObject
traits. #74 - Added
#[derive(ZvalConvert)]
derive macro. DerivesIntoZval
andFromZval
on arbitrary structs and enums. #78 - Added
ZBox<T>
, similar toBox<T>
, to allocate on the Zend heap. #94 - Changed execution data functions to take mutable references. #100
&mut T
is now valid as a function parameter. #100
Thanks to the contributors for this release: