Is there a better way to check if an element is a vowel in an array?

```
foreach($alphaArray as $alpha) {
    $ascii = ord($alpha); // convert each alpha to ascii

    if($ascii == 65 || $ascii == 69 || $ascii == 73 || $ascii == 79 || $ascii == 85
        || $ascii == 97 || $ascii == 101 || $ascii == 105 || $ascii == 111 || $ascii == 117) {
        $vowelArray[] = $alpha;

    } else {
        $consonantArray[] = $alpha;
    }
}

```

Teacher does not allow regEx.