Test: /ext/pgsql/tests/bug60244.phpt - Version 7.2.16-dev        

Bug #60244 pg_fetch_* functions behave strangely with row = -1
Submitted: 2011-11-08 16:55:07 Modified: 2011-11-15 18:02:58
From: bandy.chris Assigned: iliaa
Status: Closed Package: PostgreSQL related
PHP Version: 5.3.8 OS: Gentoo Linux

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Parse error: syntax error, unexpected '.=' (T_CONCAT_EQUAL), expecting end of file in /home/travis/build/pmmaga/php-src/ext/pgsql/tests/config.inc on line 25
001- Warning: pg_fetch_array(): The row parameter must be greater or equal to zero in %sbug60244.php on line %d
002- bool(false)
003-
004- Warning: pg_fetch_assoc(): The row parameter must be greater or equal to zero in %sbug60244.php on line %d
005- bool(false)
006-
007- Warning: pg_fetch_object(): The row parameter must be greater or equal to zero in %sbug60244.php on line %d
008- bool(false)
009-
010- Warning: pg_fetch_row(): The row parameter must be greater or equal to zero in %sbug60244.php on line %d
011- bool(false)
012- array(2) {
013- [0]=>
014- string(1) "a"
015- ["?column?"]=>
016- string(1) "a"
017- }
018- array(1) {
019- ["?column?"]=>
020- string(1) "a"
021- }
022- object(stdClass)#1 (1) {
023- ["?column?"]=>
024- string(1) "a"
025- }
026- array(1) {
027- [0]=>
028- string(1) "a"
029- }