Store Float As Index

PHP doesn’t allow float as index in arrays.

It is possible to use them as such by casting them to string. Later, type juggling will allow adding to another float, seamlessly.

../_images/store_float_as_index.png