Skip to content

Commit 0cb365f

Browse files
committed
Merge phpdbg into PHP-5.6
2 parents bcdbd47 + 05c7375 commit 0cb365f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

sapi/phpdbg/.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ env:
44
- PHP="PHP-5.4"
55
- PHP="PHP-5.5"
66
- PHP="PHP-5.6"
7-
- PHP="master"
87

98
before_script: ./travis/ci.sh
109

sapi/phpdbg/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The interactive PHP debugger
22
============================
33

4-
Implemented as a SAPI module, phpdbg can excert complete control over the environment without impacting the functionality or performance of your code.
4+
Implemented as a SAPI module, phpdbg can exert complete control over the environment without impacting the functionality or performance of your code.
55

66
phpdbg aims to be a lightweight, powerful, easy to use debugging platform for PHP 5.4+
77

sapi/phpdbg/phpdbg.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,14 +1296,14 @@ int main(int argc, char **argv) /* {{{ */
12961296

12971297
/* do not install sigint handlers for remote consoles */
12981298
/* sending SIGINT then provides a decent way of shutting down the server */
1299-
#if defined(ZEND_SIGNALS) && !defined(_WIN32)
1300-
if (listen[0] < 0) {
1301-
zend_try { zend_signal(SIGINT, phpdbg_sigint_handler TSRMLS_CC); } zend_end_try();
1302-
}
1303-
#elif !defined(_WIN32)
1299+
#ifndef _WIN32
13041300
if (listen[0] < 0) {
13051301
#endif
1302+
#if defined(ZEND_SIGNALS) && !defined(_WIN32)
1303+
zend_try { zend_signal(SIGINT, phpdbg_sigint_handler TSRMLS_CC); } zend_end_try();
1304+
#else
13061305
signal(SIGINT, phpdbg_sigint_handler);
1306+
#endif
13071307
#ifndef _WIN32
13081308
}
13091309
#endif

0 commit comments

Comments
 (0)