我在输入错误的代码时遇到问题。
if (typeof callback == 'function') {
http_ask.onreadystatechange = function() {
if (http_ask.readyState == 4) {
if (http_ask.status == 200) {
result = http_ask.responseText;
callback(result);
} else {
alert('Send failed');
return false;
}
}
}
}
http_ask.send(params);
我该如何解决。在PHP 5.6上一切正常。当我改变了PHP VR。 7.1代码崩溃