Am 20.09.2017 um 19:23 schrieb ilija.tovilo@me.com:
> I realized after sending the initial E-Mail that there might be more
> breaking changes than I thought, like the one you suggested.
>
> The same thing actually happens for bools, ints and floats:
> https://3v4l.org/jvVbO
>
> I wouldn’t depend on this behaviour since you’d get errors depending on
> what is returned, like an empty array, a string, an object or resource.
i would depend on that behavior because in reality you can get back two
different things:
* a numeric array with exactly index 0
* NULL
how do you imagine mysqli_fetch_row() return empty array, string or even
object/resource? when nothing is found it's a non-empty array and
otherwise NULL
before PHP 5.6 (or PHP 5.5 not sure) these where useless multiple lines
because you needed to store the result of mysqli_fetch_row() in some var
to access key 0