diff options
Diffstat (limited to 'ext/pdo/tests/pdo_020.phpt')
-rw-r--r-- | ext/pdo/tests/pdo_020.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo/tests/pdo_020.phpt b/ext/pdo/tests/pdo_020.phpt index 32f53d840e..4586cc202d 100644 --- a/ext/pdo/tests/pdo_020.phpt +++ b/ext/pdo/tests/pdo_020.phpt @@ -21,10 +21,10 @@ $db->exec("INSERT INTO test VALUES(3, 'C', 'C')"); foreach (array('SELECT id, val FROM test', 'SELECT id, val, val2 FROM test', 'SELECT COUNT(*) FROM test') as $sql) { - $stmt = $db->query($sql); - $res = $stmt->columnCount(); + $stmt = $db->query($sql); + $res = $stmt->columnCount(); echo "Counted $res columns after $sql.\n"; - $stmt = null; + $stmt = null; } ?> |