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:
@@ -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>
|
||||
<!--}}}-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user