note 111798 added to pdo.prepare
| From: | KjetilH | Date: | Thu, 28 Mar 2013 21:44:43 +0000 |
| Subject: | note 111798 added to pdo.prepare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194266@lists.php.net to get a copy of this message | ||
Please note that the correct internal method signature is:
<?php public function prepare ($statement, $driver_options = array()) ?>
and NOT:
<?php public function prepare ($statement, array $driver_options = array()) ?>.
Redeclaring the method using the latter method signature throws a Stricts Standards error.
----
Server IP: 69.147.83.199
Probable Submitter: 84.209.74.111
----
Manual Page -- http://php.net/manual/en/pdo.prepare.php
Edit -- https://master.php.net/note/edit/111798
Del: integrated -- https://master.php.net/note/delete/111798/integrated
Del: useless -- https://master.php.net/note/delete/111798/useless
Del: bad code -- https://master.php.net/note/delete/111798/bad+code
Del: spam -- https://master.php.net/note/delete/111798/spam
Del: non-english -- https://master.php.net/note/delete/111798/non-english
Del: in docs -- https://master.php.net/note/delete/111798/in+docs
Del: other reasons-- https://master.php.net/note/delete/111798
Reject -- https://master.php.net/note/reject/111798
Search -- https://master.php.net/manage/user-notes.php