Mostrar lista de opciones

key_exists()

« key | krsort »
<?php
$bool 
key_exists (
    
// mixed $key
    
  // array $array
);
?>
Resultado
$bool = true
Ejemplos
#1 key_exists  ("first",
 [
"first" => 1"second" => 4])
#2 key_exists  ("first",
 [
"first" => null"second" => 4])
Ver también
array_key_exists