1--TEST--
2SodiumException backtraces do not contain function arguments
3--SKIPIF--
4<?php if (!extension_loaded("sodium")) print "skip"; ?>
5--FILE--
6<?php
7
8function do_memzero($x) {
9    sodium_memzero($x);
10}
11
12$x = 42;
13do_memzero($x);
14
15?>
16--EXPECTF--
17Fatal error: Uncaught SodiumException: a PHP string is required in %s:%d
18Stack trace:
19#0 %s(%d): sodium_memzero()
20#1 %s(%d): do_memzero()
21#2 {main}
22  thrown in %s on line %d
23