| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2010-07-25 18:34 UTC] johannes@php.net
 
-Status: Open
+Status: Bogus
  [2010-07-25 18:34 UTC] johannes@php.net
  [2010-07-26 04:11 UTC] admin at webdesignforall dot net
  [2010-07-26 11:26 UTC] degeberg@php.net
 
-Status: Bogus
+Status: Verified
  [2010-07-26 11:26 UTC] degeberg@php.net
  [2010-07-27 00:40 UTC] kalle@php.net
 
-Status:      Verified
+Status:      Assigned
-Assigned To:
+Assigned To: kalle
  [2010-07-27 00:40 UTC] kalle@php.net
  [2010-08-13 11:18 UTC] andrey@php.net
  [2010-08-13 11:18 UTC] andrey@php.net
 
-Status:      Assigned
+Status:      Closed
-Assigned To: kalle
+Assigned To: andrey
  [2010-08-13 11:18 UTC] andrey@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 09:00:01 2025 UTC | 
Description: ------------ The static method mysqli::poll doesn't exist. Using it creates a Fatal error: Call to undefined method mysqli::poll() . mysqli_poll works fine. Test script: --------------- <?php $link1 = new mysqli("localhost","root","","dba"); $link1->query("SELECT 'test'", MYSQLI_ASYNC); $done=false; do { $links = $errors = $reject = array(); $links[] = $errors[] = $reject[] = $link1; if (!mysqli::poll($links, $errors, $reject, 1)) { continue; } if ($result = $links[0]->reap_async_query()) { $done=true; } } while(!$done); Expected result: ---------------- No output. Actual result: -------------- Fatal error: Call to undefined method mysqli::poll()