PHP 4.0 Bug #3741: exec() cuts of last character from return value
| From: | hholzgra at cvs dot php dot net | Date: | Mon, 06 Mar 2000 15:26:25 +0000 |
| Subject: | PHP 4.0 Bug #3741: exec() cuts of last character from return value | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16447@lists.php.net to get a copy of this message | ||
From: hholzgra@cvs.php.net
Operating system: Linux 2.2.13/i386, Suse 6.3
PHP version: 4.0 Latest CVS (06/03/2000)
PHP Bug Type: Misbehaving function
Bug description: exec() cuts of last character from return value
for example
<?
$a=exec('echo "hello world!"');
echo $a;
?>
will print
hello world
instead of
hello world!
presumably some obi-wan error?