Edit report at http://bugs.php.net/bug.php?id=53878&edit=1
ID: 53878 Updated by: johan...@php.net Reported by: johan...@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] johan...@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] johan...@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