Take the tour ×  I have something like this:   $fix1 = XXXXXXX
//Integer. Problem isn't here. Extracted automatically  $iffix1
= range(9000000,8000000); $iffix2 = range(7999999,7888888);
//There're more iffix[XX]s, up to $iffix60  if($fix1 =
in_array($iffix1)) {     $var1 = 1; } elseif($fix2 =
in_array($iffix2)){     $var2 = 2; } ....  //I have 60 more
elseifs as well  $result = $var1 * $fix1; echo $result;   The
script is more complicated than that, but the question question
only concerns this bit, Obviously, I get a low-memory error.
How can I fix this?  share|improve this question Your syntax at
$fix1 = in_array($iffix1) is invalid (or at least, it's not
doing what you think it's doing) –  Eric Apr 2 '11 at 16:36 What
are you actually trying to do here? –  Eric Apr 2 '11 at 16:36
Why have anybody voted down this? Is this not a perfectly valid
question? –  AJJ Apr 2 '11 at 16:47 @AJweb being a perfectly
valid question doesn't make it a good question. It seems to me
that the poster lacks the most basic pro