method isBuid documentation in bbn\Str
Checks if the string is a valid binary UID string.
function($st)
{
if (\is_string($st) && (\strlen($st) === 16) && !ctype_print($st) && !ctype_space($st)) {
if (!mb_check_encoding($st, 'UTF-8')) {
return preg_match('~[^\x20-\x7E\t\r\n]~', $st) > 0;
}
}
return false;
}
Checks if the string is a valid binary UID string. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions