On Mon, Jul 19, 2021 at 5:56 AM Mike Schinkel <m...@newclarity.net> wrote:

> I was just checking to see what the license was for PHP and this page[1]
> states:
>
>         "PHP 4, PHP 5 and PHP 7 are distributed under the PHP License
> v3.01, copyright (c) the PHP Group."
>
> Can I assume that PHP 8 is also distributed under the PHP License v3.01
> and that this page on PHP.net <http://php.net/> has just not yet been
> updated to reflect the existence of PHP 8?
>

Yes, see https://github.com/php/php-src/blob/master/LICENSE. The page
should be updated to say something like "PHP 4 and newer".


> -Mike
> P.S. Relatedly, if someone wants to publish code in a GitHub repo with
> intent to try to have it included in PHP what license should be used?
> Would BSD-3 be appropriate?
>

While both MIT and BSD are compatible, it's generally preferred to license
it under the PHP license. This allows free code movement within php-src.

Regards,
Nikita

Reply via email to