摘要:
1,1=>2);curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);curl_setopt($ch, CURLOPT_HTTPHEADER, $... 阅读全文
摘要:
实现PHP实现INT型,SHORT型,STRING转换成BYTE数组的转化:class Bytes { public static function integerToBytes($val) { $val = (int)$val; $byte = array(); //低位在前,... 阅读全文