php-src/Zend/tests/bug80096.phpt

15 lines
277 B
Plaintext
Raw Normal View History

--TEST--
Bug #80096: Segmentation fault with named arguments in nested call
--FILE--
<?php
function println($arg) {
echo $arg, "\n";
}
println(htmlentities("The < character is encoded as &lt;", double_encode: false));
?>
--EXPECT--
The &lt; character is encoded as &lt;