We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8297986 + 7e4b77c commit 719083bCopy full SHA for 719083b
1 file changed
sapi/cli/tests/bug64529.phpt
@@ -21,7 +21,7 @@ if (extension_loaded("readline")) {
21
22
set php_executable [lindex \$argv 0]
23
24
-spawn \$php_executable -n -a
+spawn \$php_executable -n -d cli.prompt="" -a
25
26
expect "php >"
27
@@ -39,7 +39,7 @@ SCRIPT;
39
40
41
42
43
44
expect "Interactive mode enabled"
45
@@ -60,8 +60,8 @@ system($expect_executable . " " . $script . " " . $php_executable);
60
@unlink($script);
61
?>
62
--EXPECTF--
63
-spawn %sphp -n -a
+spawn %sphp -n -d cli.prompt="" -a
64
Interactive %s
65
66
-%secho 'hello world';
67
-%sello worl%s
+%Secho 'hello world';
+%Shello world
0 commit comments