Version 0.9
This v0.9 release has all the features that we want to have in v1.0. But it has not been tested so extensively, hence the v0.9 tag: almost v1.0, but not completely stable.
The most important new features and changes since the previous release (v0.2) are:
- Php::Serializable class
- Support for __clone(), __destruct() and __callStatic() methods
- C++ classes without a copy constructor automatically are unclonable in PHP too
- Magic methods are no longer virtual, which allows one to use alternative method signatures
- Introduces "super-globals" Php::GET, Php::POST, Php::COOKIE, etc. just like PHP has.
- Properties can be implemented with callback methods, enabling read-only properties
- Fixed issues to compile on OSX
- Direct access to the string buffer inside a Php::Value object is now allowed
Because magic methods no longer are virtual, the v0.9 release is not compatible with v0.2. Extensions that were developed using PHP-CPP v0.2 have to be recompiled, and possible be slightly modified too to match the new magic method signature.