function SystemDceSecurityProvider::hasShellExec
Returns true if shell_exec() is available for use
2 calls to SystemDceSecurityProvider::hasShellExec()
- SystemDceSecurityProvider::getSystemGid in vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php - Returns the GID from the system
- SystemDceSecurityProvider::getSystemUid in vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php - Returns the UID from the system
File
-
vendor/
ramsey/ uuid/ src/ Provider/ Dce/ SystemDceSecurityProvider.php, line 132
Class
- SystemDceSecurityProvider
- SystemDceSecurityProvider retrieves the user or group identifiers from the system
Namespace
Ramsey\Uuid\Provider\DceCode
private function hasShellExec() : bool {
$disabledFunctions = strtolower((string) ini_get('disable_functions'));
return !str_contains($disabledFunctions, 'shell_exec');
}