From c807f27964f7535f47e730c741f619d490ba04a0 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 20 Sep 2021 12:14:54 +0200 Subject: [PATCH] Fix #81189: PDOStatement::fetchAll() claims "false on failure" return --- reference/pdo/pdostatement/fetchall.xml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/reference/pdo/pdostatement/fetchall.xml b/reference/pdo/pdostatement/fetchall.xml index 6c54ce49cc..04ba60e063 100644 --- a/reference/pdo/pdostatement/fetchall.xml +++ b/reference/pdo/pdostatement/fetchall.xml @@ -114,7 +114,7 @@ all of the remaining rows in the result set. The array represents each row as either an array of column values or an object with properties corresponding to each column name. An empty array is returned if there - are zero results to fetch, or &false; on failure. + are zero results to fetch. Using this method to fetch large result sets will result in a heavy @@ -126,6 +126,29 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + PHP 8.0.0 + + This method always returns an &array; now, while previously &false; may have + been returned on failure. + + + + + + + &reftitle.examples;