You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpnamespaceFoo;
var_dump(class_exists('\foo'));
class test {
function__construct() {
}
functiontest() {
}
}
$x1=1;
$x2=1;
var_dump('sodium_crypto_kdf_derive_from_key');
$callret=sodium_crypto_kdf_derive_from_key($x1,$x2,$x1,$x2);
print_r($callret);
?>
Resulted in this output (JIT 1211):
Zend/zend_vm_execute.h:30160:8: runtime error: shift exponent 326 is too large for 32-bit type 'uint32_t' (aka 'unsigned int')
But I expected this output instead (non-JIT):
string(33) "sodium_crypto_kdf_derive_from_key"
Fatal error: Uncaught SodiumException: sodium_crypto_kdf_derive_from_key(): Argument #1 ($subkey_length) must be greater than or equal to SODIUM_CRYPTO_KDF_BYTES_MIN
PHP Version
nightly
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered:
Description
The following code:
Resulted in this output (JIT 1211):
But I expected this output instead (non-JIT):
PHP Version
nightly
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: