Commit cc4ce2b42ef for php.net
commit cc4ce2b42efeadd53af6cc85b57caa391d1ea250
Author: Ben Ramsey <ramsey@php.net>
Date: Sat Jan 10 23:50:01 2026 -0600
license-update: remove copyright years from info output
RFC: https://wiki.php.net/rfc/php_license_update
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 1c85443bc53..558822cc67a 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -1026,8 +1026,8 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
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 © 1999–2025, The PHP Group and Contributors.<br>\n");
- php_info_print("Copyright © 1999–2025, Zend by Perforce.\n");
+ php_info_print("Copyright © The PHP Group and Contributors.<br>\n");
+ php_info_print("Copyright © Zend by Perforce.\n");
php_info_print("</p>\n");
php_info_print("<p>\n");
php_info_print("Redistribution and use in source and binary forms, with or without ");
@@ -1063,8 +1063,8 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
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("\n");
- php_info_print("Copyright © 1999–2025, The PHP Group and Contributors.\n");
- php_info_print("Copyright © 1999–2025, Zend by Perforce.\n");
+ php_info_print("Copyright © The PHP Group and Contributors.\n");
+ php_info_print("Copyright © Zend by Perforce.\n");
php_info_print("\n");
php_info_print("Redistribution and use in source and binary forms, with or without\n");
php_info_print("modification, are permitted provided that the following conditions are met:\n");
diff --git a/sapi/cli/tests/019.phpt b/sapi/cli/tests/019.phpt
index 670f1e921de..6fde11668f1 100644
--- a/sapi/cli/tests/019.phpt
+++ b/sapi/cli/tests/019.phpt
@@ -26,8 +26,8 @@
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):
-Copyright © 1999–2025, The PHP Group and Contributors.
-Copyright © 1999–2025, Zend by Perforce.
+Copyright © The PHP Group and Contributors.
+Copyright © Zend by Perforce.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met: