1.当类型是整型时
$type = 12; intval($type[0]); // intval($type[1]); //
2.当类型是字符型
$type = '12'; intval($type[0]);// intval($type[1]);//
1.当类型是整型时
$type = 12; intval($type[0]); // intval($type[1]); //
2.当类型是字符型
$type = '12'; intval($type[0]);// intval($type[1]);//