Afficher la liste déroulante

key_exists()

« key | krsort »
<?php
$bool 
key_exists (
    
// mixed $key
    
  // array $array
);
?>
Résultat
$bool = true
Exemples
#1 key_exists  ("first",
 [
"first" => 1"second" => 4])
#2 key_exists  ("first",
 [
"first" => null"second" => 4])
Voir aussi
array_key_exists