summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorSander Roobol <sander@php.net>2002-05-09 09:36:45 +0000
committerSander Roobol <sander@php.net>2002-05-09 09:36:45 +0000
commit7586cdc65460ff15acc2bfcfcb3bec49239fd296 (patch)
treed8bd28c91ff06057e630373b4e338b09f6b34f97 /sapi/cli/php_cli.c
parentdad70be69c7e0ceec1388efcf176b01d63193e1d (diff)
downloadphp-git-7586cdc65460ff15acc2bfcfcb3bec49239fd296.tar.gz
Added the current SAPI to the output of php -v
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 8299ba919c..55f9f38031 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -523,7 +523,7 @@ int main(int argc, char *argv[])
SG(headers_sent) = 1;
SG(request_info).no_headers = 1;
}
- php_printf("%s\n", PHP_VERSION);
+ php_printf("%s (%s)\n", PHP_VERSION, sapi_module.name);
php_end_ob_buffers(1 TSRMLS_CC);
exit(1);
break;