Skip to content

Releases: CopernicaMarketingSoftware/PHP-CPP

Version 0.9

16 Mar 15:06
Compare
Choose a tag to compare

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

13 Mar 07:40
Compare
Choose a tag to compare

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

28 Feb 14:32
Compare
Choose a tag to compare
Version 0.1 Pre-release
Pre-release

This is a very initial release.