Test: /ext/pdo_pgsql/tests/disable_prepares.phpt - Version 7.2.20    

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc:35
002+ Stack trace:
003+ #0 /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/disable_prepares.php(3): PDOTest::test_factory('/usr/local/src/...')
006+ #3 {main}
007+ thrown in /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc on line 35
001- string(1) "1"
002- string(1) "2"
003- string(1) "3"
004- string(1) "4"
005- array(1) {
006- [0]=>
007- string(17) "SELECT ($1)::int2"
008- }
009- array(1) {
010- [0]=>
011- string(17) "SELECT ($1)::int2"
012- }
1 (33%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc:35
002+ Stack trace:
003+ #0 /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/disable_prepares.php(3): PDOTest::test_factory('/home/plui/src/...')
006+ #3 {main}
007+ thrown in /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc on line 35
001- string(1) "1"
002- string(1) "2"
003- string(1) "3"
004- string(1) "4"
005- array(1) {
006- [0]=>
007- string(17) "SELECT ($1)::int2"
008- }
009- array(1) {
010- [0]=>
011- string(17) "SELECT ($1)::int2"
012- }