summaryrefslogtreecommitdiff
path: root/zend/value.cpp
AgeCommit message (Collapse)Author
2016-05-25Fix move constructor Value and fix the hash iteratorMartijn Otto
2016-05-20Fix exception catching and properly handle casting functions returning ↵Martijn Otto
something other than a Php::Value
2016-05-20Fixed segfault during Value::~ValueMartijn Otto
2016-05-18Fix destructor segfault and minor optimizations to some of the casting functionsMartijn Otto
2016-05-18Fix failing assert for Value::clone in cases where the type is not refcountedMartijn Otto
2016-05-17Fix crash during module finding and fix incomplete types for Value::call() ↵Martijn Otto
members
2016-05-17Fixed final compilation issuesMartijn 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-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-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-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-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-02-17Fix indentДмитрий Пацура
2015-01-26Added macro wrapper for noexceptRoland Eischer
- Added macro wrapper for noexcept to support MSVC compiler.
2015-01-25added functions Php::constant() to retrieve the value of a constant, and ↵Emiel Bruijntjes
Php::defined() to find out if a constant is defined
2015-01-11Merge pull request #118 from andot/fixedunsetEmiel Bruijntjes
Fixed unset of Php::Value
2015-01-10Merge branch 'improvements' of https://github.com/valmat/PHP-CPPEmiel Bruijntjes
2014-12-22Corrected an incorrect refcount when cloning a Php::Value, this should fix ↵Toon Schoenmakers
the memory leak in issue #153
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-11-26Marked `noexcept` all move constructors and assigment operatorsvalmat
See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
2014-11-25Used variadic templates instead of code duplicationvalmat
2014-11-25Fixed a memory leak when returning a Php::Object with an already allocated Basev1.2.2Toon Schoenmakers
2014-11-21Value::refcount() is now const, and fixed a memory leak in return valuesToon Schoenmakers
2014-11-21fixed value destructor, reference variables should not be unreferencedToon Schoenmakers
2014-11-21fixed issue 107, casting a value to a std::map was not working correctlyEmiel Bruijntjes
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-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-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-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-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-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