Sorry, Code falsch kodiert. ;-)
Hier noch einmal:
// based on phputf8
if (strlen($string) == 0)
return true;
return (preg_match('/^.{1}/us',$string) == 1);
Sorry, Code falsch kodiert. ;-)
Hier noch einmal:
// based on phputf8
if (strlen($string) == 0)
return true;
return (preg_match('/^.{1}/us',$string) == 1);