$array = .......;
foreach ($array as $el) {
if (is_array($el))
foreach ($el as $key=>$sub_el) {
if ($key=='owner_id' && $sub_el==23172738) { echo 'Ура!';}
}
}
abstract class GlobalConfig{
const ROOT = "DOCUMENT_ROOT";
public function root(){
return $_SERVER[self::ROOT];
}
}
class A extends GlobalConfig{
public function ttt(){
return parent::root();
}
}
$a = new A();
echo $a->ttt();
<a href="#" >
return false;
e.preventDefault();