$ val = "surfchen"; $ val = strtolower ($ VAL); $ A = "a"; for ($ P = 0; $ P <26; $ P ) {$ VAL = STR_REPLACE ($ A, " ", $ VAL); $ A ;} if ($ val == null) {echo" all English ";} else {echo" is non-English characters ";}?>