xref: /PHP-8.0/Zend/tests/bug64515.phpt (revision f8d79582)
1--TEST--
2Bug #64515 (Memoryleak when using the same variablename 2times in function declaration) (PHP7)
3--FILE--
4<?php
5function foo($unused = null, $unused = null, $arg = array()) {
6        return 1;
7}
8foo();
9echo "okey";
10?>
11--EXPECTF--
12Fatal error: Redefinition of parameter $unused in %sbug64515.php on line 2
13