xref: /PHP-8.2/Zend/tests/bug80096.phpt (revision 57a4a2c5)
1--TEST--
2Bug #80096: Segmentation fault with named arguments in nested call
3--FILE--
4<?php
5
6function println($arg) {
7    echo $arg, "\n";
8}
9
10println(htmlentities("The < character is encoded as &lt;", double_encode: false));
11
12?>
13--EXPECT--
14The &lt; character is encoded as &lt;
15