And this is not a PHP integer, because, even as it is an integer initially, it g...

@dseguy@phpc.social

And this is not a PHP integer, because, even as it is an integer initially, it goes beyond the PHP_INT_MAX, which is signed. So, it ends as a float, or a string.

So, this is all logical, but also, quite surprising.

#phptip #phptrick