Bug #8212 Updated: If the result of an exec() command is one character the result is empty.
| From: | elixer@php.net | Date: | Sat, 28 Apr 2001 13:22:27 +0000 |
| Subject: | Bug #8212 Updated: If the result of an exec() command is one character the result is empty. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52700@lists.php.net to get a copy of this message | ||
ID: 8212
Updated by: elixer
Reported By: dustin@intrcomm.net
Old-Status: Open
Status: Closed
Bug Type: Program Execution
PHP Version: 4.0.2
Assigned To:
Comments:
Fixed in CVS. Wait for 4.0.6.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-27 21:48:39] sniper@php.net
Reproduceable with latest CVS (28.4.2001)
--Jani
---------------------------------------------------------------------------
[2000-12-12 13:33:35] dustin@intrcomm.net
echo "test = (" . exec("echo -n 'A'",$tmp) . ")";
echo "<br>test2 = (" . $tmp[0] . ")";
I get the following results
test = ()
test2 = (A)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8212&edit=2