Bug #8212 Updated: If the result of an exec() command is one character the result is empty.
| From: | sniper@php.net | Date: | Sat, 28 Apr 2001 01:48:40 +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-52674@lists.php.net to get a copy of this message | ||
ID: 8212
Updated by: sniper
Reported By: dustin@intrcomm.net
Status: Open
Bug Type: Program Execution
PHP Version: 4.0.2
Assigned To:
Comments:
Reproduceable with latest CVS (28.4.2001)
--Jani
Previous Comments:
---------------------------------------------------------------------------
[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