diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2013-12-18 07:20:11 -0800 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2013-12-18 07:20:11 -0800 |
commit | d850deca94d0bf74abe1c0ef5f1630b90cfcb4a3 (patch) | |
tree | d3cae23658d098b0e5a783f5d65133aeac093f21 | |
parent | 117d5e38e3908fa73c5831d2794e4292b9550d34 (diff) | |
parent | 1bc35a70d552207ffad7f869db40e127af84121b (diff) | |
download | php-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.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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; } |