diff options
author | Marcus Boerger <helly@php.net> | 2005-10-13 19:49:59 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-10-13 19:49:59 +0000 |
commit | 001f5065331e5a7f0cea545d8b63ae4da83e6e66 (patch) | |
tree | 76803c770becb048bd388d2e7c45751532190743 | |
parent | 4c8afd895a34d4747830751f8be8866400d2cb11 (diff) | |
download | php-git-001f5065331e5a7f0cea545d8b63ae4da83e6e66.tar.gz |
- MFH SPL example was changed, so change PDO test accordingly
-rwxr-xr-x | ext/pdo/tests/pdo_031.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/tests/pdo_031.phpt b/ext/pdo/tests/pdo_031.phpt index 3baaf03217..30a75d79b4 100755 --- a/ext/pdo/tests/pdo_031.phpt +++ b/ext/pdo/tests/pdo_031.phpt @@ -38,7 +38,7 @@ echo "===QUERY===\n"; $stmt = $db->query('SELECT * FROM test'); -foreach(new RecursiveTreeIterator(new RecursiveArrayIterator($stmt->fetchAll(PDO::FETCH_ASSOC)), RecursiveIteratorIterator::SELF_FIRST) as $c=>$v) +foreach(new RecursiveTreeIterator(new RecursiveArrayIterator($stmt->fetchAll(PDO::FETCH_ASSOC)), RecursiveTreeIterator::BYPASS_KEY) as $c=>$v) { echo "$v [$c]\n"; } |