Is there any difference of any kind between $result->fetch_assoc()
and
$result->fetch_array(MYSQLI_ASSOC)
or they are exactly the same thing?
I have searched a bit before making this question but the only thing I've found (here) is that $result->fetch_array()
with no params allows numeric and associative indexes while
$result->fetch_assoc()
only allows the associative indexes and therefore the last one has a better performance.