summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25Fixed a memory leak when returning a Php::Object with an already allocated Basev1.2.2Toon Schoenmakers
2014-11-21Value::refcount() is now const, and fixed a memory leak in return valuesToon Schoenmakers
2014-11-21fixed value destructor, reference variables should not be unreferencedToon Schoenmakers
2014-11-21Removed 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-21commit d0ee242b3a617fa8676e56388ce01a8a676bf7d1 closes #107Emiel Bruijntjes
2014-11-21fixed issue 107, casting a value to a std::map was not working correctlyEmiel Bruijntjes
2014-11-20Fixed issue #137: Php::Object("MyClass") crashed when no __construct() ↵Emiel Bruijntjes
function was defined in it
2014-10-27Merge pull request #138 from slaff/masterEmiel Bruijntjes
Small improvements to the main Makefile for cross-compilation.
2014-10-27Better clean-up.Slavey Karadzhov
2014-10-27Respect the CXX and AR env variables.Slavey Karadzhov
One advantage of this small change is that during cross-compilation you do not need to adjust the Makefile.
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-10-07Fixed a tiny typo in the readmeToon Schoenmakers
2014-10-06Merge pull request #135 from alanevans/masterEmiel Bruijntjes
Use specified php-config for linker/compiler flags rather than the system default. Fixes CopernicaMarketingSoftware/PHP-CPP#134
2014-10-06Use specified php-config for linker/compiler flags rather than the system ↵Alan Evans
default.
2014-09-25Made Type::Null the default type on ByVal and ByRef as this will allow any ↵Toon Schoenmakers
type (aka no type hinting)
2014-08-29updated Makefile to create output dirs firstEmiel Bruijntjes
2014-08-29updated makefile so that we now also create a static phpcpp library (this in ↵Emiel Bruijntjes
response to pull request #125)
2014-08-29Merge pull request #128 from andot/vs2013Emiel Bruijntjes
Fixed compatibility issue with VS2013
2014-08-26when value properties that start with a null byte are set or retrieved (this ↵v1.2Emiel 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-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-08-22Store 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-19Fixed the compile issues against php 5.3Toon Schoenmakers
2014-08-19Use stringValue() rather than checking if it's a numeric value to then use ↵Toon Schoenmakers
std::to_string()
2014-08-16Update objectimpl.h小马哥
2014-08-15Properly use numeric keys in case we're requesting a mapValueToon Schoenmakers
2014-07-27update coding styleEmiel Bruijntjes
2014-07-27Merge branch 'FixedObjectConstructor' of https://github.com/andot/PHP-CPPEmiel Bruijntjes
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-26fixed compile issuesEmiel Bruijntjes
2014-07-26removed includes for fastcall.hEmiel Bruijntjes
2014-07-26added Value::subclassOf(), and implemented Php::is_a() and Php::is_subclass_of()Emiel Bruijntjes
2014-07-26Merge branch 'is_a' of https://github.com/andot/PHP-CPPEmiel Bruijntjes
2014-07-26autoload check had to be exactly the other way aroundEmiel Bruijntjes
2014-07-26compile issuesEmiel Bruijntjes
2014-07-26removed space from docblockEmiel Bruijntjes
2014-07-26modifed class_exists function to work with a char* without having to convert ↵Emiel Bruijntjes
it into a std::string
2014-07-26Merge branch 'class_exists' of https://github.com/andot/PHP-CPPEmiel Bruijntjes
2014-07-26Merge branch 'andot-issue#98'Emiel Bruijntjes
2014-07-26no more exceptions for wrong eval()'ed codeEmiel Bruijntjes
2014-07-26minor change so that phpcpp.h does not have any changes in this projectEmiel Bruijntjes
2014-07-26renamed fastcall.cpp to eval.cpp, and moved the Php::eval() definition to ↵Emiel Bruijntjes
the call.h header file
2014-07-26Merge branch 'issue#98' of https://github.com/andot/PHP-CPP into andot-issue#98Emiel Bruijntjes
2014-07-23Fixed compatibility issue with VS2013andot