mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
13 lines
309 B
PHP
13 lines
309 B
PHP
--TEST--
|
|
Bug #64515 (Memoryleak when using the same variablename 2times in function declaration) (PHP7)
|
|
--FILE--
|
|
<?php
|
|
function foo($unused = null, $unused = null, $arg = array()) {
|
|
return 1;
|
|
}
|
|
foo();
|
|
echo "okey";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Redefinition of parameter $unused in %sbug64515.php on line 2
|