|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-10-22 05:46 UTC] chul80 at icm dot re dot kr
$command = "/bin/egrep \"(^metal)\" index.forum";
exec($command, $result);
for ($i = 0; $i < sizeof($result); $i++)
echo("$result[$i] <br>");
in this code,
Sometimes(!), strings in $result lose his end character.
not always!! why this blessed array sented to me!!
(please don't blame my english, I am a boy. You are a girl! yah!)
please answer to my problem. is this bug?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 23:00:01 2025 UTC |
$command = "/bin/egrep \"(^metal)\" index.forum"; exec($command, $result); for ($i = 0; $i < sizeof($result); $i++) echo("$result[$i] <br>"); in this code, Sometimes(!), strings in $result lose his end character. not always!! why this blessed array sented to me!! (please don't blame my english, I am a boy. You are a girl! yeh!) please answer to my problem. is this bug? Oh! $result only lose 2byte char... eeeeeeee