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.
1 parent 879004d commit e483761Copy full SHA for e483761
NEWS
@@ -5,6 +5,9 @@ PHP NEWS
5
- Core:
6
. Fixed bug #79595 (zend_init_fpu() alters FPU precision). (cmb, Nikita)
7
8
+- phpdbg:
9
+ . Fixed bug #73926 (phpdbg will not accept input on restart execution). (cmb)
10
+
11
11 Jun 2020, PHP 7.4.7
12
13
sapi/phpdbg/phpdbg_cmd.c
@@ -823,7 +823,7 @@ PHPDBG_API int phpdbg_ask_user_permission(const char *question) {
823
824
while (1) {
825
phpdbg_consume_stdin_line(buf);
826
- if (buf[1] == '\n' && (buf[0] == 'y' || buf[0] == 'n')) {
+ if ((buf[1] == '\n' || (buf[1] == '\r' && buf[2] == '\n')) && (buf[0] == 'y' || buf[0] == 'n')) {
827
if (buf[0] == 'y') {
828
return SUCCESS;
829
}
0 commit comments