diff --git a/ext/pdo/tests/bug_38253.phpt b/ext/pdo/tests/bug_38253.phpt index 642b999848a6..d40c1b6e9746 100644 --- a/ext/pdo/tests/bug_38253.phpt +++ b/ext/pdo/tests/bug_38253.phpt @@ -28,6 +28,11 @@ $stmt = $pdo->prepare ("SELECT * FROM test38253"); $stmt->execute(); var_dump($stmt->fetchAll()); +$pdo->setAttribute (PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_INTO); +$stmt = $pdo->prepare ("SELECT * FROM test38253"); +$stmt->execute(); +var_dump($stmt->fetchAll()); + ?> --CLEAN--