PHP"AND或&&"运算符问题

adg*_*adg -1 php operators

我有:

if($this->itemCount <= 11 ) {

$item['subtotal'] = 12.95 * $item['qty'];
$item['price'] = 12.95;
$this->update_item($item['id'], $item['qty'], $item['price']);
}
Run Code Online (Sandbox Code Playgroud)

但是我需要一个"和"运算符来检查它是否也等于或大于2.

if($this->itemCount <= 11 && => 2 ) 
Run Code Online (Sandbox Code Playgroud)

我不知道如何在PHP中执行此操作.:(

Raf*_*ler 5

if($this->itemCount <= 11 && $this->itemCount >= 2) {
    // Your code here
}
Run Code Online (Sandbox Code Playgroud)