--TEST--
-Bug #54013 (ReflectionParam for duplicate parameter contains garbage)
+Bug #54013 (ReflectionParam for duplicate parameter contains garbage) (PHP7)
--FILE--
<?php
?>
--EXPECTF--
-object(ReflectionParameter)#%d (1) {
- ["name"]=>
- string(8) "aaaaaaaa"
-}
-object(ReflectionParameter)#%d (1) {
- ["name"]=>
- string(8) "aaaaaaaa"
-}
+Fatal error: Redefinition of parameter aaaaaaaa in %sbug54013.php on line 5
--TEST--
-Bug #64515 (Memoryleak when using the same variablename 2times in function declaration)
+Bug #64515 (Memoryleak when using the same variablename 2times in function declaration) (PHP7)
--FILE--
<?php
function foo($unused = null, $unused = null, $arg = array()) {
foo();
echo "okey";
?>
---EXPECT--
-okey
+--EXPECTF--
+Fatal error: Redefinition of parameter unused in %sbug64515.php on line 2