Yes it is open-source, but it is licensed under their own license The PHP License, version 3.01
, which implies in many issues that may be "legal", including the use of the name "PHP" , I can not comment on these "legal" issues as I do not dominate the subject and they do not belong to the topic / scope of the site.
You can help improve PHP by following this:
And you can download the specific GITs through the addresses quoted in:
The PHP (interpreter) is divided into several parts for the development being the main this [email protected]:/php-src.git
.
Most of PHP is written in c , it's you need to understand that this is the "interpreter", ie it is a program that interprets scripts written in PHP, just as many programming languages are interpreted, they depend on a program that interprets them.
Extra
An example of a PHP fork is HHVM (HipHop Virtual Machine), which is a virtual machine (similar to the Java virtual machine, which runs software written in the Java language and both use Jit - just-in-time compilation), however the HHVM is not quite a fork, it is almost a rewritten PHP interpreter to support their own language called hack
, which is similar to the PHP language and also has compatibility with PHP.
Extra 2:
Just to include CGI is not a programming language, it's a "port" that allows you to run interpreters or programs via HTTP servers, this must be one of the reasons for confusing Perl with CGI, some people say that they program in "cgi" when they actually program in Perl.
You can even create a compiled program that works with HTTP and configure it to run with CGI, of course the most common of these days is to use Fast-CGI, / p>