Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
9ae0972
license-update: ext/bcmath source headers
ramsey Jun 28, 2025
b88561b
license-update: ext/bz2 source headers
ramsey Jun 28, 2025
193beb5
license-update: ext/calendar source headers
ramsey Jun 28, 2025
6f3f96f
license-update: ext/com_dotnet source headers
ramsey Jun 28, 2025
a1dd73c
license-update: ext/ctype source headers
ramsey Jun 28, 2025
8ba5bce
license-update: ext/curl source headers
ramsey Jun 28, 2025
2c08316
license-update: ext/date source headers
ramsey Jun 28, 2025
de25aa8
license-update: ext/dba source headers
ramsey Jun 28, 2025
81c5d48
license-update: ext/dl_test source headers
ramsey Jun 28, 2025
089eda0
license-update: ext/dom source headers
ramsey Jun 28, 2025
967024f
license-update: ext/enchant source headers
ramsey Jun 28, 2025
8eb5448
license-update: ext/exif source headers
ramsey Jun 28, 2025
a9efdfd
license-update: ext/ffi source headers
ramsey Jun 28, 2025
fc2dc45
license-update: ext/fileinfo source headers
ramsey Jun 28, 2025
207b153
license-update: ext/filter source headers
ramsey Jun 28, 2025
219dd00
license-update: ext/ftp source headers
ramsey Jun 28, 2025
f53a060
license-update: ext/gd source headers
ramsey Jun 28, 2025
d75c652
license-update: ext/gettext source headers
ramsey Jun 28, 2025
3457aac
license-update: ext/gmp source headers
ramsey Jun 28, 2025
b81eef1
license-update: ext/hash source headers
ramsey Jun 28, 2025
afa3ec2
license-update: ext/iconv source headers
ramsey Jun 28, 2025
20542bc
license-update: ext/intl source headers
ramsey Jun 28, 2025
94aecba
license-update: ext/json source headers
ramsey Jun 28, 2025
3ad8aeb
license-update: ext/ldap source headers
ramsey Jun 28, 2025
ce3de9a
license-update: ext/lexbor source headers
ramsey Jun 28, 2025
0cdee7f
license-update: ext/libxml source headers
ramsey Jun 28, 2025
5c0405a
license-update: ext/mbstring source headers
ramsey Jun 28, 2025
a886e4f
license-update: ext/mysqli source headers
ramsey Jun 28, 2025
0c56e40
license-update: ext/mysqlnd source headers
ramsey Jun 28, 2025
156568e
license-update: ext/odbc source headers
ramsey Jun 28, 2025
6e0cb09
license-update: ext/opcache source headers
ramsey Jun 28, 2025
6723a00
license-update: ext/openssl source headers
ramsey Jun 28, 2025
6d2b0e6
license-update: ext/pcntl source headers
ramsey Jun 28, 2025
be7650d
license-update: ext/pcre source headers
ramsey Jun 28, 2025
9706a2d
license-update: ext/pdo source headers
ramsey Jun 28, 2025
fd82723
license-update: ext/pdo_dblib source headers
ramsey Jun 28, 2025
0dc4316
license-update: ext/pdo_firebird source headers
ramsey Jun 28, 2025
d0aacd1
license-update: ext/pdo_mysql source headers
ramsey Jun 28, 2025
4d5feb9
license-update: ext/pdo_odbc source headers
ramsey Jun 28, 2025
5013bf0
license-update: ext/pdo_pgsql source headers
ramsey Jun 28, 2025
3c81fd5
license-update: ext/pdo_sqlite source headers
ramsey Jun 28, 2025
23853df
license-update: ext/pgsql source headers
ramsey Jun 28, 2025
0fed44d
license-update: ext/phar source headers
ramsey Jun 28, 2025
82e2e9e
license-update: ext/posix source headers
ramsey Jun 28, 2025
6b42d03
license-update: ext/random source headers
ramsey Jun 28, 2025
a2aa44d
license-update: ext/readline source headers
ramsey Jun 28, 2025
92bc272
license-update: ext/reflection source headers
ramsey Jun 28, 2025
acd1469
license-update: ext/session source headers
ramsey Jun 28, 2025
6770b6d
license-update: ext/shmop source headers
ramsey Jun 28, 2025
9e18215
license-update: ext/simplexml source headers
ramsey Jun 28, 2025
34681c8
license-update: ext/snmp source headers
ramsey Jun 28, 2025
37d63c2
license-update: ext/soap source headers
ramsey Jun 28, 2025
be9eb30
license-update: ext/sockets source headers
ramsey Jun 28, 2025
2d12d29
license-update: ext/sodium source headers
ramsey Jun 28, 2025
9a1ad5d
license-update: ext/spl source headers
ramsey Jun 28, 2025
6608be6
license-update: ext/sqlite3 source headers
ramsey Jun 28, 2025
28c5922
license-update: ext/standard source headers
ramsey Jun 28, 2025
36a9152
license-update: ext/sysvmsg source headers
ramsey Jun 28, 2025
4921759
license-update: ext/sysvsem source headers
ramsey Jun 28, 2025
66c2e73
license-update: ext/sysvshm source headers
ramsey Jun 28, 2025
0359b9b
license-update: ext/tidy source headers
ramsey Jun 28, 2025
0693cb2
license-update: ext/tokenizer source headers
ramsey Jun 28, 2025
1ae7e82
license-update: ext/uri source headers
ramsey Jun 28, 2025
3274ea3
license-update: ext/xml source headers
ramsey Jun 28, 2025
ce391b3
license-update: ext/xmlreader source headers
ramsey Jun 28, 2025
6afff11
license-update: ext/xmlwriter source headers
ramsey Jun 28, 2025
4777569
license-update: ext/xsl source headers
ramsey Jun 28, 2025
4675241
license-update: ext/zend_test source headers
ramsey Jun 28, 2025
69875bf
license-update: ext/zip source headers
ramsey Jun 28, 2025
e99d36c
license-update: ext/zlib source headers
ramsey Jun 28, 2025
c157075
license-update: ext_skel.php source headers
ramsey Jun 28, 2025
ace6c87
license-update: main/streams source headers
ramsey Jun 28, 2025
66e7e18
license-update: main source headers
ramsey Jun 28, 2025
11c3895
license-update: sapi/apache2handler source headers
ramsey Jun 28, 2025
bb0d3f0
license-update: sapi/cgi source headers
ramsey Jun 28, 2025
816957b
license-update: sapi/cli source headers
ramsey Jun 28, 2025
76f47a5
license-update: sapi/embed source headers
ramsey Jun 28, 2025
7f2e8d1
license-update: sapi/fpm source headers
ramsey Jun 28, 2025
46fd728
license-update: sapi/fuzzer source headers
ramsey Jun 28, 2025
559d966
license-update: sapi/litespeed source headers
ramsey Jun 28, 2025
51709f5
license-update: sapi/phpdbg source headers
ramsey Jun 28, 2025
3360417
license-update: scripts source headers
ramsey Jun 28, 2025
7e03b4d
license-update: TSRM source headers
ramsey Jun 28, 2025
63a4ebe
license-update: win32 source headers
ramsey Jun 28, 2025
f1c439e
license-update: Zend/Optimizer source headers
ramsey Jun 28, 2025
5844660
license-update: Zend source headers
ramsey Jun 28, 2025
d23fd42
license-update: run-tests.php source headers
ramsey Jun 28, 2025
48dbd24
license-update: docs source headers
ramsey Jun 28, 2025
ccfb6aa
license-update: version info output
ramsey Jun 28, 2025
54bec10
license-update: update phpinfo() license statements
ramsey Jun 28, 2025
6d0f0b1
license-update: man pages
ramsey Jun 28, 2025
86f1696
license-update: LICENSE files
ramsey Jun 28, 2025
57d17e5
license-update: configure message
ramsey Jun 28, 2025
4a629af
license-update: README and CONTRIBUTING docs
ramsey Jun 28, 2025
3e024f1
license-update: license info for mysqlnd plugin
ramsey Jun 28, 2025
cc5fa4f
license-update: remove copyright years from info output
ramsey Jan 11, 2026
fe07b97
license-update: update Zend copyright name
ramsey Feb 5, 2026
8af8bca
license-update: revise license statement in phpinfo
ramsey Feb 5, 2026
b1181ec
license-update: update license header in ext/intl/rangeformatter sources
ramsey Apr 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ body:
Please make sure that the used PHP version [is a supported version](https://www.php.net/supported-versions.php).
placeholder: |
PHP 8.5.2 (cli) (built: Jan 21 2026 17:35:28) (NTS)
Copyright (c) The PHP Group
Copyright © The PHP Group and Contributors
Built by Ubuntu
Zend Engine v4.5.2, Copyright (c) Zend Technologies
with Zend OPcache v8.5.2, Copyright (c), by Zend Technologies
Zend Engine v4.5.2, Copyright © Zend by Perforce
with Zend OPcache v8.5.2, Copyright ©, Zend by Perforce
Comment on lines 33 to +37
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would not touch this for now, because it's internally inconsistent: PHP 8.5.2 still carries the old license information.

It will naturally be updated when updating the template to show PHP 8.6.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ramsey Is there a reason why you disregarded this comment, despite +1ing it, or did you just forget?

render: plain
validations:
required: true
Expand Down
18 changes: 8 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ implement RFCs. Please be sure to include tests as appropriate!
By submitting a pull request, you certify that you have the necessary rights
to submit the work, that the work does not violate any third-party rights
(including those of your employer, if applicable), and that you license your
contribution under the PHP License or under another license if explicitly
accepted by the PHP project maintainers.
contribution under the [Modified BSD License](LICENSE) or under another license
if explicitly accepted by the PHP project maintainers.

If you are fixing a bug, then please submit your PR against the lowest actively
supported branch of PHP that the bug affects (only green branches on
Expand Down Expand Up @@ -439,15 +439,13 @@ New source code files should include the following header block:
```c
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Author: |
+----------------------------------------------------------------------+
Expand Down
91 changes: 25 additions & 66 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,68 +1,27 @@
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2026 The PHP Group. All rights reserved.
--------------------------------------------------------------------
Copyright © 1999–2026, The PHP Group and Contributors.
Copyright © 1999–2026, Zend Technologies Ltd., a subsidiary company of Perforce Software, Inc.

Redistribution and use in source and binary forms, with or without
modification, is permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

3. The name "PHP" must not be used to endorse or promote products
derived from this software without prior written permission. For
written permission, please contact group@php.net.

4. Products derived from this software may not be called "PHP", nor
may "PHP" appear in their name, without prior written permission
from group@php.net. You may indicate that your software works in
conjunction with PHP by saying "Foo for PHP" instead of calling
it "PHP Foo" or "phpfoo"

5. The PHP Group may publish revised and/or new versions of the
license from time to time. Each version will be given a
distinguishing version number.
Once covered code has been published under a particular version
of the license, you may always continue to use it under the terms
of that version. You may also choose to use such covered code
under the terms of any subsequent version of the license
published by the PHP Group. No one other than the PHP Group has
the right to modify the terms applicable to covered code created
under this License.

6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes PHP software, freely available from
<http://www.php.net/software/>".

THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------

This software consists of voluntary contributions made by many
individuals on behalf of the PHP Group.

The PHP Group can be contacted via Email at group@php.net.

For more information on the PHP Group and the PHP project,
please see <http://www.php.net>.

PHP includes the Zend Engine, freely available at
<http://www.zend.com>.
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@

PHP is a popular general-purpose scripting language that is especially suited to
web development. Fast, flexible and pragmatic, PHP powers everything from your
blog to the most popular websites in the world. PHP is distributed under the
[PHP License v3.01](LICENSE).
blog to the most popular websites in the world.

PHP is distributed under the [Modified BSD License](LICENSE)
(SPDX-License-Identifier: `BSD-3-Clause`).

[![Test](https://github.com/php/php-src/actions/workflows/test.yml/badge.svg)](https://github.com/php/php-src/actions/workflows/test.yml)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/php.svg)](https://issues.oss-fuzz.com/issues?q=project:php)
Expand Down
14 changes: 6 additions & 8 deletions TSRM/tsrm_win32.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Authors: Daniel Beulshausen <daniel@php4win.de> |
+----------------------------------------------------------------------+
Expand Down
14 changes: 6 additions & 8 deletions TSRM/tsrm_win32.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Authors: Daniel Beulshausen <daniel@php4win.de> |
+----------------------------------------------------------------------+
Expand Down
56 changes: 0 additions & 56 deletions Zend/LICENSE

This file was deleted.

14 changes: 6 additions & 8 deletions Zend/Optimizer/block_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
+----------------------------------------------------------------------+
| Zend OPcache |
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@php.net> |
| Zeev Suraski <zeev@php.net> |
Expand Down
14 changes: 6 additions & 8 deletions Zend/Optimizer/compact_literals.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
+----------------------------------------------------------------------+
| Zend OPcache |
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Authors: Dmitry Stogov <dmitry@php.net> |
| Xinchen Hui <laruence@php.net> |
Expand Down
14 changes: 6 additions & 8 deletions Zend/Optimizer/compact_vars.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
+----------------------------------------------------------------------+
| Zend Engine, Removing unused variables |
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Authors: Nikita Popov <nikic@php.net> |
+----------------------------------------------------------------------+
Expand Down
Loading
Loading