--TEST-- Bug #27597 (pg_fetch_array not returning false) --SKIPIF-- --FILE-- 4) { echo "ENDLESS-LOOP"; exit(1); } } pg_close($dbh); ?> ===DONE=== --EXPECT-- Array ( [id] => 0 ) Array ( [id] => 1 ) Array ( [id] => 2 ) Array ( [id] => 3 ) ===DONE===