summaryrefslogtreecommitdiff
path: root/zend
AgeCommit message (Collapse)Author
2015-11-03Fix compiler errors when compiling for a multi-threading environment, fixes ↵Emiel Bruijntjes
issue #226
2015-10-08Fix logic error that caused segfaults for extension-created classes extended ↵Martijn Otto
from userland using a doc-block
2015-10-08Revert "Revert "Revert "Revert "Fix issue with derived classes, but only fix ↵Martijn Otto
it for PHP 5.4 and up. Closes #211"""" This reverts commit 0ef1b5e130f300dab0ae06b67b44b33da7274a97.
2015-10-08Handle exceptions thrown from unserialize similar to normal phpToon Schoenmakers
Most of this code was taken from ext/standard/vars.c:948, the error message isn't the same, but that's just a small detail. Funny enough you can actually make unserialize throw if you make this code handling the same as serialize, but as the php documentation says that unserialize doesn't throw we just handle it like this (the way we should).
2015-10-08Properly handle a Php::Exception when thrown from a serialize methodToon Schoenmakers
2015-10-07Revert "Revert "Revert "Fix issue with derived classes, but only fix it for ↵v1.5.1Toon Schoenmakers
PHP 5.4 and up. Closes #211""" This reverts commit c512e02a4031f4c359e60d637e0c86e8d9084646.
2015-10-06Revert "Revert "Fix issue with derived classes, but only fix it for PHP 5.4 ↵Toon Schoenmakers
and up. Closes #211"" This reverts commit fd806d0195f469dbbed8e4e329086f82e15312ad. Reverting the revert as I'm unable to reproduce the issue caused by this commit and it all seems to work fine..
2015-09-25Revert "Fix issue with derived classes, but only fix it for PHP 5.4 and up. ↵Toon Schoenmakers
Closes #211" This reverts commit 8aa6e9bbb497d494dbcf86203acaf136da2a50c8.
2015-09-17Added the error reporting method, used to change the error reporting levelToon Schoenmakers
2015-09-17Added support for passing the error types in the set_error_handlerToon Schoenmakers
2015-09-16Initial support for setting an error handler as wellToon Schoenmakers
2015-09-16Added support for setting a std::function as an exception handlerToon Schoenmakers
This is so far only tested with php 5.5.9, might not work on versions below that.
2015-08-07Fix issue with derived classes, but only fix it for PHP 5.4 and up. Closes #211Martijn Otto
2015-07-28added "keeprefcount" parameter to Value::detach()Emiel Bruijntjes
2015-07-28removed value::attach() methods, because they were not in use, and were ↵Aart Stuurman
probably broken too
2015-07-28fixed memory leak when using magic casting functions like __toIntegerAart Stuurman
2015-07-28fixed memory leak when iterating over a Php::Traversable objectAart Stuurman
2015-07-27fixed a memory leak in using Value as a function.Aart Stuurman
2015-07-23It now is possible to assign Php::Value["whatever"] results directly to new ↵Emiel Bruijntjes
Php::Value objects
2015-06-19Fix bug chaining magic methodsMartijn Otto
2015-06-15added extra check for abstract keyword when adding abstract methods for ↵Emiel Bruijntjes
interfaces
2015-06-10Fix segfault when casting an object using the default handlersMartijn Otto
2015-06-05rolled back change, the abstract flag should always be added if ↵Emiel Bruijntjes
implementation is missing
2015-06-04Allow interfaces define static methodsDreamsxin
2015-05-18We are now ABI compatible with the latest release againToon Schoenmakers
2015-05-18The Value::contains(int) method now also works with ArrayAccessToon Schoenmakers
2015-05-18The Value::get(int) method now works on objects that implemented ArrayAccess ↵Toon Schoenmakers
as well
2015-05-07rawValue no longer tries to return a valid pointer when the Value object ↵Martijn Otto
does not represent a string value
2015-04-13Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/PHP-CPPEmiel Bruijntjes
2015-04-13added PHPCPP_EXPORT, this may fix visibility issue #186Emiel Bruijntjes
2015-04-13fix casting errorEmiel Bruijntjes
2015-04-13Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/PHP-CPPEmiel Bruijntjes
2015-04-12stop calling zend_next_free_module() -- some users complain that this ↵Emiel Bruijntjes
function does not exist, this hopefully fixes issue #185
2015-04-12Php::dl() function now gets an extra "persistent" parameter to load ↵Emiel Bruijntjes
extensions persistently
2015-04-11function names are now turned into lowercase name when registering them with ↵Emiel Bruijntjes
zend, this is necessary because all functions are lowercase, and function-table lookups were failing, and more importantly: the removal of functions was failing when a module was unloaded
2015-04-10Php::dl() now also checks the extension_dirEmiel Bruijntjes
2015-04-03fixed a crash when dynamicly loaded extensions were unloaded, the static ↵v1.3.2Emiel Bruijntjes
cache in PHP-CPP with all the extension names to extension pointers, and the extension numbers to extension pointers are now cleanup up when an extension is unloaded
2015-03-31Add a workaround for PHP 5.3Martijn Otto
2015-03-30Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/PHP-CPPEmiel Bruijntjes
2015-03-30add PHPCPP_EXPORT macros to a number of << operators to prevent undefined ↵Emiel Bruijntjes
symbol errors, Value::contains() now also works with __isset()
2015-03-30Fix compile issue with PHP5.3 by adding const_cast to remove constness where ↵RafalGoslawski
needed.
2015-03-26Changed default visibility for symbols in the PHP-CPP library to hidden and ↵Martijn Otto
explicitly exported all symbols available from the public API. Moved the hiddenpointer to the zend implementation directory as it is not meant to be used publicly and not referenced anywhere from the API anyway
2015-03-26Fixed the Value::contains method and added the isCallable(name) function to ↵Martijn Otto
see if the object has an accessible member function
2015-03-25Added access checks to Php::Value::containsMartijn Otto
2015-03-13Implemented a simple sapi_name() method which will return the current sapiToon Schoenmakers
2015-03-07removed tabsEmiel Bruijntjes
2015-03-07Merge pull request #176 from atvise/fix_missing_returnsEmiel Bruijntjes
Added missing return statement
2015-03-06Added missing return statementRoland Eischer
- The functions increment() and decrement() were missing return statements
2015-03-06Added missing static cast of void* to DL_HANDLERoland Eischer
2015-02-23changes to make windows users happy: dlsym() call has been replaced with ↵Emiel Bruijntjes
DL_FETCH_SYMBOL(), and default move constructor has been removed (it wasnt used)