From 1bc35a70d552207ffad7f869db40e127af84121b Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 18 Dec 2013 16:13:14 +0100 Subject: Add Zend version and copyright. --- phpdbg.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'phpdbg.c') 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; } -- cgit v1.2.1