note 119779 rejected from mysqli-stmt.construct by cmb
| From: | cmb@php.net | Date: | Tue, 23 Aug 2016 08:33:48 +0000 |
| Subject: | note 119779 rejected from mysqli-stmt.construct by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206373@lists.php.net to get a copy of this message | ||
Note Submitter: tiomno at gmail dot com
----
There may be the case when you want/need to extend the
mysqli_stmt class to add or
overwrite some behaviour. In my case, I'm overwriting the mysqli::prepare() method
to return an instance of my own class extended from mysqli_stmt to change its behaviour
in some integration tests.
So please, do not remove or block the ability to use mysqli::__constructor(). Thanks!!