Commit 19cb3b054da for php.net
commit 19cb3b054dabc79fec7b3162ed96e7d03d03548f
Author: Ben Ramsey <ramsey@php.net>
Date: Sat Jun 28 14:15:42 2025 -0500
license-update: version info output
RFC: https://wiki.php.net/rfc/php_license_update
diff --git a/Zend/zend.c b/Zend/zend.c
index bcd2ea77a2e..0afa7d580ab 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -76,7 +76,7 @@ ZEND_API bool zend_dtrace_enabled;
/* version information */
static char *zend_version_info;
static uint32_t zend_version_info_length;
-#define ZEND_CORE_VERSION_INFO "Zend Engine v" ZEND_VERSION ", Copyright (c) Zend Technologies\n"
+#define ZEND_CORE_VERSION_INFO "Zend Engine v" ZEND_VERSION ", Copyright © Zend by Perforce\n"
#define PRINT_ZVAL_INDENT 4
/* true multithread-shared globals */
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index 6352b74df33..3d005b3835a 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -5161,9 +5161,9 @@ static void accel_activate(void) {
static zend_extension opcache_extension_entry = {
ACCELERATOR_PRODUCT_NAME, /* name */
PHP_VERSION, /* version */
- "Zend Technologies", /* author */
- "http://www.zend.com/", /* URL */
- "Copyright (c)", /* copyright */
+ "Zend by Perforce", /* author */
+ "https://www.zend.com/", /* URL */
+ "Copyright ©", /* copyright */
accel_startup, /* startup */
NULL, /* shutdown */
accel_activate, /* per-script activation */
diff --git a/ext/reflection/tests/ReflectionZendExtension.phpt b/ext/reflection/tests/ReflectionZendExtension.phpt
index c9c8f18cf55..a9825ff78ab 100644
--- a/ext/reflection/tests/ReflectionZendExtension.phpt
+++ b/ext/reflection/tests/ReflectionZendExtension.phpt
@@ -14,8 +14,8 @@
var_dump($reflection->getVersion() === PHP_VERSION);
?>
--EXPECT--
-string(17) "Zend Technologies"
-string(13) "Copyright (c)"
+string(16) "Zend by Perforce"
+string(12) "Copyright ©"
string(12) "Zend OPcache"
-string(20) "http://www.zend.com/"
+string(21) "https://www.zend.com/"
bool(true)
diff --git a/main/main.c b/main/main.c
index ad38ebdd06a..cc3f1cae258 100644
--- a/main/main.c
+++ b/main/main.c
@@ -145,7 +145,7 @@ PHPAPI char *php_get_version(sapi_module_struct *sapi_module)
" GCOV"
#endif
);
- smart_string_appends(&version_info, "Copyright (c) The PHP Group\n");
+ smart_string_appends(&version_info, "Copyright © The PHP Group and Contributors\n");
const char *build_provider = php_build_provider();
if (build_provider) {
diff --git a/sapi/cgi/tests/001.phpt b/sapi/cgi/tests/001.phpt
index c990a77efae..00fc656f75b 100644
--- a/sapi/cgi/tests/001.phpt
+++ b/sapi/cgi/tests/001.phpt
@@ -16,6 +16,6 @@
?>
--EXPECTF--
string(%d) "PHP %s (cgi%s (built: %s
-Copyright (c) The PHP Group
-%AZend Engine v%s, Copyright (c) Zend Technologies%A"
+Copyright © The PHP Group and Contributors
+%AZend Engine v%s, Copyright © Zend by Perforce%A"
Done
diff --git a/sapi/cli/tests/001.phpt b/sapi/cli/tests/001.phpt
index bb85ad43435..8038c3e78b7 100644
--- a/sapi/cli/tests/001.phpt
+++ b/sapi/cli/tests/001.phpt
@@ -13,6 +13,6 @@
?>
--EXPECTF--
string(%d) "PHP %s (cli) (built: %s)%s
-Copyright (c) The PHP Group
-%AZend Engine v%s, Copyright (c) Zend Technologies%A"
+Copyright © The PHP Group and Contributors
+%AZend Engine v%s, Copyright © Zend by Perforce%A"
Done
diff --git a/sapi/cli/tests/bug80092.phpt b/sapi/cli/tests/bug80092.phpt
index eac60e7e377..a05620f1975 100644
--- a/sapi/cli/tests/bug80092.phpt
+++ b/sapi/cli/tests/bug80092.phpt
@@ -41,6 +41,6 @@
--EXPECTF--
preloaded
PHP %s
-Copyright (c) The PHP Group
+Copyright © The PHP Group and Contributors
%AZend Engine %s
%A with Zend OPcache %a
diff --git a/sapi/fpm/tests/main-version.phpt b/sapi/fpm/tests/main-version.phpt
index 8c7dbe78c92..29a7cbf4568 100644
--- a/sapi/fpm/tests/main-version.phpt
+++ b/sapi/fpm/tests/main-version.phpt
@@ -15,6 +15,6 @@
?>
--EXPECTF--
string(%d) "PHP %s (fpm%s (built: %s
-Copyright (c) The PHP Group
-%AZend Engine v%s, Copyright (c) Zend Technologies%A"
+Copyright © The PHP Group and Contributors
+%AZend Engine v%s, Copyright © Zend by Perforce%A"
Done