Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.
$fileBuffer = file_get_contents($filePath); $pattern = '/pattern??/'; $result = preg_match($pattern, $fileBuffer); if (false === $result) return "binary file"; else return "text file";
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.