summaryrefslogtreecommitdiff
path: root/include/value.h
AgeCommit message (Collapse)Author
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
2014-02-06Added the call() method for Value objects, allowing calling of member ↵Martijn Otto
functions of PHP objects
2014-02-05Added include guard and allow array access operator on a const Value objectMartijn Otto
2013-12-07replaces tabs in source code with regular spaces, added example for working ↵Emiel Bruijntjes
with global variables
2013-12-06Global variables are now accessible via Php::globals["varname"]Emiel Bruijntjes
2013-12-02Updated README.md, implemented more complicated isCallable method and added ↵JasperVanEck
comments to value.cpp
2013-12-02Added example of a php function call, but isCallable() doesnt workJasperVanEck
2013-12-02Implemented operator(), with support of upto 10 parametersJasperVanEck
2013-10-22{auto} support for modulus operatorEmiel Bruijntjes
2013-10-20long types have been replaced with int16, int32 and int64 types to make code ↵Emiel Bruijntjes
more readable and easier portable between architectures longType and decimalType have been replace by numericType and floatType Many arithmetic operators have been added to the value class Solved various issues with copying and moving value objects
2013-09-30Work in progress on adding public and protected properties to classesEmiel Bruijntjes
2013-09-26Renamed member class to hashmember, because we're going to use the member ↵Emiel Bruijntjes
class for specifying class information
2013-09-25Constructor gets almost called when object is constructedEmiel Bruijntjes