Skip to content

Commit 20b607f

Browse files
committed
license-update: remove copyright years from info output
RFC: https://wiki.php.net/rfc/php_license_update
1 parent 8d44ff3 commit 20b607f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/standard/info.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,8 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
10261026
php_info_print("terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause):\n");
10271027
php_info_print("</p>\n");
10281028
php_info_print("<p>\n");
1029-
php_info_print("Copyright &copy; 1999–2025, The PHP Group and Contributors.<br>\n");
1030-
php_info_print("Copyright &copy; 1999–2025, Zend by Perforce.\n");
1029+
php_info_print("Copyright &copy; The PHP Group and Contributors.<br>\n");
1030+
php_info_print("Copyright &copy; Zend by Perforce.\n");
10311031
php_info_print("</p>\n");
10321032
php_info_print("<p>\n");
10331033
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)
10631063
php_info_print("PHP is free software: you can redistribute it and/or modify it under the\n");
10641064
php_info_print("terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause):\n");
10651065
php_info_print("\n");
1066-
php_info_print("Copyright © 1999–2025, The PHP Group and Contributors.\n");
1067-
php_info_print("Copyright © 1999–2025, Zend by Perforce.\n");
1066+
php_info_print("Copyright © The PHP Group and Contributors.\n");
1067+
php_info_print("Copyright © Zend by Perforce.\n");
10681068
php_info_print("\n");
10691069
php_info_print("Redistribution and use in source and binary forms, with or without\n");
10701070
php_info_print("modification, are permitted provided that the following conditions are met:\n");

sapi/cli/tests/019.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ License
2626
PHP is free software: you can redistribute it and/or modify it under the
2727
terms of the Modified BSD License (SPDX-License-Identifier: BSD-3-Clause):
2828

29-
Copyright © 1999–2025, The PHP Group and Contributors.
30-
Copyright © 1999–2025, Zend by Perforce.
29+
Copyright © The PHP Group and Contributors.
30+
Copyright © Zend by Perforce.
3131

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

0 commit comments

Comments
 (0)