if (in_array('Peter', $people) || in_array('Glenn', $people)) {
// match
}
şu şekilde olabirmi acaba diye
if (in_array(['Peter','Glenn'], $people) ) {
// match
}
if (in_array('Peter', $people) || in_array('Glenn', $people)) {
// match
}
if (in_array(['Peter','Glenn'], $people) ) {
// match
}