diff options
author | Markus Fischer <mfischer@php.net> | 2002-05-10 16:18:00 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-05-10 16:18:00 +0000 |
commit | ccbadfc11182184c4fc363d8fdbe8e9fc56de704 (patch) | |
tree | 9a8839fa567b53ab1e626a5e6da171d500fab18e /sapi/cli/php_cli.c | |
parent | bf351e9639577a9861ecacd72522f9944759ef5a (diff) | |
download | php-git-ccbadfc11182184c4fc363d8fdbe8e9fc56de704.tar.gz |
- Prefix the first version line with 'PHP' so it's easier to use shell tools to
parse the version number (both CLI and CGI).
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |