diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-06 19:32:12 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-06 19:32:12 +0100 |
commit | e4f90bd1d50405ab2e315041231553c9ea57b60f (patch) | |
tree | 3b2944626c558a0af02f69d08e4f0ad59367b9dc /documentation/constructors-and-destructors.html | |
parent | 218c0aa79103bf4d95b938371cc1df372ba15508 (diff) |
changes to documentation
Diffstat (limited to 'documentation/constructors-and-destructors.html')
-rw-r--r-- | documentation/constructors-and-destructors.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/documentation/constructors-and-destructors.html b/documentation/constructors-and-destructors.html index 54ca23f..42a6699 100644 --- a/documentation/constructors-and-destructors.html +++ b/documentation/constructors-and-destructors.html @@ -106,7 +106,8 @@ $d = new DERIVED(); never confuse your C++ constructor with the __construct() method. In the C++ constructor, the C++ object is being constructed and the PHP object does not yet exist. After the constructor is finished, the PHP engine - will create the PHP object, and the __construct() method gets called. It is therefore + will create the PHP object, and the PHP-CPP library will link that PHP object + to your C++ class. And only then the __construct() method gets called. It is therefore valid to have both a C++ constructor and a __construct() method in your class. </p> <p> |