note 7938 added to count

From: Date: Mon, 21 Aug 2000 13:19:56 +0000
Subject: note 7938 added to count
Groups: php.notes 
Request: Send a blank email to php-notes+get-2891@lists.php.net to get a copy of this message
yes, you are right. That works ... strange though, because this code apearse to work right: for ($x = 0, $m = count($SET_VALUES); $x < $m; $x++) for ($y = 0, $n = count($SET_VALUES[$x]); $y < $n; $y++) for ($z = 0, $o = count($SET_VALUES[$x][$y]); $z < $o; $z++) : $value = str_replace('\'', '\\\'', $SET_VALUES[$x][$y][$z]); fwrite($pSET_VALUES_FILE, "\$SET_VALUES[$x][$y][$z] = '$value';\n"); endfor; http://www.php.net/manual/function.count.php

« previous php.notes (#2891) next »