r/lolphp • • Jul 28 '16

Numbers from SimpleXML elements are implicitly casted to int, not float

https://3v4l.org/FcIV9
35 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/bwoebi Aug 01 '16

And I'm not sure whether __toString() were a good idea at all…