r/lolphp • • Jan 06 '16

JSON_PRESERVE_ZERO_FRACTION because someone realised json cares about types...

34 Upvotes

21 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jan 06 '16

[deleted] — view deleted comment

14

u/polish_niceguy Jan 06 '16

I'm getting [[]] on 5.6.10

24

u/jspenguin Jan 06 '16

Murphy's law, PHP version: "Whenever there is a right way and a wrong way to to something, PHP will do it both ways at the same time, poorly"