Skip to content

Releases: CopernicaMarketingSoftware/PHP-CPP

PHP-CPP 2.4.3

20 Apr 13:32
Compare
Choose a tag to compare
  • 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

16 Nov 08:41
Compare
Choose a tag to compare
  • 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

07 Nov 21:30
Compare
Choose a tag to compare
  • 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

07 Nov 08:41
Compare
Choose a tag to compare
  • 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

29 Jun 15:45
Compare
Choose a tag to compare
  • 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

14 Jun 11:57
Compare
Choose a tag to compare
  • Fixed a segmentation fault on extension startup

PHP-CPP 2.3.3

14 Jun 09:51
Compare
Choose a tag to compare
  • Fixed PHP 7.4 issue (because of new values for C constants, interfaces were suddenly registered as abstract classes)

PHP-CPP 2.3.2

10 Jun 12:44
Compare
Choose a tag to compare
  • Fixed version number (the 2.3.1 release was still creating a 2.3.0 shared object file)

PHP-CPP 2.3.1

10 Jun 11:30
Compare
Choose a tag to compare
  • Fixed issue for PHP 7.4 with interfaces that extend from other interfaces

PHP-CPP 2.3.0

19 Oct 07:13
Compare
Choose a tag to compare
  • 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