PATH:
opt
/
alt
/
tests
/
alt-php70-pecl-libsodium_2.0.23-1.el8
/
tests
--TEST-- SodiumException backtraces do not contain function arguments --SKIPIF-- <?php if (!extension_loaded("sodium")) print "skip"; ?> --FILE-- <?php function do_memzero($x) { sodium_memzero($x); } $x = 42; do_memzero($x); ?> --EXPECTF-- Fatal error: Uncaught SodiumException: a PHP string is required in %s:%d Stack trace: #0 %s(%d): sodium_memzero() #1 %s(%d): do_memzero() #2 {main} thrown in %s on line %d
[-] crypto_hex.phpt
[edit]
[-] crypto_generichash.phpt
[edit]
[-] crypto_auth.phpt
[edit]
[-] crypto_secretstream.phpt
[edit]
[-] crypto_secretbox.phpt
[edit]
[-] pwhash_argon2i.phpt
[edit]
[-] crypto_aead.phpt
[edit]
[-] crypto_kx.phpt
[edit]
[-] crypto_box.phpt
[edit]
[-] crypto_scalarmult.phpt
[edit]
[-] installed.phpt
[edit]
[-] exception_trace_without_args.phpt
[edit]
[-] crypto_kdf.phpt
[edit]
[-] crypto_sign.phpt
[edit]
[+]
..
[-] version.phpt
[edit]
[-] inc_add.phpt
[edit]
[-] crypto_stream.phpt
[edit]
[-] crypto_shorthash.phpt
[edit]
[-] utils.phpt
[edit]