com php-src: Add Zend version and copyright.: phpdbg.c
| From: | Bob Weinand | Date: | Wed, 18 Dec 2013 15:15:24 +0000 |
| Subject: | com php-src: Add Zend version and copyright.: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75247@lists.php.net to get a copy of this message | ||
Commit: 1bc35a70d552207ffad7f869db40e127af84121b
Author: Ivan Enderlin <ivan.enderlin@hoa-project.net> Wed, 18 Dec 2013 16:13:14
+0100
Parents: abf68be7a46c53ecc40c2388c7913bf9d2a7da9d
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1bc35a70d552207ffad7f869db40e127af84121b
Log:
Add Zend version and copyright.
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index 12432a5..55943de 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;
}