Bug #67305 [NEW]: pdo_mysql_get_attribute.phpt - incorrect EXPECTATION that hide the real problem
| From: | dmitry@php.net | Date: | Mon, 19 May 2014 18:39:39 +0000 |
| Subject: | Bug #67305 [NEW]: pdo_mysql_get_attribute.phpt - incorrect EXPECTATION that hide the real problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-185866@lists.php.net to get a copy of this message | ||
From: dmitry
Operating system: *
PHP version: master-Git-2014-05-19 (Git)
Package: PDO MySQL
Bug Type: Bug
Bug description:pdo_mysql_get_attribute.phpt - incorrect EXPECTATION that hide the real problem
Description:
------------
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.
--
Edit bug report at https://bugs.php.net/bug.php?id=67305&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67305&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67305&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67305&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67305&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67305&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67305&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67305&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67305&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67305&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67305&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67305&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67305&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67305&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67305&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67305&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67305&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67305&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67305&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67305&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67305&r=mysqlcfg