Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php verify associative array key eixsts

$array = ["key" => "value"];

if (array_key_exists("key", $array)) {
  echo "Key exists";
}
 
PREVIOUS NEXT
Tagged: #php #verify #associative #array #key #eixsts
ADD COMMENT
Topic
Name
5+8 =