Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return all the keys or a subset of the keys of an array
<?php array_keys(array $array): array
<?php function reset_function_mocks()

{

    foreach (array_keys($_ENV) as $name) {

        if (is_string($name) && substr($name, 0, 5) === '__FM:') {

            unset($_ENV[$name]);

        }
<?php         $prefix = $this->preparePath($prefix);

        $prefix = rtrim($prefix, '/') . '/';



        foreach (array_keys($this->files) as $path) {

            if (strpos($path, $prefix) === 0) {

                unset($this->files[$path]);

            }