From ccbadfc11182184c4fc363d8fdbe8e9fc56de704 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Fri, 10 May 2002 16:18:00 +0000 Subject: - Prefix the first version line with 'PHP' so it's easier to use shell tools to parse the version number (both CLI and CGI). --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index cfdc729493..6f496d23b2 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -522,7 +522,7 @@ int main(int argc, char *argv[]) SG(headers_sent) = 1; SG(request_info).no_headers = 1; } - php_printf("%s (%s)\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); + php_printf("PHP %s (%s)\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); php_end_ob_buffers(1 TSRMLS_CC); exit(1); break; -- cgit v1.2.1