go to bug id or search bugs for
When running `php -a` it is supposed to either print "Interactive
shell" or "Interactive mode enabled" depending on readline/libedit
support. However, this is determined during compile time, and
as such can't work reliably, since we can't know whether a shared
extension will actually be available or not.
$ ./configure --disable-all --with-readline=shared
$ sapi/cli/php -d extension=modules/readline.so -a
Interactive mode enabled
$ configure --disable-all --enable-cli
$ x64\Release_TS\php -a
See also bug #70543.
Add a Patch
Add a Pull Request