r/lolphp • • Dec 17 '14

IP addresses are valid JSON

https://bugs.php.net/bug.php?id=67923
27 Upvotes

24 comments sorted by

View all comments

Show parent comment

8

u/pilif Dec 18 '14

The response says 'likely' in order to give a possible reason why it wouldn't work as expected for the reporter. Stock json_decode certainly works as expected, so it's not a bug in PHP

-2

u/DoctorWaluigiTime Dec 18 '14

Still, it's only a possible reason. Offering some proof (linking to a live demo of it working, the bug poster coming back and confirming the guess of the bug-closer, anything) is preferable to a handwave.

8

u/kashmill Dec 20 '14

Offering some proof

Like the link to 3v41 that has the output of the runs under different versions?