'Zend OPcache', ); $extensionLowerCase = strtolower($extension); if (isset($nameMap[$extensionLowerCase])) { $extension = $nameMap[$extensionLowerCase]; } if (extension_loaded($extension)) { exit(0); } fprintf(STDERR, sprintf("Extension not loaded: %s\n", $extension)); exit(1);