public static function isValidCif(string $cif): bool
    {
        if (!preg_match(self::CIF_REGEX, $cif, $matches)) {
            return false;
        }

        return self::isValidNifCheck($cif, $matches);
    }
public static function isValidCif(string $cif): bool
    {
        if (!preg_match(self::CIF_REGEX, $cif, $matches)) {
            return false;
        }

        return self::isValidNifCheck($cif, $matches);
    }
public static function isValidCif ( string $ cif ) : bool { if ( ! preg_match ( self :: CIF_REGEX , $ cif , $ matches ) ) { return false ; } return self :: isValidNifCheck ( $ cif , $ matches ) ; }
CIFS are only meant for non-personal entities

See references

@see https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_fiscal
@see https://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_fiscal
CIFS are only meant for non - personal entities