Bug #55496 [Asn->Csd]: Interactive mode doesn't force a newline before the prompt

From: Date: Thu, 24 Jul 2014 15:02:43 +0000
Subject: Bug #55496 [Asn->Csd]: Interactive mode doesn't force a newline before the prompt
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186799@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55496&edit=1 ID: 55496 Updated by: johannes@php.net Reported by: sixd@php.net Summary: Interactive mode doesn't force a newline before the prompt -Status: Assigned +Status: Closed Type: Bug Package: CGI/CLI related Operating System: Linux PHP Version: 5.4SVN-2011-08-23 (SVN) Assigned To: johannes Block user comment: N Private report: N New Comment: Automatic comment on behalf of johannes Revision: http://git.php.net/?p=php-src.git;a=commit;h=71d3a69425449972f4efdf7228c6f7e49e090755 Log: Fix bug #55496 Interactive mode doesn't force a newline before the prompt Previous Comments: ------------------------------------------------------------------------ [2012-03-28 08:41:41] yohgaki@php.net --with-readline, I get this. --- [yohgaki@dev php-src]$ ./sapi/cli/php -a Interactive mode enabled php > echo 8888; 8888php > --- We probably should warning message when PHP is built without readline/libedit. Related bugs: https://bugs.php.net/bug.php?id=51695 https://bugs.php.net/bug.php?id=55257 ------------------------------------------------------------------------ [2012-03-28 08:34:56] yohgaki@php.net Currently, CLI's interactive mode seems completely broken. -------------- [yohgaki@dev php-src]$ ./sapi/cli/php -v PHP 5.5.0-dev (cli) (built: Mar 28 2012 17:33:51) (DEBUG) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies [yohgaki@dev php-src]$ ./sapi/cli/php -a Interactive mode enabled echo 88888 echo 88888 [yohgaki@dev php-src]$ ------------ ------------------------------------------------------------------------ [2012-02-01 19:09:06] sixd@php.net For the record, this changed (broke) in PHP 5.4. ------------------------------------------------------------------------ [2011-08-23 20:59:01] sixd@php.net Automatic comment from SVN on behalf of sixd Revision: http://svn.php.net/viewvc/?view=revision&revision=315404 Log: Update log, marking 5.4 and trunk as XFAIL due to bug #55496 ------------------------------------------------------------------------ [2011-08-23 20:58:39] sixd@php.net The expected & actual sections above should be swapped. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55496 -- Edit this bug report at https://bugs.php.net/bug.php?id=55496&edit=1

« previous php.bugs (#186799) next »