Commit 06b3376eb36 for php.net
commit 06b3376eb3635ce4d591904318980dd91db75e0b
Author: Ben Ramsey <ramsey@php.net>
Date: Wed Feb 4 21:03:30 2026 -0600
license-update: revise license statement in phpinfo
RFC: https://wiki.php.net/rfc/php_license_update
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 9e716023568..dcb01bc0822 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -1022,8 +1022,8 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
SECTION("License");
php_info_print_box_start(0);
php_info_print("<p>\n");
- php_info_print("PHP is free software: you can redistribute it and/or modify it under the ");
- php_info_print("terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause):\n");
+ php_info_print("PHP is free software. You may redistribute it and/or modify it under the ");
+ php_info_print("terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause).\n");
php_info_print("</p>\n");
php_info_print("<p>\n");
php_info_print("Copyright © The PHP Group and Contributors.<br>\n");
@@ -1060,8 +1060,8 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
php_info_print("\n");
php_info_print("License\n");
php_info_print("\n");
- php_info_print("PHP is free software: you can redistribute it and/or modify it under the\n");
- php_info_print("terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause):\n");
+ php_info_print("PHP is free software. You may redistribute it and/or modify it under the\n");
+ php_info_print("terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause).\n");
php_info_print("\n");
php_info_print("Copyright © The PHP Group and Contributors.\n");
php_info_print("Copyright © Zend Technologies Ltd., a subsidiary company of\n");
diff --git a/sapi/cli/tests/019.phpt b/sapi/cli/tests/019.phpt
index fe5f95dbc34..4045c648ab0 100644
--- a/sapi/cli/tests/019.phpt
+++ b/sapi/cli/tests/019.phpt
@@ -23,8 +23,8 @@
%a
License
-PHP is free software: you can redistribute it and/or modify it under the
-terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause):
+PHP is free software. You may redistribute it and/or modify it under the
+terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause).
Copyright © The PHP Group and Contributors.
Copyright © Zend Technologies Ltd., a subsidiary company of