InterviewSolution
Saved Bookmarks
| 1. |
What are the difference between array_keys() and array_key_exists() in php? |
|
Answer» array_key_exists() : It is used to checks an ARRAY for a particular key and returns TRUE if the key exists and FALSE if the key does not exist. array_keys() : This FUNCTION returns an array containing the keys. It TAKES three parameters out of which one is mandatory and other two are optional. |
|