summaryrefslogtreecommitdiff
path: root/include/value.h
AgeCommit message (Collapse)Author
2014-11-21fixed issue 107, casting a value to a std::map was not working correctlyEmiel Bruijntjes
2014-10-22Allow casting a Php::Value to a std::setv1.2.1Martijn Otto
2014-10-22emplace_back does not work, since some types cannot be constructed directly ↵Martijn Otto
from a Php::Value
2014-10-22use emplace_back instead of push_back for creating the vector of valuesMartijn Otto
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-07-27added commentEmiel Bruijntjes
2014-07-27Merge branch 'fixed#107' of https://github.com/andot/PHP-CPPEmiel Bruijntjes
2014-07-27renamed subclassOf() to derivedFrom() (added to pull request #110)Emiel Bruijntjes
2014-07-26added Value::subclassOf(), and implemented Php::is_a() and Php::is_subclass_of()Emiel Bruijntjes
2014-07-10Fixed issue #107andot
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-08in the documentation and source code comments, the old method name ↵Emiel Bruijntjes
Value::resize() was used, while the actual name is reserve(), solves issue #102
2014-06-11donevalmat
2014-06-11Value::operator==valmat
2014-06-08Comparison operators for hardcoded Valuevalmat
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-10calls to strlen has been converted into calls to ::strlen, because ↵Emiel Bruijntjes
Php::strlen() now also exists as (slow) php function, see issue #78
2014-04-09added support for accessing array keys by other value objects, support for ↵Emiel Bruijntjes
unsetting array members, support for array_key_exists(), isset() and unset() functions (feature request in from issue #71)
2014-04-07objects were not destructed correctly (we freed memory that we had allocated ↵Emiel Bruijntjes
ourselves, but the Zend engine seemed to deallocate the same memory too, which caused a crash), and improved returning values from functions, which crashed when one of the own parameters was directly returned (error mentioned in issue #68)
2014-04-05removed zend code from the iterator header file, and moved it into the src ↵Emiel Bruijntjes
directory
2014-04-02refactored the class and classbase classes, and introduced a classimpl class ↵Emiel Bruijntjes
in the src directory, this is a first step to remove all zend-specific code from the header files, so that we can later have a hhvm backend for the php-cpp library
2014-04-01much simpler implementation of hash member, i do not understand why i first ↵Emiel Bruijntjes
used this complicated zval wrapping implementation, fixes problems reported in issue #56
2014-03-29fixed broken texts because of wrong return value of many chaining methods in ↵Emiel Bruijntjes
Class.h
2014-03-29all methods to register functions, methods, properties and classes not ↵Emiel Bruijntjes
return *this, to allow chaining these methods. This was suggested by valmat in issue #55
2014-03-25ZTS thread safety is now automatically detected when PHP-CPP is installedEmiel Bruijntjes
2014-03-24fixed nested arrays, issue #50Emiel Bruijntjes
2014-03-21fixed compile problem with php 5.5Emiel Bruijntjes
2014-03-21implementation of traverseiterator (untested)Emiel Bruijntjes
2014-03-16removed Value constructor that wraps around a hash tableEmiel Bruijntjes
2014-03-16added Value::begin() and Value::end() methods to make it possible to iterate ↵Emiel Bruijntjes
over a value
2014-03-15renamed reserve to resizeEmiel Bruijntjes
2014-03-15removed HardCoded class because it turned out to be too difficult to ↵Emiel Bruijntjes
implement it for now
2014-03-15added empty() function, and added HardCoded classEmiel Bruijntjes
2014-03-14Value::numericValue() now returns a int64_t, and no longer a longEmiel Bruijntjes
2014-03-14introduced super globals Php::POST, Php::GET, et cetera, fixed setting array ↵Emiel Bruijntjes
members, introduced Value::attach() method
2014-03-10deal with magic methods and magic interfaces that throw exceptionsEmiel Bruijntjes
2014-03-09work in progress on iteratorsEmiel Bruijntjes
2014-03-09added arrayaccess implementationEmiel Bruijntjes
2014-03-08various fixes to make the function call example compilableEmiel Bruijntjes
2014-03-07update documentation, implemented comparison operator for hashmember class, ↵Emiel Bruijntjes
added Value constructor that receives a Php::Type to initialize as a specific type, added Value constructors to initialize a Value directly from a map or a vector, fixed value comparison operators, added casting constructors to cast a value to a vector or a map
2014-03-06changes to documentation, comparison operators added to Value classEmiel Bruijntjes
2014-03-05updated documentation about functions, introducted += operator with a ↵Emiel Bruijntjes
Php::Value on the right side, and an integral variable on the left
2014-03-04Php::Value and Php::Object classes can now be used to wrap around Php::Base ↵Emiel Bruijntjes
objects
2014-03-04all Value::call() and Value::exec() method no longer accept a std::string, ↵Emiel Bruijntjes
but a const char* instead, because in the real world they are most likely called with hard coded strings
2014-03-02fixed settings Base::_self variable to a valid, editable value objectEmiel Bruijntjes
2014-03-02types are not a C++11 class, introduced FixedValue class that can not change ↵Emiel Bruijntjes
type, and implemented both Object and Array to make use of that type, implemented - but not yet tested - Base::value() method
2014-02-26Fixed makefile to refer to right /usr/ directory, and the operator()() ↵v0.1Evangelos Trantos
methods in Php::Value are now all const (they do not modify the variable after all)
2014-02-24Added method to retrieve the implementation class from a Value objectEmiel Bruijntjes
2014-02-13Added an assignment operator to Value for nullptrMartijn Otto