32) { $pad = 0; } // 返回移除填充后的数据 return substr($text, 0, (strlen($text) - $pad)); } } ?>