/** * Formats a phone number based on string lenth. */ function phone_format($phone) { return \Phpf\Util\Str::formatPhone($phone); }