diff options
Diffstat (limited to 'ext/pgsql/tests/25async_query_params.phpt')
-rw-r--r-- | ext/pgsql/tests/25async_query_params.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/pgsql/tests/25async_query_params.phpt b/ext/pgsql/tests/25async_query_params.phpt index 6e7dafe34b..ae1a1630ef 100644 --- a/ext/pgsql/tests/25async_query_params.phpt +++ b/ext/pgsql/tests/25async_query_params.phpt @@ -21,26 +21,26 @@ if ($version['protocol'] >= 3) { if (pg_connection_status($db) === PGSQL_CONNECTION_BAD) { echo "pg_connection_status() error\n"; } - if (!($result = pg_get_result($db))) + if (!($result = pg_get_result($db))) { echo "pg_get_result() error\n"; } if (!($rows = pg_num_rows($result))) { echo "pg_num_rows() error\n"; } - for ($i=0; $i < $rows; $i++) + for ($i=0; $i < $rows; $i++) { pg_fetch_array($result, $i, PGSQL_NUM); } - for ($i=0; $i < $rows; $i++) + for ($i=0; $i < $rows; $i++) { pg_fetch_object($result); } - for ($i=0; $i < $rows; $i++) + for ($i=0; $i < $rows; $i++) { pg_fetch_row($result, $i); } - for ($i=0; $i < $rows; $i++) + for ($i=0; $i < $rows; $i++) { pg_fetch_result($result, $i, 0); } |