php-src/Zend/tests/bug80096.phpt
Nikita Popov 57a4a2c5a8 Fixed bug #80096
We shouldn't assume that call->prev_execute_data is NULL here. The
value needs to be preserved for call chains.
2020-09-14 15:49:49 +02:00

15 lines
277 B
PHP

--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;