Req #53878 [Opn->Asn]: Interactive shell should work with shared readline extension

From: Date: Sat, 29 Jan 2011 12:59:48 +0000
Subject: Req #53878 [Opn->Asn]: Interactive shell should work with shared readline extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158313@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: Open +Status: Assigned Type: Feature/Change Request Package: CGI related Operating System: * PHP Version: trunk-SVN-2011-01-29 (SVN) -Assigned To: +Assigned To: johannes Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#158313) next »