mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #81189: PDOStatement::fetchAll() claims "false on failure" return
This commit is contained in:
parent
94af09dfef
commit
c807f27964
1 changed files with 24 additions and 1 deletions
|
@ -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.
|
||||
</para>
|
||||
<para>
|
||||
Using this method to fetch large result sets will result in a heavy
|
||||
|
@ -126,6 +126,29 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>PHP 8.0.0</entry>
|
||||
<entry>
|
||||
This method always returns an &array; now, while previously &false; may have
|
||||
been returned on failure.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue