Bug #2587 Updated: maybe.. exec function has some problem

From: Date: Fri, 22 Oct 1999 11:55:11 +0000
Subject: Bug #2587 Updated: maybe.. exec function has some problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-11834@lists.php.net to get a copy of this message
ID: 2587 User Update by: chul80@icm.re.kr Status: Open Bug Type: Other Description: maybe.. exec function has some problem $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 Full Bug description available at: http://bugs.php.net/?id=2587

« previous php.dev (#11834) next »