|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-02-22 07:13 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2017-02-22 07:13 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 16:00:02 2025 UTC |
Description: ------------ So this was an accident in typing that produced an informative but unexpected result. Test script: --------------- $db = new PDO("mysql:host=localhost;dbname=classicmodels;port=3306;charset=utf8",$user, $password); $db->setAttribute(PDO::ATTR_PERSISTENT, TRUE); $db->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, TRUE); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $db->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC); $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, FALSE); $db->setAttribute(PDO :: ATTR_CASE, PDO :: CASE_NATURAL); } echo $db->getAttribute(PDO::PARAM_BOOL).'<br>'; Actual result: -------------- mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $