]> granicus.if.org Git - php/commitdiff
Added built date and time to -v output.
authorfoobar <sniper@php.net>
Thu, 31 Oct 2002 17:34:10 +0000 (17:34 +0000)
committerfoobar <sniper@php.net>
Thu, 31 Oct 2002 17:34:10 +0000 (17:34 +0000)
sapi/cli/php_cli.c

index 60a560c8dd1b4710e66fd4f7b46f89c24674983a..110fed1061b98dac8ba75b5c9bf94cc55d2707a3 100644 (file)
@@ -594,7 +594,7 @@ int main(int argc, char *argv[])
                                        SG(headers_sent) = 1;
                                        SG(request_info).no_headers = 1;
                                }
-                               php_printf("PHP %s (%s), Copyright (c) 1997-2002 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
+                               php_printf("PHP %s (%s) (built: %s %s), Copyright (c) 1997-2002 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
                                php_end_ob_buffers(1 TSRMLS_CC);
                                exit(1);
                                break;