summaryrefslogtreecommitdiff
path: root/include/object.h
AgeCommit message (Collapse)Author
2015-08-28Update object.hEmiel Bruijntjes
Removed _NOEXCEPT from Object::operator=() that clearly did throw an exception
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-01-26Added macro wrapper for noexceptRoland Eischer
- Added macro wrapper for noexcept to support MSVC compiler.
2015-01-15Added 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-12Added 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)
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-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-20Fixed issue #137: Php::Object("MyClass") crashed when no __construct() ↵Emiel Bruijntjes
function was defined in it
2014-07-27update coding styleEmiel Bruijntjes
2014-07-10Fixed Object Constructor.andot
The old copy constructor of Php::Object forgot the call("__construct")
2014-06-19errors 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-04-08correct typo in error messageHector Jusforgues
2014-03-07added constructor to Php::Array class to accept std::vector and std::mapEmiel Bruijntjes
2014-03-06changes to documentationEmiel Bruijntjes
2014-03-04Php::Value and Php::Object classes can now be used to wrap around Php::Base ↵Emiel Bruijntjes
objects
2014-03-04removed forcedvalue and implemented array and object directly because now it ↵Emiel Bruijntjes
is easier to finetune these classes, removed the Value::validate() method because it does not seem to be necessary, Object constructor now also accepts Php::Value objects that hold a string, to instantiate the described class
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-03work in progress for support for creating object instancesEmiel Bruijntjes