Q:

not less than php !<

I have looked on here and many have said there is no way to have an operator !<, because if something is !< then it must be =.. But I am trying to define conditions to not include results from a foreach loop.
for the sake of this example the results from the foreach returns 25 results and each $results holds a value incremented by 10
for ($block = 10; $block <= 250; $block+=10 ) {
    echo $block . '<br>';
}

This would be the result
 $a = 10
 $b = 20
 $c = 30
 $d = 40
 $e = 50 
 $f = 60
 $g = 70
 $h = 80
 $i = 90
 $j = 100
 ... and so no

Within the foreach loop
 $dropBefore =30; 
 $dropAfter =90; 

 if ($block >= $dropBefore && $block <= $dropAfter - 1){

Results are
 $c = 30
 $d = 40
 $e = 50 
 $f = 60
 $g = 70
 $h = 80
 $i = 90

My problem now, I want to target $d, $e, $f to remove and leave remaining results
Where my results look like
 $c = 30
 $g = 70
 $h = 80
 $i = 90

I have 2 variables 
$start_value = 40
$finish_value = 60

if($block != $startValue && !<$finishValue){ 
    //$block != $startValue removes $d, 
    but !<$finishValue is invalid and I get the syntax error unexpected !

If I say
if($block != $startValue && < $finishValue){ 
    //$block != $startValue removes $d, 
    but < $finishValue  removes everything greater than $f and $e and $f remains
$e = 50
$f = 60

How do I say keep everything but remove $startValue, $finishValue, and anything in between them?

A:

Your question suggests that a whole slew of separate variables gets created, but that does not happen with the code you've provided. Your question with respect to manipulating results derived from iteration is interesting and certainly a fair one.  The below code meets the restrictions and exclusions you've specified.  If you wish to also store the resulting values that get displayed, then using an array would keep things nicely organized, as follows:
<?php

$start_value = 40;
$finish_value = 60;

$dropBefore = 30; 
$dropAfter = 90;
$let = 'a';
$arr = null;

for ($block = 10; $block <= 250; $block+=10 ) {
    if (( $block >= $dropBefore ) && ( $block <= $dropAfter ) ) {
        if ( $block >= $start_value && $block <= $finish_value ) {
            continue;
        }
        echo $block,"\n";
        $arr[$let++] = $block;
    }
}

var_dump($arr);

Any values between 40 and 60 will simply be ignored as the loop continues at the top again instead of executing the 'echo $block,"\n"' statement.  I also found that I had to eliminate the '-1' with respect to '<= $dropAfter -1' since it prevented '90' from appearing in the result. I made the keys of the array alphabetical in case you prefer such keys.
Output:
30
70
80
90
array(4) {
  ["a"]=>
  int(30)
  ["b"]=>
  int(70)
  ["c"]=>
  int(80)
  ["d"]=>
  int(90)
}

