Test: /ext/pdo_pgsql/tests/bug64953.phpt - Version 7.2.19        

Bug #64953 Postgres prepared statement positional parameter casting
Submitted: 2013-05-31 09:46:44 Modified: 2013-08-20 13:07:07
From: goetas Assigned:
Status: Closed Package: PDO related
PHP Version: 5.3.25 OS: ubuntu 10.04

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
002+
003+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /home/plui/src/php-7.2.19/ext/pdo/tests/pdo_test.inc:35
004+ Stack trace:
005+ #0 /home/plui/src/php-7.2.19/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
006+ #1 /home/plui/src/php-7.2.19/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
007+ #2 %s/bug64953.php(5): PDOTest::test_factory('/home/plui/src/...')
008+ #3 {main}
009+ thrown in /home/plui/src/php-7.2.19/ext/pdo/tests/pdo_test.inc on line 35
002- Taken from the bug report:
003- array(2) {
004- ["i"]=>
005- string(1) "1"
006- [0]=>
007- string(1) "1"
008- }
009- array(2) {
010- ["i"]=>
011- string(1) "1"
012- [0]=>
013- string(1) "1"
014- }
015- Something more nasty:
016- array(2) {
017- ["i"]=>
018- string(3) "123"
019- [0]=>
020- string(3) "123"
021- }
022- array(2) {
023- [":text"]=>
024- string(3) "'?'"
025- [0]=>
026- string(3) "'?'"
027- }
028- Done