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
