Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #78114 (segfault when calling sodium_* functions from eval) --EXTENSIONS-- so..
Decoded Output download
--TEST--
Bug #78114 (segfault when calling sodium_* functions from eval)
--EXTENSIONS--
sodium
--FILE--
<?php
try {
eval('sodium_bin2hex();');
} catch (Throwable $ex) {
echo $ex->getMessage(), PHP_EOL;
}
?>
--EXPECT--
sodium_bin2hex() expects exactly 1 argument, 0 given
Did this file decode correctly?
Original Code
--TEST--
Bug #78114 (segfault when calling sodium_* functions from eval)
--EXTENSIONS--
sodium
--FILE--
<?php
try {
eval('sodium_bin2hex();');
} catch (Throwable $ex) {
echo $ex->getMessage(), PHP_EOL;
}
?>
--EXPECT--
sodium_bin2hex() expects exactly 1 argument, 0 given
Function Calls
None |
Stats
MD5 | c1942344297d05c30a0d8118e9980dea |
Eval Count | 0 |
Decode Time | 107 ms |