summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-31 02:31:10 +0000
committerMarcus Boerger <helly@php.net>2003-05-31 02:31:10 +0000
commitfe95410380768db908216e03160da65ffd25c942 (patch)
treebef999533a3299daf8349113e0c26b67811259c8
parent7ccfa697505c051631c4a1e3b8a0af84c920e37c (diff)
downloadphp-git-fe95410380768db908216e03160da65ffd25c942.tar.gz
Reapply this one, too.
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 4bfb274e42..11365dff78 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -634,7 +634,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;