Req #53878 [NEW]: Interactive shell should work with shared readline extension

From: Date: Sat, 29 Jan 2011 12:59:31 +0000
Subject: Req #53878 [NEW]: Interactive shell should work with shared readline extension
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158312@lists.php.net to get a copy of this message
From: johannes Operating system: * PHP version: trunk-SVN-2011-01-29 (SVN) Package: CGI related Bug Type: Feature/Change Request Bug description:Interactive shell should work with shared readline extension 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 bug report at http://bugs.php.net/bug.php?id=53878&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53878&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53878&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53878&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53878&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53878&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53878&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53878&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53878&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53878&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53878&r=support Expected behavior: http://bugs.php.net/fix.php?id=53878&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53878&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53878&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53878&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53878&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53878&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53878&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53878&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53878&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53878&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53878&r=mysqlcfg

« previous php.bugs (#158312) next »