diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-06 18:46:21 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-06 18:46:21 +0100 |
commit | e072565364a825ff71227a1abd290f4274971354 (patch) | |
tree | e08eab990614599ece77c1ca9a44fddbc3e8ee72 /documentation/constructors-and-destructors.html | |
parent | 66e889fdf3d71e185ea52be7ddfcfc3b41a38752 (diff) |
changes to documentation
Diffstat (limited to 'documentation/constructors-and-destructors.html')
-rw-r--r-- | documentation/constructors-and-destructors.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/constructors-and-destructors.html b/documentation/constructors-and-destructors.html index e5dbc1c..54ca23f 100644 --- a/documentation/constructors-and-destructors.html +++ b/documentation/constructors-and-destructors.html @@ -219,7 +219,7 @@ extern "C" { also use it for storing object instances. But how do you create brand new objects? For this we have the Php::Object class - which is simply an overridden Php::Value class with alternative constructors, and some additional - checks to prevent that you will ever use a Php::Object class to store values + checks to prevent that you will ever use a Php::Object object to store values other than objects. </p> <p> @@ -324,7 +324,7 @@ extern "C" { to a C++ class (allocated on the heap, with operator new!) and that turns this pointer into a PHP variable without calling the __construct() method. Notice that you must also specify the classname, - because C++ classes do not have any information about themselves (like their + because C++ classes do not hold any information about themselves (like their name), while in PHP such information is required to handle reflection and functions like get_class(). </p> |