summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-03-04fixed compile issue, overwriting the default object handlers is of course ↵Emiel Bruijntjes
not a very smart thing to do...
2014-03-04Php::Value and Php::Object classes can now be used to wrap around Php::Base ↵Emiel Bruijntjes
objects
2014-03-04implemented cloning of objectsEmiel Bruijntjes
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
2014-03-02work in progress to support implementing SPL interfaces, disabled the _self ↵Emiel Bruijntjes
variable in Php::Base because by having each object keeping a reference to itself, the refcounter never reached zero and the object was thus never destructed, checking if we can get a new implementation one way or another
2014-03-02removed some todosEmiel Bruijntjes
2014-03-02added copy and move constructors to some classesEmiel Bruijntjes
2014-03-02fixed settings Base::_self variable to a valid, editable value objectEmiel Bruijntjes
2014-03-02working implementation for Base::value()Emiel Bruijntjes
2014-03-02types are not a C++11 class, introduced FixedValue class that can not change ↵Emiel Bruijntjes
type, and implemented both Object and Array to make use of that type, implemented - but not yet tested - Base::value() method
2014-03-01grouped all class constants in a single file ClassType.hEmiel Bruijntjes
to make it easier to edit in the event of future changes to the Zend API
2014-03-01added possibility to define interfaces, the class::add() method has been ↵Emiel Bruijntjes
renamed to class::method() and class::property() to prevent ambiguity in defining properties and methods
2014-03-01array access operators can now be used to access array propertiesEmiel Bruijntjes
2014-03-01fixed various compile issues and namespace implementationEmiel Bruijntjes
2014-03-01namespace implementation, compile issue for php 5.4 and higherEmiel Bruijntjes
2014-02-28various fixes to make the classes example functional againEmiel Bruijntjes
2014-02-28fixed a number of todosEmiel Bruijntjes
2014-02-28implemented propertiesEmiel Bruijntjes
2014-02-28class modifiers have been removed, special classes AbstractClass and ↵Emiel Bruijntjes
FinalClass have been added
2014-02-28a lot of refactoring, to make it much easier to define classes in an extensionEmiel Bruijntjes
2014-02-26Fixed makefile to refer to right /usr/ directory, and the operator()() ↵v0.1Evangelos Trantos
methods in Php::Value are now all const (they do not modify the variable after all)
2014-02-24Added method to retrieve the implementation class from a Value objectEmiel Bruijntjes
2014-02-18Fixed a rather silly bug where a function no longer overrode a function from ↵Martijn Otto
the parent class. Made this function explicitly override to prevent future problems
2014-02-17Fix constant declare function getting called for non-const and vice-versaMartijn Otto
2014-02-17Rename function name with spelling mistakeMartijn Otto
2014-02-17Removed unnecessary function declareConst and made the declare function for ↵Martijn Otto
memberinfo descendants override
2014-02-17Some code cleanupMartijn Otto
2014-02-17Removed traits option: this would need to be conditionally included based on ↵Martijn Otto
the PHP version, which we cannot do in headers (due to the fact we do not want to include the whole php library when compiling extensions)
2014-02-14Merged pull request #14Martijn Otto
2014-02-13Added an assignment operator to Value for nullptrMartijn Otto
2014-02-07Fix segfault in module_shutdown under PHP5.3Martijn Otto
2014-02-06Added the call() method for Value objects, allowing calling of member ↵Martijn Otto
functions of PHP objects
2014-01-16removed debug codeEmiel Bruijntjes
2014-01-16the origexception class has been moved to the src directory, because it is a ↵Emiel Bruijntjes
private class only used inside the library
2014-01-11fix exception declarationapi.cashsq.com
2013-12-30fix to makefileEmiel Bruijntjes
2013-12-30Merge pull request #10 from BullSoft/masterEmiel Bruijntjes
Add macros for compatible with PHP 5.3
2013-12-30exceptions thrown in PHP code can now be caugth and processed by C++ codeEmiel Bruijntjes
2013-12-13add macros for PHP 5.3Gu Weigang
2013-12-08Fix problem that loading multiple C++ extensions causes PHP to crash with ↵Emiel Bruijntjes
segmentation fault
2013-12-07replaces tabs in source code with regular spaces, added example for working ↵Emiel Bruijntjes
with global variables
2013-12-07Changed tabs in whitespace with newlines, added initial implementation for ↵Emiel Bruijntjes
Value::size() for object variables
2013-12-06Global variables are now accessible via Php::globals["varname"]Emiel Bruijntjes
2013-12-02removed libphpcpp.soJasperVanEck
2013-12-02Updated README.md, implemented more complicated isCallable method and added ↵JasperVanEck
comments to value.cpp
2013-12-02isCallable now worksJasperVanEck
2013-12-02Implemented operator(), with support of upto 10 parametersJasperVanEck
2013-11-29Merging master into ExampleUpdates BranchJasperVanEck
Merge branch 'master' of github.com:EmielBruijntjes/PHP-CPP into ExampleUpdates