diff options
author | Anatol Belski <ab@php.net> | 2015-09-02 22:08:24 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-09-02 22:08:24 +0200 |
commit | 6ef7c6358fc37579d329268cbb56ab730bed2159 (patch) | |
tree | 2fe3452647d7450c867de9eab62f456ed77a2553 /sapi/cli/php_cli.c | |
parent | b7e910e9696001ae6fa728c10362f657b4b97742 (diff) | |
parent | fcece2a7bb0ecf1af1034a737bf5686a354e01d7 (diff) | |
download | php-git-6ef7c6358fc37579d329268cbb56ab730bed2159.tar.gz |
Merge branch 'master' into PHP-7.0.0
* master: (201 commits)
sync NEWS
Add missing variable from birdstep_commit() which got removed in e8fcd52ef
Align NEWS entries format
Add CVE for #70140 (PHP 7.0.0 Beta 3)
Seems master is not affected
We should keep one refcount to resource
Fixed bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex)
Fixed test
Partially fix bug #67167 - Wrong return value...
move the phpdbg NEWS entry to the correct version
add missing news entries
Skip if ext/filter isn't loaded
Merge branch 'PHP-5.6'
5.5.30 next
Use ZSTR_VAL
fix dir separators in test
use correct api
fix leak
cleanup an atavism
add overflow check
...
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 3b2bed8538..94d5b84f67 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1220,6 +1220,10 @@ int main(int argc, char *argv[]) ZEND_TSRMLS_CACHE_UPDATE(); #endif +#ifdef ZEND_SIGNALS + zend_signal_startup(); +#endif + #ifdef PHP_WIN32 _fmode = _O_BINARY; /*sets default for file streams to binary */ setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ |