php判断字符串是否base64编码

//判断字符串是否是base64编码

pubclic function base64($str)
{
     $stt = = base64_encode(base64_decode($str)) ? true : false;
    
    return $att;
}

猜你喜欢

转载自www.cnblogs.com/xiong-hua/p/11791195.html