xref: /PHP-8.1/ext/opcache/tests/bug79475.phpt (revision e9f783fc)
1--TEST--
2Bug #79475 ([JIT] func_get_args() assertion violation)
3--EXTENSIONS--
4opcache
5--FILE--
6<?php
7function foo() {
8    $args = func_get_args();
9    $args[] = "bar";
10}
11foo();
12echo "done\n";
13?>
14--EXPECT--
15done
16