output() output(array $matches) Generates page content and prints. Parameters array $matches The matches array from preg_match.
has_keys() has_keys(array $array, array $keys) : boolean Checks to see if the array contains the keys in the array keys. Parameters array $array Array array $keys Keys to be in Array Returns boolean — $result true if the array has all the keys, otherwise false.