|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67305 pdo_mysql_get_attribute.phpt - incorrect EXPECTATION that hide the real problem
Submitted: 2014-05-19 18:39 UTC Modified: -
From: Assigned:
Status: Open Package: PDO MySQL
PHP Version: master-Git-2014-05-19 (Git) OS: *
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-05-19 18:39 UTC]
The following line must not be expected in pdo_mysql_get_attribute.phpt

[001] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value from integer to boolean, test will not work properly

PDO::setAttribute() shouldn't change the passed value.
PDO probably does it unintentionally.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC