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

From: Date: Fri, 22 Oct 1999 09:46:33 +0000
Subject: Bug #2587: maybe.. exec function has some problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-11833@lists.php.net to get a copy of this message
From: chul80@icm.re.kr Operating system: Solaris 2.6 PHP version: 3.0.12 PHP Bug Type: Other Bug 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! yah!) please answer to my problem. is this bug?

« previous php.dev (#11833) next »