|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-10-13 11:12 UTC] aharvey@php.net
-Status: Open
+Status: Bogus
[2010-10-13 11:12 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 06:00:01 2025 UTC |
Description: ------------ PDO::setAttribute must raise an error if an incorrect value is passed for the attribute but it doesn`t, see example Test script: --------------- $pdo = new \PDO('mysql:host=127.0.0.1;dbname=db', 'login', 'pass'); $pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::CASE_NATURAL); Expected result: ---------------- Warning: Incorrect value for PDO::ATTR_ERRMODE Actual result: -------------- nothing - just empty screen