diff options
author | Derick Rethans <derick@php.net> | 2003-05-30 16:10:58 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2003-05-30 16:10:58 +0000 |
commit | 814f793035ee91abf55e91d6b5108f86551e2ffd (patch) | |
tree | 0cc711d23438ee99f7093df9c788af0f7faccc83 /sapi/cli/php_cli.c | |
parent | 3dbe16cac4fbc002c4020c12e132cda41e89bf21 (diff) | |
download | php-git-814f793035ee91abf55e91d6b5108f86551e2ffd.tar.gz |
- MFB: Version output beautification
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index af357235b0..b1c25d83a2 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -651,7 +651,11 @@ int main(int argc, char *argv[]) if (php_request_startup(TSRMLS_C)==FAILURE) { goto err; } +#if ZEND_DEBUG + php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2003 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); +#else php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2003 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); +#endif php_end_ob_buffers(1 TSRMLS_CC); exit_status=1; goto out; |