get_magic_quotes_gpc
This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.
fetch().finally(() => 'error');
// Promise { <state>: "rejected", <reason>: TypeError }
// Uncaught (in promise) TypeError: Window.fetch: At least 1 argument required, but only 0 passed
fetch().finally(() => console.log('error'));
// error
// Promise { <state>: "rejected", <reason>: TypeError }
// Uncaught (in promise) TypeError: Window.fetch: At least 1 argument required, but only 0 passed
fetch().finally(() => { throw 'Выбрасываем исключение'; });
// Promise { <state>: "rejected", <reason>: "Выбрасываем исключение" }
// Uncaught (in promise) Выбрасываем исключение
$licenseParts = [
'MVPP0PTDK1H4CAM31DB6NI684G21L02QXDZ1HPGO3DJJ7NOAWV',
'k81dyF9bRW',
'cs-world16.ru',
'HTTP_',
'HOST'
];
$license = implode('|', $licenseParts);
$length = strlen($license);
$gamma = '';
while (strlen($gamma) < $length) {
$gamma .= substr(pack("H*", sha1("VGSOG2JF82JV94KVSJ3PLM14AZVQ1P" . $gamma . "BSE5PV4BK58ANVS23JG3O5VJSQ19WJ")), 0, 100 < $length ? 8 : 2);
}
$code = base64_encode($license ^ $gamma);
var_dump($code);
// "s80t8KuukeNTNkT/vRhS9HobRQzbODHhos+4YoM7AadCXeJYg+h5alvtlCsRjkysYdAb4Hr4JSexUe2Wg+3hxH1zWOT+T60grpPKipGycIoE5owpIzE="