支付宝打款代码警告Invalid characters passed for attempted conversion, these have been ignored at file

AopCertClient.php 111行修改
$ssl[$i] = openssl_x509_parse($array[$i] . "-----END CERTIFICATE-----");
            if (strpos($ssl[$i]['serialNumber'], '0x') === 0) {
            	$ssl[$i]['serialNumber'] = $this->hex2dec($ssl[$i]['serialNumber']);// old代码
                $ssl[$i]['serialNumber'] = $this->hex2dec($ssl[$i]['serialNumberHex']);// new 代码
            }

你可能感兴趣的:(php)