Edit report at http://bugs.php.net/bug.php?id=51695&edit=1
ID: 51695 Updated by: geiss...@php.net Reported by: IMadeThisUpForBugzilla at yahoo dot com -Summary: CLI interactive output not displayed +Summary: CLI interactive mode broken without readline/editline Status: Open Type: Bug Package: CGI related Operating System: Windows XP SP 3 PHP Version: 5.3.2 New Comment: This can be reproduced by building the CLI SAPI without readline/editline support (like we currently do at Debian because of an editline bug.) One has to send an EOF so that the input is processed, but one can not do anything afterwards: php exits. Previous Comments: ------------------------------------------------------------------------ [2010-04-29 12:07:45] IMadeThisUpForBugzilla at yahoo dot com Description: ------------ Run php at the command line in Windows in interactive mode (php -a), echo something, nothing happens until the process is ended (see test script for example command line session). Doesn't work in PHP 5.3.X. Does work in PHP 5.2.X. Tried Zend build, version shipped with eclipse, and version distributed on windows.php.net VC6 and VC9. Test script: --------------- c:\php> .\php.exe -an Interactive mode enabled <?php echo 'hi'; ^Z hi c:\php> Expected result: ---------------- Session example included. Should output the string 'hi' to the console after "echo 'hi';" (this is correct in PHP 5.2.X) Actual result: -------------- Nothing output after executing "echo 'hi';" line. See test script for example session at command line. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51695&edit=1