1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Fix #51695: CLI interactive mode broken without readline/editline

This commit is contained in:
Christoph M. Becker
2021-11-09 12:14:06 +01:00
parent bd8169a9b1
commit 688cc56f14

View File

@@ -1594,6 +1594,17 @@ php >
defined before called.
</para>
</note>
<section xml:id="features.commandline.interactive.mode">
<title>Interactive mode</title>
<para>
If the readline extension is not available, invoking the &cli.sapi; with the
<option>-a</option> option provides the interactive mode. In this mode, a
complete PHP script is supposed to be given via STDIN, and after termination
with <literal>CRTL+d</literal> (POSIX) or <literal>CTRL+z</literal>
followed by <literal>ENTER</literal> (Windows), this script is evaluated.
</para>
</section>
</section>
<!--}}}-->