src/MysqliLib.php
public static function convertResultToArrayList(\mysqli_result $result)
    {
        $list = array();
        
        while (($row = $result->fetch_assoc()) != null)
        {
            $list[] = $row;
        }
        
        return $list;
    }
public static function convertResultToArrayList(\mysqli_result $result)
    {
        $list = array();
        
        while (($row = $result->fetch_assoc()) != null)
        {
            $list[] = $row;
        }
        
        return $list;
    }
public static function convertResultToArrayList ( \ mysqli_result $ result ) { $ list = array ( ) ; while ( ( $ row = $ result -> fetch_assoc ( ) ) != null ) { $ list [ ] = $ row ; } return $ list ; }
Convert a mysqli_result object into a list of rows. This is not memory efficient
but can save the developer from writing a loop.
@param mysqli_result $result
@return array
Convert a mysqli_result object into a list of rows . This is not memory efficient but can save the developer from writing a loop .