summaryrefslogtreecommitdiff
path: root/zend
AgeCommit message (Collapse)Author
2014-11-21fixed value destructor, reference variables should not be unreferencedToon Schoenmakers
2014-11-21Removed move constructor from Object class, because it caused failures when ↵Toon Schoenmakers
instantiating with a std::string parameter, Php::Object constructors now always first call the base constructor, and the __construct() function is now always called
2014-11-21fixed issue 107, casting a value to a std::map was not working correctlyEmiel Bruijntjes
2014-11-20Fixed issue #137: Php::Object("MyClass") crashed when no __construct() ↵Emiel Bruijntjes
function was defined in it
2014-08-29Merge pull request #128 from andot/vs2013Emiel Bruijntjes
Fixed compatibility issue with VS2013
2014-08-26when value properties that start with a null byte are set or retrieved (this ↵v1.2Emiel Bruijntjes
happens when the user relies on specific Zend features) we now block such access because we do not want the user to be exposed to the peculiarities of the Zend engine
2014-08-26fixed conflictEmiel Bruijntjes
2014-08-26Value objects allocated with a const char * that is set to null, will not ↵Emiel Bruijntjes
create NULL php values
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-08-19Fixed the compile issues against php 5.3Toon Schoenmakers
2014-08-19Use stringValue() rather than checking if it's a numeric value to then use ↵Toon Schoenmakers
std::to_string()
2014-08-16Update objectimpl.h小马哥
2014-08-15Properly use numeric keys in case we're requesting a mapValueToon Schoenmakers
2014-07-27renamed subclassOf() to derivedFrom() (added to pull request #110)Emiel Bruijntjes
2014-07-26fixed compile issuesEmiel Bruijntjes
2014-07-26removed includes for fastcall.hEmiel Bruijntjes
2014-07-26added Value::subclassOf(), and implemented Php::is_a() and Php::is_subclass_of()Emiel Bruijntjes
2014-07-26Merge branch 'is_a' of https://github.com/andot/PHP-CPPEmiel Bruijntjes
2014-07-26autoload check had to be exactly the other way aroundEmiel Bruijntjes
2014-07-26compile issuesEmiel Bruijntjes
2014-07-26modifed class_exists function to work with a char* without having to convert ↵Emiel Bruijntjes
it into a std::string
2014-07-26Merge branch 'class_exists' of https://github.com/andot/PHP-CPPEmiel Bruijntjes
2014-07-26no more exceptions for wrong eval()'ed codeEmiel Bruijntjes
2014-07-26renamed fastcall.cpp to eval.cpp, and moved the Php::eval() definition to ↵Emiel Bruijntjes
the call.h header file
2014-07-26Merge branch 'issue#98' of https://github.com/andot/PHP-CPP into andot-issue#98Emiel Bruijntjes
2014-07-23Fixed compatibility issue with VS2013andot
2014-07-21Fixed a bug of HashIteratorandot
The old implementation of HashIterator can't support `"\0"` prefix key. I think the array and the object is different. Maybe the user didn't want to get the private property of an object. but in an array, `"\0"` prefix key doesn't mean private key. so we should return `"\0"` prefix key when it is an array.
2014-07-14Change C99 VLA C++ dynamic arrayandot
2014-07-11Fixed a bug of HashIteratorandot
The old implementation of HashIterator can't support `"\0"` prefix key. I think the array and the object is different. Maybe the user didn't want to get the private property of an object. but in an array, `"\0"` prefix key doesn't mean private key. so we should return `"\0"` prefix key when it is an array.
2014-07-10Fixed unset of Php::Valueandot
2014-07-10Add Php::is_a implementation.andot
Add is, isSubClassOf for Php::Value. Add Php::is_a implementation. Add Php::is_subclass_of implementation.
2014-07-10Add Php::class_exists implementation.andot
2014-07-10Implementation issue #98andot
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-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-11Merge pull request #95 from valmat/FixCompareOpEmiel Bruijntjes
Comparison operators for hardcoded Php::Value
2014-06-11donevalmat
2014-06-11Value::operator==valmat
2014-06-11Corrected in accordance with Proposition ↵valmat
https://github.com/CopernicaMarketingSoftware/PHP-CPP/pull/95#issuecomment-45716890
2014-06-11issue #93: fix crash when moving to null Php::Value objectEmiel Bruijntjes
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-06-08Comparison operators for hardcoded Valuevalmat
2014-05-06When "apache reload" is called, the PHP-CPP library made the entire Apache ↵Emiel Bruijntjes
process crash. This has been fixed
2014-05-06Value objects constructed with (const char *)NULL caused a crash, this has ↵Emiel Bruijntjes
been fixed so they hold a PHP NULL value
2014-04-14added Php::IniValue constructor to the Php::Value class, so that "return ↵Emiel Bruijntjes
Php::ini_get("extension.x");" can be implemented
2014-04-14Separated class IniValue from class Inivalmat
Also replaced Ini::get() on ini_get() see https://github.com/CopernicaMarketingSoftware/PHP-CPP/issues/64#issuecomment-40313791
2014-04-13Fix linker errorvalmat
2014-04-13Class IniValue designed for extracting values from ini entriesvalmat