summaryrefslogtreecommitdiff
path: root/sapi/cgi
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-02-03 22:47:49 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-02-08 23:14:29 +0100
commitc245898bfaf47353a748ca6f2d37cd669e697ae4 (patch)
tree89f49e6a27aad852878c869a15ec509f62097eec /sapi/cgi
parentc0ce258b539af2fb75517373e5c297fb84b80daa (diff)
downloadphp-git-c245898bfaf47353a748ca6f2d37cd669e697ae4.tar.gz
Update and fix remaining year ranges (2019)
This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
Diffstat (limited to 'sapi/cgi')
-rw-r--r--sapi/cgi/cgi_main.c4
-rw-r--r--sapi/cgi/tests/001.phpt4
2 files changed, 4 insertions, 4 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 20c14c102b..bc157ec70e 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -2393,9 +2393,9 @@ parent_loop_end:
SG(headers_sent) = 1;
SG(request_info).no_headers = 1;
#if ZEND_DEBUG
- php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
+ php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
#else
- php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
+ php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
#endif
php_request_shutdown((void *) 0);
fcgi_shutdown();
diff --git a/sapi/cgi/tests/001.phpt b/sapi/cgi/tests/001.phpt
index 74c694f7c0..948f4ce304 100644
--- a/sapi/cgi/tests/001.phpt
+++ b/sapi/cgi/tests/001.phpt
@@ -16,7 +16,7 @@ echo "Done\n";
?>
--EXPECTF--
string(%d) "PHP %s (cgi%s (built: %s
-Copyright (c) 1997-20%s The PHP Group
-Zend Engine v%s, Copyright (c) 1998-20%s Zend Technologies
+Copyright (c) The PHP Group
+Zend Engine v%s, Copyright (c) Zend Technologies
"
Done