Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-11 | Merge pull request #118 from andot/fixedunset | Emiel Bruijntjes | |
Fixed unset of Php::Value | |||
2015-01-11 | fixed return value problem in the Php::eval() function (also solved in issue ↵ | Emiel Bruijntjes | |
#129) | |||
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 | exception support for the Script class | Emiel Bruijntjes | |
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-12-16 | fix 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-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 | fixed value destructor, reference variables should not be unreferenced | 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-08-29 | Merge pull request #128 from andot/vs2013 | Emiel Bruijntjes | |
Fixed compatibility issue with VS2013 | |||
2014-08-26 | when value properties that start with a null byte are set or retrieved (this ↵v1.2 | Emiel 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-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-08-22 | Store the impl pointer for ClassImpl after the name in the zend_class_entry ↵ | Toon Schoenmakers | |
on php5.3 Turns out the apache reload issue from f57607d2d58f6e7689a3550c84ba68ce42c6a7b3 was never actually fixed. This commit however does finally fix it. The previously comment trick however is still used with php 5.4 and php 5.5 as this 'new' trick doesn't work with these versions of php as char* name in the zend_class_entry is a const char* and is no longer internally copied and all (meaning we can't realloc it). | |||
2014-08-19 | Fixed the compile issues against php 5.3 | Toon Schoenmakers | |
2014-08-19 | Use stringValue() rather than checking if it's a numeric value to then use ↵ | Toon Schoenmakers | |
std::to_string() | |||
2014-08-16 | Update objectimpl.h | 小马哥 | |
2014-08-15 | Properly use numeric keys in case we're requesting a mapValue | Toon Schoenmakers | |
2014-07-27 | renamed subclassOf() to derivedFrom() (added to pull request #110) | Emiel Bruijntjes | |
2014-07-26 | fixed compile issues | Emiel Bruijntjes | |
2014-07-26 | removed includes for fastcall.h | 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 | autoload check had to be exactly the other way around | 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 | no more exceptions for wrong eval()'ed code | 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-26 | Merge branch 'issue#98' of https://github.com/andot/PHP-CPP into andot-issue#98 | Emiel Bruijntjes | |
2014-07-23 | Fixed compatibility issue with VS2013 | andot | |
2014-07-21 | Fixed a bug of HashIterator | andot | |
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-14 | Change C99 VLA C++ dynamic array | andot | |
2014-07-11 | Fixed a bug of HashIterator | andot | |
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-10 | Fixed unset of Php::Value | 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 | changed comments to match coding style | Emiel Bruijntjes | |
2014-06-23 | Fixed issue #100 | valmat | |
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 |