It might, if PHP were distributed under a copyleft license that cared about such things. PHP is not (it's licensed under a BSD-style license [1], which permits redistribution under another license with attribution).
I'm actually having trouble finding an interpreted language (and accompanying standard library) that is licensed under a copyleft license. Python isn't (the PSFL isn't copyleft); Ruby isn't (it's dual-licensed under 2-clause BSD and a Ruby license that's their own); Perl isn't (it's dual-licensed under GPL and the Artistic License, with an explicit note by Larry Wall that scripts are not considered derivative works for GPL purposes).
Comments
It might, if PHP were distributed under a copyleft license that cared about such things. PHP is not (it's licensed under a BSD-style license [1], which permits redistribution under another license with attribution).
I'm actually having trouble finding an interpreted language (and accompanying standard library) that is licensed under a copyleft license. Python isn't (the PSFL isn't copyleft); Ruby isn't (it's dual-licensed under 2-clause BSD and a Ruby license that's their own); Perl isn't (it's dual-licensed under GPL and the Artistic License, with an explicit note by Larry Wall that scripts are not considered derivative works for GPL purposes).
[1] http://www.php.net/license/3_01.txt
Would guile [1] fit the criteria of a GPL'ed interpreted language?
[1] http://www.gnu.org/software/guile/
guile is LGPL, "dynamic" linking is allowed http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=LIC...
(damn it's hard to find a reference to the license on the web site)
EDIT: found a related link; some extra/common libraries are also LGPL http://www.gnu.org/software/guile/gnu-guile-projects.html#Co...