]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.6' into PHP-7.0
authorGeorge Wang <gwang@php.net>
Mon, 19 Sep 2016 14:49:26 +0000 (10:49 -0400)
committerGeorge Wang <gwang@php.net>
Mon, 19 Sep 2016 14:49:26 +0000 (10:49 -0400)
1  2 
sapi/litespeed/lsapi_main.c

index 65d2451ab62bf54ef570f0d32d656e921bdfa41e,86d75ba6dcb2cd8f2b445dbdbe7bef92a2d298f8..bd40f5318331d1c48b642937caf719e74f7c46b9
@@@ -1088,16 -1277,16 +1088,16 @@@ static int cli_main( int argc, char * a
                  }
                  break;
              case 'v':
 -                if (php_request_startup(TSRMLS_C) != FAILURE) {
 +                if (php_request_startup() != FAILURE) {
  #if ZEND_DEBUG
-                     php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2015 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) 1997-2016 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-2015 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) 1997-2016 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
  #endif
  #ifdef PHP_OUTPUT_NEWAPI
 -                    php_output_end_all(TSRMLS_C);
 +                    php_output_end_all();
  #else
 -                    php_end_ob_buffers(1 TSRMLS_CC);
 +                    php_end_ob_buffers(1);
  #endif
                      php_request_shutdown( NULL );
                      ret = 0;