Package: php5-cli Version: 5.3.1-5The 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:
jer...@lothar:~$ php -a
Interactive mode enabled
<?php
echo "Test\n";
echo "Hello World!\n"
exit;
die;
die;
die('please');
^C
jer...@lothar:~$ php -a
Interactive mode enabled
<?php
echo "Test\n";^D
Test
jer...@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):
jer...@private-host:~$ php -a Interactive mode enabled <?php echo "Test\n"; Test echo "Hello World!\n"; Hello World! exit; jer...@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
smime.p7s
Description: S/MIME Cryptographic Signature

