Version 0.5.2
- Constructors that return
Selfcan now be added to classes. #83Defaultis 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
SelforResult<Self, E>, where
E: Into<PhpException>.
- Added
FromZendObjectandIntoZendObjecttraits. #74 - Added
#[derive(ZvalConvert)]derive macro. DerivesIntoZvalandFromZval
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 Tis now valid as a function parameter. #100
Thanks to the contributors for this release: