...
|
...
|
@@ -68,11 +68,12 @@ class LightService |
|
|
{
|
|
|
$str = mb_convert_encoding($str, 'GB2312');
|
|
|
var_dump(strlen($str));
|
|
|
exit();
|
|
|
$change_after = '';
|
|
|
for ($i = 0; $i < strlen($str); $i=$i+2) {
|
|
|
var_dump($i);
|
|
|
$change_after .= dechex(ord($str[$i])).dechex(ord($str[$i+1]));
|
|
|
}
|
|
|
exit();
|
|
|
for ($i=0;strlen($change_after)<130;$i++){
|
|
|
$change_after=$change_after.'00';
|
|
|
}
|
...
|
...
|
|