summaryrefslogtreecommitdiff
path: root/documentation/constructors-and-destructors.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/constructors-and-destructors.html')
-rw-r--r--documentation/constructors-and-destructors.html3
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>