We are more liberal, and accept Windows line endings (CRLF) as well.
- Core:
. Fixed bug #79595 (zend_init_fpu() alters FPU precision). (cmb, Nikita)
+- phpdbg:
+ . Fixed bug #73926 (phpdbg will not accept input on restart execution). (cmb)
+
11 Jun 2020, PHP 7.4.7
- Core:
while (1) {
phpdbg_consume_stdin_line(buf);
- 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')) {
if (buf[0] == 'y') {
return SUCCESS;
}