Back

checkStrHasNumbers

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

function checkStrHasNumbers($str) { preg_match('/[0-9]/', $str, $matches); $result = (count($matches) != 0) ? 1 : 0; return $result; }