Edit report at https://bugs.php.net/bug.php?id=63520&edit=1
ID: 63520
Comment by: fleshgrinder at gmx dot at
Reported by: kaplan at debian dot org
Summary: JSON extension includes a problematic license
statement
Status: Assigned
Type: Bug
Package: JSON related
PHP Version: Irrelevant
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
If the original source code stays within the PHP code the complete PHP license is invalidated,
that's a serious bug in my opinion. But seems like nearly nobody else from the PHP group sees
this problem. In the end it's the same as taking some proprietary code from {{Company X}} and
simply reshipping it with your own license. Whoever thinks that {{Company X}} would be happy about
this, think again...
https://github.com/remicollet/pecl-json-c
seems to be a great drop-in with comment support for JSON files which is great in my opinion.
Something that JSON should have supported from the very first release.
Previous Comments:
------------------------------------------------------------------------
[2014-01-30 05:10:23] rasmus@php.net
Tim, if you had upgraded from the version provided by php.net you would not have seen a problem. We
have not removed json and we will never release a version of php without json support built in. Any
changes in 5.5 is due to whatever distro packaging you are using which we have no control over.
------------------------------------------------------------------------
[2014-01-29 23:59:52] tim at vanillaforums dot com
I think I speak for most PHP end users when I say I *literally* couldn't care less what
underlying JSON implementation is used in the end, as long as the json_* functions remain core,
default-enabled functions.
The utter childishness of some of the comments in this thread gives me a non-trivial level of
concern, but I'm hoping we don't enter a future where json_* cannot be relied on to exist.
Yesterday a co-worker upgraded to PHP 5.5 and found that he was missing these vital functions. The
revelation that THIS of all things was the cause left us speechless.
------------------------------------------------------------------------
[2013-12-27 21:10:52] scott at arciszewski dot me
I definitely would like to encourage the adoption of https://github.com/remicollet/pecl-json-c in
all distributions of PHP if for no other reason than the JSON_PARSER_NOTSTRICT option:
* comments are allowed in json string/files (Using /* */ or // until end of line)
This would allow the use of commented JSON configuration files, which is awesome.
------------------------------------------------------------------------
[2013-08-30 18:12:46] jsjohnst@php.net
When the decision is made, can we get a public statement on the site about it?
Posts like the one on iteration99 (dot) com are only raising the confusion level
among devs when really this isn't something directly impacting most PHP
developers.
------------------------------------------------------------------------
[2013-08-29 01:04:59] v3qqd2w4 dot ov0 at 20minutemail dot com
I hate to add to the noise, but has anyone pointed out to JSON that leaving it to a court to
interpret "shall be used for Good, not Evil" is a highly unpredictable outcome? The entire
license could be invalidated -- since it has no severability clause -- meaning nobody except the
copyright owner is allowed to use any of the JSON code for anything. Is that really a potential
outcome that they want?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63520
--
Edit this bug report at https://bugs.php.net/bug.php?id=63520&edit=1