--TEST-- mysqli_fetch_lengths() --EXTENSIONS-- mysqli --SKIPIF-- --FILE-- getMessage() . "\n"; } mysqli_close($link); print "done!"; ?> --CLEAN-- --EXPECT-- bool(false) array(2) { [0]=> int(1) [1]=> int(1) } bool(false) mysqli_result object is already closed done!