You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.6 KiB

  1. --- a/ext/opcache/ZendAccelerator.c
  2. +++ b/ext/opcache/ZendAccelerator.c
  3. @@ -2484,11 +2484,6 @@ static void accel_gen_system_id(void)
  4. PHP_MD5Update(&context, PHP_VERSION, sizeof(PHP_VERSION)-1);
  5. PHP_MD5Update(&context, ZEND_EXTENSION_BUILD_ID, sizeof(ZEND_EXTENSION_BUILD_ID)-1);
  6. PHP_MD5Update(&context, ZEND_BIN_ID, sizeof(ZEND_BIN_ID)-1);
  7. - if (strstr(PHP_VERSION, "-dev") != 0) {
  8. - /* Development versions may be changed from build to build */
  9. - PHP_MD5Update(&context, __DATE__, sizeof(__DATE__)-1);
  10. - PHP_MD5Update(&context, __TIME__, sizeof(__TIME__)-1);
  11. - }
  12. PHP_MD5Final(digest, &context);
  13. for (i = 0; i < 16; i++) {
  14. c = digest[i] >> 4;
  15. --- a/sapi/litespeed/lsapi_main.c
  16. +++ b/sapi/litespeed/lsapi_main.c
  17. @@ -1057,9 +1057,9 @@ static int cli_main( int argc, char * ar
  18. case 'v':
  19. if (php_request_startup() != FAILURE) {
  20. #if ZEND_DEBUG
  21. - 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());
  22. + php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  23. #else
  24. - 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());
  25. + php_printf("PHP %s (%s)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  26. #endif
  27. #ifdef PHP_OUTPUT_NEWAPI
  28. php_output_end_all();