Skip to content

Commit 9adc179

Browse files
committed
PHP 8.1 | MigrationGuide/New functions: add missing functions [2]
(mentioned in new features, but not in the new functions list) > `mysqli_result::fetch_column()` has been added to allow fetching a single scalar value from the result set. While only the method is mentioned in the RFC and the Migration guide, a procedural version of the same was also implemented. Refs: * https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.mysqli.mysqli_fetch_column * https://wiki.php.net/rfc/mysqli_fetch_column * php/php-src#6798 * php/php-src@54222a6
1 parent eaee796 commit 9adc179

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

appendices/migration81/new-functions.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@
3131
</itemizedlist>
3232
</sect2>
3333

34+
<sect2 xml:id="migration81.new-functions.mysqli">
35+
<title>MySQLi</title>
36+
37+
<itemizedlist>
38+
<listitem>
39+
<simpara>
40+
<function>mysqli_result::fetch_column</function>
41+
</simpara>
42+
</listitem>
43+
<listitem>
44+
<simpara>
45+
<function>mysqli_fetch_column</function>
46+
</simpara>
47+
</listitem>
48+
</itemizedlist>
49+
</sect2>
50+
3451
<sect2 xml:id="migration81.new-functions.pcntl">
3552
<title>Process Control</title>
3653

0 commit comments

Comments
 (0)