Skip to content

Commit 19cb3b0

Browse files
committed
license-update: version info output
RFC: https://wiki.php.net/rfc/php_license_update
1 parent 1b93524 commit 19cb3b0

8 files changed

Lines changed: 15 additions & 15 deletions

File tree

Zend/zend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ZEND_API bool zend_dtrace_enabled;
7676
/* version information */
7777
static char *zend_version_info;
7878
static uint32_t zend_version_info_length;
79-
#define ZEND_CORE_VERSION_INFO "Zend Engine v" ZEND_VERSION ", Copyright (c) Zend Technologies\n"
79+
#define ZEND_CORE_VERSION_INFO "Zend Engine v" ZEND_VERSION ", Copyright © Zend by Perforce\n"
8080
#define PRINT_ZVAL_INDENT 4
8181

8282
/* true multithread-shared globals */

ext/opcache/ZendAccelerator.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5161,9 +5161,9 @@ static void accel_activate(void) {
51615161
static zend_extension opcache_extension_entry = {
51625162
ACCELERATOR_PRODUCT_NAME, /* name */
51635163
PHP_VERSION, /* version */
5164-
"Zend Technologies", /* author */
5165-
"http://www.zend.com/", /* URL */
5166-
"Copyright (c)", /* copyright */
5164+
"Zend by Perforce", /* author */
5165+
"https://www.zend.com/", /* URL */
5166+
"Copyright ©", /* copyright */
51675167
accel_startup, /* startup */
51685168
NULL, /* shutdown */
51695169
accel_activate, /* per-script activation */

ext/reflection/tests/ReflectionZendExtension.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ var_dump($reflection->getURL());
1414
var_dump($reflection->getVersion() === PHP_VERSION);
1515
?>
1616
--EXPECT--
17-
string(17) "Zend Technologies"
18-
string(13) "Copyright (c)"
17+
string(16) "Zend by Perforce"
18+
string(12) "Copyright ©"
1919
string(12) "Zend OPcache"
20-
string(20) "http://www.zend.com/"
20+
string(21) "https://www.zend.com/"
2121
bool(true)

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ PHPAPI char *php_get_version(sapi_module_struct *sapi_module)
145145
" GCOV"
146146
#endif
147147
);
148-
smart_string_appends(&version_info, "Copyright (c) The PHP Group\n");
148+
smart_string_appends(&version_info, "Copyright © The PHP Group and Contributors\n");
149149

150150
const char *build_provider = php_build_provider();
151151
if (build_provider) {

sapi/cgi/tests/001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ echo "Done\n";
1616
?>
1717
--EXPECTF--
1818
string(%d) "PHP %s (cgi%s (built: %s
19-
Copyright (c) The PHP Group
20-
%AZend Engine v%s, Copyright (c) Zend Technologies%A"
19+
Copyright © The PHP Group and Contributors
20+
%AZend Engine v%s, Copyright © Zend by Perforce%A"
2121
Done

sapi/cli/tests/001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ echo "Done\n";
1313
?>
1414
--EXPECTF--
1515
string(%d) "PHP %s (cli) (built: %s)%s
16-
Copyright (c) The PHP Group
17-
%AZend Engine v%s, Copyright (c) Zend Technologies%A"
16+
Copyright © The PHP Group and Contributors
17+
%AZend Engine v%s, Copyright © Zend by Perforce%A"
1818
Done

sapi/cli/tests/bug80092.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ foreach (explode("\n", $output) as $line) {
4141
--EXPECTF--
4242
preloaded
4343
PHP %s
44-
Copyright (c) The PHP Group
44+
Copyright © The PHP Group and Contributors
4545
%AZend Engine %s
4646
%A with Zend OPcache %a

sapi/fpm/tests/main-version.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ echo "Done\n";
1515
?>
1616
--EXPECTF--
1717
string(%d) "PHP %s (fpm%s (built: %s
18-
Copyright (c) The PHP Group
19-
%AZend Engine v%s, Copyright (c) Zend Technologies%A"
18+
Copyright © The PHP Group and Contributors
19+
%AZend Engine v%s, Copyright © Zend by Perforce%A"
2020
Done

0 commit comments

Comments
 (0)