Hyvor Developer
  Home   Download   Copy
Code
<?php
$array = [
	'name' => 'William',
	'age' => 25,
	'country' => 'N/A'
];
var_dump( array_key_exists('name', $array) );  // true	
var_dump( array_key_exists('birthday', $array) );  // false
Result