isBetween() публичный статический Метод

Returns true if value is greater than or equal to $min and less than or equal to $max, false otherwise. If $inc is set to false, then the value must be strictly greater than $min and strictly less than $max.
public static isBetween ( mixed $value, mixed $min, mixed $max, boolean $inc = true ) : boolean
$value mixed
$min mixed
$max mixed
$inc boolean
Результат boolean
Пример #1
0
 /**
  * Generated from @assert ('p', 'a', 'm', FALSE) === FALSE.
  */
 public function testIsBetween4()
 {
     $this->assertSame(false, Inspekt::isBetween('p', 'a', 'm', false));
 }