summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2013-12-18 07:20:11 -0800
committerBob Weinand <bobwei9@hotmail.com>2013-12-18 07:20:11 -0800
commitd850deca94d0bf74abe1c0ef5f1630b90cfcb4a3 (patch)
treed3cae23658d098b0e5a783f5d65133aeac093f21
parent117d5e38e3908fa73c5831d2794e4292b9550d34 (diff)
parent1bc35a70d552207ffad7f869db40e127af84121b (diff)
downloadphp-git-d850deca94d0bf74abe1c0ef5f1630b90cfcb4a3.tar.gz
Merge pull request #44 from Hywan/option_zend_version
Add Zend version and copyright (oops, I merged the last PR too early)
-rw-r--r--phpdbg.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpdbg.c b/phpdbg.c
index 12432a554b..55943de58f 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -1001,14 +1001,19 @@ phpdbg_main:
#endif
case 'V': {
+ sapi_startup(phpdbg);
+ phpdbg->startup(phpdbg);
printf(
- "phpdbg %s (built: %s %s)\nCopyright (c) 2013 %s\nPHP %s, Copyright (c) 1997-2013 The PHP Group\n",
+ "phpdbg %s (built: %s %s)\nCopyright (c) 2013 %s\nPHP %s, Copyright (c) 1997-2013 The PHP Group\n%s",
PHPDBG_VERSION,
__DATE__,
__TIME__,
PHPDBG_AUTHORS,
- PHP_VERSION
+ PHP_VERSION,
+ get_zend_version()
);
+ sapi_deactivate(TSRMLS_C);
+ sapi_shutdown();
return 0;
} break;
}