Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-17 | added initial implementation for registering constants | Emiel Bruijntjes | |
2015-01-15 | Added the Php::Function class. This is an extension to the Php::Value class ↵ | Emiel Bruijntjes | |
that can be used if you want to assign a std::function object to a Value. This is useful if you want to pass a C++ lambda to a PHP userspace function | |||
2015-01-14 | fix for issue #159: the eval() function no longer relies on the Zend ↵ | Emiel Bruijntjes | |
zend_eval_stringl_ex() function, because that function modifies the to-be-evaluated php code, which could result in syntax errors for perfectly valid PHP code | |||
2015-01-13 | in 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-12 | Added missing executestate.h file (forgot that in previous commit), and ↵ | Emiel Bruijntjes | |
solved issue #158, the Php::Object constructor for multiple parameters accidentally matched the call to Php::Object(name, implementation) | |||
2015-01-12 | fixed compiling in ZTS environments (reported in issue #57) | Emiel Bruijntjes | |
2015-01-11 | added include(), require(), include_once() and require_once() methods, based ↵ | Emiel Bruijntjes | |
on the Php::File class (feature built based on inspiration from pull request #147); | |||
2015-01-11 | fixed 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-11 | refactored script class to have a seperate opcodes class, added file class ↵ | Emiel Bruijntjes | |
that uses this same opcodes class | |||
2015-01-10 | added 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-10 | Merge branch 'improvements' of https://github.com/valmat/PHP-CPP | Emiel Bruijntjes | |
2014-12-22 | Corrected an incorrect refcount when cloning a Php::Value, this should fix ↵ | Toon Schoenmakers | |
the memory leak in issue #153 | |||
2014-11-26 | Marked `noexcept` all move constructors and assigment operators | valmat | |
See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html | |||
2014-11-25 | Used variadic templates instead of code duplication | valmat | |
2014-11-25 | Fixed a memory leak when returning a Php::Object with an already allocated Basev1.2.2 | Toon Schoenmakers | |
2014-11-21 | Value::refcount() is now const, and fixed a memory leak in return values | Toon Schoenmakers | |
2014-11-21 | Removed 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-21 | fixed issue 107, casting a value to a std::map was not working correctly | Emiel Bruijntjes | |
2014-11-20 | Fixed issue #137: Php::Object("MyClass") crashed when no __construct() ↵ | Emiel Bruijntjes | |
function was defined in it | |||
2014-10-22 | Allow casting a Php::Value to a std::setv1.2.1 | Martijn Otto | |
2014-10-22 | emplace_back does not work, since some types cannot be constructed directly ↵ | Martijn Otto | |
from a Php::Value | |||
2014-10-22 | use emplace_back instead of push_back for creating the vector of values | Martijn Otto | |
2014-09-25 | Made Type::Null the default type on ByVal and ByRef as this will allow any ↵ | Toon Schoenmakers | |
type (aka no type hinting) | |||
2014-08-29 | Merge pull request #128 from andot/vs2013 | Emiel Bruijntjes | |
Fixed compatibility issue with VS2013 | |||
2014-08-26 | fixed conflict | Emiel Bruijntjes | |
2014-08-26 | Value objects allocated with a const char * that is set to null, will not ↵ | Emiel Bruijntjes | |
create NULL php values | |||
2014-07-27 | update coding style | Emiel Bruijntjes | |
2014-07-27 | Merge branch 'FixedObjectConstructor' of https://github.com/andot/PHP-CPP | Emiel Bruijntjes | |
2014-07-27 | added comment | Emiel Bruijntjes | |
2014-07-27 | Merge branch 'fixed#107' of https://github.com/andot/PHP-CPP | Emiel Bruijntjes | |
2014-07-27 | renamed subclassOf() to derivedFrom() (added to pull request #110) | Emiel Bruijntjes | |
2014-07-26 | added Value::subclassOf(), and implemented Php::is_a() and Php::is_subclass_of() | Emiel Bruijntjes | |
2014-07-26 | Merge branch 'is_a' of https://github.com/andot/PHP-CPP | Emiel Bruijntjes | |
2014-07-26 | compile issues | Emiel Bruijntjes | |
2014-07-26 | modifed class_exists function to work with a char* without having to convert ↵ | Emiel Bruijntjes | |
it into a std::string | |||
2014-07-26 | Merge branch 'class_exists' of https://github.com/andot/PHP-CPP | Emiel Bruijntjes | |
2014-07-26 | renamed fastcall.cpp to eval.cpp, and moved the Php::eval() definition to ↵ | Emiel Bruijntjes | |
the call.h header file | |||
2014-07-23 | Fixed compatibility issue with VS2013 | andot | |
2014-07-10 | Fixed Object Constructor. | andot | |
The old copy constructor of Php::Object forgot the call("__construct") | |||
2014-07-10 | Fixed issue #107 | andot | |
2014-07-10 | Add Php::is_a implementation. | andot | |
Add is, isSubClassOf for Php::Value. Add Php::is_a implementation. Add Php::is_subclass_of implementation. | |||
2014-07-10 | Add Php::class_exists implementation. | andot | |
2014-07-10 | Implementation issue #98 | andot | |
2014-07-08 | in 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-19 | errors 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-19 | errors 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-19 | implementation issue #97 | valmat | |
2014-06-11 | Merge pull request #95 from valmat/FixCompareOp | Emiel Bruijntjes | |
Comparison operators for hardcoded Php::Value | |||
2014-06-11 | done | valmat | |
2014-06-11 | Value::operator== | valmat | |