Req #53878 [Asn->Csd]: Interactive shell should work with shared readline extension
| From: | johannes@php.net | Date: | Sat, 19 Feb 2011 16:05:41 +0000 |
| Subject: | Req #53878 [Asn->Csd]: Interactive shell should work with shared readline extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158890@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53878&edit=1
ID: 53878
Updated by: johannes@php.net
Reported by: johannes@php.net
Summary: Interactive shell should work with shared readline
extension
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: CGI related
Operating System: *
PHP Version: trunk-SVN-2011-01-29 (SVN)
Assigned To: johannes
Block user comment: N
Private report: N
New Comment:
Implemented for PHP trunk.
Previous Comments:
------------------------------------------------------------------------
[2011-02-19 17:04:33] johannes@php.net
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=308482
Log: - Implement FR#53878 Interactive shell should work with shared
readline extension
# This is useful w/ distributors who like to build all things shared or
don't
# provide the readline extension. Or if a user pefers readline's
behavior over
# libedit which might be used by the distributor.
------------------------------------------------------------------------
[2011-01-29 13:59:30] johannes@php.net
Description:
------------
The interactive shell (-a) should also work when the readline extension
is compiled as shared object. This an be done by introducing a hook in
the cli SAPI. An issue is that
php -h can't give a proper indication
about the availability as we'd have to startup PHP first. I assume we
can keep the compile time decision there.
Test script:
---------------
./configure --with-readline=shared
./sapi/cli/php -dextension=modules/readline.so -a
Expected result:
----------------
php >
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53878&edit=1