From 56c563dff7de07816ed43a7dd958952dc3b514ff Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Thu, 21 Jul 2011 07:31:29 +0000 Subject: - Show PHP_VERSION in the banner. Suggested by Chris and others. --- sapi/cli/php_cli_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/cli/php_cli_server.c') diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 04d24684e5..b33c8b0eb7 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -2134,11 +2134,11 @@ int do_cli_server(int argc, char **argv TSRMLS_DC) /* {{{ */ gettimeofday(&tv, NULL); php_localtime_r(&tv.tv_sec, &tm); php_asctime_r(&tm, buf); - printf("PHP Development Server started at %s" + printf("PHP %s Development Server started at %s" "Listening on %s\n" "Document root is %s\n" "Press Ctrl-C to quit.\n", - buf, server_bind_address, document_root); + PHP_VERSION, buf, server_bind_address, document_root); } #if defined(HAVE_SIGNAL_H) && defined(SIGINT) -- cgit v1.2.1