Skip to content

Instantly share code, notes, and snippets.

View jeromegamez's full-sized avatar
:octocat:

Jérôme Gamez jeromegamez

:octocat:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jeromegamez on github.
  • I am lefoudufafa (https://keybase.io/lefoudufafa) on keybase.
  • I have a public key ASBXmCEV3hjXVyZ2hNGaH73ewq7inQc7BP1QXoNdPpgpcAo

To claim this, I am signing this object:

@jeromegamez
jeromegamez / array_keys_exist.php
Last active May 9, 2017 18:41
PHP: array_keys_exist() - like`array_key_exist(), but for multiple keys
<?php
/**
* Returns TRUE if the given keys are all set in the array. Each key can be any value possible for an array index.
*
* @see array_key_exists()
*
* @param array $array An array with keys to check.
* @param string[] $keys Keys to check.
* @param mixed $missing Reference to a variable that that contains the missing keys.