Suppose I have the following array:
$enabled = array(
'page' => 'page',
'article' => 0,
);
Note "article" is a key, but not a value. Since in_array()
searches for matching values, I would expect the following line to return FALSE:
in_array('article', $enabled)
Yet, it returns TRUE. Why? What am I missing?