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

From: Date: Tue, 23 Aug 2011 20:58:40 +0000
Subject: Bug #55496 [Asn]: Interactive mode doesn't force a newline before the prompt
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-162881@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: sixd@php.net Reported by: sixd@php.net Summary: Interactive mode doesn't force a newline before the prompt Status: Assigned 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: The expected & actual sections above should be swapped. Previous Comments: ------------------------------------------------------------------------ [2011-08-23 20:47:27] sixd@php.net Description: ------------ The call to readline_shell_write() in readline_shell_run() is effectively a no-op so no newline is forced before the prompt. Expected result: ---------------- $ php -a Interactive shell php > echo "hi"; hiphp > Actual result: -------------- $ php -a Interactive shell php > echo "hi"; hi php > ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55496&edit=1

« previous php.bugs (#162881) next »