moriyoshi Thu, 21 Jul 2011 07:31:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313496
Log: - Show PHP_VERSION in the banner. Suggested by Chris and others. Changed paths: U php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c U php/php-src/trunk/sapi/cli/php_cli_server.c Modified: php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c =================================================================== --- php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c 2011-07-21 03:41:21 UTC (rev 313495) +++ php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c 2011-07-21 07:31:29 UTC (rev 313496) @@ -2134,11 +2134,11 @@ 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) Modified: php/php-src/trunk/sapi/cli/php_cli_server.c =================================================================== --- php/php-src/trunk/sapi/cli/php_cli_server.c 2011-07-21 03:41:21 UTC (rev 313495) +++ php/php-src/trunk/sapi/cli/php_cli_server.c 2011-07-21 07:31:29 UTC (rev 313496) @@ -2134,11 +2134,11 @@ 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)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php