php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53878 Interactive shell should work with shared readline extension
Submitted: 2011-01-29 13:59 UTC Modified: 2011-02-19 17:05 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: johannes@php.net Assigned: johannes (profile)
Status: Closed Package: CGI/CLI related
PHP Version: trunk-SVN-2011-01-29 (SVN) OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: johannes@php.net
New email:
PHP Version: OS:

 

 [2011-01-29 13:59 UTC] 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 >


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-29 13:59 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: johannes
 [2011-02-19 17:04 UTC] 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-02-19 17:05 UTC] johannes@php.net
-Status: Assigned +Status: Closed
 [2011-02-19 17:05 UTC] johannes@php.net
Implemented for PHP trunk.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 10:01:29 2024 UTC