Your message dated Fri, 04 Jul 2014 13:59:13 +0200
with message-id <[email protected]>
and subject line readline extension added in 5.5.0~beta1-2
has caused the Debian Bug report #341868,
regarding Interactive interpreter (php -a) no longer functions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
341868: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341868
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php5-cli
Version: 5.3.1-5

The PHP interactive interpreter (invoked using `php -a`) no longer works correctly. No statements are executed unless an EOF command is sent using ctrl-D.

Example:

jeremy@lothar:~$ php -a
Interactive mode enabled

<?php
echo "Test\n";
echo "Hello World!\n"
exit;
die;
die;
die('please');
^C
jeremy@lothar:~$ php -a
Interactive mode enabled

<?php
echo "Test\n";^D
Test
jeremy@lothar:~$

It is expected for the interactive interpreter to execute statements as they are entered - this is the current behavior in stable (5.2.6.dfsg.1-1+lenny8):

jeremy@private-host:~$ php -a
Interactive mode enabled
<?php
echo "Test\n";
Test
echo "Hello World!\n";
Hello World!
exit;
jeremy@private-host:~$

Unless something is malconfigured on my (newly installed) squeeze system, this should be easy for anyone to reproduce.

I will provide /etc/php5/cli/php.ini if requested -- however, it is just the default version installed with the package.

Other PHP5 modules installed:
libapache2-mod-php5/squeeze uptodate 5.3.1-5
php5/squeeze uptodate 5.3.1-5
php5-cli/squeeze uptodate 5.3.1-5
php5-common/squeeze uptodate 5.3.1-5
php5-curl/squeeze uptodate 5.3.1-5
php5-pgsql/squeeze uptodate 5.3.1-5
php5-suhosin/squeeze uptodate 0.9.29-1+b1
php5-tidy/squeeze uptodate 5.3.1-5
php5-xdebug/squeeze uptodate 2.0.5-1+b1
php5-xsl/squeeze uptodate 5.3.1-5

(I didn't request suhosin; it is installed by default).

Thanks,
Jeremy

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


--- End Message ---
--- Begin Message ---
Version: 5.5.0~beta1-2

php5 (5.5.0~beta1-2) experimental; urgency=low

  * Add php5-readline based on libedit (Courtesy of Andreas Pour)
  * Add -n to run-tests.php for php to not pick-up any local php.ini.
    It's not a problem on sbuilds, but it might break when building
    locally. (Courtesy of Andreas Pour)
  * XCache will support PHP 5.5 from version 3.1
  * Disable -gstabs usage, which was breaking clang builds and is not
  needed.
  * Remove .gitignore from git
  * Pull upstream fix for kFreeBSD builds

 -- Ondřej Surý <[email protected]>  Tue, 26 Mar 2013 21:26:33 +0100


-- 
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

--- End Message ---

Reply via email to