summaryrefslogtreecommitdiff
path: root/Zend/tests/bug80096.phpt
blob: d1d2d0249be1b1d45bf33c34602703f12a30b0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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;