Releases: CopernicaMarketingSoftware/PHP-CPP
Version 1.0
This is the first stable release of the PHP-CPP library. Since the previous release various bugs have been fixed and a number of small features have been added. These are the highlights:
- Support for TRSM (multi-threading PHP installations)
- Test framework has been added to the source distribution
- Fixed iterating over arrays
- Fixed populating multidimensional arrays
- Allow chaining of class/method/property registration methods.
- Class and interface inheritance can be specified in the get_module() startup function
- Fixed super-global Php::SERVER when running as Apache module with just-in-time population
- Added support for static class properties
Version 0.9.2
This release has mainly bug fixes, and some small new necessary features:
- A unit test framework has been added
- Object properties could not have initial negative values
- C++ iterators were not correct when iterating over PHP classes that implemented Iterator or IteratorAggregate
- Output streams 'Php::out', 'Php::notice', 'Php::warning' and 'Php::error' and 'Php::deprecated' have been added
- Setting up multidimensional arrays was not working correctly
Version 0.9.1
In PHP-CPP version 0.9.1 several small memory corruption bugs have been fixed, and some changes have been made that prevented the library from being compiled for different PHP versions or with different compilers than the ones used by us.
No new features have been introduced. Just like PHP-CPP v0.9 this is a feature-freeze releases that prepares for the upcoming v1.0 version.
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.
Version 0.2
The PHP-CPP library is making progress. Since v0.1 many things have changed and many new features have been introduced - too many to even mention. Version 0.2 is not compatible with 0.1. This means that you will have to make changes to your extensions if you upgrade from v0.1 to v0.2.
This version has been brought out to give some stability to extensions writers, and to allow the PHP-CPP development to move on without having to worry about breaking existing extension with every change that is made to the library.
This is an pre-release with an API that is not yet stabilized. The library is in a usable state, but we do not guarantee that future releases will be compatible with v0.2.
Version 0.1
This is a very initial release.