We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa0a2e8 commit 000fe3aCopy full SHA for 000fe3a
NEWS
@@ -56,6 +56,10 @@ PHP NEWS
56
. Fixed bug #74383 (phar method parameters reflection correction).
57
(mhagstrand)
58
59
+- Readline:
60
+ . Fixed bug #74489 (readline() immediately returns false in interactive
61
+ console mode). (Anatol)
62
+
63
- Standard:
64
. Fixed bug #72071 (setcookie allows max-age to be negative). (Craig Duncan)
65
. Fixed bug #74361 (Compaction in array_rand() violates COW). (Nikita)
ext/readline/readline.c
@@ -214,7 +214,7 @@ PHP_MINFO_FUNCTION(readline)
214
Reads a line */
215
PHP_FUNCTION(readline)
216
{
217
- char *prompt = NULL;
+ char *prompt = "";
218
size_t prompt_len;
219
char *result;
220
0 commit comments