diff options
Diffstat (limited to 'documentation/constructors-and-destructors.html')
-rw-r--r-- | documentation/constructors-and-destructors.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/constructors-and-destructors.html b/documentation/constructors-and-destructors.html index 019bbe4..e5dbc1c 100644 --- a/documentation/constructors-and-destructors.html +++ b/documentation/constructors-and-destructors.html @@ -161,9 +161,10 @@ extern "C" { </p> <p> The code above shows that __construct() is registered as if it was - a regular method - and that's what it is. The counter example that we've - used before is now extended so that it is possible to give it an initial - value. + a regular method - and that's what it is. The example that we've + used before (the one with the Counter class) is now extended so that it + is possible to give it an initial value to the counter by passing a + value to the "constructor". </p> <p> <pre class="language-php"><code> |