From 688cc56f14d5676aa90f86426a3e76bee59c45cc Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 9 Nov 2021 12:14:06 +0100 Subject: [PATCH] Fix #51695: CLI interactive mode broken without readline/editline --- features/commandline.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/features/commandline.xml b/features/commandline.xml index a00b32660bc0..ad2b3b89dcab 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1594,6 +1594,17 @@ php > defined before called. + +
+ Interactive mode + + If the readline extension is not available, invoking the &cli.sapi; with the + option provides the interactive mode. In this mode, a + complete PHP script is supposed to be given via STDIN, and after termination + with CRTL+d (POSIX) or CTRL+z + followed by ENTER (Windows), this script is evaluated. + +