public static function phone($check)
{
$pattern = '/^\\+?(34[-. ]?)?(([6789]{1})(([0-9]{2})[-. ]?|([0-9]{1})[-. ]?([0-9]{1}))|70[-. ]?([0-9]{1}))([0-9]{2})[-. ]?([0-9]{1})[-. ]?([0-9]{1})[-. ]?([0-9]{2})$/';
return (bool) preg_match($pattern, $check);
}