diff --git a/hphp/test/quick/poly-torture.php b/hphp/test/quick/poly-torture.php index 57de6c834..63c7551c9 100644 --- a/hphp/test/quick/poly-torture.php +++ b/hphp/test/quick/poly-torture.php @@ -38,7 +38,7 @@ class C { echo "C::__call $nm\n"; } function noSuchMethodBoyeee($a, $b, $c, $d, $e) { - echo "C also has this method with params: $d $e\n"; + echo "C also has this method with params: ", $d, " ", $e, "\n"; } } @@ -62,7 +62,7 @@ class MagicBox { } function __call($nm, $arr) { echo "--"; - call_user_func_array(array($this->inner, $nm), $arr); + call_user_func_array(array($this->inner, $nm), $arr); } } diff --git a/hphp/test/quick/poly-torture.php.expectf b/hphp/test/quick/poly-torture.php.expectf index c0f6e0cc2..1a0e256f6 100644 --- a/hphp/test/quick/poly-torture.php.expectf +++ b/hphp/test/quick/poly-torture.php.expectf @@ -16,9 +16,9 @@ HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 1 given in %s HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 2 given in %s on line 41 HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 3 given in %s on line 41 HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 4 given in %s on line 41 -HipHop Notice: Undefined variable: d in %s on line 41 -HipHop Notice: Undefined variable: e in %s on line 41 -C also has this method with params: +C also has this method with params: HipHop Notice: Undefined variable: d in %s on line 41 + HipHop Notice: Undefined variable: e in %s on line 41 + --C also has this method with params: 3 4 randObj: A randObj: C