Releases: CopernicaMarketingSoftware/PHP-CPP
Releases · CopernicaMarketingSoftware/PHP-CPP
PHP-CPP 2.4.3
- Fixed __get() and related methods for PHP version 8 and up (such methods caused a segfault)
- Fixed Php::Traversable class for PHP version 8 and up (this caused a warning about an abstract class that could not be instantiated)
- All Php::Traversable classes now automatically have a getIterator() method
- Fixed crash when using comparison operators on a non-string Php::Value to compare it with a "const char *"
- Some internal changes to variable-length-arrays compiler to get broader compiler support
- Changes to the build mechanism (we no longer build special object files for shared and static libraries)
PHP-CPP 2.4.2
- Fixed registering of parameters with an unspecified type for PHP 8 and up (these parameters were incorrectly registered as typed parameters)
PHP-CPP 2.4.1
- No functional changes since 2.4.0
- The "libphpcpp.so" is now a symlink using a relative path, to make it a bit easier to copy around together with the libphpcpp.so.x.y files
PHP-CPP 2.4.0
- Support for PHP 8.2
- When the "Php::Countable" interface is implemented, the $object->count() method is now implicitly enabled and passed to MyClass::__count().
PHP-CPP 2.3.5
- Classes that extend from Php::Serializable no longer have to explicitly register the serialize() and unserialize() methods (they are not implicitly added)
PHP-CPP 2.3.4
- Fixed a segmentation fault on extension startup
PHP-CPP 2.3.3
- Fixed PHP 7.4 issue (because of new values for C constants, interfaces were suddenly registered as abstract classes)
PHP-CPP 2.3.2
- Fixed version number (the 2.3.1 release was still creating a 2.3.0 shared object file)
PHP-CPP 2.3.1
- Fixed issue for PHP 7.4 with interfaces that extend from other interfaces
PHP-CPP 2.3.0
- Support for PHP 7.4
- C++ classes that derive from Php::Traversable now automatically also implement "Traversable" in PHP space ("instanceof" operator now works)
- C++ classes that derive from Php::Serializable now automatically also implement "Serializable" in PHP space ("instanceof" operator now works)
- Performance optimization for destructing objects
- Some small improvements and fixes to the building procedures with cmake
- Fixed some mistakes in example code