mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Interactive mode is no longer available as of PHP 8.1.0
Cf. <688cc56f14 (commitcomment-59701083)
>.
This commit is contained in:
parent
b9d23bbb94
commit
a2fc23851f
1 changed files with 8 additions and 2 deletions
|
@ -1598,11 +1598,17 @@ php >
|
|||
<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
|
||||
If the readline extension is not available, prior to PHP 8.1.0, invoking the &cli.sapi; with the
|
||||
<option>-a</option> option provided 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.
|
||||
This is basically the same as invoking the &cli.sapi; without the <option>-a</option>
|
||||
option.
|
||||
</para>
|
||||
<para>
|
||||
As of PHP 8.1.0, invoking the &cli.sapi; with the <option>-a</option> option
|
||||
fails, if the readline extension is not available.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue