"DF" == Daniel Friesen lists@nadir-seen-fire.com writes:
DF> Using in_array and array_diff on an exploded array should work fine. OK, but that would take several times as many lines than my current:
foreach(array_keys($links['namespaces']) as $ns){ if(strpos($ns,'talk')!==false){ if('new'==$links['namespaces'][$ns]['class']){ unset($links['namespaces'][$ns]);}}}
and force me to hardwire in more specific knowledge of your current structure, no?