summaryrefslogtreecommitdiff
path: root/zend/classimpl.cpp
AgeCommit message (Collapse)Author
2015-07-28added "keeprefcount" parameter to Value::detach()Emiel Bruijntjes
2015-07-28fixed memory leak when using magic casting functions like __toIntegerAart Stuurman
2015-06-10Fix segfault when casting an object using the default handlersMartijn Otto
2015-02-21fixed memory leak in classimplEmiel Bruijntjes
2015-02-05when an exception was thrown from out of an __invoke() or __call() method, a ↵Emiel Bruijntjes
segmentation fault occured because memory was too early freed (the exception constructor still relied on data that was already freed)
2015-01-15Added the Php::Function class. This is an extension to the Php::Value class ↵Emiel Bruijntjes
that can be used if you want to assign a std::function object to a Value. This is useful if you want to pass a C++ lambda to a PHP userspace function
2014-12-16fix issue #151, chaining method calls was not working as it should because ↵Emiel Bruijntjes
the per-object refcount was not updated correctly, which caused an object to be destructed even when it already was assigned to a different variable
2014-08-22Store the impl pointer for ClassImpl after the name in the zend_class_entry ↵Toon Schoenmakers
on php5.3 Turns out the apache reload issue from f57607d2d58f6e7689a3550c84ba68ce42c6a7b3 was never actually fixed. This commit however does finally fix it. The previously comment trick however is still used with php 5.4 and php 5.5 as this 'new' trick doesn't work with these versions of php as char* name in the zend_class_entry is a const char* and is no longer internally copied and all (meaning we can't realloc it).
2014-07-08changed comments to match coding styleEmiel Bruijntjes
2014-06-23Fixed issue #100valmat
2014-06-19errors are no longer thrown as exceptions, but are php fatal errors, so that ↵Emiel Bruijntjes
they more closely match the zend error reporting system
2014-06-11when an object was created using Php::Object("MyClass", new MyClass()), the ↵Emiel Bruijntjes
object handlers were not installed, which caused the magic methods not to be functional (issue #94)
2014-04-06renamed src directory to zend directory, disabled TSRM debug codeEmiel Bruijntjes