diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-07-07 18:49:58 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-07-07 18:49:58 +0000 |
commit | 5156c7b38f6695d6e420ab835e16bfec121df163 (patch) | |
tree | d34f55656457323875c96c20196de9639dd3fda3 /ext/pdo/tests/pdo_013.phpt | |
parent | e7b930ea9ac9810ec3f0686b6ca7993fb7708b71 (diff) | |
download | php-git-5156c7b38f6695d6e420ab835e16bfec121df163.tar.gz |
1st set of fixes to make tests work with MySQL
# Additional changes pending
Diffstat (limited to 'ext/pdo/tests/pdo_013.phpt')
-rw-r--r-- | ext/pdo/tests/pdo_013.phpt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdo/tests/pdo_013.phpt b/ext/pdo/tests/pdo_013.phpt index e4cd8d3944..0929606336 100644 --- a/ext/pdo/tests/pdo_013.phpt +++ b/ext/pdo/tests/pdo_013.phpt @@ -36,11 +36,15 @@ class Test } } +unset($stmt); + foreach ($db->query($SELECT, PDO_FETCH_CLASS, 'Test') as $data) { var_dump($data); } +unset($stmt); + $stmt = $db->query($SELECT, PDO_FETCH_CLASS, 'Test', array('WOW')); foreach($stmt as $data) |