summaryrefslogtreecommitdiff
path: root/include/value.h
AgeCommit message (Collapse)Author
2015-09-17Added support for passing the error types in the set_error_handlerToon Schoenmakers
2015-09-16Initial support for setting an error handler as wellToon Schoenmakers
2015-09-16Added support for setting a std::function as an exception handlerToon Schoenmakers
This is so far only tested with php 5.5.9, might not work on versions below that.
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-23It now is possible to assign Php::Value["whatever"] results directly to new ↵Emiel Bruijntjes
Php::Value objects
2015-06-21Refactored operator%=(X&, Php::Value) to use C++ style cast to clarifyRico Antonio Felix
intent
2015-06-21Refactored operator/=(X&, Php::Value) to use C++ style cast to clarifyRico Antonio Felix
intent
2015-06-21Refactored operator*=(X&, Php::Value) to use C++ style cast to clarifyRico Antonio Felix
intent
2015-06-21Refactored operator-=(X&, Php::Value) to use C++ style cast to clarifyRico Antonio Felix
intent
2015-06-21Refactored operator+=(X&, Php::Value) to use C++ style cast to clarifyRico Antonio Felix
intent
2015-05-31fix documentation stuff that was reported in pull requested #194Emiel Bruijntjes
2015-05-18We are now ABI compatible with the latest release againToon 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-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-26Changed default visibility for symbols in the PHP-CPP library to hidden and ↵Martijn Otto
explicitly exported all symbols available from the public API. Moved the hiddenpointer to the zend implementation directory as it is not meant to be used publicly and not referenced anywhere from the API anyway
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-02It was reported (see ↵Emiel Bruijntjes
http://www.php-cpp.com/documentation#comment-1830049280) that visual c++ has not support for initializer_lists, well at least old versions of it so not support it (see https://msdn.microsoft.com/en-us/library/hh567368.aspx), so we added a couple of extra checks to ensure that PHP-CPP also compilers on these olders compilers
2015-01-26Added macro wrapper for noexceptRoland Eischer
- Added macro wrapper for noexcept to support MSVC compiler.
2015-01-25added Php::define() function to create constants at run timeEmiel Bruijntjes
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-17added initial implementation for registering constantsEmiel Bruijntjes
2015-01-13in response to issue #156: the super-global arrays Php::POST, Php::SERVER, ↵Emiel Bruijntjes
etcetera can now be iterated over, and they can be assigned to a regular Php::Value variable
2015-01-11fixed memory leak when executing php code using the Opcodes class, fixed ↵Emiel Bruijntjes
possible double-free when path passed to File class was absolute, added extra constructors to the File class
2015-01-10added Script class to simplify parsing and executing php scripts (the ↵Emiel Bruijntjes
Php::eval() call both compiles and executes a script, while the Script class splits these two steps, which allows you to run the same opcodes multiple times)
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-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-21Value::refcount() is now const, and fixed a memory leak in return valuesToon Schoenmakers
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