PHP Detect if non-english
October 26, 2019 ⚊ 1 Min read ⚊ Views 880 ⚊ TECHIf there ever comes a time when you wish to detect whether a string has english characters or not… There is a very simple way of representing this in PHP. Here is a PHP function which will return true if the string contains english characters or it will return false if there are foreign characters.
Read details: https://devdojo.com/tutorials/php-detect-if-non-english
Tags: php, php language