下面这句代码哪里错了
$aid = 11387;<br /> $_G['uid'] = 332;<br /> $tid =50;<br /> function aidencode($aid, $type = 0, $tid = 0) {<br /> $s = !$type ? $aid.'|'.substr(md5($aid.md5('asdfasfas'.TIMESTAMP.$_G['uid']), 0, 8).'|'.TIMESTAMP.'|'.$_G['uid'].'|'.$tid : $aid.'|'.md5($aid.md5<br /> <br /> ('asdfasfas').TIMESTAMP).'|'.TIMESTAMP;<br /> return rawurlencode(base64_encode($s));<br /> }<br /> <br /> <br /> echo aidencode(11387);