We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 117d5e3 + 1bc35a7 commit d850decCopy full SHA for d850dec
phpdbg.c
@@ -1001,14 +1001,19 @@ int main(int argc, char **argv) /* {{{ */
1001
#endif
1002
1003
case 'V': {
1004
+ sapi_startup(phpdbg);
1005
+ phpdbg->startup(phpdbg);
1006
printf(
- "phpdbg %s (built: %s %s)\nCopyright (c) 2013 %s\nPHP %s, Copyright (c) 1997-2013 The PHP Group\n",
1007
+ "phpdbg %s (built: %s %s)\nCopyright (c) 2013 %s\nPHP %s, Copyright (c) 1997-2013 The PHP Group\n%s",
1008
PHPDBG_VERSION,
1009
__DATE__,
1010
__TIME__,
1011
PHPDBG_AUTHORS,
- PHP_VERSION
1012
+ PHP_VERSION,
1013
+ get_zend_version()
1014
);
1015
+ sapi_deactivate(TSRMLS_C);
1016
+ sapi_shutdown();
1017
return 0;
1018
} break;
1019
}
0 commit comments