|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2010-07-10 16:32 UTC] felipe@php.net
 
-Status:      Open
+Status:      Assigned
-Assigned To:
+Assigned To: mysql
  [2010-07-12 18:16 UTC] brad at njoe dot com
  [2010-07-13 10:36 UTC] andrey@php.net
 
-Status: Assigned
+Status: Bogus
  [2010-07-13 10:36 UTC] andrey@php.net
  [2010-07-16 17:42 UTC] brianlmoon@php.net
 
-Status: Bogus
+Status: Open
  [2010-07-16 17:42 UTC] brianlmoon@php.net
  [2010-08-05 14:11 UTC] johannes@php.net
  [2010-08-05 14:12 UTC] johannes@php.net
 
-Type: Bug
+Type: Feature/Change Request
  [2010-08-09 19:29 UTC] andrey@php.net
  [2010-08-09 19:37 UTC] andrey@php.net
 
-Status: Assigned
+Status: Closed
  [2010-08-09 19:37 UTC] andrey@php.net
  [2010-08-10 01:43 UTC] brianlmoon@php.net
  [2010-08-11 10:01 UTC] andrey@php.net
 
-Assigned To: mysql
+Assigned To: andrey
  [2010-08-11 10:01 UTC] andrey@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 10:00:02 2025 UTC | 
Description: ------------ When using MYSQLI_USE_RESULT as the second parameter to mysqli_query, fetch_all returns null. Test script: --------------- <?php $m = new MySQLi("", "root", "", "information_schema"); $sql = "show tables"; $res = $m->query($sql, MYSQLI_USE_RESULT); $rows = $res->fetch_all(); var_dump($rows); ?> Expected result: ---------------- An array of the table data. Actual result: -------------- NULL