Bug #51695 [Com]: CLI interactive mode broken without readline/editline
Edit report at https://bugs.php.net/bug.php?id=51695&edit=1
ID: 51695
Comment by: lb1 dot 3 at juno dot com
Reported by: IMadeThisUpForBugzilla at yahoo dot com
Summary: CLI interactive mode broken without
readline/editline
Status: Verified
Type: Bug
Package: CGI/CLI related
Operating System: any
PHP Version: master
Block user comment: N
Private report: N
New Comment:
This is still not working in PHP7-nightly Zend package and Ubuntu 14.04, but works ok with the
standard Ubuntu-PHP.
Previous Comments:
------------------------------------------------------------------------
[2013-08-01 23:25:23] yohgaki@php.net
May be we should print error & exit when readline/editline is not available.
------------------------------------------------------------------------
[2013-08-01 23:25:18] yohgaki@php.net
May be we should print error & exit when readline/editline is not available.
------------------------------------------------------------------------
[2012-08-31 15:25:33] luis dot pessoa67 at ibest dot com dot br
This code works fine:
(tag ?> missing)
c:\php> .\php.exe -an
Interactive mode enabled
<?php
echo 'hi';
?>
^Z
hi
c:\php>
------------------------------------------------------------------------
[2010-08-18 13:19:36] peter at niederlag dot de
unfortunatly as of now this makes the interactive shell mostly useless for debian users. :-<
------------------------------------------------------------------------
[2010-05-02 00:35:50] geissert@php.net
This can be reproduced by building the CLI SAPI without readline/editline support (like we currently
do at Debian because of an editline bug.)
One has to send an EOF so that the input is processed, but one can not do anything afterwards: php
exits.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=51695
--
Edit this bug report at https://bugs.php.net/bug.php?id=51695&edit=1
Thread (8 messages)