diff --git a/hphp/test/test_code_run.cpp b/hphp/test/test_code_run.cpp index bf9962a96..3a32342d7 100644 --- a/hphp/test/test_code_run.cpp +++ b/hphp/test/test_code_run.cpp @@ -13951,7 +13951,7 @@ bool TestCodeRun::TestReflectionClasses() { "var_dump($rf->isClosure()); " "var_dump($rf->isGenerator()); " , - "test/vm/reflection_isclosure.php.exp" + "test/vm/reflection_isclosure.php.expect" ); } diff --git a/hphp/test/verify b/hphp/test/verify index a23a98ce4..d64997804 100755 --- a/hphp/test/verify +++ b/hphp/test/verify @@ -361,11 +361,10 @@ sub run_test } } ($utime, $stime, $cutime, $cstime) = times; - my $default_filter = "$opt_srcdir/test/vm/default.filter"; if (-e "$opt_srcdir/$test.filter") { - `$command 2>&1 | $default_filter | $opt_srcdir/$test.filter > $opt_objdir/$test.out`; + `$command 2>&1 | $opt_srcdir/$test.filter > $opt_objdir/$test.out`; } else { - `$command 2>&1 | $default_filter > $opt_objdir/$test.out`; + `$command > $opt_objdir/$test.out 2>&1`; } ($utime, $stime, $tutime, $tstime) = times; @@ -416,6 +415,7 @@ sub run_test } elsif (!$opt_no_exp && -e "$opt_srcdir/$test.expect") { + $diff_args = "--text -u"; `diff $diff_args $opt_srcdir/$test.expect $opt_objdir/$test.out > $opt_objdir/$test.diff 2>&1`; if ($?) { diff --git a/hphp/test/vm/BindM.php.exp b/hphp/test/vm/BindM.php.expect similarity index 100% rename from hphp/test/vm/BindM.php.exp rename to hphp/test/vm/BindM.php.expect diff --git a/hphp/test/vm/BindS.php.exp b/hphp/test/vm/BindS.php.expect similarity index 100% rename from hphp/test/vm/BindS.php.exp rename to hphp/test/vm/BindS.php.expect diff --git a/hphp/test/vm/BindS_ref.php.exp b/hphp/test/vm/BindS_ref.php.expect similarity index 100% rename from hphp/test/vm/BindS_ref.php.exp rename to hphp/test/vm/BindS_ref.php.expect diff --git a/hphp/test/vm/CGetG.php.exp b/hphp/test/vm/CGetG.php.expect similarity index 100% rename from hphp/test/vm/CGetG.php.exp rename to hphp/test/vm/CGetG.php.expect diff --git a/hphp/test/vm/CGetMVar.php.exp b/hphp/test/vm/CGetMVar.php.expect similarity index 100% rename from hphp/test/vm/CGetMVar.php.exp rename to hphp/test/vm/CGetMVar.php.expect diff --git a/hphp/test/vm/Cls.php.exp b/hphp/test/vm/Cls.php.expect similarity index 100% rename from hphp/test/vm/Cls.php.exp rename to hphp/test/vm/Cls.php.expect diff --git a/hphp/test/vm/ClsCases.php.exp b/hphp/test/vm/ClsCases.php.expect similarity index 100% rename from hphp/test/vm/ClsCases.php.exp rename to hphp/test/vm/ClsCases.php.expect diff --git a/hphp/test/vm/ClsCns.php.exp b/hphp/test/vm/ClsCns.php.expect similarity index 100% rename from hphp/test/vm/ClsCns.php.exp rename to hphp/test/vm/ClsCns.php.expect diff --git a/hphp/test/vm/DefFunc.php.exp b/hphp/test/vm/DefFunc.php.expect similarity index 100% rename from hphp/test/vm/DefFunc.php.exp rename to hphp/test/vm/DefFunc.php.expect diff --git a/hphp/test/vm/EmitOO.php.exp b/hphp/test/vm/EmitOO.php.expect similarity index 100% rename from hphp/test/vm/EmitOO.php.exp rename to hphp/test/vm/EmitOO.php.expect diff --git a/hphp/test/vm/EmitSProp.php.exp b/hphp/test/vm/EmitSProp.php.expect similarity index 100% rename from hphp/test/vm/EmitSProp.php.exp rename to hphp/test/vm/EmitSProp.php.expect diff --git a/hphp/test/vm/Empty.php.exp b/hphp/test/vm/Empty.php.expect similarity index 100% rename from hphp/test/vm/Empty.php.exp rename to hphp/test/vm/Empty.php.expect diff --git a/hphp/test/vm/EmptyElem.php.exp b/hphp/test/vm/EmptyElem.php.expect similarity index 100% rename from hphp/test/vm/EmptyElem.php.exp rename to hphp/test/vm/EmptyElem.php.expect diff --git a/hphp/test/vm/FPassC-2.php.exp b/hphp/test/vm/FPassC-2.php.exp deleted file mode 100644 index 3f464e399..000000000 --- a/hphp/test/vm/FPassC-2.php.exp +++ /dev/null @@ -1,48 +0,0 @@ -HipHop Warning: File not found: doesnotexist.php in hphp/test/vm/FPassC-2.php on line 14 -bool(false) -NULL -object(stdClass)#1 (0) { -} -object(stdClass)#2 (0) { -} -object(stdClass)#1 (0) { -} -============================== -HipHop Strict Warning: Only variables should be passed by reference in hphp/test/vm/FPassC-2.php on line 28 -NULL -NULL -HipHop Strict Warning: Only variables should be passed by reference in hphp/test/vm/FPassC-2.php on line 32 -string(3) "abc" -string(3) "abc" -HipHop Strict Warning: Only variables should be passed by reference in hphp/test/vm/FPassC-2.php on line 36 -int(0) -int(0) -HipHop Strict Warning: Only variables should be passed by reference in hphp/test/vm/FPassC-2.php on line 40 -int(1) -int(1) -HipHop Strict Warning: Only variables should be passed by reference in hphp/test/vm/FPassC-2.php on line 44 -NULL -NULL -============================== -array(1) { - [0]=> - &array(1) { - [0]=> - int(1) - } -} -array(1) { - [0]=> - int(1) -} -int(123) -array(1) { - [0]=> - int(1) -} -============================== -NULL -int(123) -int(123) -============================== -HipHop Fatal error: Cannot pass parameter 1 by reference in hphp/test/vm/FPassC-2.php on line 78 diff --git a/hphp/test/vm/FPassC-2.php.expectf b/hphp/test/vm/FPassC-2.php.expectf new file mode 100644 index 000000000..d23edfca0 --- /dev/null +++ b/hphp/test/vm/FPassC-2.php.expectf @@ -0,0 +1,48 @@ +HipHop Warning: File not found: doesnotexist.php in %s on line 14 +bool(false) +NULL +object(stdClass)#1 (0) { +} +object(stdClass)#2 (0) { +} +object(stdClass)#1 (0) { +} +============================== +HipHop Strict Warning: Only variables should be passed by reference in %s on line 28 +NULL +NULL +HipHop Strict Warning: Only variables should be passed by reference in %s on line 32 +string(3) "abc" +string(3) "abc" +HipHop Strict Warning: Only variables should be passed by reference in %s on line 36 +int(0) +int(0) +HipHop Strict Warning: Only variables should be passed by reference in %s on line 40 +int(1) +int(1) +HipHop Strict Warning: Only variables should be passed by reference in %s on line 44 +NULL +NULL +============================== +array(1) { + [0]=> + &array(1) { + [0]=> + int(1) + } +} +array(1) { + [0]=> + int(1) +} +int(123) +array(1) { + [0]=> + int(1) +} +============================== +NULL +int(123) +int(123) +============================== +HipHop Fatal error: Cannot pass parameter 1 by reference in %s on line 78 diff --git a/hphp/test/vm/FPassC.php.exp b/hphp/test/vm/FPassC.php.exp deleted file mode 100644 index bdd8817df..000000000 --- a/hphp/test/vm/FPassC.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -6 -HipHop Fatal error: Cannot pass parameter 1 by reference in hphp/test/vm/FPassC.php on line 9 diff --git a/hphp/test/vm/FPassC.php.expectf b/hphp/test/vm/FPassC.php.expectf new file mode 100644 index 000000000..10f9c0fe3 --- /dev/null +++ b/hphp/test/vm/FPassC.php.expectf @@ -0,0 +1,2 @@ +6 +HipHop Fatal error: Cannot pass parameter 1 by reference in %s on line 9 diff --git a/hphp/test/vm/FPassM.php.exp b/hphp/test/vm/FPassM.php.expect similarity index 100% rename from hphp/test/vm/FPassM.php.exp rename to hphp/test/vm/FPassM.php.expect diff --git a/hphp/test/vm/FPassR.php.exp b/hphp/test/vm/FPassR.php.expect similarity index 100% rename from hphp/test/vm/FPassR.php.exp rename to hphp/test/vm/FPassR.php.expect diff --git a/hphp/test/vm/FPassS.php.exp b/hphp/test/vm/FPassS.php.expect similarity index 100% rename from hphp/test/vm/FPassS.php.exp rename to hphp/test/vm/FPassS.php.expect diff --git a/hphp/test/vm/FPushClsMethod.php.exp b/hphp/test/vm/FPushClsMethod.php.expect similarity index 100% rename from hphp/test/vm/FPushClsMethod.php.exp rename to hphp/test/vm/FPushClsMethod.php.expect diff --git a/hphp/test/vm/FPushClsMethodF.php.exp b/hphp/test/vm/FPushClsMethodF.php.expect similarity index 100% rename from hphp/test/vm/FPushClsMethodF.php.exp rename to hphp/test/vm/FPushClsMethodF.php.expect diff --git a/hphp/test/vm/FPushCtor.php.exp b/hphp/test/vm/FPushCtor.php.expect similarity index 100% rename from hphp/test/vm/FPushCtor.php.exp rename to hphp/test/vm/FPushCtor.php.expect diff --git a/hphp/test/vm/FPushObjMethod.php.exp b/hphp/test/vm/FPushObjMethod.php.exp deleted file mode 100644 index 8a872dfa4..000000000 --- a/hphp/test/vm/FPushObjMethod.php.exp +++ /dev/null @@ -1,95 +0,0 @@ -Test begin -In C::__construct() -In C::__construct() -In C::sMeth(): $this:: -In D::D() -In D::D() -In E::__construct() -In E::E() -In E::__construct() -In C::__construct() -In C::__construct() -In D::D() -In D::D() -In E::__construct() -In E::E() -In E::__construct() -In I::__construct() -In I::__construct() -In J::J() -In D::D() -In J::J() -In K::__construct() -In E::E() -In K::K() -In K::__construct() -In C::__construct() -In C::__construct() -In C::sMeth(): $this:: -In D::D() -In D::D() -In E::__construct() -In E::E() -In E::__construct() -In C::__construct() -In C::__construct() -In D::D() -In D::D() -In E::__construct() -In E::E() -In E::__construct() -In I::__construct() -In I::__construct() -In J::J() -In D::D() -In J::J() -In K::__construct() -In E::E() -In K::K() -In K::__construct() -=== X === -In anon() - In X::fPublic() -In W::fW() - In X::fPublic() -In X::fX() - In X::fPrivateX() - In X::fPrivate() - In X::fProtected() - In X::fPublic() -=== Y === -In anon() - In Y::fPublic() -In W::fW() - In Y::fPublic() -In X::fX() - In X::fPrivateX() - In X::fPrivate() - In Y::fProtected() - In Y::fPublic() -In Y::fY() - In Y::fPrivateY() - In Y::fPrivate() - In Y::fProtected() - In Y::fPublic() -=== Z === -In anon() - In Z::fPublic() -In W::fW() - In Z::fPublic() -In X::fX() - In X::fPrivateX() - In X::fPrivate() - In Z::fProtected() - In Z::fPublic() -In Y::fY() - In Y::fPrivateY() - In Y::fPrivate() - In Z::fProtected() - In Z::fPublic() -In Z::fZ() - In Z::fPrivateZ() - In Z::fPrivate() - In Z::fProtected() - In Z::fPublic() -HipHop Fatal error: Function name must be a string in hphp/test/vm/FPushObjMethod.php on line 201 diff --git a/hphp/test/vm/FPushObjMethod.php.expectf b/hphp/test/vm/FPushObjMethod.php.expectf new file mode 100644 index 000000000..b491e23fc --- /dev/null +++ b/hphp/test/vm/FPushObjMethod.php.expectf @@ -0,0 +1,95 @@ +Test begin +In C::__construct() +In C::__construct() +In C::sMeth(): $this:: +In D::D() +In D::D() +In E::__construct() +In E::E() +In E::__construct() +In C::__construct() +In C::__construct() +In D::D() +In D::D() +In E::__construct() +In E::E() +In E::__construct() +In I::__construct() +In I::__construct() +In J::J() +In D::D() +In J::J() +In K::__construct() +In E::E() +In K::K() +In K::__construct() +In C::__construct() +In C::__construct() +In C::sMeth(): $this:: +In D::D() +In D::D() +In E::__construct() +In E::E() +In E::__construct() +In C::__construct() +In C::__construct() +In D::D() +In D::D() +In E::__construct() +In E::E() +In E::__construct() +In I::__construct() +In I::__construct() +In J::J() +In D::D() +In J::J() +In K::__construct() +In E::E() +In K::K() +In K::__construct() +=== X === +In anon() + In X::fPublic() +In W::fW() + In X::fPublic() +In X::fX() + In X::fPrivateX() + In X::fPrivate() + In X::fProtected() + In X::fPublic() +=== Y === +In anon() + In Y::fPublic() +In W::fW() + In Y::fPublic() +In X::fX() + In X::fPrivateX() + In X::fPrivate() + In Y::fProtected() + In Y::fPublic() +In Y::fY() + In Y::fPrivateY() + In Y::fPrivate() + In Y::fProtected() + In Y::fPublic() +=== Z === +In anon() + In Z::fPublic() +In W::fW() + In Z::fPublic() +In X::fX() + In X::fPrivateX() + In X::fPrivate() + In Z::fProtected() + In Z::fPublic() +In Y::fY() + In Y::fPrivateY() + In Y::fPrivate() + In Z::fProtected() + In Z::fPublic() +In Z::fZ() + In Z::fPrivateZ() + In Z::fPrivate() + In Z::fProtected() + In Z::fPublic() +HipHop Fatal error: Function name must be a string in %s on line 201 diff --git a/hphp/test/vm/GByRef.php.exp b/hphp/test/vm/GByRef.php.expect similarity index 100% rename from hphp/test/vm/GByRef.php.exp rename to hphp/test/vm/GByRef.php.expect diff --git a/hphp/test/vm/GLOBALS.php.exp b/hphp/test/vm/GLOBALS.php.expect similarity index 100% rename from hphp/test/vm/GLOBALS.php.exp rename to hphp/test/vm/GLOBALS.php.expect diff --git a/hphp/test/vm/GetElem.php.exp b/hphp/test/vm/GetElem.php.expect similarity index 100% rename from hphp/test/vm/GetElem.php.exp rename to hphp/test/vm/GetElem.php.expect diff --git a/hphp/test/vm/GetGbl.php.exp b/hphp/test/vm/GetGbl.php.expect similarity index 100% rename from hphp/test/vm/GetGbl.php.exp rename to hphp/test/vm/GetGbl.php.expect diff --git a/hphp/test/vm/GetVar.php.exp b/hphp/test/vm/GetVar.php.expect similarity index 100% rename from hphp/test/vm/GetVar.php.exp rename to hphp/test/vm/GetVar.php.expect diff --git a/hphp/test/vm/IncDecL1.php.exp b/hphp/test/vm/IncDecL1.php.expect similarity index 100% rename from hphp/test/vm/IncDecL1.php.exp rename to hphp/test/vm/IncDecL1.php.expect diff --git a/hphp/test/vm/IncDecL2.php.exp b/hphp/test/vm/IncDecL2.php.expect similarity index 100% rename from hphp/test/vm/IncDecL2.php.exp rename to hphp/test/vm/IncDecL2.php.expect diff --git a/hphp/test/vm/IncDecProp.php.exp b/hphp/test/vm/IncDecProp.php.exp deleted file mode 100644 index b00cb8f68..000000000 --- a/hphp/test/vm/IncDecProp.php.exp +++ /dev/null @@ -1,141 +0,0 @@ -Test begin ---- C --- -int(1) -int(-1) -int(0) -int(0) -int(1) -NULL -NULL -NULL -C Object -( - [preInc] => 1 - [preDec] => -1 - [postInc] => 1 - [postDec] => -1 - [p] => 1 - [q] => - [r] => 1 - [s] => -) ---- D --- -In D::__get(a) -string(4) "D::b" -In D::__get(b) -int(43) -int(1) -int(-1) -int(0) -int(0) -In D::__get(l) -int(1) -In D::__get(m) -int(-1) -In D::__get(n) -int(0) -In D::__get(o) -int(0) -In D::__get(p) -int(1) -In D::__get(q) -NULL -In D::__get(r) -NULL -In D::__get(s) -NULL -D Object -( - [container:D:private] => Array - ( - [a] => D::a - [b] => 42 - [l] => 0 - [m] => 0 - [n] => 0 - [o] => 0 - ) - - [preInc] => 1 - [preDec] => -1 - [postInc] => 1 - [postDec] => -1 - [a] => D::b - [b] => 43 - [l] => 1 - [m] => -1 - [n] => 1 - [o] => -1 - [p] => 1 - [q] => - [r] => 1 - [s] => -) ---- E --- -int(1) -int(-1) -int(0) -int(0) -In E::__get(l) -In E::__set(l, 1) -int(1) -In E::__get(m) -In E::__set(m, -1) -int(-1) -In E::__get(n) -In E::__set(n, 1) -int(0) -In E::__get(o) -In E::__set(o, -1) -int(0) -In E::__get(p) -In E::__set(p, 1) -int(1) -In E::__get(q) -In E::__set(q, ) -NULL -In E::__get(r) -In E::__set(r, 1) -NULL -In E::__get(s) -In E::__set(s, ) -NULL -E Object -( - [container:E:private] => Array - ( - [a] => E::a - [b] => 42 - [l] => 1 - [m] => -1 - [n] => 1 - [o] => -1 - [p] => 1 - [q] => - [r] => 1 - [s] => - ) - - [preInc] => 1 - [preDec] => -1 - [postInc] => 1 - [postDec] => -1 -) ---- null --- -HipHop Warning: Creating default object from empty value in hphp/test/vm/IncDecProp.php on line 98 -int(1) -NULL -NULL -NULL -stdClass Object -( - [preInc] => 1 - [preDec] => - [postInc] => 1 - [postDec] => -) ---- 42 --- -HipHop Warning: Attempt to increment/decrement property of non-object in hphp/test/vm/IncDecProp.php on line 106 -NULL -42 -Test end diff --git a/hphp/test/vm/IncDecProp.php.expectf b/hphp/test/vm/IncDecProp.php.expectf new file mode 100644 index 000000000..3a4f0f9f3 --- /dev/null +++ b/hphp/test/vm/IncDecProp.php.expectf @@ -0,0 +1,141 @@ +Test begin +--- C --- +int(1) +int(-1) +int(0) +int(0) +int(1) +NULL +NULL +NULL +C Object +( + [preInc] => 1 + [preDec] => -1 + [postInc] => 1 + [postDec] => -1 + [p] => 1 + [q] => + [r] => 1 + [s] => +) +--- D --- +In D::__get(a) +string(4) "D::b" +In D::__get(b) +int(43) +int(1) +int(-1) +int(0) +int(0) +In D::__get(l) +int(1) +In D::__get(m) +int(-1) +In D::__get(n) +int(0) +In D::__get(o) +int(0) +In D::__get(p) +int(1) +In D::__get(q) +NULL +In D::__get(r) +NULL +In D::__get(s) +NULL +D Object +( + [container:D:private] => Array + ( + [a] => D::a + [b] => 42 + [l] => 0 + [m] => 0 + [n] => 0 + [o] => 0 + ) + + [preInc] => 1 + [preDec] => -1 + [postInc] => 1 + [postDec] => -1 + [a] => D::b + [b] => 43 + [l] => 1 + [m] => -1 + [n] => 1 + [o] => -1 + [p] => 1 + [q] => + [r] => 1 + [s] => +) +--- E --- +int(1) +int(-1) +int(0) +int(0) +In E::__get(l) +In E::__set(l, 1) +int(1) +In E::__get(m) +In E::__set(m, -1) +int(-1) +In E::__get(n) +In E::__set(n, 1) +int(0) +In E::__get(o) +In E::__set(o, -1) +int(0) +In E::__get(p) +In E::__set(p, 1) +int(1) +In E::__get(q) +In E::__set(q, ) +NULL +In E::__get(r) +In E::__set(r, 1) +NULL +In E::__get(s) +In E::__set(s, ) +NULL +E Object +( + [container:E:private] => Array + ( + [a] => E::a + [b] => 42 + [l] => 1 + [m] => -1 + [n] => 1 + [o] => -1 + [p] => 1 + [q] => + [r] => 1 + [s] => + ) + + [preInc] => 1 + [preDec] => -1 + [postInc] => 1 + [postDec] => -1 +) +--- null --- +HipHop Warning: Creating default object from empty value in %s on line 98 +int(1) +NULL +NULL +NULL +stdClass Object +( + [preInc] => 1 + [preDec] => + [postInc] => 1 + [postDec] => +) +--- 42 --- +HipHop Warning: Attempt to increment/decrement property of non-object in %s on line 106 +NULL +42 +Test end diff --git a/hphp/test/vm/Isset.php.exp b/hphp/test/vm/Isset.php.expect similarity index 100% rename from hphp/test/vm/Isset.php.exp rename to hphp/test/vm/Isset.php.expect diff --git a/hphp/test/vm/IssetElem.php.exp b/hphp/test/vm/IssetElem.php.expect similarity index 100% rename from hphp/test/vm/IssetElem.php.exp rename to hphp/test/vm/IssetElem.php.expect diff --git a/hphp/test/vm/IssetM.php.exp b/hphp/test/vm/IssetM.php.expect similarity index 100% rename from hphp/test/vm/IssetM.php.exp rename to hphp/test/vm/IssetM.php.expect diff --git a/hphp/test/vm/IterInitM.php.exp b/hphp/test/vm/IterInitM.php.expect similarity index 100% rename from hphp/test/vm/IterInitM.php.exp rename to hphp/test/vm/IterInitM.php.expect diff --git a/hphp/test/vm/IterInitM_b.php.exp b/hphp/test/vm/IterInitM_b.php.expect similarity index 100% rename from hphp/test/vm/IterInitM_b.php.exp rename to hphp/test/vm/IterInitM_b.php.expect diff --git a/hphp/test/vm/PropU.php.exp b/hphp/test/vm/PropU.php.expect similarity index 100% rename from hphp/test/vm/PropU.php.exp rename to hphp/test/vm/PropU.php.expect diff --git a/hphp/test/vm/ReadElem.php.exp b/hphp/test/vm/ReadElem.php.expect similarity index 100% rename from hphp/test/vm/ReadElem.php.exp rename to hphp/test/vm/ReadElem.php.expect diff --git a/hphp/test/vm/ReadVar.php.exp b/hphp/test/vm/ReadVar.php.expect similarity index 100% rename from hphp/test/vm/ReadVar.php.exp rename to hphp/test/vm/ReadVar.php.expect diff --git a/hphp/test/vm/ReflectionClass.php.exp b/hphp/test/vm/ReflectionClass.php.expect similarity index 100% rename from hphp/test/vm/ReflectionClass.php.exp rename to hphp/test/vm/ReflectionClass.php.expect diff --git a/hphp/test/vm/RemapMethod.php.exp b/hphp/test/vm/RemapMethod.php.expect similarity index 100% rename from hphp/test/vm/RemapMethod.php.exp rename to hphp/test/vm/RemapMethod.php.expect diff --git a/hphp/test/vm/SPropW.php.exp b/hphp/test/vm/SPropW.php.expect similarity index 100% rename from hphp/test/vm/SPropW.php.exp rename to hphp/test/vm/SPropW.php.expect diff --git a/hphp/test/vm/SetM.php.exp b/hphp/test/vm/SetM.php.exp deleted file mode 100644 index 292a238c6..000000000 --- a/hphp/test/vm/SetM.php.exp +++ /dev/null @@ -1,27 +0,0 @@ -array(1) { - ["a"]=> - array(1) { - [0]=> - array(1) { - [2]=> - int(3) - } - } -} -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/SetM.php on line 7 -int(4) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/SetM.php on line 11 -array(1) { - [0]=> - bool(true) -} -array(1) { - [0]=> - string(1) "x" -} -HipHop Warning: Illegal string offset: -1 in hphp/test/vm/SetM.php on line 19 -string(7) "abc e g" -int(1) -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/SetM.php on line 26 -NULL diff --git a/hphp/test/vm/SetM.php.expectf b/hphp/test/vm/SetM.php.expectf new file mode 100644 index 000000000..390abb653 --- /dev/null +++ b/hphp/test/vm/SetM.php.expectf @@ -0,0 +1,27 @@ +array(1) { + ["a"]=> + array(1) { + [0]=> + array(1) { + [2]=> + int(3) + } + } +} +HipHop Warning: Cannot use a scalar value as an array in %s on line 7 +int(4) +HipHop Warning: Cannot use a scalar value as an array in %s on line 11 +array(1) { + [0]=> + bool(true) +} +array(1) { + [0]=> + string(1) "x" +} +HipHop Warning: Illegal string offset: -1 in %s on line 19 +string(7) "abc e g" +int(1) +int(1) +HipHop Warning: Cannot use a scalar value as an array in %s on line 26 +NULL diff --git a/hphp/test/vm/SetOp.php.exp b/hphp/test/vm/SetOp.php.expect similarity index 100% rename from hphp/test/vm/SetOp.php.exp rename to hphp/test/vm/SetOp.php.expect diff --git a/hphp/test/vm/SetOpH.php.exp b/hphp/test/vm/SetOpH.php.exp deleted file mode 100644 index 32e41f577..000000000 --- a/hphp/test/vm/SetOpH.php.exp +++ /dev/null @@ -1,1218 +0,0 @@ -int(0) -int(0) - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(2) "00" -string(2) "00" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -int(0) -int(123) - + int(123) -int(123) - - int(-123) -int(-123) - * int(0) -int(0) - . string(4) "0123" -string(4) "0123" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(0) -int(0) - >> int(0) -int(0) -int(0) -bool(true) - + int(1) -int(1) - - int(-1) -int(-1) - * int(0) -int(0) - . string(2) "01" -string(2) "01" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(1) -int(1) - ^ int(1) -int(1) - << int(0) -int(0) - >> int(0) -int(0) -int(0) -float(123.456) - + float(123.456) -float(123.456) - - float(-123.456) -float(-123.456) - * float(0) -float(0) - . string(8) "0123.456" -string(8) "0123.456" - / float(0) -float(0) - % int(0) -int(0) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(0) -int(0) - >> int(0) -int(0) -int(0) -string(11) "non-numeric" - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(12) "0non-numeric" -string(12) "0non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -int(0) -string(3) "789" - + int(789) -int(789) - - int(-789) -int(-789) - * int(0) -int(0) - . string(4) "0789" -string(4) "0789" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(789) -int(789) - ^ int(789) -int(789) - << int(0) -int(0) - >> int(0) -int(0) -int(0) -NULL - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(1) "0" -string(1) "0" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -int(123) -int(0) - + int(123) -int(123) - - int(123) -int(123) - * int(0) -int(0) - . string(4) "1230" -string(4) "1230" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(123) -int(123) - >> int(123) -int(123) -int(123) -int(123) - + int(246) -int(246) - - int(0) -int(0) - * int(15129) -int(15129) - . string(6) "123123" -string(6) "123123" - / int(1) -int(1) - % int(0) -int(0) - & int(123) -int(123) - | int(123) -int(123) - ^ int(0) -int(0) - << int(-2882303761517117440) -int(-2882303761517117440) - >> int(0) -int(0) -int(123) -bool(true) - + int(124) -int(124) - - int(122) -int(122) - * int(123) -int(123) - . string(4) "1231" -string(4) "1231" - / int(123) -int(123) - % int(0) -int(0) - & int(1) -int(1) - | int(123) -int(123) - ^ int(122) -int(122) - << int(246) -int(246) - >> int(61) -int(61) -int(123) -float(123.456) - + float(246.456) -float(246.456) - - float(-0.456) -float(-0.456) - * float(15185.088) -float(15185.088) - . string(10) "123123.456" -string(10) "123123.456" - / float(0.99630637636081) -float(0.99630637636081) - % int(0) -int(0) - & int(123) -int(123) - | int(123) -int(123) - ^ int(0) -int(0) - << int(-2882303761517117440) -int(-2882303761517117440) - >> int(0) -int(0) -int(123) -string(11) "non-numeric" - + int(123) -int(123) - - int(123) -int(123) - * int(0) -int(0) - . string(14) "123non-numeric" -string(14) "123non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(123) -int(123) - >> int(123) -int(123) -int(123) -string(3) "789" - + int(912) -int(912) - - int(-666) -int(-666) - * int(97047) -int(97047) - . string(6) "123789" -string(6) "123789" - / float(0.15589353612167) -float(0.15589353612167) - % int(123) -int(123) - & int(17) -int(17) - | int(895) -int(895) - ^ int(878) -int(878) - << int(257949696) -int(257949696) - >> int(0) -int(0) -int(123) -NULL - + int(123) -int(123) - - int(123) -int(123) - * int(0) -int(0) - . string(3) "123" -string(3) "123" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(123) -int(123) - >> int(123) -int(123) -bool(true) -int(0) - + int(1) -int(1) - - int(1) -int(1) - * int(0) -int(0) - . string(2) "10" -string(2) "10" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(1) -int(1) - ^ int(1) -int(1) - << int(1) -int(1) - >> int(1) -int(1) -bool(true) -int(123) - + int(124) -int(124) - - int(-122) -int(-122) - * int(123) -int(123) - . string(4) "1123" -string(4) "1123" - / float(0.008130081300813) -float(0.008130081300813) - % int(1) -int(1) - & int(1) -int(1) - | int(123) -int(123) - ^ int(122) -int(122) - << int(576460752303423488) -int(576460752303423488) - >> int(0) -int(0) -bool(true) -bool(true) - + int(2) -int(2) - - int(0) -int(0) - * int(1) -int(1) - . string(2) "11" -string(2) "11" - / int(1) -int(1) - % int(0) -int(0) - & int(1) -int(1) - | int(1) -int(1) - ^ int(0) -int(0) - << int(2) -int(2) - >> int(0) -int(0) -bool(true) -float(123.456) - + float(124.456) -float(124.456) - - float(-122.456) -float(-122.456) - * float(123.456) -float(123.456) - . string(8) "1123.456" -string(8) "1123.456" - / float(0.0081000518403318) -float(0.0081000518403318) - % int(1) -int(1) - & int(1) -int(1) - | int(123) -int(123) - ^ int(122) -int(122) - << int(576460752303423488) -int(576460752303423488) - >> int(0) -int(0) -bool(true) -string(11) "non-numeric" - + int(1) -int(1) - - int(1) -int(1) - * int(0) -int(0) - . string(12) "1non-numeric" -string(12) "1non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(1) -int(1) - ^ int(1) -int(1) - << int(1) -int(1) - >> int(1) -int(1) -bool(true) -string(3) "789" - + int(790) -int(790) - - int(-788) -int(-788) - * int(789) -int(789) - . string(4) "1789" -string(4) "1789" - / float(0.0012674271229404) -float(0.0012674271229404) - % int(1) -int(1) - & int(1) -int(1) - | int(789) -int(789) - ^ int(788) -int(788) - << int(2097152) -int(2097152) - >> int(0) -int(0) -bool(true) -NULL - + int(1) -int(1) - - int(1) -int(1) - * int(0) -int(0) - . string(1) "1" -string(1) "1" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(1) -int(1) - ^ int(1) -int(1) - << int(1) -int(1) - >> int(1) -int(1) -float(123.456) -int(0) - + float(123.456) -float(123.456) - - float(123.456) -float(123.456) - * float(0) -float(0) - . string(8) "123.4560" -string(8) "123.4560" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(123) -int(123) - >> int(123) -int(123) -float(123.456) -int(123) - + float(246.456) -float(246.456) - - float(0.456) -float(0.456) - * float(15185.088) -float(15185.088) - . string(10) "123.456123" -string(10) "123.456123" - / float(1.0037073170732) -float(1.0037073170732) - % int(0) -int(0) - & int(123) -int(123) - | int(123) -int(123) - ^ int(0) -int(0) - << int(-2882303761517117440) -int(-2882303761517117440) - >> int(0) -int(0) -float(123.456) -bool(true) - + float(124.456) -float(124.456) - - float(122.456) -float(122.456) - * float(123.456) -float(123.456) - . string(8) "123.4561" -string(8) "123.4561" - / float(123.456) -float(123.456) - % int(0) -int(0) - & int(1) -int(1) - | int(123) -int(123) - ^ int(122) -int(122) - << int(246) -int(246) - >> int(61) -int(61) -float(123.456) -float(123.456) - + float(246.912) -float(246.912) - - float(0) -float(0) - * float(15241.383936) -float(15241.383936) - . string(14) "123.456123.456" -string(14) "123.456123.456" - / float(1) -float(1) - % int(0) -int(0) - & int(123) -int(123) - | int(123) -int(123) - ^ int(0) -int(0) - << int(-2882303761517117440) -int(-2882303761517117440) - >> int(0) -int(0) -float(123.456) -string(11) "non-numeric" - + float(123.456) -float(123.456) - - float(123.456) -float(123.456) - * float(0) -float(0) - . string(18) "123.456non-numeric" -string(18) "123.456non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(123) -int(123) - >> int(123) -int(123) -float(123.456) -string(3) "789" - + float(912.456) -float(912.456) - - float(-665.544) -float(-665.544) - * float(97406.784) -float(97406.784) - . string(10) "123.456789" -string(10) "123.456789" - / float(0.15647148288973) -float(0.15647148288973) - % int(123) -int(123) - & int(17) -int(17) - | int(895) -int(895) - ^ int(878) -int(878) - << int(257949696) -int(257949696) - >> int(0) -int(0) -float(123.456) -NULL - + float(123.456) -float(123.456) - - float(123.456) -float(123.456) - * float(0) -float(0) - . string(7) "123.456" -string(7) "123.456" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(123) -int(123) - >> int(123) -int(123) -string(11) "non-numeric" -int(0) - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(12) "non-numeric0" -string(12) "non-numeric0" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -string(11) "non-numeric" -int(123) - + int(123) -int(123) - - int(-123) -int(-123) - * int(0) -int(0) - . string(14) "non-numeric123" -string(14) "non-numeric123" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(0) -int(0) - >> int(0) -int(0) -string(11) "non-numeric" -bool(true) - + int(1) -int(1) - - int(-1) -int(-1) - * int(0) -int(0) - . string(12) "non-numeric1" -string(12) "non-numeric1" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(1) -int(1) - ^ int(1) -int(1) - << int(0) -int(0) - >> int(0) -int(0) -string(11) "non-numeric" -float(123.456) - + float(123.456) -float(123.456) - - float(-123.456) -float(-123.456) - * float(0) -float(0) - . string(18) "non-numeric123.456" -string(18) "non-numeric123.456" - / float(0) -float(0) - % int(0) -int(0) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(0) -int(0) - >> int(0) -int(0) -string(11) "non-numeric" -string(11) "non-numeric" - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(22) "non-numericnon-numeric" -string(22) "non-numericnon-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & string(11) "non-numeric" -string(11) "non-numeric" - | string(11) "non-numeric" -string(11) "non-numeric" - ^ string(11) "" -string(11) "" - << int(0) -int(0) - >> int(0) -int(0) -string(11) "non-numeric" -string(3) "789" - + int(789) -int(789) - - int(-789) -int(-789) - * int(0) -int(0) - . string(14) "non-numeric789" -string(14) "non-numeric789" - / int(0) -int(0) - % int(0) -int(0) - & string(3) "&((" -string(3) "&((" - | string(11) "-numeric" -string(11) "-numeric" - ^ string(3) "YWW" -string(3) "YWW" - << int(0) -int(0) - >> int(0) -int(0) -string(11) "non-numeric" -NULL - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(11) "non-numeric" -string(11) "non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -string(3) "789" -int(0) - + int(789) -int(789) - - int(789) -int(789) - * int(0) -int(0) - . string(4) "7890" -string(4) "7890" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(789) -int(789) - ^ int(789) -int(789) - << int(789) -int(789) - >> int(789) -int(789) -string(3) "789" -int(123) - + int(912) -int(912) - - int(666) -int(666) - * int(97047) -int(97047) - . string(6) "789123" -string(6) "789123" - / float(6.4146341463415) -float(6.4146341463415) - % int(51) -int(51) - & int(17) -int(17) - | int(895) -int(895) - ^ int(878) -int(878) - << int(-6341068275337658368) -int(-6341068275337658368) - >> int(0) -int(0) -string(3) "789" -bool(true) - + int(790) -int(790) - - int(788) -int(788) - * int(789) -int(789) - . string(4) "7891" -string(4) "7891" - / int(789) -int(789) - % int(0) -int(0) - & int(1) -int(1) - | int(789) -int(789) - ^ int(788) -int(788) - << int(1578) -int(1578) - >> int(394) -int(394) -string(3) "789" -float(123.456) - + float(912.456) -float(912.456) - - float(665.544) -float(665.544) - * float(97406.784) -float(97406.784) - . string(10) "789123.456" -string(10) "789123.456" - / float(6.3909409020218) -float(6.3909409020218) - % int(51) -int(51) - & int(17) -int(17) - | int(895) -int(895) - ^ int(878) -int(878) - << int(-6341068275337658368) -int(-6341068275337658368) - >> int(0) -int(0) -string(3) "789" -string(11) "non-numeric" - + int(789) -int(789) - - int(789) -int(789) - * int(0) -int(0) - . string(14) "789non-numeric" -string(14) "789non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & string(3) "&((" -string(3) "&((" - | string(11) "-numeric" -string(11) "-numeric" - ^ string(3) "YWW" -string(3) "YWW" - << int(789) -int(789) - >> int(789) -int(789) -string(3) "789" -string(3) "789" - + int(1578) -int(1578) - - int(0) -int(0) - * int(622521) -int(622521) - . string(6) "789789" -string(6) "789789" - / int(1) -int(1) - % int(0) -int(0) - & string(3) "789" -string(3) "789" - | string(3) "789" -string(3) "789" - ^ string(3) "" -string(3) "" - << int(1654652928) -int(1654652928) - >> int(0) -int(0) -string(3) "789" -NULL - + int(789) -int(789) - - int(789) -int(789) - * int(0) -int(0) - . string(3) "789" -string(3) "789" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(789) -int(789) - ^ int(789) -int(789) - << int(789) -int(789) - >> int(789) -int(789) -NULL -int(0) - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(1) "0" -string(1) "0" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -NULL -int(123) - + int(123) -int(123) - - int(-123) -int(-123) - * int(0) -int(0) - . string(3) "123" -string(3) "123" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(0) -int(0) - >> int(0) -int(0) -NULL -bool(true) - + int(1) -int(1) - - int(-1) -int(-1) - * int(0) -int(0) - . string(1) "1" -string(1) "1" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(1) -int(1) - ^ int(1) -int(1) - << int(0) -int(0) - >> int(0) -int(0) -NULL -float(123.456) - + float(123.456) -float(123.456) - - float(-123.456) -float(-123.456) - * float(0) -float(0) - . string(7) "123.456" -string(7) "123.456" - / float(0) -float(0) - % int(0) -int(0) - & int(0) -int(0) - | int(123) -int(123) - ^ int(123) -int(123) - << int(0) -int(0) - >> int(0) -int(0) -NULL -string(11) "non-numeric" - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(11) "non-numeric" -string(11) "non-numeric" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) -NULL -string(3) "789" - + int(789) -int(789) - - int(-789) -int(-789) - * int(0) -int(0) - . string(3) "789" -string(3) "789" - / int(0) -int(0) - % int(0) -int(0) - & int(0) -int(0) - | int(789) -int(789) - ^ int(789) -int(789) - << int(0) -int(0) - >> int(0) -int(0) -NULL -NULL - + int(0) -int(0) - - int(0) -int(0) - * int(0) -int(0) - . string(0) "" -string(0) "" - / HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 40 -bool(false) -bool(false) - % HipHop Warning: Division by zero in hphp/test/vm/SetOpH.php on line 45 -bool(false) -bool(false) - & int(0) -int(0) - | int(0) -int(0) - ^ int(0) -int(0) - << int(0) -int(0) - >> int(0) -int(0) diff --git a/hphp/test/vm/SetOpH.php.expectf b/hphp/test/vm/SetOpH.php.expectf new file mode 100644 index 000000000..db95b83fd --- /dev/null +++ b/hphp/test/vm/SetOpH.php.expectf @@ -0,0 +1,1218 @@ +int(0) +int(0) + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(2) "00" +string(2) "00" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +int(0) +int(123) + + int(123) +int(123) + - int(-123) +int(-123) + * int(0) +int(0) + . string(4) "0123" +string(4) "0123" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(0) +int(0) + >> int(0) +int(0) +int(0) +bool(true) + + int(1) +int(1) + - int(-1) +int(-1) + * int(0) +int(0) + . string(2) "01" +string(2) "01" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(1) +int(1) + ^ int(1) +int(1) + << int(0) +int(0) + >> int(0) +int(0) +int(0) +float(123.456) + + float(123.456) +float(123.456) + - float(-123.456) +float(-123.456) + * float(0) +float(0) + . string(8) "0123.456" +string(8) "0123.456" + / float(0) +float(0) + % int(0) +int(0) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(0) +int(0) + >> int(0) +int(0) +int(0) +string(11) "non-numeric" + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(12) "0non-numeric" +string(12) "0non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +int(0) +string(3) "789" + + int(789) +int(789) + - int(-789) +int(-789) + * int(0) +int(0) + . string(4) "0789" +string(4) "0789" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(789) +int(789) + ^ int(789) +int(789) + << int(0) +int(0) + >> int(0) +int(0) +int(0) +NULL + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(1) "0" +string(1) "0" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +int(123) +int(0) + + int(123) +int(123) + - int(123) +int(123) + * int(0) +int(0) + . string(4) "1230" +string(4) "1230" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(123) +int(123) + >> int(123) +int(123) +int(123) +int(123) + + int(246) +int(246) + - int(0) +int(0) + * int(15129) +int(15129) + . string(6) "123123" +string(6) "123123" + / int(1) +int(1) + % int(0) +int(0) + & int(123) +int(123) + | int(123) +int(123) + ^ int(0) +int(0) + << int(-2882303761517117440) +int(-2882303761517117440) + >> int(0) +int(0) +int(123) +bool(true) + + int(124) +int(124) + - int(122) +int(122) + * int(123) +int(123) + . string(4) "1231" +string(4) "1231" + / int(123) +int(123) + % int(0) +int(0) + & int(1) +int(1) + | int(123) +int(123) + ^ int(122) +int(122) + << int(246) +int(246) + >> int(61) +int(61) +int(123) +float(123.456) + + float(246.456) +float(246.456) + - float(-0.456) +float(-0.456) + * float(15185.088) +float(15185.088) + . string(10) "123123.456" +string(10) "123123.456" + / float(0.99630637636081) +float(0.99630637636081) + % int(0) +int(0) + & int(123) +int(123) + | int(123) +int(123) + ^ int(0) +int(0) + << int(-2882303761517117440) +int(-2882303761517117440) + >> int(0) +int(0) +int(123) +string(11) "non-numeric" + + int(123) +int(123) + - int(123) +int(123) + * int(0) +int(0) + . string(14) "123non-numeric" +string(14) "123non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(123) +int(123) + >> int(123) +int(123) +int(123) +string(3) "789" + + int(912) +int(912) + - int(-666) +int(-666) + * int(97047) +int(97047) + . string(6) "123789" +string(6) "123789" + / float(0.15589353612167) +float(0.15589353612167) + % int(123) +int(123) + & int(17) +int(17) + | int(895) +int(895) + ^ int(878) +int(878) + << int(257949696) +int(257949696) + >> int(0) +int(0) +int(123) +NULL + + int(123) +int(123) + - int(123) +int(123) + * int(0) +int(0) + . string(3) "123" +string(3) "123" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(123) +int(123) + >> int(123) +int(123) +bool(true) +int(0) + + int(1) +int(1) + - int(1) +int(1) + * int(0) +int(0) + . string(2) "10" +string(2) "10" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(1) +int(1) + ^ int(1) +int(1) + << int(1) +int(1) + >> int(1) +int(1) +bool(true) +int(123) + + int(124) +int(124) + - int(-122) +int(-122) + * int(123) +int(123) + . string(4) "1123" +string(4) "1123" + / float(0.008130081300813) +float(0.008130081300813) + % int(1) +int(1) + & int(1) +int(1) + | int(123) +int(123) + ^ int(122) +int(122) + << int(576460752303423488) +int(576460752303423488) + >> int(0) +int(0) +bool(true) +bool(true) + + int(2) +int(2) + - int(0) +int(0) + * int(1) +int(1) + . string(2) "11" +string(2) "11" + / int(1) +int(1) + % int(0) +int(0) + & int(1) +int(1) + | int(1) +int(1) + ^ int(0) +int(0) + << int(2) +int(2) + >> int(0) +int(0) +bool(true) +float(123.456) + + float(124.456) +float(124.456) + - float(-122.456) +float(-122.456) + * float(123.456) +float(123.456) + . string(8) "1123.456" +string(8) "1123.456" + / float(0.0081000518403318) +float(0.0081000518403318) + % int(1) +int(1) + & int(1) +int(1) + | int(123) +int(123) + ^ int(122) +int(122) + << int(576460752303423488) +int(576460752303423488) + >> int(0) +int(0) +bool(true) +string(11) "non-numeric" + + int(1) +int(1) + - int(1) +int(1) + * int(0) +int(0) + . string(12) "1non-numeric" +string(12) "1non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(1) +int(1) + ^ int(1) +int(1) + << int(1) +int(1) + >> int(1) +int(1) +bool(true) +string(3) "789" + + int(790) +int(790) + - int(-788) +int(-788) + * int(789) +int(789) + . string(4) "1789" +string(4) "1789" + / float(0.0012674271229404) +float(0.0012674271229404) + % int(1) +int(1) + & int(1) +int(1) + | int(789) +int(789) + ^ int(788) +int(788) + << int(2097152) +int(2097152) + >> int(0) +int(0) +bool(true) +NULL + + int(1) +int(1) + - int(1) +int(1) + * int(0) +int(0) + . string(1) "1" +string(1) "1" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(1) +int(1) + ^ int(1) +int(1) + << int(1) +int(1) + >> int(1) +int(1) +float(123.456) +int(0) + + float(123.456) +float(123.456) + - float(123.456) +float(123.456) + * float(0) +float(0) + . string(8) "123.4560" +string(8) "123.4560" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(123) +int(123) + >> int(123) +int(123) +float(123.456) +int(123) + + float(246.456) +float(246.456) + - float(0.456) +float(0.456) + * float(15185.088) +float(15185.088) + . string(10) "123.456123" +string(10) "123.456123" + / float(1.0037073170732) +float(1.0037073170732) + % int(0) +int(0) + & int(123) +int(123) + | int(123) +int(123) + ^ int(0) +int(0) + << int(-2882303761517117440) +int(-2882303761517117440) + >> int(0) +int(0) +float(123.456) +bool(true) + + float(124.456) +float(124.456) + - float(122.456) +float(122.456) + * float(123.456) +float(123.456) + . string(8) "123.4561" +string(8) "123.4561" + / float(123.456) +float(123.456) + % int(0) +int(0) + & int(1) +int(1) + | int(123) +int(123) + ^ int(122) +int(122) + << int(246) +int(246) + >> int(61) +int(61) +float(123.456) +float(123.456) + + float(246.912) +float(246.912) + - float(0) +float(0) + * float(15241.383936) +float(15241.383936) + . string(14) "123.456123.456" +string(14) "123.456123.456" + / float(1) +float(1) + % int(0) +int(0) + & int(123) +int(123) + | int(123) +int(123) + ^ int(0) +int(0) + << int(-2882303761517117440) +int(-2882303761517117440) + >> int(0) +int(0) +float(123.456) +string(11) "non-numeric" + + float(123.456) +float(123.456) + - float(123.456) +float(123.456) + * float(0) +float(0) + . string(18) "123.456non-numeric" +string(18) "123.456non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(123) +int(123) + >> int(123) +int(123) +float(123.456) +string(3) "789" + + float(912.456) +float(912.456) + - float(-665.544) +float(-665.544) + * float(97406.784) +float(97406.784) + . string(10) "123.456789" +string(10) "123.456789" + / float(0.15647148288973) +float(0.15647148288973) + % int(123) +int(123) + & int(17) +int(17) + | int(895) +int(895) + ^ int(878) +int(878) + << int(257949696) +int(257949696) + >> int(0) +int(0) +float(123.456) +NULL + + float(123.456) +float(123.456) + - float(123.456) +float(123.456) + * float(0) +float(0) + . string(7) "123.456" +string(7) "123.456" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(123) +int(123) + >> int(123) +int(123) +string(11) "non-numeric" +int(0) + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(12) "non-numeric0" +string(12) "non-numeric0" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +string(11) "non-numeric" +int(123) + + int(123) +int(123) + - int(-123) +int(-123) + * int(0) +int(0) + . string(14) "non-numeric123" +string(14) "non-numeric123" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(0) +int(0) + >> int(0) +int(0) +string(11) "non-numeric" +bool(true) + + int(1) +int(1) + - int(-1) +int(-1) + * int(0) +int(0) + . string(12) "non-numeric1" +string(12) "non-numeric1" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(1) +int(1) + ^ int(1) +int(1) + << int(0) +int(0) + >> int(0) +int(0) +string(11) "non-numeric" +float(123.456) + + float(123.456) +float(123.456) + - float(-123.456) +float(-123.456) + * float(0) +float(0) + . string(18) "non-numeric123.456" +string(18) "non-numeric123.456" + / float(0) +float(0) + % int(0) +int(0) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(0) +int(0) + >> int(0) +int(0) +string(11) "non-numeric" +string(11) "non-numeric" + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(22) "non-numericnon-numeric" +string(22) "non-numericnon-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & string(11) "non-numeric" +string(11) "non-numeric" + | string(11) "non-numeric" +string(11) "non-numeric" + ^ string(11) "" +string(11) "" + << int(0) +int(0) + >> int(0) +int(0) +string(11) "non-numeric" +string(3) "789" + + int(789) +int(789) + - int(-789) +int(-789) + * int(0) +int(0) + . string(14) "non-numeric789" +string(14) "non-numeric789" + / int(0) +int(0) + % int(0) +int(0) + & string(3) "&((" +string(3) "&((" + | string(11) "-numeric" +string(11) "-numeric" + ^ string(3) "YWW" +string(3) "YWW" + << int(0) +int(0) + >> int(0) +int(0) +string(11) "non-numeric" +NULL + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(11) "non-numeric" +string(11) "non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +string(3) "789" +int(0) + + int(789) +int(789) + - int(789) +int(789) + * int(0) +int(0) + . string(4) "7890" +string(4) "7890" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(789) +int(789) + ^ int(789) +int(789) + << int(789) +int(789) + >> int(789) +int(789) +string(3) "789" +int(123) + + int(912) +int(912) + - int(666) +int(666) + * int(97047) +int(97047) + . string(6) "789123" +string(6) "789123" + / float(6.4146341463415) +float(6.4146341463415) + % int(51) +int(51) + & int(17) +int(17) + | int(895) +int(895) + ^ int(878) +int(878) + << int(-6341068275337658368) +int(-6341068275337658368) + >> int(0) +int(0) +string(3) "789" +bool(true) + + int(790) +int(790) + - int(788) +int(788) + * int(789) +int(789) + . string(4) "7891" +string(4) "7891" + / int(789) +int(789) + % int(0) +int(0) + & int(1) +int(1) + | int(789) +int(789) + ^ int(788) +int(788) + << int(1578) +int(1578) + >> int(394) +int(394) +string(3) "789" +float(123.456) + + float(912.456) +float(912.456) + - float(665.544) +float(665.544) + * float(97406.784) +float(97406.784) + . string(10) "789123.456" +string(10) "789123.456" + / float(6.3909409020218) +float(6.3909409020218) + % int(51) +int(51) + & int(17) +int(17) + | int(895) +int(895) + ^ int(878) +int(878) + << int(-6341068275337658368) +int(-6341068275337658368) + >> int(0) +int(0) +string(3) "789" +string(11) "non-numeric" + + int(789) +int(789) + - int(789) +int(789) + * int(0) +int(0) + . string(14) "789non-numeric" +string(14) "789non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & string(3) "&((" +string(3) "&((" + | string(11) "-numeric" +string(11) "-numeric" + ^ string(3) "YWW" +string(3) "YWW" + << int(789) +int(789) + >> int(789) +int(789) +string(3) "789" +string(3) "789" + + int(1578) +int(1578) + - int(0) +int(0) + * int(622521) +int(622521) + . string(6) "789789" +string(6) "789789" + / int(1) +int(1) + % int(0) +int(0) + & string(3) "789" +string(3) "789" + | string(3) "789" +string(3) "789" + ^ string(3) "" +string(3) "" + << int(1654652928) +int(1654652928) + >> int(0) +int(0) +string(3) "789" +NULL + + int(789) +int(789) + - int(789) +int(789) + * int(0) +int(0) + . string(3) "789" +string(3) "789" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(789) +int(789) + ^ int(789) +int(789) + << int(789) +int(789) + >> int(789) +int(789) +NULL +int(0) + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(1) "0" +string(1) "0" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +NULL +int(123) + + int(123) +int(123) + - int(-123) +int(-123) + * int(0) +int(0) + . string(3) "123" +string(3) "123" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(0) +int(0) + >> int(0) +int(0) +NULL +bool(true) + + int(1) +int(1) + - int(-1) +int(-1) + * int(0) +int(0) + . string(1) "1" +string(1) "1" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(1) +int(1) + ^ int(1) +int(1) + << int(0) +int(0) + >> int(0) +int(0) +NULL +float(123.456) + + float(123.456) +float(123.456) + - float(-123.456) +float(-123.456) + * float(0) +float(0) + . string(7) "123.456" +string(7) "123.456" + / float(0) +float(0) + % int(0) +int(0) + & int(0) +int(0) + | int(123) +int(123) + ^ int(123) +int(123) + << int(0) +int(0) + >> int(0) +int(0) +NULL +string(11) "non-numeric" + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(11) "non-numeric" +string(11) "non-numeric" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) +NULL +string(3) "789" + + int(789) +int(789) + - int(-789) +int(-789) + * int(0) +int(0) + . string(3) "789" +string(3) "789" + / int(0) +int(0) + % int(0) +int(0) + & int(0) +int(0) + | int(789) +int(789) + ^ int(789) +int(789) + << int(0) +int(0) + >> int(0) +int(0) +NULL +NULL + + int(0) +int(0) + - int(0) +int(0) + * int(0) +int(0) + . string(0) "" +string(0) "" + / HipHop Warning: Division by zero in %s on line 40 +bool(false) +bool(false) + % HipHop Warning: Division by zero in %s on line 45 +bool(false) +bool(false) + & int(0) +int(0) + | int(0) +int(0) + ^ int(0) +int(0) + << int(0) +int(0) + >> int(0) +int(0) diff --git a/hphp/test/vm/SetOpM.php.exp b/hphp/test/vm/SetOpM.php.expect similarity index 100% rename from hphp/test/vm/SetOpM.php.exp rename to hphp/test/vm/SetOpM.php.expect diff --git a/hphp/test/vm/SetOpProp.php.exp b/hphp/test/vm/SetOpProp.php.exp deleted file mode 100644 index 17c4f5711..000000000 --- a/hphp/test/vm/SetOpProp.php.exp +++ /dev/null @@ -1,62 +0,0 @@ -Test begin -C Object -( - [p] => 1 - [a] => - [b] => - [q] => 1 - [r] => hello -) -In D::__get(a) -In D::__get(b) -In D::__get(q) -In D::__get(r) -D Object -( - [container:D:private] => Array - ( - [a] => D::a - [b] => 42 - ) - - [p] => 1 - [a] => D::a - [b] => 42 - [q] => 1 - [r] => hello -) -In E::__get(a) -In E::__set(a, E::a) -In E::__get(b) -In E::__set(b, 42) -In E::__get(b) -In E::__set(b, 42) -In E::__get(q) -In E::__set(q, 1) -In E::__get(r) -In E::__set(r, hello) -E Object -( - [container:E:private] => Array - ( - [a] => E::a - [b] => 42 - [q] => 1 - [r] => hello - ) - - [p] => 1 -) -HipHop Warning: Creating default object from empty value in hphp/test/vm/SetOpProp.php on line 59 -stdClass Object -( - [a] => - [b] => - [p] => 1 - [q] => 1 - [r] => hello -) -HipHop Warning: Attempt to assign property of non-object in hphp/test/vm/SetOpProp.php on line 68 -HipHop Warning: Attempt to assign property of non-object in hphp/test/vm/SetOpProp.php on line 69 -42 -Test end diff --git a/hphp/test/vm/SetOpProp.php.expectf b/hphp/test/vm/SetOpProp.php.expectf new file mode 100644 index 000000000..de6499ab2 --- /dev/null +++ b/hphp/test/vm/SetOpProp.php.expectf @@ -0,0 +1,62 @@ +Test begin +C Object +( + [p] => 1 + [a] => + [b] => + [q] => 1 + [r] => hello +) +In D::__get(a) +In D::__get(b) +In D::__get(q) +In D::__get(r) +D Object +( + [container:D:private] => Array + ( + [a] => D::a + [b] => 42 + ) + + [p] => 1 + [a] => D::a + [b] => 42 + [q] => 1 + [r] => hello +) +In E::__get(a) +In E::__set(a, E::a) +In E::__get(b) +In E::__set(b, 42) +In E::__get(b) +In E::__set(b, 42) +In E::__get(q) +In E::__set(q, 1) +In E::__get(r) +In E::__set(r, hello) +E Object +( + [container:E:private] => Array + ( + [a] => E::a + [b] => 42 + [q] => 1 + [r] => hello + ) + + [p] => 1 +) +HipHop Warning: Creating default object from empty value in %s on line 59 +stdClass Object +( + [a] => + [b] => + [p] => 1 + [q] => 1 + [r] => hello +) +HipHop Warning: Attempt to assign property of non-object in %s on line 68 +HipHop Warning: Attempt to assign property of non-object in %s on line 69 +42 +Test end diff --git a/hphp/test/vm/SetThisProp.php.exp b/hphp/test/vm/SetThisProp.php.expect similarity index 100% rename from hphp/test/vm/SetThisProp.php.exp rename to hphp/test/vm/SetThisProp.php.expect diff --git a/hphp/test/vm/Setprofile.php.expectf b/hphp/test/vm/Setprofile.php.expectf index 23504b2b2..b3a1d1704 100644 --- a/hphp/test/vm/Setprofile.php.expectf +++ b/hphp/test/vm/Setprofile.php.expectf @@ -200,7 +200,7 @@ array(3) { [0]=> array(6) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(42) ["function"]=> @@ -216,7 +216,7 @@ array(3) { [1]=> array(6) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(16) ["function"]=> @@ -232,7 +232,7 @@ array(3) { [2]=> array(4) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(37) ["function"]=> @@ -244,7 +244,7 @@ array(3) { [3]=> array(4) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(45) ["function"]=> @@ -327,7 +327,7 @@ array(3) { [0]=> array(6) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(16) ["function"]=> @@ -343,7 +343,7 @@ array(3) { [1]=> array(4) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(37) ["function"]=> @@ -355,7 +355,7 @@ array(3) { [2]=> array(4) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(45) ["function"]=> @@ -487,7 +487,7 @@ array(3) { ["previous":protected]=> NULL ["file":protected]=> - "%s" + string(%d) "%s" ["line":protected]=> int(16) ["trace":protected]=> @@ -495,7 +495,7 @@ array(3) { [0]=> array(4) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(37) ["function"]=> @@ -507,7 +507,7 @@ array(3) { [1]=> array(4) { ["file"]=> - "%s" + string(%d) "%s" ["line"]=> int(45) ["function"]=> diff --git a/hphp/test/vm/Setprofile_generic.php.exp b/hphp/test/vm/Setprofile_generic.php.expect similarity index 100% rename from hphp/test/vm/Setprofile_generic.php.exp rename to hphp/test/vm/Setprofile_generic.php.expect diff --git a/hphp/test/vm/Unset.php.exp b/hphp/test/vm/Unset.php.expect similarity index 100% rename from hphp/test/vm/Unset.php.exp rename to hphp/test/vm/Unset.php.expect diff --git a/hphp/test/vm/UnsetM.php.exp b/hphp/test/vm/UnsetM.php.expect similarity index 100% rename from hphp/test/vm/UnsetM.php.exp rename to hphp/test/vm/UnsetM.php.expect diff --git a/hphp/test/vm/UnsetProp.php.exp b/hphp/test/vm/UnsetProp.php.exp deleted file mode 100644 index 6e403ec90..000000000 --- a/hphp/test/vm/UnsetProp.php.exp +++ /dev/null @@ -1,33 +0,0 @@ -Test begin -object(F)#1 (2) { - ["foo"]=> - int(12) - ["bart"]=> - string(5) "snoot" -} -int(12) -HipHop Notice: Undefined property: F::$foo in hphp/test/vm/UnsetProp.php on line 10 -NULL -string(5) "snoot" -HipHop Notice: Undefined property: F::$bart in hphp/test/vm/UnsetProp.php on line 10 -NULL -object(F)#1 (0) { -} -object(C)#2 (2) { - ["p"]=> - string(4) "C::p" - ["q"]=> - NULL -} -In C::__unset("r") -object(C)#2 (0) { -} ------------------------- -foo ------------------------- -foo -Test end -string(4) "set1" -HipHop Notice: Undefined property: c2::$declprop in hphp/test/vm/UnsetProp.php on line 68 -NULL -string(4) "set2" diff --git a/hphp/test/vm/UnsetProp.php.expectf b/hphp/test/vm/UnsetProp.php.expectf new file mode 100644 index 000000000..3ff587e40 --- /dev/null +++ b/hphp/test/vm/UnsetProp.php.expectf @@ -0,0 +1,33 @@ +Test begin +object(F)#1 (2) { + ["foo"]=> + int(12) + ["bart"]=> + string(5) "snoot" +} +int(12) +HipHop Notice: Undefined property: F::$foo in %s on line 10 +NULL +string(5) "snoot" +HipHop Notice: Undefined property: F::$bart in %s on line 10 +NULL +object(F)#1 (0) { +} +object(C)#2 (2) { + ["p"]=> + string(4) "C::p" + ["q"]=> + NULL +} +In C::__unset("r") +object(C)#2 (0) { +} +------------------------ +foo +------------------------ +foo +Test end +string(4) "set1" +HipHop Notice: Undefined property: c2::$declprop in %s on line 68 +NULL +string(4) "set2" diff --git a/hphp/test/vm/VGetH.php.exp b/hphp/test/vm/VGetH.php.expect similarity index 100% rename from hphp/test/vm/VGetH.php.exp rename to hphp/test/vm/VGetH.php.expect diff --git a/hphp/test/vm/VGetM.php.exp b/hphp/test/vm/VGetM.php.expect similarity index 100% rename from hphp/test/vm/VGetM.php.exp rename to hphp/test/vm/VGetM.php.expect diff --git a/hphp/test/vm/Xhp.php.exp b/hphp/test/vm/Xhp.php.exp deleted file mode 100644 index df81b30a7..000000000 --- a/hphp/test/vm/Xhp.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: XHP: mismatched tag: 'ul' not the same as 'li' in hphp/test/vm/Xhp.php on line 3 diff --git a/hphp/test/vm/Xhp.php.expectf b/hphp/test/vm/Xhp.php.expectf new file mode 100644 index 000000000..b29e9ca1a --- /dev/null +++ b/hphp/test/vm/Xhp.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: XHP: mismatched tag: 'ul' not the same as 'li' in %s on line 3 diff --git a/hphp/test/vm/__call.php.exp b/hphp/test/vm/__call.php.expect similarity index 100% rename from hphp/test/vm/__call.php.exp rename to hphp/test/vm/__call.php.expect diff --git a/hphp/test/vm/__isset.php.exp b/hphp/test/vm/__isset.php.expect similarity index 100% rename from hphp/test/vm/__isset.php.exp rename to hphp/test/vm/__isset.php.expect diff --git a/hphp/test/vm/abstract_static_1.php.exp b/hphp/test/vm/abstract_static_1.php.exp deleted file mode 100644 index 3000ace07..000000000 --- a/hphp/test/vm/abstract_static_1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot call abstract method Foo::who() in hphp/test/vm/abstract_static_1.php on line 8 diff --git a/hphp/test/vm/abstract_static_1.php.expectf b/hphp/test/vm/abstract_static_1.php.expectf new file mode 100644 index 000000000..bdc9e486e --- /dev/null +++ b/hphp/test/vm/abstract_static_1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot call abstract method Foo::who() in %s on line 8 diff --git a/hphp/test/vm/abstract_static_2.php.exp b/hphp/test/vm/abstract_static_2.php.exp deleted file mode 100644 index a4a5832f9..000000000 --- a/hphp/test/vm/abstract_static_2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot call abstract method Foo::who() in hphp/test/vm/abstract_static_2.php on line 5 diff --git a/hphp/test/vm/abstract_static_2.php.expectf b/hphp/test/vm/abstract_static_2.php.expectf new file mode 100644 index 000000000..5378ce378 --- /dev/null +++ b/hphp/test/vm/abstract_static_2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot call abstract method Foo::who() in %s on line 5 diff --git a/hphp/test/vm/actrec.php.exp b/hphp/test/vm/actrec.php.expect similarity index 100% rename from hphp/test/vm/actrec.php.exp rename to hphp/test/vm/actrec.php.expect diff --git a/hphp/test/vm/alias_torture.php.exp b/hphp/test/vm/alias_torture.php.expect similarity index 100% rename from hphp/test/vm/alias_torture.php.exp rename to hphp/test/vm/alias_torture.php.expect diff --git a/hphp/test/vm/allbranches.php.exp b/hphp/test/vm/allbranches.php.expect similarity index 100% rename from hphp/test/vm/allbranches.php.exp rename to hphp/test/vm/allbranches.php.expect diff --git a/hphp/test/vm/apc.php.exp b/hphp/test/vm/apc.php.expect similarity index 100% rename from hphp/test/vm/apc.php.exp rename to hphp/test/vm/apc.php.expect diff --git a/hphp/test/vm/array-ref.php.exp b/hphp/test/vm/array-ref.php.expect similarity index 100% rename from hphp/test/vm/array-ref.php.exp rename to hphp/test/vm/array-ref.php.expect diff --git a/hphp/test/vm/array.php.exp b/hphp/test/vm/array.php.expect similarity index 100% rename from hphp/test/vm/array.php.exp rename to hphp/test/vm/array.php.expect diff --git a/hphp/test/vm/array_access.php.exp b/hphp/test/vm/array_access.php.expect similarity index 100% rename from hphp/test/vm/array_access.php.exp rename to hphp/test/vm/array_access.php.expect diff --git a/hphp/test/vm/array_callbacks.php.exp b/hphp/test/vm/array_callbacks.php.expect similarity index 100% rename from hphp/test/vm/array_callbacks.php.exp rename to hphp/test/vm/array_callbacks.php.expect diff --git a/hphp/test/vm/array_cmp.php.exp b/hphp/test/vm/array_cmp.php.expect similarity index 100% rename from hphp/test/vm/array_cmp.php.exp rename to hphp/test/vm/array_cmp.php.expect diff --git a/hphp/test/vm/array_helper_reenter.php.exp b/hphp/test/vm/array_helper_reenter.php.expect similarity index 100% rename from hphp/test/vm/array_helper_reenter.php.exp rename to hphp/test/vm/array_helper_reenter.php.expect diff --git a/hphp/test/vm/array_misc.php.exp b/hphp/test/vm/array_misc.php.expect similarity index 100% rename from hphp/test/vm/array_misc.php.exp rename to hphp/test/vm/array_misc.php.expect diff --git a/hphp/test/vm/array_pos.php.exp b/hphp/test/vm/array_pos.php.expect similarity index 100% rename from hphp/test/vm/array_pos.php.exp rename to hphp/test/vm/array_pos.php.expect diff --git a/hphp/test/vm/array_string_key.php.exp b/hphp/test/vm/array_string_key.php.expect similarity index 100% rename from hphp/test/vm/array_string_key.php.exp rename to hphp/test/vm/array_string_key.php.expect diff --git a/hphp/test/vm/array_tuple.php.exp b/hphp/test/vm/array_tuple.php.expect similarity index 100% rename from hphp/test/vm/array_tuple.php.exp rename to hphp/test/vm/array_tuple.php.expect diff --git a/hphp/test/vm/arraypairref.php.exp b/hphp/test/vm/arraypairref.php.expect similarity index 100% rename from hphp/test/vm/arraypairref.php.exp rename to hphp/test/vm/arraypairref.php.expect diff --git a/hphp/test/vm/asm_array.hhas.exp b/hphp/test/vm/asm_array.hhas.expect similarity index 100% rename from hphp/test/vm/asm_array.hhas.exp rename to hphp/test/vm/asm_array.hhas.expect diff --git a/hphp/test/vm/asm_class.hhas.exp b/hphp/test/vm/asm_class.hhas.expect similarity index 100% rename from hphp/test/vm/asm_class.hhas.exp rename to hphp/test/vm/asm_class.hhas.expect diff --git a/hphp/test/vm/asm_dvinit.hhas.exp b/hphp/test/vm/asm_dvinit.hhas.expect similarity index 100% rename from hphp/test/vm/asm_dvinit.hhas.exp rename to hphp/test/vm/asm_dvinit.hhas.expect diff --git a/hphp/test/vm/asm_fault.hhas.exp b/hphp/test/vm/asm_fault.hhas.expect similarity index 100% rename from hphp/test/vm/asm_fault.hhas.exp rename to hphp/test/vm/asm_fault.hhas.expect diff --git a/hphp/test/vm/asm_fault_endings.hhas.exp b/hphp/test/vm/asm_fault_endings.hhas.expect similarity index 100% rename from hphp/test/vm/asm_fault_endings.hhas.exp rename to hphp/test/vm/asm_fault_endings.hhas.expect diff --git a/hphp/test/vm/asm_fcall.hhas.exp b/hphp/test/vm/asm_fcall.hhas.expect similarity index 100% rename from hphp/test/vm/asm_fcall.hhas.exp rename to hphp/test/vm/asm_fcall.hhas.expect diff --git a/hphp/test/vm/asm_jumps.hhas.exp b/hphp/test/vm/asm_jumps.hhas.expect similarity index 100% rename from hphp/test/vm/asm_jumps.hhas.exp rename to hphp/test/vm/asm_jumps.hhas.expect diff --git a/hphp/test/vm/asm_prop_init.hhas.exp b/hphp/test/vm/asm_prop_init.hhas.expect similarity index 100% rename from hphp/test/vm/asm_prop_init.hhas.exp rename to hphp/test/vm/asm_prop_init.hhas.expect diff --git a/hphp/test/vm/asm_reqdoc.hhas.exp b/hphp/test/vm/asm_reqdoc.hhas.expect similarity index 100% rename from hphp/test/vm/asm_reqdoc.hhas.exp rename to hphp/test/vm/asm_reqdoc.hhas.expect diff --git a/hphp/test/vm/asm_sswitch.hhas.exp b/hphp/test/vm/asm_sswitch.hhas.expect similarity index 100% rename from hphp/test/vm/asm_sswitch.hhas.exp rename to hphp/test/vm/asm_sswitch.hhas.expect diff --git a/hphp/test/vm/asm_sswitch_slow.hhas.exp b/hphp/test/vm/asm_sswitch_slow.hhas.expect similarity index 100% rename from hphp/test/vm/asm_sswitch_slow.hhas.exp rename to hphp/test/vm/asm_sswitch_slow.hhas.expect diff --git a/hphp/test/vm/asm_stack_depth_and_jmp.hhas.exp b/hphp/test/vm/asm_stack_depth_and_jmp.hhas.expect similarity index 100% rename from hphp/test/vm/asm_stack_depth_and_jmp.hhas.exp rename to hphp/test/vm/asm_stack_depth_and_jmp.hhas.expect diff --git a/hphp/test/vm/asm_switch.hhas.exp b/hphp/test/vm/asm_switch.hhas.expect similarity index 100% rename from hphp/test/vm/asm_switch.hhas.exp rename to hphp/test/vm/asm_switch.hhas.expect diff --git a/hphp/test/vm/asm_trait.hhas.exp b/hphp/test/vm/asm_trait.hhas.expect similarity index 100% rename from hphp/test/vm/asm_trait.hhas.exp rename to hphp/test/vm/asm_trait.hhas.expect diff --git a/hphp/test/vm/autoload.php.exp b/hphp/test/vm/autoload.php.expect similarity index 100% rename from hphp/test/vm/autoload.php.exp rename to hphp/test/vm/autoload.php.expect diff --git a/hphp/test/vm/autoload2.php.exp b/hphp/test/vm/autoload2.php.expect similarity index 100% rename from hphp/test/vm/autoload2.php.exp rename to hphp/test/vm/autoload2.php.expect diff --git a/hphp/test/vm/autoload3.php.exp b/hphp/test/vm/autoload3.php.expect similarity index 100% rename from hphp/test/vm/autoload3.php.exp rename to hphp/test/vm/autoload3.php.expect diff --git a/hphp/test/vm/autoload4.php.exp b/hphp/test/vm/autoload4.php.expect similarity index 100% rename from hphp/test/vm/autoload4.php.exp rename to hphp/test/vm/autoload4.php.expect diff --git a/hphp/test/vm/autoload6.php.exp b/hphp/test/vm/autoload6.php.expect similarity index 100% rename from hphp/test/vm/autoload6.php.exp rename to hphp/test/vm/autoload6.php.expect diff --git a/hphp/test/vm/backtick.php.exp b/hphp/test/vm/backtick.php.expect similarity index 100% rename from hphp/test/vm/backtick.php.exp rename to hphp/test/vm/backtick.php.expect diff --git a/hphp/test/vm/backup_cycle_collector.php.exp b/hphp/test/vm/backup_cycle_collector.php.expect similarity index 100% rename from hphp/test/vm/backup_cycle_collector.php.exp rename to hphp/test/vm/backup_cycle_collector.php.expect diff --git a/hphp/test/vm/bitop_types.php.exp b/hphp/test/vm/bitop_types.php.expect similarity index 100% rename from hphp/test/vm/bitop_types.php.exp rename to hphp/test/vm/bitop_types.php.expect diff --git a/hphp/test/vm/bitwise.php.exp b/hphp/test/vm/bitwise.php.expect similarity index 100% rename from hphp/test/vm/bitwise.php.exp rename to hphp/test/vm/bitwise.php.expect diff --git a/hphp/test/vm/bool_types.php.exp b/hphp/test/vm/bool_types.php.expect similarity index 100% rename from hphp/test/vm/bool_types.php.exp rename to hphp/test/vm/bool_types.php.expect diff --git a/hphp/test/vm/boxed_classref.php.exp b/hphp/test/vm/boxed_classref.php.expect similarity index 100% rename from hphp/test/vm/boxed_classref.php.exp rename to hphp/test/vm/boxed_classref.php.expect diff --git a/hphp/test/vm/builtin_call.php.exp b/hphp/test/vm/builtin_call.php.expect similarity index 100% rename from hphp/test/vm/builtin_call.php.exp rename to hphp/test/vm/builtin_call.php.expect diff --git a/hphp/test/vm/builtin_recurse.php.exp b/hphp/test/vm/builtin_recurse.php.expect similarity index 100% rename from hphp/test/vm/builtin_recurse.php.exp rename to hphp/test/vm/builtin_recurse.php.expect diff --git a/hphp/test/vm/byref.php.exp b/hphp/test/vm/byref.php.expect similarity index 100% rename from hphp/test/vm/byref.php.exp rename to hphp/test/vm/byref.php.expect diff --git a/hphp/test/vm/byref2.php.exp b/hphp/test/vm/byref2.php.expect similarity index 100% rename from hphp/test/vm/byref2.php.exp rename to hphp/test/vm/byref2.php.expect diff --git a/hphp/test/vm/call10.php.exp b/hphp/test/vm/call10.php.expect similarity index 100% rename from hphp/test/vm/call10.php.exp rename to hphp/test/vm/call10.php.expect diff --git a/hphp/test/vm/call11.php.exp b/hphp/test/vm/call11.php.exp deleted file mode 100644 index 4f9614de6..000000000 --- a/hphp/test/vm/call11.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to undefined method C::foo from context C in hphp/test/vm/call11.php on line 11 diff --git a/hphp/test/vm/call11.php.expectf b/hphp/test/vm/call11.php.expectf new file mode 100644 index 000000000..c2e095d4f --- /dev/null +++ b/hphp/test/vm/call11.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Call to undefined method C::foo from context C in %s on line 11 diff --git a/hphp/test/vm/call12.php.exp b/hphp/test/vm/call12.php.exp deleted file mode 100644 index b33bb035b..000000000 --- a/hphp/test/vm/call12.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to undefined method A::foo from context B in hphp/test/vm/call12.php on line 10 diff --git a/hphp/test/vm/call12.php.expectf b/hphp/test/vm/call12.php.expectf new file mode 100644 index 000000000..abdca36a6 --- /dev/null +++ b/hphp/test/vm/call12.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Call to undefined method A::foo from context B in %s on line 10 diff --git a/hphp/test/vm/call13.php.exp b/hphp/test/vm/call13.php.exp deleted file mode 100644 index d97cd890e..000000000 --- a/hphp/test/vm/call13.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -E::__call -E::__call -E::__call -E::__call -HipHop Fatal error: Call to undefined method E::foo from anonymous context in hphp/test/vm/call13.php on line 30 diff --git a/hphp/test/vm/call13.php.expectf b/hphp/test/vm/call13.php.expectf new file mode 100644 index 000000000..ed573f8a1 --- /dev/null +++ b/hphp/test/vm/call13.php.expectf @@ -0,0 +1,5 @@ +E::__call +E::__call +E::__call +E::__call +HipHop Fatal error: Call to undefined method E::foo from anonymous context in %s on line 30 diff --git a/hphp/test/vm/call14.php.exp b/hphp/test/vm/call14.php.expect similarity index 100% rename from hphp/test/vm/call14.php.exp rename to hphp/test/vm/call14.php.expect diff --git a/hphp/test/vm/callable.php.exp b/hphp/test/vm/callable.php.expect similarity index 100% rename from hphp/test/vm/callable.php.exp rename to hphp/test/vm/callable.php.expect diff --git a/hphp/test/vm/catch-order.php.exp b/hphp/test/vm/catch-order.php.expect similarity index 100% rename from hphp/test/vm/catch-order.php.exp rename to hphp/test/vm/catch-order.php.expect diff --git a/hphp/test/vm/cgetm_ge.php.exp b/hphp/test/vm/cgetm_ge.php.exp deleted file mode 100644 index 1759ac137..000000000 --- a/hphp/test/vm/cgetm_ge.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -string(3) "bob" -int(24) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/cgetm_ge.php on line 30 -NULL -string(1) "3" -string(3) "bob" -int(24) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/cgetm_ge.php on line 35 -NULL -string(1) "3" -HipHop Notice: Undefined variable: doesnt_exist in hphp/test/vm/cgetm_ge.php on line 42 -NULL diff --git a/hphp/test/vm/cgetm_ge.php.expectf b/hphp/test/vm/cgetm_ge.php.expectf new file mode 100644 index 000000000..cb23b07c2 --- /dev/null +++ b/hphp/test/vm/cgetm_ge.php.expectf @@ -0,0 +1,12 @@ +string(3) "bob" +int(24) +HipHop Warning: Cannot use a scalar value as an array in %s on line 30 +NULL +string(1) "3" +string(3) "bob" +int(24) +HipHop Warning: Cannot use a scalar value as an array in %s on line 35 +NULL +string(1) "3" +HipHop Notice: Undefined variable: doesnt_exist in %s on line 42 +NULL diff --git a/hphp/test/vm/cgetm_hee.php.exp b/hphp/test/vm/cgetm_hee.php.exp deleted file mode 100644 index e23b138b8..000000000 --- a/hphp/test/vm/cgetm_hee.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -Constructing -NULL -string(8) "ticktick" -string(4) "woof" -HipHop Notice: Undefined index: 3 in hphp/test/vm/cgetm_hee.php on line 27 -NULL -Destructing -NULL -string(8) "tocktock" -string(4) "meow" -HipHop Notice: Undefined index: 3 in hphp/test/vm/cgetm_hee.php on line 35 -NULL -Destructing diff --git a/hphp/test/vm/cgetm_hee.php.expectf b/hphp/test/vm/cgetm_hee.php.expectf new file mode 100644 index 000000000..4999b9669 --- /dev/null +++ b/hphp/test/vm/cgetm_hee.php.expectf @@ -0,0 +1,13 @@ +Constructing +NULL +string(8) "ticktick" +string(4) "woof" +HipHop Notice: Undefined index: 3 in %s on line 27 +NULL +Destructing +NULL +string(8) "tocktock" +string(4) "meow" +HipHop Notice: Undefined index: 3 in %s on line 35 +NULL +Destructing diff --git a/hphp/test/vm/cgetm_ne.php.exp b/hphp/test/vm/cgetm_ne.php.exp deleted file mode 100644 index 7c6dc6ee3..000000000 --- a/hphp/test/vm/cgetm_ne.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -baz -HipHop Notice: Undefined variable: unknown in hphp/test/vm/cgetm_ne.php on line 9 - diff --git a/hphp/test/vm/cgetm_ne.php.expectf b/hphp/test/vm/cgetm_ne.php.expectf new file mode 100644 index 000000000..ed7818434 --- /dev/null +++ b/hphp/test/vm/cgetm_ne.php.expectf @@ -0,0 +1,3 @@ +baz +HipHop Notice: Undefined variable: unknown in %s on line 9 + diff --git a/hphp/test/vm/cgetm_retbase.php.exp b/hphp/test/vm/cgetm_retbase.php.expect similarity index 100% rename from hphp/test/vm/cgetm_retbase.php.exp rename to hphp/test/vm/cgetm_retbase.php.expect diff --git a/hphp/test/vm/class_constant_array.php.exp b/hphp/test/vm/class_constant_array.php.exp deleted file mode 100644 index 8029e2b2e..000000000 --- a/hphp/test/vm/class_constant_array.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Arrays are not allowed in class constants in hphp/test/vm/class_constant_array.php on line 6 diff --git a/hphp/test/vm/class_constant_array.php.expectf b/hphp/test/vm/class_constant_array.php.expectf new file mode 100644 index 000000000..5014e038b --- /dev/null +++ b/hphp/test/vm/class_constant_array.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Arrays are not allowed in class constants in %s on line 6 diff --git a/hphp/test/vm/class_constants.php.exp b/hphp/test/vm/class_constants.php.exp deleted file mode 100644 index e58bdeafe..000000000 --- a/hphp/test/vm/class_constants.php.exp +++ /dev/null @@ -1,26 +0,0 @@ -Test begin -int(5) -int(5) -int(6) -int(5) -string(6) "A::BAR" -string(6) "B::FOO" -string(6) "A::BAR" -string(6) "B::FOO" -string(6) "A::BAR" -string(6) "B::FOO" -string(6) "A::BAR" -HipHop Notice: Use of undefined constant WIZ - assumed 'WIZ' in hphp/test/vm/class_constants.php on line 22 -string(3) "WIZ" -string(11) "--- WIZ ---" -string(3) "WIZ" -string(3) "DCD" -int(123) -int(123) -int(123) -int(123) -int(123) -int(123) -int(711) -Test end -HipHop Fatal error: Couldn't find constant D::FakeConstant in hphp/test/vm/class_constants.php on line 98 diff --git a/hphp/test/vm/class_constants.php.expectf b/hphp/test/vm/class_constants.php.expectf new file mode 100644 index 000000000..7cb3954ba --- /dev/null +++ b/hphp/test/vm/class_constants.php.expectf @@ -0,0 +1,26 @@ +Test begin +int(5) +int(5) +int(6) +int(5) +string(6) "A::BAR" +string(6) "B::FOO" +string(6) "A::BAR" +string(6) "B::FOO" +string(6) "A::BAR" +string(6) "B::FOO" +string(6) "A::BAR" +HipHop Notice: Use of undefined constant WIZ - assumed 'WIZ' in %s on line 22 +string(3) "WIZ" +string(11) "--- WIZ ---" +string(3) "WIZ" +string(3) "DCD" +int(123) +int(123) +int(123) +int(123) +int(123) +int(123) +int(711) +Test end +HipHop Fatal error: Couldn't find constant D::FakeConstant in %s on line 98 diff --git a/hphp/test/vm/class_implements.php.exp b/hphp/test/vm/class_implements.php.expect similarity index 100% rename from hphp/test/vm/class_implements.php.exp rename to hphp/test/vm/class_implements.php.expect diff --git a/hphp/test/vm/class_interface_trait_exists.php.exp b/hphp/test/vm/class_interface_trait_exists.php.expect similarity index 100% rename from hphp/test/vm/class_interface_trait_exists.php.exp rename to hphp/test/vm/class_interface_trait_exists.php.expect diff --git a/hphp/test/vm/clone.php.exp b/hphp/test/vm/clone.php.expect similarity index 100% rename from hphp/test/vm/clone.php.exp rename to hphp/test/vm/clone.php.expect diff --git a/hphp/test/vm/closure.php.exp b/hphp/test/vm/closure.php.exp deleted file mode 100644 index 30c9eef0b..000000000 --- a/hphp/test/vm/closure.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -Use: 246 2000 -Args: 777 500 -#0 funk() called at hphp/test/vm/closure.php:17] -#1 {closure}() called at hphp/test/vm/closure.php:27] -#2 main() called at hphp/test/vm/closure.php:33] -Use: 246 4000 -Args: 888 500 -#0 funk() called at hphp/test/vm/closure.php:17] -#1 {closure}() called at hphp/test/vm/closure.php:28] -#2 main() called at hphp/test/vm/closure.php:33] -object(Closure$$main$c63402ab0b95d70460a1f123666a3382$0)#1 (2) { - ["use_by_val":"Closure$$main$c63402ab0b95d70460a1f123666a3382$0":private]=> - int(123) - ["use_by_ref":"Closure$$main$c63402ab0b95d70460a1f123666a3382$0":private]=> - &int(4000) -} -int(123) -int(4000) diff --git a/hphp/test/vm/closure.php.expectf b/hphp/test/vm/closure.php.expectf new file mode 100644 index 000000000..3e1bbbd3c --- /dev/null +++ b/hphp/test/vm/closure.php.expectf @@ -0,0 +1,18 @@ +Use: 246 2000 +Args: 777 500 +#0 funk() called at %s:17] +#1 {closure}() called at %s:27] +#2 main() called at %s:33] +Use: 246 4000 +Args: 888 500 +#0 funk() called at %s:17] +#1 {closure}() called at %s:28] +#2 main() called at %s:33] +object(Closure$%s)#1 (2) { + ["use_by_val":"Closure$%s":private]=> + int(123) + ["use_by_ref":"Closure$%s":private]=> + &int(4000) +} +int(123) +int(4000) diff --git a/hphp/test/vm/closure_class.php.exp b/hphp/test/vm/closure_class.php.expect similarity index 100% rename from hphp/test/vm/closure_class.php.exp rename to hphp/test/vm/closure_class.php.expect diff --git a/hphp/test/vm/closure_clone.php.exp b/hphp/test/vm/closure_clone.php.expect similarity index 100% rename from hphp/test/vm/closure_clone.php.exp rename to hphp/test/vm/closure_clone.php.expect diff --git a/hphp/test/vm/closure_clone_2.php.exp b/hphp/test/vm/closure_clone_2.php.expect similarity index 100% rename from hphp/test/vm/closure_clone_2.php.exp rename to hphp/test/vm/closure_clone_2.php.expect diff --git a/hphp/test/vm/closure_func_get_arg.php.exp b/hphp/test/vm/closure_func_get_arg.php.expect similarity index 100% rename from hphp/test/vm/closure_func_get_arg.php.exp rename to hphp/test/vm/closure_func_get_arg.php.expect diff --git a/hphp/test/vm/closure_gen_scope.php.exp b/hphp/test/vm/closure_gen_scope.php.expect similarity index 100% rename from hphp/test/vm/closure_gen_scope.php.exp rename to hphp/test/vm/closure_gen_scope.php.expect diff --git a/hphp/test/vm/closure_get_class.php.exp b/hphp/test/vm/closure_get_class.php.expect similarity index 100% rename from hphp/test/vm/closure_get_class.php.exp rename to hphp/test/vm/closure_get_class.php.expect diff --git a/hphp/test/vm/closure_in_generator.php.exp b/hphp/test/vm/closure_in_generator.php.expect similarity index 100% rename from hphp/test/vm/closure_in_generator.php.exp rename to hphp/test/vm/closure_in_generator.php.expect diff --git a/hphp/test/vm/closure_in_generator2.php.exp b/hphp/test/vm/closure_in_generator2.php.expect similarity index 100% rename from hphp/test/vm/closure_in_generator2.php.exp rename to hphp/test/vm/closure_in_generator2.php.expect diff --git a/hphp/test/vm/closure_private.php.exp b/hphp/test/vm/closure_private.php.expect similarity index 100% rename from hphp/test/vm/closure_private.php.exp rename to hphp/test/vm/closure_private.php.expect diff --git a/hphp/test/vm/closure_recursive.php.exp b/hphp/test/vm/closure_recursive.php.expect similarity index 100% rename from hphp/test/vm/closure_recursive.php.exp rename to hphp/test/vm/closure_recursive.php.expect diff --git a/hphp/test/vm/closure_recursive_bad.php.exp b/hphp/test/vm/closure_recursive_bad.php.exp deleted file mode 100644 index 2fb64e2e6..000000000 --- a/hphp/test/vm/closure_recursive_bad.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: $this is null in hphp/test/vm/closure_recursive_bad.php on line 6 diff --git a/hphp/test/vm/closure_recursive_bad.php.expectf b/hphp/test/vm/closure_recursive_bad.php.expectf new file mode 100644 index 000000000..b548c5782 --- /dev/null +++ b/hphp/test/vm/closure_recursive_bad.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: $this is null in %s on line 6 diff --git a/hphp/test/vm/closure_static.php.exp b/hphp/test/vm/closure_static.php.exp deleted file mode 100644 index 1c4aae8e1..000000000 --- a/hphp/test/vm/closure_static.php.exp +++ /dev/null @@ -1,34 +0,0 @@ -object(A)#1 (1) { - ["c":"A":private]=> - int(1) -} -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 13 -NULL -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 8 -NULL -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 13 -NULL -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 20 -NULL -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 25 -NULL -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 20 -NULL -HipHop Notice: Undefined variable: this in hphp/test/vm/closure_static.php on line 25 -NULL -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} diff --git a/hphp/test/vm/closure_static.php.expectf b/hphp/test/vm/closure_static.php.expectf new file mode 100644 index 000000000..f25f0ef49 --- /dev/null +++ b/hphp/test/vm/closure_static.php.expectf @@ -0,0 +1,34 @@ +object(A)#1 (1) { + ["c":"A":private]=> + int(1) +} +HipHop Notice: Undefined variable: this in %s on line 13 +NULL +HipHop Notice: Undefined variable: this in %s on line 8 +NULL +HipHop Notice: Undefined variable: this in %s on line 13 +NULL +HipHop Notice: Undefined variable: this in %s on line 20 +NULL +HipHop Notice: Undefined variable: this in %s on line 25 +NULL +HipHop Notice: Undefined variable: this in %s on line 20 +NULL +HipHop Notice: Undefined variable: this in %s on line 25 +NULL +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} diff --git a/hphp/test/vm/clsconstant_redecl1.php.exp b/hphp/test/vm/clsconstant_redecl1.php.exp deleted file mode 100644 index 46fa0f8f0..000000000 --- a/hphp/test/vm/clsconstant_redecl1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override previously defined constant A::FOO in B in hphp/test/vm/clsconstant_redecl1.php on line 7 diff --git a/hphp/test/vm/clsconstant_redecl1.php.expectf b/hphp/test/vm/clsconstant_redecl1.php.expectf new file mode 100644 index 000000000..5c0611db7 --- /dev/null +++ b/hphp/test/vm/clsconstant_redecl1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override previously defined constant A::FOO in B in %s on line 7 diff --git a/hphp/test/vm/clsconstant_redecl2.php.exp b/hphp/test/vm/clsconstant_redecl2.php.exp deleted file mode 100644 index 11b083c1b..000000000 --- a/hphp/test/vm/clsconstant_redecl2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override previously defined constant A::FOO in C in hphp/test/vm/clsconstant_redecl2.php on line 11 diff --git a/hphp/test/vm/clsconstant_redecl2.php.expectf b/hphp/test/vm/clsconstant_redecl2.php.expectf new file mode 100644 index 000000000..155075174 --- /dev/null +++ b/hphp/test/vm/clsconstant_redecl2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override previously defined constant A::FOO in C in %s on line 11 diff --git a/hphp/test/vm/clsconstant_redecl3.php.exp b/hphp/test/vm/clsconstant_redecl3.php.exp deleted file mode 100644 index 16ac1da25..000000000 --- a/hphp/test/vm/clsconstant_redecl3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override previously defined constant A::FOO in C in hphp/test/vm/clsconstant_redecl3.php on line 13 diff --git a/hphp/test/vm/clsconstant_redecl3.php.expectf b/hphp/test/vm/clsconstant_redecl3.php.expectf new file mode 100644 index 000000000..9ee24d762 --- /dev/null +++ b/hphp/test/vm/clsconstant_redecl3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override previously defined constant A::FOO in C in %s on line 13 diff --git a/hphp/test/vm/clsmethod-ctx.php.exp b/hphp/test/vm/clsmethod-ctx.php.exp deleted file mode 100644 index 3f64806b8..000000000 --- a/hphp/test/vm/clsmethod-ctx.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Private in a -HipHop Fatal error: Call to private method a::priv from anonymous context in hphp/test/vm/clsmethod-ctx.php on line 15 diff --git a/hphp/test/vm/clsmethod-ctx.php.expectf b/hphp/test/vm/clsmethod-ctx.php.expectf new file mode 100644 index 000000000..05b269e3a --- /dev/null +++ b/hphp/test/vm/clsmethod-ctx.php.expectf @@ -0,0 +1,2 @@ +Private in a +HipHop Fatal error: Call to private method a::priv from anonymous context in %s on line 15 diff --git a/hphp/test/vm/clsmethod-trait.php.exp b/hphp/test/vm/clsmethod-trait.php.exp deleted file mode 100644 index d2af98ac8..000000000 --- a/hphp/test/vm/clsmethod-trait.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Private in a -HipHop Fatal error: Call to private method a::priv from context t in hphp/test/vm/clsmethod-trait.php on line 5 diff --git a/hphp/test/vm/clsmethod-trait.php.expectf b/hphp/test/vm/clsmethod-trait.php.expectf new file mode 100644 index 000000000..33dc933a5 --- /dev/null +++ b/hphp/test/vm/clsmethod-trait.php.expectf @@ -0,0 +1,2 @@ +Private in a +HipHop Fatal error: Call to private method a::priv from context t in %s on line 5 diff --git a/hphp/test/vm/clsmethodf.php.exp b/hphp/test/vm/clsmethodf.php.exp deleted file mode 100644 index 8107b0349..000000000 --- a/hphp/test/vm/clsmethodf.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -private a::blah -public static a::stat -protected aa::blah -object(a)#1 (0) { -} -protected aa::blah -bool(false) -protected aa::blah -bool(true) -protected aa::blah -bool(false) -protected aa::blah -bool(true) -protected aa::blah -HipHop Notice: Undefined variable: this in hphp/test/vm/clsmethodf.php on line 11 -bool(true) -protected aa::blah -HipHop Notice: Undefined variable: this in hphp/test/vm/clsmethodf.php on line 11 -bool(true) -magic call to aa->fakemethod with 3 arguments -magic call to aa->fakemethod with 0 arguments diff --git a/hphp/test/vm/clsmethodf.php.expectf b/hphp/test/vm/clsmethodf.php.expectf new file mode 100644 index 000000000..55f9a316c --- /dev/null +++ b/hphp/test/vm/clsmethodf.php.expectf @@ -0,0 +1,21 @@ +private a::blah +public static a::stat +protected aa::blah +object(a)#1 (0) { +} +protected aa::blah +bool(false) +protected aa::blah +bool(true) +protected aa::blah +bool(false) +protected aa::blah +bool(true) +protected aa::blah +HipHop Notice: Undefined variable: this in %s on line 11 +bool(true) +protected aa::blah +HipHop Notice: Undefined variable: this in %s on line 11 +bool(true) +magic call to aa->fakemethod with 3 arguments +magic call to aa->fakemethod with 0 arguments diff --git a/hphp/test/vm/cmp.php.exp b/hphp/test/vm/cmp.php.expect similarity index 100% rename from hphp/test/vm/cmp.php.exp rename to hphp/test/vm/cmp.php.expect diff --git a/hphp/test/vm/cnvArr.php.exp b/hphp/test/vm/cnvArr.php.expect similarity index 100% rename from hphp/test/vm/cnvArr.php.exp rename to hphp/test/vm/cnvArr.php.expect diff --git a/hphp/test/vm/cnvBool.php.exp b/hphp/test/vm/cnvBool.php.expect similarity index 100% rename from hphp/test/vm/cnvBool.php.exp rename to hphp/test/vm/cnvBool.php.expect diff --git a/hphp/test/vm/cnvDbl.php.exp b/hphp/test/vm/cnvDbl.php.exp deleted file mode 100644 index 57b867c6c..000000000 --- a/hphp/test/vm/cnvDbl.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -float(0) -float(1) -float(1) -float(9.007199254741E+15) -float(1.1) -float(0) -float(1) -HipHop Notice: Object of class C could not be converted to int in hphp/test/vm/cnvDbl.php on line 4 -float(1) -float(0) -float(0) -float(1) -float(0) -float(1) -float(0) -float(1.1) -float(0) -HipHop Notice: Object of class C could not be converted to int in hphp/test/vm/cnvDbl.php on line 50 -float(1) -float(0) -float(1) diff --git a/hphp/test/vm/cnvDbl.php.expectf b/hphp/test/vm/cnvDbl.php.expectf new file mode 100644 index 000000000..56b31489f --- /dev/null +++ b/hphp/test/vm/cnvDbl.php.expectf @@ -0,0 +1,21 @@ +float(0) +float(1) +float(1) +float(9.007199254741E+15) +float(1.1) +float(0) +float(1) +HipHop Notice: Object of class C could not be converted to int in %s on line 4 +float(1) +float(0) +float(0) +float(1) +float(0) +float(1) +float(0) +float(1.1) +float(0) +HipHop Notice: Object of class C could not be converted to int in %s on line 50 +float(1) +float(0) +float(1) diff --git a/hphp/test/vm/cnvInt.php.exp b/hphp/test/vm/cnvInt.php.exp deleted file mode 100644 index a383b2f33..000000000 --- a/hphp/test/vm/cnvInt.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -int(0) -int(1) -int(1) -int(9007199254740992) -int(1) -int(0) -int(1) -HipHop Notice: Object of class C could not be converted to int in hphp/test/vm/cnvInt.php on line 4 -int(1) -int(0) -int(0) -int(1) -int(0) -int(1) -int(0) -int(1) -int(0) -HipHop Notice: Object of class C could not be converted to int in hphp/test/vm/cnvInt.php on line 50 -int(1) -int(0) -int(1) diff --git a/hphp/test/vm/cnvInt.php.expectf b/hphp/test/vm/cnvInt.php.expectf new file mode 100644 index 000000000..7d02f9d24 --- /dev/null +++ b/hphp/test/vm/cnvInt.php.expectf @@ -0,0 +1,21 @@ +int(0) +int(1) +int(1) +int(9007199254740992) +int(1) +int(0) +int(1) +HipHop Notice: Object of class C could not be converted to int in %s on line 4 +int(1) +int(0) +int(0) +int(1) +int(0) +int(1) +int(0) +int(1) +int(0) +HipHop Notice: Object of class C could not be converted to int in %s on line 50 +int(1) +int(0) +int(1) diff --git a/hphp/test/vm/cnvObj.php.exp b/hphp/test/vm/cnvObj.php.expect similarity index 100% rename from hphp/test/vm/cnvObj.php.exp rename to hphp/test/vm/cnvObj.php.expect diff --git a/hphp/test/vm/cnvStr.php.exp b/hphp/test/vm/cnvStr.php.exp deleted file mode 100644 index 35e48ee92..000000000 --- a/hphp/test/vm/cnvStr.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -string(0) "" -string(0) "" -string(1) "1" -string(1) "1" -string(3) "1.1" -string(3) "abc" -string(5) "Array" -string(3) "a C" -string(0) "" -string(0) "" -string(1) "1" -string(1) "0" -string(1) "1" -string(1) "0" -string(3) "1.1" -string(3) "abc" -string(3) "a C" -string(5) "Array" -string(5) "Array" -HipHop Fatal error: Bad type conversion: D::__toString() was not defined. in hphp/test/vm/cnvStr.php on line 4 diff --git a/hphp/test/vm/cnvStr.php.expectf b/hphp/test/vm/cnvStr.php.expectf new file mode 100644 index 000000000..021a3b55f --- /dev/null +++ b/hphp/test/vm/cnvStr.php.expectf @@ -0,0 +1,20 @@ +string(0) "" +string(0) "" +string(1) "1" +string(1) "1" +string(3) "1.1" +string(3) "abc" +string(5) "Array" +string(3) "a C" +string(0) "" +string(0) "" +string(1) "1" +string(1) "0" +string(1) "1" +string(1) "0" +string(3) "1.1" +string(3) "abc" +string(3) "a C" +string(5) "Array" +string(5) "Array" +HipHop Fatal error: Bad type conversion: D::__toString() was not defined. in %s on line 4 diff --git a/hphp/test/vm/collection-initializer.php.exp b/hphp/test/vm/collection-initializer.php.expect similarity index 100% rename from hphp/test/vm/collection-initializer.php.exp rename to hphp/test/vm/collection-initializer.php.expect diff --git a/hphp/test/vm/compact.php.exp b/hphp/test/vm/compact.php.expect similarity index 100% rename from hphp/test/vm/compact.php.exp rename to hphp/test/vm/compact.php.expect diff --git a/hphp/test/vm/concat.php.exp b/hphp/test/vm/concat.php.expect similarity index 100% rename from hphp/test/vm/concat.php.exp rename to hphp/test/vm/concat.php.expect diff --git a/hphp/test/vm/constIntToString.php.exp b/hphp/test/vm/constIntToString.php.expect similarity index 100% rename from hphp/test/vm/constIntToString.php.exp rename to hphp/test/vm/constIntToString.php.expect diff --git a/hphp/test/vm/const_cflow.php.exp b/hphp/test/vm/const_cflow.php.expect similarity index 100% rename from hphp/test/vm/const_cflow.php.exp rename to hphp/test/vm/const_cflow.php.expect diff --git a/hphp/test/vm/constants.php.exp b/hphp/test/vm/constants.php.exp deleted file mode 100644 index 8b132d8bc..000000000 --- a/hphp/test/vm/constants.php.exp +++ /dev/null @@ -1,70 +0,0 @@ -Test begin -HipHop Notice: Use of undefined constant CN - assumed 'CN' in hphp/test/vm/constants.php on line 16 -string(2) "CN" -HipHop Notice: Use of undefined constant CB - assumed 'CB' in hphp/test/vm/constants.php on line 17 -string(2) "CB" -HipHop Notice: Use of undefined constant CI - assumed 'CI' in hphp/test/vm/constants.php on line 18 -string(2) "CI" -HipHop Notice: Use of undefined constant CD - assumed 'CD' in hphp/test/vm/constants.php on line 19 -string(2) "CD" -HipHop Notice: Use of undefined constant CS - assumed 'CS' in hphp/test/vm/constants.php on line 20 -string(2) "CS" -Enter f() -HipHop Notice: Use of undefined constant CN - assumed 'CN' in hphp/test/vm/constants.php on line 5 -string(2) "CN" -HipHop Notice: Use of undefined constant CB - assumed 'CB' in hphp/test/vm/constants.php on line 6 -string(2) "CB" -HipHop Notice: Use of undefined constant CI - assumed 'CI' in hphp/test/vm/constants.php on line 7 -string(2) "CI" -HipHop Notice: Use of undefined constant CD - assumed 'CD' in hphp/test/vm/constants.php on line 8 -string(2) "CD" -HipHop Notice: Use of undefined constant CS - assumed 'CS' in hphp/test/vm/constants.php on line 9 -string(2) "CS" -Leave f() -HipHop Notice: Use of undefined constant CN - assumed 'CN' in hphp/test/vm/constants.php on line 22 -string(2) "CN" -HipHop Notice: Use of undefined constant CB - assumed 'CB' in hphp/test/vm/constants.php on line 23 -string(2) "CB" -HipHop Notice: Use of undefined constant CI - assumed 'CI' in hphp/test/vm/constants.php on line 24 -string(2) "CI" -HipHop Notice: Use of undefined constant CD - assumed 'CD' in hphp/test/vm/constants.php on line 25 -string(2) "CD" -HipHop Notice: Use of undefined constant CS - assumed 'CS' in hphp/test/vm/constants.php on line 26 -string(2) "CS" -Enter f() -HipHop Notice: Use of undefined constant CN - assumed 'CN' in hphp/test/vm/constants.php on line 5 -string(2) "CN" -HipHop Notice: Use of undefined constant CB - assumed 'CB' in hphp/test/vm/constants.php on line 6 -string(2) "CB" -HipHop Notice: Use of undefined constant CI - assumed 'CI' in hphp/test/vm/constants.php on line 7 -string(2) "CI" -HipHop Notice: Use of undefined constant CD - assumed 'CD' in hphp/test/vm/constants.php on line 8 -string(2) "CD" -HipHop Notice: Use of undefined constant CS - assumed 'CS' in hphp/test/vm/constants.php on line 9 -string(2) "CS" -Leave f() -NULL -bool(true) -int(42) -float(42.31) -string(10) "--- CS ---" -Enter f() -NULL -bool(true) -int(42) -float(42.31) -string(10) "--- CS ---" -Leave f() -NULL -bool(true) -int(42) -float(42.31) -string(10) "--- CS ---" -Enter f() -NULL -bool(true) -int(42) -float(42.31) -string(10) "--- CS ---" -Leave f() -Test end diff --git a/hphp/test/vm/constants.php.expectf b/hphp/test/vm/constants.php.expectf new file mode 100644 index 000000000..f1f1dab57 --- /dev/null +++ b/hphp/test/vm/constants.php.expectf @@ -0,0 +1,70 @@ +Test begin +HipHop Notice: Use of undefined constant CN - assumed 'CN' in %s on line 16 +string(2) "CN" +HipHop Notice: Use of undefined constant CB - assumed 'CB' in %s on line 17 +string(2) "CB" +HipHop Notice: Use of undefined constant CI - assumed 'CI' in %s on line 18 +string(2) "CI" +HipHop Notice: Use of undefined constant CD - assumed 'CD' in %s on line 19 +string(2) "CD" +HipHop Notice: Use of undefined constant CS - assumed 'CS' in %s on line 20 +string(2) "CS" +Enter f() +HipHop Notice: Use of undefined constant CN - assumed 'CN' in %s on line 5 +string(2) "CN" +HipHop Notice: Use of undefined constant CB - assumed 'CB' in %s on line 6 +string(2) "CB" +HipHop Notice: Use of undefined constant CI - assumed 'CI' in %s on line 7 +string(2) "CI" +HipHop Notice: Use of undefined constant CD - assumed 'CD' in %s on line 8 +string(2) "CD" +HipHop Notice: Use of undefined constant CS - assumed 'CS' in %s on line 9 +string(2) "CS" +Leave f() +HipHop Notice: Use of undefined constant CN - assumed 'CN' in %s on line 22 +string(2) "CN" +HipHop Notice: Use of undefined constant CB - assumed 'CB' in %s on line 23 +string(2) "CB" +HipHop Notice: Use of undefined constant CI - assumed 'CI' in %s on line 24 +string(2) "CI" +HipHop Notice: Use of undefined constant CD - assumed 'CD' in %s on line 25 +string(2) "CD" +HipHop Notice: Use of undefined constant CS - assumed 'CS' in %s on line 26 +string(2) "CS" +Enter f() +HipHop Notice: Use of undefined constant CN - assumed 'CN' in %s on line 5 +string(2) "CN" +HipHop Notice: Use of undefined constant CB - assumed 'CB' in %s on line 6 +string(2) "CB" +HipHop Notice: Use of undefined constant CI - assumed 'CI' in %s on line 7 +string(2) "CI" +HipHop Notice: Use of undefined constant CD - assumed 'CD' in %s on line 8 +string(2) "CD" +HipHop Notice: Use of undefined constant CS - assumed 'CS' in %s on line 9 +string(2) "CS" +Leave f() +NULL +bool(true) +int(42) +float(42.31) +string(10) "--- CS ---" +Enter f() +NULL +bool(true) +int(42) +float(42.31) +string(10) "--- CS ---" +Leave f() +NULL +bool(true) +int(42) +float(42.31) +string(10) "--- CS ---" +Enter f() +NULL +bool(true) +int(42) +float(42.31) +string(10) "--- CS ---" +Leave f() +Test end diff --git a/hphp/test/vm/continuation-funcname.php.exp b/hphp/test/vm/continuation-funcname.php.expect similarity index 100% rename from hphp/test/vm/continuation-funcname.php.exp rename to hphp/test/vm/continuation-funcname.php.expect diff --git a/hphp/test/vm/continuation_inherit.php.exp b/hphp/test/vm/continuation_inherit.php.exp deleted file mode 100644 index 75a7ca92e..000000000 --- a/hphp/test/vm/continuation_inherit.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -bool(true) -HipHop Fatal error: Class HerpDerp may not inherit from final class (Continuation) in hphp/test/vm/continuation_inherit.php on line 4 diff --git a/hphp/test/vm/continuation_inherit.php.expectf b/hphp/test/vm/continuation_inherit.php.expectf new file mode 100644 index 000000000..4af7c50a5 --- /dev/null +++ b/hphp/test/vm/continuation_inherit.php.expectf @@ -0,0 +1,2 @@ +bool(true) +HipHop Fatal error: Class HerpDerp may not inherit from final class (Continuation) in %s on line 4 diff --git a/hphp/test/vm/continue.php.exp b/hphp/test/vm/continue.php.expect similarity index 100% rename from hphp/test/vm/continue.php.exp rename to hphp/test/vm/continue.php.expect diff --git a/hphp/test/vm/countable.php.exp b/hphp/test/vm/countable.php.expect similarity index 100% rename from hphp/test/vm/countable.php.exp rename to hphp/test/vm/countable.php.expect diff --git a/hphp/test/vm/coverage.php.exp b/hphp/test/vm/coverage.php.exp deleted file mode 100644 index f62e59ce3..000000000 --- a/hphp/test/vm/coverage.php.exp +++ /dev/null @@ -1,63 +0,0 @@ -About to enable -Going to enable -Enabled -Done enabling -array(1) { - hphp/test/vm/coverage.php"]=> - array(27) { - [4]=> - int(4) - [5]=> - int(3) - [7]=> - int(1) - [8]=> - int(1) - [12]=> - int(4) - [13]=> - int(3) - [15]=> - int(1) - [16]=> - int(3) - [17]=> - int(8) - [18]=> - int(4) - [21]=> - int(10) - [22]=> - int(8) - [23]=> - int(4) - [24]=> - int(4) - [25]=> - int(5) - [26]=> - int(1) - [30]=> - int(1) - [31]=> - int(1) - [32]=> - int(1) - [33]=> - int(1) - [37]=> - int(1) - [38]=> - int(1) - [39]=> - int(1) - [43]=> - int(1) - [44]=> - int(1) - [45]=> - int(2) - [46]=> - int(1) - } -} diff --git a/hphp/test/vm/coverage.php.expectf b/hphp/test/vm/coverage.php.expectf new file mode 100644 index 000000000..caca0a46d --- /dev/null +++ b/hphp/test/vm/coverage.php.expectf @@ -0,0 +1,63 @@ +About to enable +Going to enable +Enabled +Done enabling +array(1) { + ["%s"]=> + array(27) { + [4]=> + int(4) + [5]=> + int(3) + [7]=> + int(1) + [8]=> + int(1) + [12]=> + int(4) + [13]=> + int(3) + [15]=> + int(1) + [16]=> + int(3) + [17]=> + int(8) + [18]=> + int(4) + [21]=> + int(10) + [22]=> + int(8) + [23]=> + int(4) + [24]=> + int(4) + [25]=> + int(5) + [26]=> + int(1) + [30]=> + int(1) + [31]=> + int(1) + [32]=> + int(1) + [33]=> + int(1) + [37]=> + int(1) + [38]=> + int(1) + [39]=> + int(1) + [43]=> + int(1) + [44]=> + int(1) + [45]=> + int(2) + [46]=> + int(1) + } +} diff --git a/hphp/test/vm/create_function.php.exp b/hphp/test/vm/create_function.php.expect similarity index 100% rename from hphp/test/vm/create_function.php.exp rename to hphp/test/vm/create_function.php.expect diff --git a/hphp/test/vm/crossUnitRefs.php.exp b/hphp/test/vm/crossUnitRefs.php.expect similarity index 100% rename from hphp/test/vm/crossUnitRefs.php.exp rename to hphp/test/vm/crossUnitRefs.php.expect diff --git a/hphp/test/vm/crossUnitRefsInc.php.exp b/hphp/test/vm/crossUnitRefsInc.php.expect similarity index 100% rename from hphp/test/vm/crossUnitRefsInc.php.exp rename to hphp/test/vm/crossUnitRefsInc.php.expect diff --git a/hphp/test/vm/cuf-call10.php.exp b/hphp/test/vm/cuf-call10.php.exp deleted file mode 100644 index bcc43dc2e..000000000 --- a/hphp/test/vm/cuf-call10.php.exp +++ /dev/null @@ -1,146 +0,0 @@ -string(1) "a" -string(1) "b" - -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -string(1) "a" -string(1) "b" - -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -C2::__call -bool(true) -string(1) "a" -string(1) "b" - -C2::__call -bool(true) -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -C2::__call -bool(true) -string(1) "a" -string(1) "b" - -C2::__call -bool(true) -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 53 -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 55 -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -A5::foo -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 104 -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 105 -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 153 -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 154 -E9::__call -E9::__call -E9::__call -E9::__call -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call10.php on line 194 diff --git a/hphp/test/vm/cuf-call10.php.expectf b/hphp/test/vm/cuf-call10.php.expectf new file mode 100644 index 000000000..94458e7cb --- /dev/null +++ b/hphp/test/vm/cuf-call10.php.expectf @@ -0,0 +1,146 @@ +string(1) "a" +string(1) "b" + +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +string(1) "a" +string(1) "b" + +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +C2::__call +bool(true) +string(1) "a" +string(1) "b" + +C2::__call +bool(true) +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +C2::__call +bool(true) +string(1) "a" +string(1) "b" + +C2::__call +bool(true) +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 53 +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 55 +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +A5::foo +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 104 +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 105 +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 153 +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 154 +E9::__call +E9::__call +E9::__call +E9::__call +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 194 diff --git a/hphp/test/vm/cuf-call11.php.exp b/hphp/test/vm/cuf-call11.php.exp deleted file mode 100644 index 2d4740c71..000000000 --- a/hphp/test/vm/cuf-call11.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -D1::foo true -D1::foo true -D2::foo false -D2::foo false -D3::foo false -D3::foo false -D4::foo false -D4::foo false -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call11.php on line 97 -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf-call11.php on line 98 diff --git a/hphp/test/vm/cuf-call11.php.expectf b/hphp/test/vm/cuf-call11.php.expectf new file mode 100644 index 000000000..16143a785 --- /dev/null +++ b/hphp/test/vm/cuf-call11.php.expectf @@ -0,0 +1,10 @@ +D1::foo true +D1::foo true +D2::foo false +D2::foo false +D3::foo false +D3::foo false +D4::foo false +D4::foo false +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 97 +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 98 diff --git a/hphp/test/vm/cuf.php.exp b/hphp/test/vm/cuf.php.exp deleted file mode 100644 index 95959bde8..000000000 --- a/hphp/test/vm/cuf.php.exp +++ /dev/null @@ -1,362 +0,0 @@ -############# testFoo1 ############## -B D D -C D D -D D D -F F -G G -H H -B D D -C D D -D D D -**************** -B D D -C D D -D D D -F F -G G -H H -B D D -C D D -D D D -**************** -B D D -C D D -D D D -F F -G G -H H -B D D -C D D -D D D -**************** -B D D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 119 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 120 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 121 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 122 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 123 -HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in hphp/test/vm/cuf.php on line 124 -A D D -HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in hphp/test/vm/cuf.php on line 125 -B D D -HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in hphp/test/vm/cuf.php on line 126 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 126 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 128 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 129 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 130 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 133 -HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in hphp/test/vm/cuf.php on line 134 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in hphp/test/vm/cuf.php on line 135 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in hphp/test/vm/cuf.php on line 136 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 136 -**************** -B B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 141 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 142 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 143 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 144 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 145 -A B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 148 -**************** -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 152 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 153 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 154 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 157 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 160 -**************** -############# testFoo2 ############## -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 196 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 197 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 198 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 199 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 200 -HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in hphp/test/vm/cuf.php on line 201 -A D -HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in hphp/test/vm/cuf.php on line 202 -B D -HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in hphp/test/vm/cuf.php on line 203 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 203 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 205 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 206 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 207 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 210 -HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in hphp/test/vm/cuf.php on line 211 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in hphp/test/vm/cuf.php on line 212 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in hphp/test/vm/cuf.php on line 213 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 213 -**************** -B B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 218 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 219 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 220 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 221 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 222 -A B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 225 -**************** -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 229 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 230 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 231 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 234 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 237 -**************** -############# testBar1 ############## -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 273 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 274 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 275 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 276 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 277 -HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in hphp/test/vm/cuf.php on line 278 -A D -HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in hphp/test/vm/cuf.php on line 279 -B D -HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in hphp/test/vm/cuf.php on line 280 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 280 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 282 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 283 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 284 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 287 -HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in hphp/test/vm/cuf.php on line 288 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in hphp/test/vm/cuf.php on line 289 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in hphp/test/vm/cuf.php on line 290 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 290 -**************** -B B -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 295 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 296 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 297 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 298 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 299 -A B -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 302 -**************** -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 306 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 307 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 308 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 311 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 314 -**************** -############# testBar2 ############## -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 350 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 351 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 352 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 353 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 354 -HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in hphp/test/vm/cuf.php on line 355 -A D -HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in hphp/test/vm/cuf.php on line 356 -B D -HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in hphp/test/vm/cuf.php on line 357 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 357 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 359 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 360 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 361 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 364 -HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in hphp/test/vm/cuf.php on line 365 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in hphp/test/vm/cuf.php on line 366 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in hphp/test/vm/cuf.php on line 367 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 367 -**************** -B B -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 372 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 373 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/cuf.php on line 374 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/cuf.php on line 375 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 376 -A B -B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 379 -**************** -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/cuf.php on line 383 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/cuf.php on line 384 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 385 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/cuf.php on line 388 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/cuf.php on line 391 -**************** -############# doFoo ############## -B B B -B B B -C C -D D -F F -G G -H H -A B B -B B B -B B B -**************** -G G G -B B -C C -D D -F G G -G G G -H H -F G G -G G G -G G G -**************** -############# doBar ############## -B B -B B -C C -D D -F F -G G -H H -A B -B B -B B -**************** -G G -B B -C C -D D -F F -G G -H H -F G -G G -G G -**************** diff --git a/hphp/test/vm/cuf.php.expectf b/hphp/test/vm/cuf.php.expectf new file mode 100644 index 000000000..9e203323e --- /dev/null +++ b/hphp/test/vm/cuf.php.expectf @@ -0,0 +1,362 @@ +############# testFoo1 ############## +B D D +C D D +D D D +F F +G G +H H +B D D +C D D +D D D +**************** +B D D +C D D +D D D +F F +G G +H H +B D D +C D D +D D D +**************** +B D D +C D D +D D D +F F +G G +H H +B D D +C D D +D D D +**************** +B D D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 119 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 120 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 121 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 122 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 123 +HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in %s on line 124 +A D D +HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in %s on line 125 +B D D +HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in %s on line 126 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 126 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 128 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 129 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 130 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 133 +HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in %s on line 134 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in %s on line 135 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in %s on line 136 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 136 +**************** +B B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 141 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 142 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 143 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 144 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 145 +A B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 148 +**************** +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 152 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 153 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 154 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 157 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 160 +**************** +############# testFoo2 ############## +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 196 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 197 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 198 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 199 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 200 +HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in %s on line 201 +A D +HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in %s on line 202 +B D +HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in %s on line 203 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 203 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 205 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 206 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 207 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 210 +HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in %s on line 211 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in %s on line 212 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in %s on line 213 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 213 +**************** +B B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 218 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 219 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 220 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 221 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 222 +A B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 225 +**************** +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 229 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 230 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 231 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 234 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 237 +**************** +############# testBar1 ############## +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 273 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 274 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 275 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 276 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 277 +HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in %s on line 278 +A D +HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in %s on line 279 +B D +HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in %s on line 280 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 280 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 282 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 283 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 284 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 287 +HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in %s on line 288 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in %s on line 289 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in %s on line 290 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 290 +**************** +B B +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 295 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 296 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 297 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 298 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 299 +A B +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 302 +**************** +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 306 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 307 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 308 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 311 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 314 +**************** +############# testBar2 ############## +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 350 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 351 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 352 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 353 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 354 +HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in %s on line 355 +A D +HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in %s on line 356 +B D +HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in %s on line 357 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 357 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 359 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 360 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 361 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 364 +HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in %s on line 365 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in %s on line 366 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in %s on line 367 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 367 +**************** +B B +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 372 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 373 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 374 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 375 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 376 +A B +B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 379 +**************** +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 383 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 384 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 385 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 388 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 391 +**************** +############# doFoo ############## +B B B +B B B +C C +D D +F F +G G +H H +A B B +B B B +B B B +**************** +G G G +B B +C C +D D +F G G +G G G +H H +F G G +G G G +G G G +**************** +############# doBar ############## +B B +B B +C C +D D +F F +G G +H H +A B +B B +B B +**************** +G G +B B +C C +D D +F F +G G +H H +F G +G G +G G +**************** diff --git a/hphp/test/vm/cuf01.php.exp b/hphp/test/vm/cuf01.php.expect similarity index 100% rename from hphp/test/vm/cuf01.php.exp rename to hphp/test/vm/cuf01.php.expect diff --git a/hphp/test/vm/cuf02.php.exp b/hphp/test/vm/cuf02.php.expect similarity index 100% rename from hphp/test/vm/cuf02.php.exp rename to hphp/test/vm/cuf02.php.expect diff --git a/hphp/test/vm/cuf03.php.exp b/hphp/test/vm/cuf03.php.exp deleted file mode 100644 index 9f0cfc6ea..000000000 --- a/hphp/test/vm/cuf03.php.exp +++ /dev/null @@ -1,38 +0,0 @@ -C::foo -string(1) "C" -C::foo -string(1) "C" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in hphp/test/vm/cuf03.php on line 20 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in hphp/test/vm/cuf03.php on line 21 -C::bar -string(1) "C" -C::bar -string(1) "C" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in hphp/test/vm/cuf03.php on line 25 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in hphp/test/vm/cuf03.php on line 26 -D::foo -string(1) "D" -C::foo -string(1) "D" -D::foo -string(1) "D" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in hphp/test/vm/cuf03.php on line 32 -D::bar -string(1) "D" -C::bar -string(1) "D" -D::bar -string(1) "D" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in hphp/test/vm/cuf03.php on line 37 -E::foo -string(1) "E" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in hphp/test/vm/cuf03.php on line 41 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in hphp/test/vm/cuf03.php on line 42 -E::foo -string(1) "E" -E::bar -string(1) "E" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in hphp/test/vm/cuf03.php on line 46 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in hphp/test/vm/cuf03.php on line 47 -E::bar -string(1) "E" diff --git a/hphp/test/vm/cuf03.php.expectf b/hphp/test/vm/cuf03.php.expectf new file mode 100644 index 000000000..f0ac0e1a9 --- /dev/null +++ b/hphp/test/vm/cuf03.php.expectf @@ -0,0 +1,38 @@ +C::foo +string(1) "C" +C::foo +string(1) "C" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in %s on line 20 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in %s on line 21 +C::bar +string(1) "C" +C::bar +string(1) "C" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in %s on line 25 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in %s on line 26 +D::foo +string(1) "D" +C::foo +string(1) "D" +D::foo +string(1) "D" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in %s on line 32 +D::bar +string(1) "D" +C::bar +string(1) "D" +D::bar +string(1) "D" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in %s on line 37 +E::foo +string(1) "E" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in %s on line 41 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in %s on line 42 +E::foo +string(1) "E" +E::bar +string(1) "E" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in %s on line 46 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in %s on line 47 +E::bar +string(1) "E" diff --git a/hphp/test/vm/cuf04.php.exp b/hphp/test/vm/cuf04.php.exp deleted file mode 100644 index e9c73a2c0..000000000 --- a/hphp/test/vm/cuf04.php.exp +++ /dev/null @@ -1,38 +0,0 @@ -C::foo -string(1) "C" -C::foo -string(1) "C" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in hphp/test/vm/cuf04.php on line 19 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in hphp/test/vm/cuf04.php on line 20 -C::bar -string(1) "C" -C::bar -string(1) "C" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in hphp/test/vm/cuf04.php on line 24 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in hphp/test/vm/cuf04.php on line 25 -D::foo -string(1) "D" -C::foo -string(1) "C" -D::foo -string(1) "D" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in hphp/test/vm/cuf04.php on line 30 -D::bar -string(1) "D" -C::bar -string(1) "C" -D::bar -string(1) "D" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in hphp/test/vm/cuf04.php on line 35 -E::foo -string(1) "E" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in hphp/test/vm/cuf04.php on line 38 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in hphp/test/vm/cuf04.php on line 39 -E::foo -string(1) "E" -E::bar -string(1) "E" -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in hphp/test/vm/cuf04.php on line 43 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in hphp/test/vm/cuf04.php on line 44 -E::bar -string(1) "E" diff --git a/hphp/test/vm/cuf04.php.expectf b/hphp/test/vm/cuf04.php.expectf new file mode 100644 index 000000000..431c0337c --- /dev/null +++ b/hphp/test/vm/cuf04.php.expectf @@ -0,0 +1,38 @@ +C::foo +string(1) "C" +C::foo +string(1) "C" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in %s on line 19 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in %s on line 20 +C::bar +string(1) "C" +C::bar +string(1) "C" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'D' in %s on line 24 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'C' is not a subclass of 'E' in %s on line 25 +D::foo +string(1) "D" +C::foo +string(1) "C" +D::foo +string(1) "D" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in %s on line 30 +D::bar +string(1) "D" +C::bar +string(1) "C" +D::bar +string(1) "D" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'D' is not a subclass of 'E' in %s on line 35 +E::foo +string(1) "E" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in %s on line 38 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in %s on line 39 +E::foo +string(1) "E" +E::bar +string(1) "E" +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'C' in %s on line 43 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'E' is not a subclass of 'D' in %s on line 44 +E::bar +string(1) "E" diff --git a/hphp/test/vm/cuf05.php.exp b/hphp/test/vm/cuf05.php.exp deleted file mode 100644 index 2e5437363..000000000 --- a/hphp/test/vm/cuf05.php.exp +++ /dev/null @@ -1,55 +0,0 @@ -int(1) -int(1) -array(1) { - [0]=> - &int(1) -} -array(2) { - [0]=> - bool(true) - [1]=> - int(1) -} -int(1) -array(2) { - [0]=> - bool(true) - [1]=> - int(1) -} -array(1) { - [0]=> - &int(1) -} -int(1) -array(1) { - [0]=> - &int(1) -} -HipHop Warning: Parameter 1 to bar() expected to be a reference, value given in hphp/test/vm/cuf05.php on line 13 -int(1) -array(1) { - [0]=> - int(1) -} -array(1) { - [0]=> - int(1) -} -HipHop Warning: Invalid argument: function: method 'baz' not found in hphp/test/vm/cuf05.php on line 18 -NULL -HipHop Warning: Invalid argument: function: method 'baz' not found in hphp/test/vm/cuf05.php on line 19 -NULL -array(2) { - [0]=> - bool(false) - [1]=> - NULL -} -array(2) { - [0]=> - bool(false) - [1]=> - NULL -} -string(6) "foobar" diff --git a/hphp/test/vm/cuf05.php.expectf b/hphp/test/vm/cuf05.php.expectf new file mode 100644 index 000000000..ee405ad03 --- /dev/null +++ b/hphp/test/vm/cuf05.php.expectf @@ -0,0 +1,55 @@ +int(1) +int(1) +array(1) { + [0]=> + &int(1) +} +array(2) { + [0]=> + bool(true) + [1]=> + int(1) +} +int(1) +array(2) { + [0]=> + bool(true) + [1]=> + int(1) +} +array(1) { + [0]=> + &int(1) +} +int(1) +array(1) { + [0]=> + &int(1) +} +HipHop Warning: Parameter 1 to bar() expected to be a reference, value given in %s on line 13 +int(1) +array(1) { + [0]=> + int(1) +} +array(1) { + [0]=> + int(1) +} +HipHop Warning: Invalid argument: function: method 'baz' not found in %s on line 18 +NULL +HipHop Warning: Invalid argument: function: method 'baz' not found in %s on line 19 +NULL +array(2) { + [0]=> + bool(false) + [1]=> + NULL +} +array(2) { + [0]=> + bool(false) + [1]=> + NULL +} +string(6) "foobar" diff --git a/hphp/test/vm/cuf06.php.exp b/hphp/test/vm/cuf06.php.expect similarity index 100% rename from hphp/test/vm/cuf06.php.exp rename to hphp/test/vm/cuf06.php.expect diff --git a/hphp/test/vm/cuf07.php.exp b/hphp/test/vm/cuf07.php.expect similarity index 100% rename from hphp/test/vm/cuf07.php.exp rename to hphp/test/vm/cuf07.php.expect diff --git a/hphp/test/vm/cuf__callStatic1.php.exp b/hphp/test/vm/cuf__callStatic1.php.exp deleted file mode 100644 index 54b51cb9e..000000000 --- a/hphp/test/vm/cuf__callStatic1.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -In A::__callStatic -In A::__callStatic -In A::__callStatic -In A::__callStatic -In A::__callStatic -In A::__callStatic -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf__callStatic1.php on line 33 -In A::__callStatic -In A::__callStatic -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf__callStatic1.php on line 22 diff --git a/hphp/test/vm/cuf__callStatic1.php.expectf b/hphp/test/vm/cuf__callStatic1.php.expectf new file mode 100644 index 000000000..1bf84dd35 --- /dev/null +++ b/hphp/test/vm/cuf__callStatic1.php.expectf @@ -0,0 +1,10 @@ +In A::__callStatic +In A::__callStatic +In A::__callStatic +In A::__callStatic +In A::__callStatic +In A::__callStatic +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 33 +In A::__callStatic +In A::__callStatic +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 22 diff --git a/hphp/test/vm/cuf__callStatic2.php.exp b/hphp/test/vm/cuf__callStatic2.php.expect similarity index 100% rename from hphp/test/vm/cuf__callStatic2.php.exp rename to hphp/test/vm/cuf__callStatic2.php.expect diff --git a/hphp/test/vm/cuf__callStatic3.php.exp b/hphp/test/vm/cuf__callStatic3.php.expect similarity index 100% rename from hphp/test/vm/cuf__callStatic3.php.exp rename to hphp/test/vm/cuf__callStatic3.php.expect diff --git a/hphp/test/vm/cuf__callStatic4.php.exp b/hphp/test/vm/cuf__callStatic4.php.exp deleted file mode 100644 index 4be636097..000000000 --- a/hphp/test/vm/cuf__callStatic4.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -__callStatic: Test -__callStatic: Test -HipHop Warning: Invalid argument: function: method 'Test' not found in hphp/test/vm/cuf__callStatic4.php on line 18 diff --git a/hphp/test/vm/cuf__callStatic4.php.expectf b/hphp/test/vm/cuf__callStatic4.php.expectf new file mode 100644 index 000000000..cd5e1e3c4 --- /dev/null +++ b/hphp/test/vm/cuf__callStatic4.php.expectf @@ -0,0 +1,3 @@ +__callStatic: Test +__callStatic: Test +HipHop Warning: Invalid argument: function: method 'Test' not found in %s on line 18 diff --git a/hphp/test/vm/cuf__callStatic5.php.exp b/hphp/test/vm/cuf__callStatic5.php.exp deleted file mode 100644 index 5b4d4512a..000000000 --- a/hphp/test/vm/cuf__callStatic5.php.exp +++ /dev/null @@ -1,182 +0,0 @@ -string(1) "a" -string(1) "b" - -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -string(1) "a" -string(1) "b" - -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -C2::__callStatic -string(1) "a" -string(1) "b" - -C2::__callStatic -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -C2::__callStatic -string(1) "a" -string(1) "b" - -C2::__callStatic -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -C3::__callStatic -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -C3::__callStatic -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -string(3) "foo" -array(4) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" - [3]=> - string(1) "d" -} - -A5::foo -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf__callStatic5.php on line 101 -HipHop Warning: Invalid argument: function: method 'foo' not found in hphp/test/vm/cuf__callStatic5.php on line 102 -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(3) "foo" -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -E9::__callStatic -E9::__callStatic -E9::__callStatic -E9::__callStatic -D9::__callStatic diff --git a/hphp/test/vm/cuf__callStatic5.php.expectf b/hphp/test/vm/cuf__callStatic5.php.expectf new file mode 100644 index 000000000..b913dcfc4 --- /dev/null +++ b/hphp/test/vm/cuf__callStatic5.php.expectf @@ -0,0 +1,182 @@ +string(1) "a" +string(1) "b" + +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +string(1) "a" +string(1) "b" + +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +C2::__callStatic +string(1) "a" +string(1) "b" + +C2::__callStatic +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +C2::__callStatic +string(1) "a" +string(1) "b" + +C2::__callStatic +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +C3::__callStatic +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +C3::__callStatic +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +string(3) "foo" +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" + [3]=> + string(1) "d" +} + +A5::foo +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 101 +HipHop Warning: Invalid argument: function: method 'foo' not found in %s on line 102 +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(3) "foo" +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +E9::__callStatic +E9::__callStatic +E9::__callStatic +E9::__callStatic +D9::__callStatic diff --git a/hphp/test/vm/datetime.php.exp b/hphp/test/vm/datetime.php.expect similarity index 100% rename from hphp/test/vm/datetime.php.exp rename to hphp/test/vm/datetime.php.expect diff --git a/hphp/test/vm/debug_backtrace.php.exp b/hphp/test/vm/debug_backtrace.php.exp deleted file mode 100644 index af53b3373..000000000 --- a/hphp/test/vm/debug_backtrace.php.exp +++ /dev/null @@ -1,217 +0,0 @@ -array(5) { - [0]=> - array(6) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(9) - ["function"]=> - string(3) "foo" - ["class"]=> - string(1) "A" - ["type"]=> - string(2) "::" - ["args"]=> - array(0) { - } - } - [1]=> - array(7) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(15) - ["function"]=> - string(3) "bar" - ["class"]=> - string(1) "A" - ["object"]=> - object(A)#1 (0) { - } - ["type"]=> - string(2) "->" - ["args"]=> - array(3) { - [0]=> - int(1) - [1]=> - string(3) "str" - [2]=> - array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - } - } - } - [2]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(20) - ["function"]=> - string(3) "bar" - ["args"]=> - array(0) { - } - } - [3]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(29) - ["function"]=> - string(3) "foo" - ["args"]=> - array(0) { - } - } - [4]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(34) - ["function"]=> - string(4) "main" - ["args"]=> - array(0) { - } - } -} -array(5) { - [0]=> - array(6) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(9) - ["function"]=> - string(3) "foo" - ["class"]=> - string(1) "A" - ["type"]=> - string(2) "::" - ["args"]=> - array(0) { - } - } - [1]=> - array(5) { - ["function"]=> - string(3) "bar" - ["class"]=> - string(1) "A" - ["object"]=> - object(A)#1 (0) { - } - ["type"]=> - string(2) "->" - ["args"]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - } - [2]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(20) - ["function"]=> - string(3) "bar" - ["args"]=> - array(0) { - } - } - [3]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(29) - ["function"]=> - string(3) "foo" - ["args"]=> - array(0) { - } - } - [4]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(34) - ["function"]=> - string(4) "main" - ["args"]=> - array(0) { - } - } -} -array(2) { - [0]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(32) - ["function"]=> - string(13) "error_handler" - ["args"]=> - array(6) { - [0]=> - int(8) - [1]=> - string(63) "Use of undefined constant FakeConstant - assumed 'FakeConstant'" - [2]=> - "hphp/test/vm/debug_backtrace.php" - [3]=> - int(32) - [4]=> - string(0) "" - [5]=> - array(2) { - [0]=> - array(2) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(32) - } - [1]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(34) - ["function"]=> - string(4) "main" - ["args"]=> - array(0) { - } - } - } - } - } - [1]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace.php" - ["line"]=> - int(34) - ["function"]=> - string(4) "main" - ["args"]=> - array(0) { - } - } -} diff --git a/hphp/test/vm/debug_backtrace.php.expectf b/hphp/test/vm/debug_backtrace.php.expectf new file mode 100644 index 000000000..3e6f59ed9 --- /dev/null +++ b/hphp/test/vm/debug_backtrace.php.expectf @@ -0,0 +1,217 @@ +array(5) { + [0]=> + array(6) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(9) + ["function"]=> + string(3) "foo" + ["class"]=> + string(1) "A" + ["type"]=> + string(2) "::" + ["args"]=> + array(0) { + } + } + [1]=> + array(7) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(15) + ["function"]=> + string(3) "bar" + ["class"]=> + string(1) "A" + ["object"]=> + object(A)#1 (0) { + } + ["type"]=> + string(2) "->" + ["args"]=> + array(3) { + [0]=> + int(1) + [1]=> + string(3) "str" + [2]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + } + } + } + [2]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(20) + ["function"]=> + string(3) "bar" + ["args"]=> + array(0) { + } + } + [3]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(29) + ["function"]=> + string(3) "foo" + ["args"]=> + array(0) { + } + } + [4]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(34) + ["function"]=> + string(4) "main" + ["args"]=> + array(0) { + } + } +} +array(5) { + [0]=> + array(6) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(9) + ["function"]=> + string(3) "foo" + ["class"]=> + string(1) "A" + ["type"]=> + string(2) "::" + ["args"]=> + array(0) { + } + } + [1]=> + array(5) { + ["function"]=> + string(3) "bar" + ["class"]=> + string(1) "A" + ["object"]=> + object(A)#1 (0) { + } + ["type"]=> + string(2) "->" + ["args"]=> + array(2) { + [0]=> + int(1) + [1]=> + int(2) + } + } + [2]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(20) + ["function"]=> + string(3) "bar" + ["args"]=> + array(0) { + } + } + [3]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(29) + ["function"]=> + string(3) "foo" + ["args"]=> + array(0) { + } + } + [4]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(34) + ["function"]=> + string(4) "main" + ["args"]=> + array(0) { + } + } +} +array(2) { + [0]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(32) + ["function"]=> + string(13) "error_handler" + ["args"]=> + array(6) { + [0]=> + int(8) + [1]=> + string(63) "Use of undefined constant FakeConstant - assumed 'FakeConstant'" + [2]=> + string(%d) "%s" + [3]=> + int(32) + [4]=> + string(0) "" + [5]=> + array(2) { + [0]=> + array(2) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(32) + } + [1]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(34) + ["function"]=> + string(4) "main" + ["args"]=> + array(0) { + } + } + } + } + } + [1]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(34) + ["function"]=> + string(4) "main" + ["args"]=> + array(0) { + } + } +} diff --git a/hphp/test/vm/debug_backtrace_continuation.php.exp b/hphp/test/vm/debug_backtrace_continuation.php.exp deleted file mode 100644 index 4474399c6..000000000 --- a/hphp/test/vm/debug_backtrace_continuation.php.exp +++ /dev/null @@ -1,46 +0,0 @@ -array(3) { - [0]=> - array(2) { - ["function"]=> - string(12) "my_generator" - ["args"]=> - array(1) { - [0]=> - object(Continuation)#1 (0) { - } - } - } - [1]=> - array(7) { - ["file"]=> - "hphp/test/vm/debug_backtrace_continuation.php" - ["line"]=> - int(10) - ["function"]=> - string(4) "send" - ["class"]=> - string(12) "Continuation" - ["object"]=> - object(Continuation)#1 (0) { - } - ["type"]=> - string(2) "->" - ["args"]=> - array(1) { - [0]=> - NULL - } - } - [2]=> - array(4) { - ["file"]=> - "hphp/test/vm/debug_backtrace_continuation.php" - ["line"]=> - int(13) - ["function"]=> - string(10) "my_wrapper" - ["args"]=> - array(0) { - } - } -} diff --git a/hphp/test/vm/debug_backtrace_continuation.php.expectf b/hphp/test/vm/debug_backtrace_continuation.php.expectf new file mode 100644 index 000000000..6f8bd3a79 --- /dev/null +++ b/hphp/test/vm/debug_backtrace_continuation.php.expectf @@ -0,0 +1,46 @@ +array(3) { + [0]=> + array(2) { + ["function"]=> + string(12) "my_generator" + ["args"]=> + array(1) { + [0]=> + object(Continuation)#1 (0) { + } + } + } + [1]=> + array(7) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(10) + ["function"]=> + string(4) "send" + ["class"]=> + string(12) "Continuation" + ["object"]=> + object(Continuation)#1 (0) { + } + ["type"]=> + string(2) "->" + ["args"]=> + array(1) { + [0]=> + NULL + } + } + [2]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(13) + ["function"]=> + string(10) "my_wrapper" + ["args"]=> + array(0) { + } + } +} diff --git a/hphp/test/vm/dec-minint.php.exp b/hphp/test/vm/dec-minint.php.expect similarity index 100% rename from hphp/test/vm/dec-minint.php.exp rename to hphp/test/vm/dec-minint.php.expect diff --git a/hphp/test/vm/decrefstack1.php.exp b/hphp/test/vm/decrefstack1.php.expect similarity index 100% rename from hphp/test/vm/decrefstack1.php.exp rename to hphp/test/vm/decrefstack1.php.expect diff --git a/hphp/test/vm/def_cls_line.php.exp b/hphp/test/vm/def_cls_line.php.exp deleted file mode 100644 index b04e79fbb..000000000 --- a/hphp/test/vm/def_cls_line.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: unknown class I in hphp/test/vm/def_cls_line.php on line 3 diff --git a/hphp/test/vm/def_cls_line.php.expectf b/hphp/test/vm/def_cls_line.php.expectf new file mode 100644 index 000000000..9273fa08a --- /dev/null +++ b/hphp/test/vm/def_cls_line.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: unknown class I in %s on line 3 diff --git a/hphp/test/vm/defaultVals.php.exp b/hphp/test/vm/defaultVals.php.expect similarity index 100% rename from hphp/test/vm/defaultVals.php.exp rename to hphp/test/vm/defaultVals.php.expect diff --git a/hphp/test/vm/define.php.exp b/hphp/test/vm/define.php.exp deleted file mode 100644 index 4a55d58e2..000000000 --- a/hphp/test/vm/define.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -HipHop Warning: Constant FOO already defined in hphp/test/vm/define.php on line 14 -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/vm/define.php on line 15 -int(42) -string(5) "hello" -=== Enter define_b.php === -int(42) -string(5) "baz_b" -=== Leave define_b.php === -string(5) "baz_b" -HipHop Warning: Constant BAZ already defined in hphp/test/vm/define.php on line 23 -string(5) "baz_b" -HELLOHELLO -HipHop Fatal error: Cannot access static:: when no class scope is active in hphp/test/vm/define.php on line 34 diff --git a/hphp/test/vm/define.php.expectf b/hphp/test/vm/define.php.expectf new file mode 100644 index 000000000..a0928430f --- /dev/null +++ b/hphp/test/vm/define.php.expectf @@ -0,0 +1,13 @@ +HipHop Warning: Constant FOO already defined in %s on line 14 +HipHop Warning: Constants may only evaluate to scalar values in %s on line 15 +int(42) +string(5) "hello" +=== Enter define_b.php === +int(42) +string(5) "baz_b" +=== Leave define_b.php === +string(5) "baz_b" +HipHop Warning: Constant BAZ already defined in %s on line 23 +string(5) "baz_b" +HELLOHELLO +HipHop Fatal error: Cannot access static:: when no class scope is active in %s on line 34 diff --git a/hphp/test/vm/destruct.php.exp b/hphp/test/vm/destruct.php.expect similarity index 100% rename from hphp/test/vm/destruct.php.exp rename to hphp/test/vm/destruct.php.expect diff --git a/hphp/test/vm/destructed_this.php.exp b/hphp/test/vm/destructed_this.php.exp deleted file mode 100644 index 6eb00ee67..000000000 --- a/hphp/test/vm/destructed_this.php.exp +++ /dev/null @@ -1,49 +0,0 @@ -array(3) { - [0]=> - array(7) { - ["file"]=> - "hphp/test/vm/destructed_this.php" - ["line"]=> - int(8) - ["function"]=> - string(10) "__destruct" - ["class"]=> - string(6) "Tracer" - ["object"]=> - object(Tracer)#2 (0) { - } - ["type"]=> - string(2) "->" - ["args"]=> - array(0) { - } - } - [1]=> - array(6) { - ["file"]=> - "hphp/test/vm/destructed_this.php" - ["line"]=> - int(18) - ["function"]=> - string(2) "hi" - ["class"]=> - string(3) "Foo" - ["type"]=> - string(2) "::" - ["args"]=> - array(0) { - } - } - [2]=> - array(4) { - ["file"]=> - "hphp/test/vm/destructed_this.php" - ["line"]=> - int(20) - ["function"]=> - string(4) "main" - ["args"]=> - array(0) { - } - } -} diff --git a/hphp/test/vm/destructed_this.php.expectf b/hphp/test/vm/destructed_this.php.expectf new file mode 100644 index 000000000..9150c6528 --- /dev/null +++ b/hphp/test/vm/destructed_this.php.expectf @@ -0,0 +1,49 @@ +array(3) { + [0]=> + array(7) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(8) + ["function"]=> + string(10) "__destruct" + ["class"]=> + string(6) "Tracer" + ["object"]=> + object(Tracer)#2 (0) { + } + ["type"]=> + string(2) "->" + ["args"]=> + array(0) { + } + } + [1]=> + array(6) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(18) + ["function"]=> + string(2) "hi" + ["class"]=> + string(3) "Foo" + ["type"]=> + string(2) "::" + ["args"]=> + array(0) { + } + } + [2]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(20) + ["function"]=> + string(4) "main" + ["args"]=> + array(0) { + } + } +} diff --git a/hphp/test/vm/do-while-continue.php.exp b/hphp/test/vm/do-while-continue.php.expect similarity index 100% rename from hphp/test/vm/do-while-continue.php.exp rename to hphp/test/vm/do-while-continue.php.expect diff --git a/hphp/test/vm/doublejump.php.exp b/hphp/test/vm/doublejump.php.expect similarity index 100% rename from hphp/test/vm/doublejump.php.exp rename to hphp/test/vm/doublejump.php.expect diff --git a/hphp/test/vm/dtor-on-arr.php.exp b/hphp/test/vm/dtor-on-arr.php.expect similarity index 100% rename from hphp/test/vm/dtor-on-arr.php.exp rename to hphp/test/vm/dtor-on-arr.php.expect diff --git a/hphp/test/vm/dv.php.exp b/hphp/test/vm/dv.php.expect similarity index 100% rename from hphp/test/vm/dv.php.exp rename to hphp/test/vm/dv.php.expect diff --git a/hphp/test/vm/dv_ab.php.exp b/hphp/test/vm/dv_ab.php.exp deleted file mode 100644 index bb5743687..000000000 --- a/hphp/test/vm/dv_ab.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a1 with type Boolean needs to have the same type as the type hint array in hphp/test/vm/dv_ab.php on line 3 diff --git a/hphp/test/vm/dv_ab.php.expectf b/hphp/test/vm/dv_ab.php.expectf new file mode 100644 index 000000000..78ecac63d --- /dev/null +++ b/hphp/test/vm/dv_ab.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a1 with type Boolean needs to have the same type as the type hint array in %s on line 3 diff --git a/hphp/test/vm/dv_af.php.exp b/hphp/test/vm/dv_af.php.exp deleted file mode 100644 index 4c89356a9..000000000 --- a/hphp/test/vm/dv_af.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a1 with type Double needs to have the same type as the type hint array in hphp/test/vm/dv_af.php on line 3 diff --git a/hphp/test/vm/dv_af.php.expectf b/hphp/test/vm/dv_af.php.expectf new file mode 100644 index 000000000..43dd70cfe --- /dev/null +++ b/hphp/test/vm/dv_af.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a1 with type Double needs to have the same type as the type hint array in %s on line 3 diff --git a/hphp/test/vm/dv_ai.php.exp b/hphp/test/vm/dv_ai.php.exp deleted file mode 100644 index 0ec2a07e7..000000000 --- a/hphp/test/vm/dv_ai.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a1 with type Int64 needs to have the same type as the type hint array in hphp/test/vm/dv_ai.php on line 3 diff --git a/hphp/test/vm/dv_ai.php.expectf b/hphp/test/vm/dv_ai.php.expectf new file mode 100644 index 000000000..ce070e8e3 --- /dev/null +++ b/hphp/test/vm/dv_ai.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a1 with type Int64 needs to have the same type as the type hint array in %s on line 3 diff --git a/hphp/test/vm/dv_as.php.exp b/hphp/test/vm/dv_as.php.exp deleted file mode 100644 index ca47c28eb..000000000 --- a/hphp/test/vm/dv_as.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a1 with type String needs to have the same type as the type hint array in hphp/test/vm/dv_as.php on line 3 diff --git a/hphp/test/vm/dv_as.php.expectf b/hphp/test/vm/dv_as.php.expectf new file mode 100644 index 000000000..680197ca7 --- /dev/null +++ b/hphp/test/vm/dv_as.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a1 with type String needs to have the same type as the type hint array in %s on line 3 diff --git a/hphp/test/vm/dv_ba.php.exp b/hphp/test/vm/dv_ba.php.exp deleted file mode 100644 index ed99afb2e..000000000 --- a/hphp/test/vm/dv_ba.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Array needs to have the same type as the type hint bool in hphp/test/vm/dv_ba.php on line 3 diff --git a/hphp/test/vm/dv_ba.php.expectf b/hphp/test/vm/dv_ba.php.expectf new file mode 100644 index 000000000..dd74cf07d --- /dev/null +++ b/hphp/test/vm/dv_ba.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Array needs to have the same type as the type hint bool in %s on line 3 diff --git a/hphp/test/vm/dv_bf.php.exp b/hphp/test/vm/dv_bf.php.exp deleted file mode 100644 index 0dbd9f31f..000000000 --- a/hphp/test/vm/dv_bf.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Double needs to have the same type as the type hint bool in hphp/test/vm/dv_bf.php on line 3 diff --git a/hphp/test/vm/dv_bf.php.expectf b/hphp/test/vm/dv_bf.php.expectf new file mode 100644 index 000000000..399e2e9f4 --- /dev/null +++ b/hphp/test/vm/dv_bf.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Double needs to have the same type as the type hint bool in %s on line 3 diff --git a/hphp/test/vm/dv_bi.php.exp b/hphp/test/vm/dv_bi.php.exp deleted file mode 100644 index 2a83e6946..000000000 --- a/hphp/test/vm/dv_bi.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint bool in hphp/test/vm/dv_bi.php on line 3 diff --git a/hphp/test/vm/dv_bi.php.expectf b/hphp/test/vm/dv_bi.php.expectf new file mode 100644 index 000000000..f28769d29 --- /dev/null +++ b/hphp/test/vm/dv_bi.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint bool in %s on line 3 diff --git a/hphp/test/vm/dv_bs.php.exp b/hphp/test/vm/dv_bs.php.exp deleted file mode 100644 index 239177473..000000000 --- a/hphp/test/vm/dv_bs.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type String needs to have the same type as the type hint bool in hphp/test/vm/dv_bs.php on line 3 diff --git a/hphp/test/vm/dv_bs.php.expectf b/hphp/test/vm/dv_bs.php.expectf new file mode 100644 index 000000000..a630cb9db --- /dev/null +++ b/hphp/test/vm/dv_bs.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type String needs to have the same type as the type hint bool in %s on line 3 diff --git a/hphp/test/vm/dv_ca.php.exp b/hphp/test/vm/dv_ca.php.exp deleted file mode 100644 index ae2d5461a..000000000 --- a/hphp/test/vm/dv_ca.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Array needs to have the same type as the type hint C in hphp/test/vm/dv_ca.php on line 4 diff --git a/hphp/test/vm/dv_ca.php.expectf b/hphp/test/vm/dv_ca.php.expectf new file mode 100644 index 000000000..3c44bb7f5 --- /dev/null +++ b/hphp/test/vm/dv_ca.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Array needs to have the same type as the type hint C in %s on line 4 diff --git a/hphp/test/vm/dv_ci.php.exp b/hphp/test/vm/dv_ci.php.exp deleted file mode 100644 index 479a45ab8..000000000 --- a/hphp/test/vm/dv_ci.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint C in hphp/test/vm/dv_ci.php on line 4 diff --git a/hphp/test/vm/dv_ci.php.expectf b/hphp/test/vm/dv_ci.php.expectf new file mode 100644 index 000000000..0702a9c87 --- /dev/null +++ b/hphp/test/vm/dv_ci.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint C in %s on line 4 diff --git a/hphp/test/vm/dv_i0.php.exp b/hphp/test/vm/dv_i0.php.exp deleted file mode 100644 index d8a7cdd7c..000000000 --- a/hphp/test/vm/dv_i0.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ')' in hphp/test/vm/dv_i0.php on line 3 diff --git a/hphp/test/vm/dv_i0.php.expectf b/hphp/test/vm/dv_i0.php.expectf new file mode 100644 index 000000000..ae5b29c2d --- /dev/null +++ b/hphp/test/vm/dv_i0.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ')' in %s on line 3 diff --git a/hphp/test/vm/dv_ia.php.exp b/hphp/test/vm/dv_ia.php.exp deleted file mode 100644 index 870504165..000000000 --- a/hphp/test/vm/dv_ia.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Array needs to have the same type as the type hint int in hphp/test/vm/dv_ia.php on line 3 diff --git a/hphp/test/vm/dv_ia.php.expectf b/hphp/test/vm/dv_ia.php.expectf new file mode 100644 index 000000000..89da8005a --- /dev/null +++ b/hphp/test/vm/dv_ia.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Array needs to have the same type as the type hint int in %s on line 3 diff --git a/hphp/test/vm/dv_ib.php.exp b/hphp/test/vm/dv_ib.php.exp deleted file mode 100644 index 81a75b87e..000000000 --- a/hphp/test/vm/dv_ib.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Boolean needs to have the same type as the type hint int in hphp/test/vm/dv_ib.php on line 3 diff --git a/hphp/test/vm/dv_ib.php.expectf b/hphp/test/vm/dv_ib.php.expectf new file mode 100644 index 000000000..a3a7a32ae --- /dev/null +++ b/hphp/test/vm/dv_ib.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Boolean needs to have the same type as the type hint int in %s on line 3 diff --git a/hphp/test/vm/dv_if.php.exp b/hphp/test/vm/dv_if.php.exp deleted file mode 100644 index 50fdcc84b..000000000 --- a/hphp/test/vm/dv_if.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Double needs to have the same type as the type hint int in hphp/test/vm/dv_if.php on line 3 diff --git a/hphp/test/vm/dv_if.php.expectf b/hphp/test/vm/dv_if.php.expectf new file mode 100644 index 000000000..6f2b2c13c --- /dev/null +++ b/hphp/test/vm/dv_if.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Double needs to have the same type as the type hint int in %s on line 3 diff --git a/hphp/test/vm/dv_is.php.exp b/hphp/test/vm/dv_is.php.exp deleted file mode 100644 index 094fca108..000000000 --- a/hphp/test/vm/dv_is.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type String needs to have the same type as the type hint int in hphp/test/vm/dv_is.php on line 3 diff --git a/hphp/test/vm/dv_is.php.expectf b/hphp/test/vm/dv_is.php.expectf new file mode 100644 index 000000000..33c6a9500 --- /dev/null +++ b/hphp/test/vm/dv_is.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type String needs to have the same type as the type hint int in %s on line 3 diff --git a/hphp/test/vm/dv_si.php.exp b/hphp/test/vm/dv_si.php.exp deleted file mode 100644 index 8f300dc3e..000000000 --- a/hphp/test/vm/dv_si.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint string in hphp/test/vm/dv_si.php on line 3 diff --git a/hphp/test/vm/dv_si.php.expectf b/hphp/test/vm/dv_si.php.expectf new file mode 100644 index 000000000..5a108884e --- /dev/null +++ b/hphp/test/vm/dv_si.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint string in %s on line 3 diff --git a/hphp/test/vm/dv_si_func.php.exp b/hphp/test/vm/dv_si_func.php.exp deleted file mode 100644 index 4a2a26e9b..000000000 --- a/hphp/test/vm/dv_si_func.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint string in hphp/test/vm/dv_si_func.php on line 2 diff --git a/hphp/test/vm/dv_si_func.php.expectf b/hphp/test/vm/dv_si_func.php.expectf new file mode 100644 index 000000000..cbe9282aa --- /dev/null +++ b/hphp/test/vm/dv_si_func.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Default value for parameter a0 with type Int64 needs to have the same type as the type hint string in %s on line 2 diff --git a/hphp/test/vm/echo.php.exp b/hphp/test/vm/echo.php.expect similarity index 100% rename from hphp/test/vm/echo.php.exp rename to hphp/test/vm/echo.php.expect diff --git a/hphp/test/vm/encapslist.php.exp b/hphp/test/vm/encapslist.php.expect similarity index 100% rename from hphp/test/vm/encapslist.php.exp rename to hphp/test/vm/encapslist.php.expect diff --git a/hphp/test/vm/end_bb_on_popc.php.exp b/hphp/test/vm/end_bb_on_popc.php.expect similarity index 100% rename from hphp/test/vm/end_bb_on_popc.php.exp rename to hphp/test/vm/end_bb_on_popc.php.expect diff --git a/hphp/test/vm/enormous-string.php.exp b/hphp/test/vm/enormous-string.php.exp deleted file mode 100644 index 19e93bb5a..000000000 --- a/hphp/test/vm/enormous-string.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: Illegal string offset: 21474869248 in hphp/test/vm/enormous-string.php on line 8 diff --git a/hphp/test/vm/enormous-string.php.expectf b/hphp/test/vm/enormous-string.php.expectf new file mode 100644 index 000000000..0f776b97e --- /dev/null +++ b/hphp/test/vm/enormous-string.php.expectf @@ -0,0 +1 @@ +HipHop Warning: Illegal string offset: 21474869248 in %s on line 8 diff --git a/hphp/test/vm/eq_int_str.php.exp b/hphp/test/vm/eq_int_str.php.expect similarity index 100% rename from hphp/test/vm/eq_int_str.php.exp rename to hphp/test/vm/eq_int_str.php.expect diff --git a/hphp/test/vm/eval.php.exp b/hphp/test/vm/eval.php.expect similarity index 100% rename from hphp/test/vm/eval.php.exp rename to hphp/test/vm/eval.php.expect diff --git a/hphp/test/vm/exception_bug_1351681.php.exp b/hphp/test/vm/exception_bug_1351681.php.expect similarity index 100% rename from hphp/test/vm/exception_bug_1351681.php.exp rename to hphp/test/vm/exception_bug_1351681.php.expect diff --git a/hphp/test/vm/exception_bug_2080454.php.exp b/hphp/test/vm/exception_bug_2080454.php.expect similarity index 100% rename from hphp/test/vm/exception_bug_2080454.php.exp rename to hphp/test/vm/exception_bug_2080454.php.expect diff --git a/hphp/test/vm/exception_bug_more.php.exp b/hphp/test/vm/exception_bug_more.php.expect similarity index 100% rename from hphp/test/vm/exception_bug_more.php.exp rename to hphp/test/vm/exception_bug_more.php.expect diff --git a/hphp/test/vm/exception_handler.php.exp b/hphp/test/vm/exception_handler.php.exp deleted file mode 100644 index 97e3b6339..000000000 --- a/hphp/test/vm/exception_handler.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message 'throwing first' in hphp/test/vm/exception_handler.php:9\nStack trace:\n#0 hphp/test/vm/exception_handler.php(11): main()\n#1 {main} -Exception handler threw an object exception: exception 'Exception' with message 'throwing second' in hphp/test/vm/exception_handler.php:4\nStack trace:\n#0 (): exn_throw()\n#1 {main} diff --git a/hphp/test/vm/exception_handler.php.expectf b/hphp/test/vm/exception_handler.php.expectf new file mode 100644 index 000000000..56d09d84e --- /dev/null +++ b/hphp/test/vm/exception_handler.php.expectf @@ -0,0 +1,2 @@ +HipHop Fatal error: Uncaught exception 'Exception' with message 'throwing first' in %s:9\nStack trace:\n#0 %s(11): main()\n#1 {main} +Exception handler threw an object exception: exception 'Exception' with message 'throwing second' in %s:4\nStack trace:\n#0 (): exn_throw()\n#1 {main} diff --git a/hphp/test/vm/exception_many_locals.php.exp b/hphp/test/vm/exception_many_locals.php.expect similarity index 100% rename from hphp/test/vm/exception_many_locals.php.exp rename to hphp/test/vm/exception_many_locals.php.expect diff --git a/hphp/test/vm/exceptions.php.expectf b/hphp/test/vm/exceptions.php.expectf index 0f5f5283a..dce6619af 100644 --- a/hphp/test/vm/exceptions.php.expectf +++ b/hphp/test/vm/exceptions.php.expectf @@ -6,23 +6,23 @@ caught 2 before caught caught exception -string(%d) "#0 hphp/test/vm/exceptions.php(91): c() -#1 hphp/test/vm/exceptions.php(88): b() -#2 hphp/test/vm/exceptions.php(99): a() -#3 hphp/test/vm/exceptions.php(111): main3() +string(%d) "#0 %s(91): c() +#1 %s(88): b() +#2 %s(99): a() +#3 %s(111): main3() #4 {main}" string(16) "hello, exception" -string(%d) "#0 hphp/test/vm/exceptions.php(91): c() -#1 hphp/test/vm/exceptions.php(88): b() -#2 hphp/test/vm/exceptions.php(99): a() -#3 hphp/test/vm/exceptions.php(111): main3() +string(%d) "#0 %s(91): c() +#1 %s(88): b() +#2 %s(99): a() +#3 %s(111): main3() #4 {main}" -Exception from hphp/test/vm/exceptions.php:96 -string(%d) "#0 hphp/test/vm/exceptions.php(91): c() -#1 hphp/test/vm/exceptions.php(88): b() -#2 hphp/test/vm/exceptions.php(99): a() -#3 hphp/test/vm/exceptions.php(111): main3() +Exception from %s:96 +string(%d) "#0 %s(91): c() +#1 %s(88): b() +#2 %s(99): a() +#3 %s(111): main3() #4 {main}" bar 3 caught 3 -HipHop Fatal error: Uncaught exception 'Ex3' with message '' in hphp/test/vm/exceptions.php:21\nStack trace:\n#0 hphp/test/vm/exceptions.php(28): bar()\n#1 hphp/test/vm/exceptions.php(35): foo2()\n#2 hphp/test/vm/exceptions.php(39): foo1()\n#3 (): foo()\n#4 hphp/test/vm/exceptions.php(105): array_map()\n#5 hphp/test/vm/exceptions.php(111): main3()\n#6 {main} +HipHop Fatal error: Uncaught exception 'Ex3' with message '' in %s:21\nStack trace:\n#0 %s(28): bar()\n#1 %s(35): foo2()\n#2 %s(39): foo1()\n#3 (): foo()\n#4 %s(105): array_map()\n#5 %s(111): main3()\n#6 {main} diff --git a/hphp/test/vm/exceptions2.php.exp b/hphp/test/vm/exceptions2.php.exp deleted file mode 100644 index f5b2b297c..000000000 --- a/hphp/test/vm/exceptions2.php.exp +++ /dev/null @@ -1,2480 +0,0 @@ -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -HipHop Fatal error: Stack overflow in hphp/test/vm/exceptions2.php on line 17 -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct diff --git a/hphp/test/vm/exceptions2.php.expectf b/hphp/test/vm/exceptions2.php.expectf new file mode 100644 index 000000000..9e8525c1b --- /dev/null +++ b/hphp/test/vm/exceptions2.php.expectf @@ -0,0 +1,2480 @@ +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +HipHop Fatal error: Stack overflow in %s on line 17 +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct diff --git a/hphp/test/vm/exceptions3.php.exp b/hphp/test/vm/exceptions3.php.exp deleted file mode 100644 index a90c2df73..000000000 --- a/hphp/test/vm/exceptions3.php.exp +++ /dev/null @@ -1,4395 +0,0 @@ -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -HipHop Fatal error: Stack overflow in hphp/test/vm/exceptions3.php on line 14 -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct -C::__destruct diff --git a/hphp/test/vm/exceptions3.php.expectf b/hphp/test/vm/exceptions3.php.expectf new file mode 100644 index 000000000..5211941cc --- /dev/null +++ b/hphp/test/vm/exceptions3.php.expectf @@ -0,0 +1,4395 @@ +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +HipHop Fatal error: Stack overflow in %s on line 14 +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct +C::__destruct diff --git a/hphp/test/vm/exceptions4.php.exp b/hphp/test/vm/exceptions4.php.exp deleted file mode 100644 index f082d0e87..000000000 --- a/hphp/test/vm/exceptions4.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: Destructor threw an object exception: exception 'Exception' with message '' in hphp/test/vm/exceptions4.php:11\nStack trace:\n#0 hphp/test/vm/exceptions4.php(21): B->__destruct()\n#1 {main} in hphp/test/vm/exceptions4.php on line 21 -HipHop Fatal error: Uncaught exception 'Exception' with message '' in hphp/test/vm/exceptions4.php:5\nStack trace:\n#0 hphp/test/vm/exceptions4.php(21): A->__construct()\n#1 {main} diff --git a/hphp/test/vm/exceptions4.php.expectf b/hphp/test/vm/exceptions4.php.expectf new file mode 100644 index 000000000..5758383de --- /dev/null +++ b/hphp/test/vm/exceptions4.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: Destructor threw an object exception: exception 'Exception' with message '' in %s on line 21 +HipHop Fatal error: Uncaught exception 'Exception' with message '' in %s:5\nStack trace:\n#0 %s(21): A->__construct()\n#1 {main} diff --git a/hphp/test/vm/exceptions5.php.exp b/hphp/test/vm/exceptions5.php.exp deleted file mode 100644 index 47be6ea9b..000000000 --- a/hphp/test/vm/exceptions5.php.exp +++ /dev/null @@ -1,1241 +0,0 @@ -HipHop Warning: Destructor raised a fatal error: Stack overflow\n in hphp/test/vm/exceptions5.php on line 23 -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -HipHop Fatal error: Stack overflow in hphp/test/vm/exceptions5.php on line 23 diff --git a/hphp/test/vm/exceptions5.php.expectf b/hphp/test/vm/exceptions5.php.expectf new file mode 100644 index 000000000..4062d6e6d --- /dev/null +++ b/hphp/test/vm/exceptions5.php.expectf @@ -0,0 +1,1241 @@ +HipHop Warning: Destructor raised a fatal error: Stack overflow\n in %s on line 23 +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +HipHop Fatal error: Stack overflow in %s on line 23 diff --git a/hphp/test/vm/exceptions6.php.exp b/hphp/test/vm/exceptions6.php.exp deleted file mode 100644 index c31728977..000000000 --- a/hphp/test/vm/exceptions6.php.exp +++ /dev/null @@ -1,2686 +0,0 @@ -HipHop Warning: Destructor raised a fatal error: Stack overflow\n in hphp/test/vm/exceptions6.php on line 19 -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -g -HipHop Fatal error: Stack overflow in hphp/test/vm/exceptions6.php on line 19 diff --git a/hphp/test/vm/exceptions6.php.expectf b/hphp/test/vm/exceptions6.php.expectf new file mode 100644 index 000000000..6154c73d8 --- /dev/null +++ b/hphp/test/vm/exceptions6.php.expectf @@ -0,0 +1,2686 @@ +HipHop Warning: Destructor raised a fatal error: Stack overflow\n in %s on line 19 +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +g +HipHop Fatal error: Stack overflow in %s on line 19 diff --git a/hphp/test/vm/exceptions7.php.exp b/hphp/test/vm/exceptions7.php.expect similarity index 100% rename from hphp/test/vm/exceptions7.php.exp rename to hphp/test/vm/exceptions7.php.expect diff --git a/hphp/test/vm/exceptions8.php.exp b/hphp/test/vm/exceptions8.php.expect similarity index 100% rename from hphp/test/vm/exceptions8.php.exp rename to hphp/test/vm/exceptions8.php.expect diff --git a/hphp/test/vm/exit.php.exp b/hphp/test/vm/exit.php.expect similarity index 100% rename from hphp/test/vm/exit.php.exp rename to hphp/test/vm/exit.php.expect diff --git a/hphp/test/vm/ext.php.exp b/hphp/test/vm/ext.php.expect similarity index 100% rename from hphp/test/vm/ext.php.exp rename to hphp/test/vm/ext.php.expect diff --git a/hphp/test/vm/extclscns.php.exp b/hphp/test/vm/extclscns.php.expect similarity index 100% rename from hphp/test/vm/extclscns.php.exp rename to hphp/test/vm/extclscns.php.expect diff --git a/hphp/test/vm/extension_null_check.php.exp b/hphp/test/vm/extension_null_check.php.expect similarity index 100% rename from hphp/test/vm/extension_null_check.php.exp rename to hphp/test/vm/extension_null_check.php.expect diff --git a/hphp/test/vm/extract.php.exp b/hphp/test/vm/extract.php.expect similarity index 100% rename from hphp/test/vm/extract.php.exp rename to hphp/test/vm/extract.php.expect diff --git a/hphp/test/vm/fail_86pinit.php.exp b/hphp/test/vm/fail_86pinit.php.exp deleted file mode 100644 index dde985121..000000000 --- a/hphp/test/vm/fail_86pinit.php.exp +++ /dev/null @@ -1,35 +0,0 @@ -HipHop Fatal error: Class undefined: Y in hphp/test/vm/fail_86pinit.php on line 5 -array(6) { - [0]=> - int(16777217) - [1]=> - string(18) "Class undefined: Y" - [2]=> - "hphp/test/vm/fail_86pinit.php" - [3]=> - int(5) - [4]=> - string(0) "" - [5]=> - array(2) { - [0]=> - array(2) { - ["file"]=> - "hphp/test/vm/fail_86pinit.php" - ["line"]=> - int(5) - } - [1]=> - array(4) { - ["file"]=> - "hphp/test/vm/fail_86pinit.php" - ["line"]=> - int(10) - ["function"]=> - string(4) "test" - ["args"]=> - array(0) { - } - } - } -} diff --git a/hphp/test/vm/fail_86pinit.php.expectf b/hphp/test/vm/fail_86pinit.php.expectf new file mode 100644 index 000000000..06ddbf093 --- /dev/null +++ b/hphp/test/vm/fail_86pinit.php.expectf @@ -0,0 +1,35 @@ +HipHop Fatal error: Class undefined: Y in %s on line 5 +array(6) { + [0]=> + int(16777217) + [1]=> + string(18) "Class undefined: Y" + [2]=> + string(%d) "%s" + [3]=> + int(5) + [4]=> + string(0) "" + [5]=> + array(2) { + [0]=> + array(2) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(5) + } + [1]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(10) + ["function"]=> + string(4) "test" + ["args"]=> + array(0) { + } + } + } +} diff --git a/hphp/test/vm/fail_86sinit.php.exp b/hphp/test/vm/fail_86sinit.php.exp deleted file mode 100644 index 4b4792ab9..000000000 --- a/hphp/test/vm/fail_86sinit.php.exp +++ /dev/null @@ -1,35 +0,0 @@ -HipHop Fatal error: Class undefined: Z in hphp/test/vm/fail_86sinit.php on line 5 -array(6) { - [0]=> - int(16777217) - [1]=> - string(18) "Class undefined: Z" - [2]=> - "hphp/test/vm/fail_86sinit.php" - [3]=> - int(5) - [4]=> - string(0) "" - [5]=> - array(2) { - [0]=> - array(2) { - ["file"]=> - "hphp/test/vm/fail_86sinit.php" - ["line"]=> - int(5) - } - [1]=> - array(4) { - ["file"]=> - "hphp/test/vm/fail_86sinit.php" - ["line"]=> - int(10) - ["function"]=> - string(4) "test" - ["args"]=> - array(0) { - } - } - } -} diff --git a/hphp/test/vm/fail_86sinit.php.expectf b/hphp/test/vm/fail_86sinit.php.expectf new file mode 100644 index 000000000..3a2b6ed2d --- /dev/null +++ b/hphp/test/vm/fail_86sinit.php.expectf @@ -0,0 +1,35 @@ +HipHop Fatal error: Class undefined: Z in %s on line 5 +array(6) { + [0]=> + int(16777217) + [1]=> + string(18) "Class undefined: Z" + [2]=> + string(%d) "%s" + [3]=> + int(5) + [4]=> + string(0) "" + [5]=> + array(2) { + [0]=> + array(2) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(5) + } + [1]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(10) + ["function"]=> + string(4) "test" + ["args"]=> + array(0) { + } + } + } +} diff --git a/hphp/test/vm/fatality.php.exp b/hphp/test/vm/fatality.php.exp deleted file mode 100644 index cc9876047..000000000 --- a/hphp/test/vm/fatality.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Function already defined: g in hphp/test/vm/fatality.php on line 14 diff --git a/hphp/test/vm/fatality.php.expectf b/hphp/test/vm/fatality.php.expectf new file mode 100644 index 000000000..160bcf5b4 --- /dev/null +++ b/hphp/test/vm/fatality.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Function already defined: g in %s on line 14 diff --git a/hphp/test/vm/fb_dbt.php.exp b/hphp/test/vm/fb_dbt.php.expect similarity index 100% rename from hphp/test/vm/fb_dbt.php.exp rename to hphp/test/vm/fb_dbt.php.expect diff --git a/hphp/test/vm/fb_intercept.php.exp b/hphp/test/vm/fb_intercept.php.expect similarity index 100% rename from hphp/test/vm/fb_intercept.php.exp rename to hphp/test/vm/fb_intercept.php.expect diff --git a/hphp/test/vm/fbcufa.php.exp b/hphp/test/vm/fbcufa.php.exp deleted file mode 100644 index 6ed12d1f4..000000000 --- a/hphp/test/vm/fbcufa.php.exp +++ /dev/null @@ -1,31 +0,0 @@ -_fbcufa_init.php begin -_fbcufa_init.php end --------------------- -_fbcufa_init.php begin -_fbcufa_init.php end -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(5) "blarg" -int(42) --------------------- -_fbcufa_init.php begin -_fbcufa_init.php end -int(126) --------------------- -_fbcufa_init.php begin -_fbcufa_init.php end -int(126) --------------------- -_fbcufa_init.php begin -_fbcufa_init.php end -int(862) --------------------- -_fbcufa_init.php begin -_fbcufa_init.php end -HipHop Fatal error: Uncaught exception 'Exception' with message 'blah' in hphp/test/vm/_fbcufa_init.php:4\nStack trace:\n#0 (): doThrow()\n#1 (): xbox_process_call_message()\n#2 {main} diff --git a/hphp/test/vm/fbcufa.php.expectf b/hphp/test/vm/fbcufa.php.expectf new file mode 100644 index 000000000..fbcbf3c21 --- /dev/null +++ b/hphp/test/vm/fbcufa.php.expectf @@ -0,0 +1,31 @@ +_fbcufa_init.php begin +_fbcufa_init.php end +-------------------- +_fbcufa_init.php begin +_fbcufa_init.php end +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} +string(5) "blarg" +int(42) +-------------------- +_fbcufa_init.php begin +_fbcufa_init.php end +int(126) +-------------------- +_fbcufa_init.php begin +_fbcufa_init.php end +int(126) +-------------------- +_fbcufa_init.php begin +_fbcufa_init.php end +int(862) +-------------------- +_fbcufa_init.php begin +_fbcufa_init.php end +HipHop Fatal error: Uncaught exception 'Exception' with message 'blah' in %s:4\nStack trace:\n#0 (): doThrow()\n#1 (): xbox_process_call_message()\n#2 {main} diff --git a/hphp/test/vm/fib_gen.php.exp b/hphp/test/vm/fib_gen.php.expect similarity index 100% rename from hphp/test/vm/fib_gen.php.exp rename to hphp/test/vm/fib_gen.php.expect diff --git a/hphp/test/vm/file_read.php.exp b/hphp/test/vm/file_read.php.expect similarity index 100% rename from hphp/test/vm/file_read.php.exp rename to hphp/test/vm/file_read.php.expect diff --git a/hphp/test/vm/file_rw.php.exp b/hphp/test/vm/file_rw.php.expect similarity index 100% rename from hphp/test/vm/file_rw.php.exp rename to hphp/test/vm/file_rw.php.expect diff --git a/hphp/test/vm/final_class.php.exp b/hphp/test/vm/final_class.php.exp deleted file mode 100644 index 045d0bef1..000000000 --- a/hphp/test/vm/final_class.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class D may not inherit from final class (C) in hphp/test/vm/final_class.php on line 6 diff --git a/hphp/test/vm/final_class.php.expectf b/hphp/test/vm/final_class.php.expectf new file mode 100644 index 000000000..15b36f049 --- /dev/null +++ b/hphp/test/vm/final_class.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class D may not inherit from final class (C) in %s on line 6 diff --git a/hphp/test/vm/final_method.php.exp b/hphp/test/vm/final_method.php.exp deleted file mode 100644 index b613b4b7d..000000000 --- a/hphp/test/vm/final_method.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method C::f() in hphp/test/vm/final_method.php on line 8 diff --git a/hphp/test/vm/final_method.php.expectf b/hphp/test/vm/final_method.php.expectf new file mode 100644 index 000000000..9f6ce98fb --- /dev/null +++ b/hphp/test/vm/final_method.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override final method C::f() in %s on line 8 diff --git a/hphp/test/vm/final_method1.php.exp b/hphp/test/vm/final_method1.php.exp deleted file mode 100644 index 7cb6b8380..000000000 --- a/hphp/test/vm/final_method1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method Foo::f() in hphp/test/vm/final_method1.php on line 7 diff --git a/hphp/test/vm/final_method1.php.expectf b/hphp/test/vm/final_method1.php.expectf new file mode 100644 index 000000000..8af9eac88 --- /dev/null +++ b/hphp/test/vm/final_method1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override final method Foo::f() in %s on line 7 diff --git a/hphp/test/vm/final_method2.php.exp b/hphp/test/vm/final_method2.php.exp deleted file mode 100644 index 935f7b10a..000000000 --- a/hphp/test/vm/final_method2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method Foo::f() in hphp/test/vm/final_method2.php on line 12 diff --git a/hphp/test/vm/final_method2.php.expectf b/hphp/test/vm/final_method2.php.expectf new file mode 100644 index 000000000..ab7f78867 --- /dev/null +++ b/hphp/test/vm/final_method2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override final method Foo::f() in %s on line 12 diff --git a/hphp/test/vm/final_method3.php.exp b/hphp/test/vm/final_method3.php.exp deleted file mode 100644 index dab5cebbd..000000000 --- a/hphp/test/vm/final_method3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method Foo::foo() in hphp/test/vm/final_method3.php on line 10 diff --git a/hphp/test/vm/final_method3.php.expectf b/hphp/test/vm/final_method3.php.expectf new file mode 100644 index 000000000..15c7b10a5 --- /dev/null +++ b/hphp/test/vm/final_method3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override final method Foo::foo() in %s on line 10 diff --git a/hphp/test/vm/final_method4.php.exp b/hphp/test/vm/final_method4.php.exp deleted file mode 100644 index 56c1f85a6..000000000 --- a/hphp/test/vm/final_method4.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method Foo::f() in hphp/test/vm/final_method4.php on line 10 diff --git a/hphp/test/vm/final_method4.php.expectf b/hphp/test/vm/final_method4.php.expectf new file mode 100644 index 000000000..0f36a1bd5 --- /dev/null +++ b/hphp/test/vm/final_method4.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override final method Foo::f() in %s on line 10 diff --git a/hphp/test/vm/floatcmp.php.exp b/hphp/test/vm/floatcmp.php.expect similarity index 100% rename from hphp/test/vm/floatcmp.php.exp rename to hphp/test/vm/floatcmp.php.expect diff --git a/hphp/test/vm/floateq.php.exp b/hphp/test/vm/floateq.php.expect similarity index 100% rename from hphp/test/vm/floateq.php.exp rename to hphp/test/vm/floateq.php.expect diff --git a/hphp/test/vm/flow.php.exp b/hphp/test/vm/flow.php.expect similarity index 100% rename from hphp/test/vm/flow.php.exp rename to hphp/test/vm/flow.php.expect diff --git a/hphp/test/vm/foreach-sharedmap.php.exp b/hphp/test/vm/foreach-sharedmap.php.expect similarity index 100% rename from hphp/test/vm/foreach-sharedmap.php.exp rename to hphp/test/vm/foreach-sharedmap.php.expect diff --git a/hphp/test/vm/foreach.php.exp b/hphp/test/vm/foreach.php.expect similarity index 100% rename from hphp/test/vm/foreach.php.exp rename to hphp/test/vm/foreach.php.expect diff --git a/hphp/test/vm/fsc.php.exp b/hphp/test/vm/fsc.php.exp deleted file mode 100644 index e55d7097d..000000000 --- a/hphp/test/vm/fsc.php.exp +++ /dev/null @@ -1,362 +0,0 @@ -############# testFoo1 ############## -B D D -C D D -D D D -F F -G G -H H -B D D -C D D -D D D -**************** -B D D -C D D -D D D -F F -G G -H H -B D D -C D D -D D D -**************** -B D D -C D D -D D D -F F -G G -H H -B D D -C D D -D D D -**************** -B D D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 119 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 120 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 121 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 122 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 123 -HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in hphp/test/vm/fsc.php on line 124 -A D D -HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in hphp/test/vm/fsc.php on line 125 -B D D -HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in hphp/test/vm/fsc.php on line 126 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 126 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 128 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 129 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 130 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 133 -HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in hphp/test/vm/fsc.php on line 134 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in hphp/test/vm/fsc.php on line 135 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in hphp/test/vm/fsc.php on line 136 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 136 -**************** -B B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 141 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 142 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 143 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 144 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 145 -A B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 148 -**************** -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 152 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 153 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 154 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 157 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 160 -**************** -############# testFoo2 ############## -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B D -C D -D D -F F -G G -H H -B D -C D -D D -**************** -B D -C D -D D -F F -G G -H H -B D -C D -D D -**************** -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 196 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 197 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 198 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 199 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 200 -HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in hphp/test/vm/fsc.php on line 201 -A D -HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in hphp/test/vm/fsc.php on line 202 -B D -HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in hphp/test/vm/fsc.php on line 203 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 203 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 205 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 206 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 207 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 210 -HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in hphp/test/vm/fsc.php on line 211 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in hphp/test/vm/fsc.php on line 212 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in hphp/test/vm/fsc.php on line 213 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 213 -**************** -B B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 218 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 219 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 220 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 221 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 222 -A B B -B B B -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 225 -**************** -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 229 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 230 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 231 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 234 -F G G -G G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 237 -**************** -############# testBar1 ############## -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B D -C D -D D -F F -G G -H H -B D -C D -D D -**************** -B D -C D -D D -F F -G G -H H -B D -C D -D D -**************** -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 273 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 274 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 275 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 276 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 277 -HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in hphp/test/vm/fsc.php on line 278 -A D -HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in hphp/test/vm/fsc.php on line 279 -B D -HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in hphp/test/vm/fsc.php on line 280 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 280 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 282 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 283 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 284 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 287 -HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in hphp/test/vm/fsc.php on line 288 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in hphp/test/vm/fsc.php on line 289 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in hphp/test/vm/fsc.php on line 290 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 290 -**************** -B D -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 295 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 296 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 297 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 298 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 299 -A D -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 302 -**************** -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 306 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 307 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 308 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 311 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 314 -**************** -############# testBar2 ############## -B B -C C -D D -F F -G G -H H -B D -C D -D D -**************** -B D -C D -D D -F F -G G -H H -B D -C D -D D -**************** -B D -C D -D D -F F -G G -H H -B D -C D -D D -**************** -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 350 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 351 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 352 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 353 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 354 -HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in hphp/test/vm/fsc.php on line 355 -A D -HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in hphp/test/vm/fsc.php on line 356 -B D -HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in hphp/test/vm/fsc.php on line 357 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 357 -**************** -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 359 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 360 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 361 -F F -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 364 -HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in hphp/test/vm/fsc.php on line 365 -F F -HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in hphp/test/vm/fsc.php on line 366 -G G -HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in hphp/test/vm/fsc.php on line 367 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 367 -**************** -B D -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 372 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 373 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in hphp/test/vm/fsc.php on line 374 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in hphp/test/vm/fsc.php on line 375 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 376 -A D -B D -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 379 -**************** -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in hphp/test/vm/fsc.php on line 383 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in hphp/test/vm/fsc.php on line 384 -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 385 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in hphp/test/vm/fsc.php on line 388 -F G -G G -HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in hphp/test/vm/fsc.php on line 391 -**************** -############# doFoo ############## -B B B -B B B -C C -D D -F F -G G -H H -A B B -B B B -B B B -**************** -G G G -B B -C C -D D -F G G -G G G -H H -F G G -G G G -G G G -**************** -############# doBar ############## -B B -B B -C C -D D -F F -G G -H H -A B -B B -B B -**************** -G G -B B -C C -D D -F F -G G -H H -F G -G G -G G -**************** diff --git a/hphp/test/vm/fsc.php.expectf b/hphp/test/vm/fsc.php.expectf new file mode 100644 index 000000000..f90a48ba9 --- /dev/null +++ b/hphp/test/vm/fsc.php.expectf @@ -0,0 +1,362 @@ +############# testFoo1 ############## +B D D +C D D +D D D +F F +G G +H H +B D D +C D D +D D D +**************** +B D D +C D D +D D D +F F +G G +H H +B D D +C D D +D D D +**************** +B D D +C D D +D D D +F F +G G +H H +B D D +C D D +D D D +**************** +B D D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 119 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 120 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 121 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 122 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 123 +HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in %s on line 124 +A D D +HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in %s on line 125 +B D D +HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in %s on line 126 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 126 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 128 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 129 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 130 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 133 +HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in %s on line 134 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in %s on line 135 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in %s on line 136 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 136 +**************** +B B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 141 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 142 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 143 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 144 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 145 +A B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 148 +**************** +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 152 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 153 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 154 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 157 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 160 +**************** +############# testFoo2 ############## +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B D +C D +D D +F F +G G +H H +B D +C D +D D +**************** +B D +C D +D D +F F +G G +H H +B D +C D +D D +**************** +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 196 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 197 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 198 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 199 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 200 +HipHop Warning: behavior of call_user_func(array('B', 'parent::foo')) is undefined in %s on line 201 +A D +HipHop Warning: behavior of call_user_func(array('B', 'self::foo')) is undefined in %s on line 202 +B D +HipHop Warning: behavior of call_user_func(array('B', 'static::foo')) is undefined in %s on line 203 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 203 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 205 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 206 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 207 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 210 +HipHop Warning: behavior of call_user_func(array('G', 'parent::foo')) is undefined in %s on line 211 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::foo')) is undefined in %s on line 212 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::foo')) is undefined in %s on line 213 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 213 +**************** +B B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 218 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 219 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 220 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 221 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 222 +A B B +B B B +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 225 +**************** +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 229 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 230 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 231 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 234 +F G G +G G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 237 +**************** +############# testBar1 ############## +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B D +C D +D D +F F +G G +H H +B D +C D +D D +**************** +B D +C D +D D +F F +G G +H H +B D +C D +D D +**************** +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 273 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 274 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 275 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 276 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 277 +HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in %s on line 278 +A D +HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in %s on line 279 +B D +HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in %s on line 280 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 280 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 282 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 283 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 284 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 287 +HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in %s on line 288 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in %s on line 289 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in %s on line 290 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 290 +**************** +B D +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 295 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 296 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 297 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 298 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 299 +A D +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 302 +**************** +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 306 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 307 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 308 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 311 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 314 +**************** +############# testBar2 ############## +B B +C C +D D +F F +G G +H H +B D +C D +D D +**************** +B D +C D +D D +F F +G G +H H +B D +C D +D D +**************** +B D +C D +D D +F F +G G +H H +B D +C D +D D +**************** +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 350 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 351 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 352 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 353 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 354 +HipHop Warning: behavior of call_user_func(array('B', 'parent::bar')) is undefined in %s on line 355 +A D +HipHop Warning: behavior of call_user_func(array('B', 'self::bar')) is undefined in %s on line 356 +B D +HipHop Warning: behavior of call_user_func(array('B', 'static::bar')) is undefined in %s on line 357 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 357 +**************** +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 359 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 360 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 361 +F F +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 364 +HipHop Warning: behavior of call_user_func(array('G', 'parent::bar')) is undefined in %s on line 365 +F F +HipHop Warning: behavior of call_user_func(array('G', 'self::bar')) is undefined in %s on line 366 +G G +HipHop Warning: behavior of call_user_func(array('G', 'static::bar')) is undefined in %s on line 367 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 367 +**************** +B D +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'C' in %s on line 372 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 373 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'F' in %s on line 374 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'G' in %s on line 375 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'H' in %s on line 376 +A D +B D +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'B' is not a subclass of 'D' in %s on line 379 +**************** +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'B' in %s on line 383 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'C' in %s on line 384 +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 385 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'H' in %s on line 388 +F G +G G +HipHop Warning: call_user_func expects parameter 1 to be a valid callback, class 'G' is not a subclass of 'D' in %s on line 391 +**************** +############# doFoo ############## +B B B +B B B +C C +D D +F F +G G +H H +A B B +B B B +B B B +**************** +G G G +B B +C C +D D +F G G +G G G +H H +F G G +G G G +G G G +**************** +############# doBar ############## +B B +B B +C C +D D +F F +G G +H H +A B +B B +B B +**************** +G G +B B +C C +D D +F F +G G +H H +F G +G G +G G +**************** diff --git a/hphp/test/vm/fsc01.php.exp b/hphp/test/vm/fsc01.php.expect similarity index 100% rename from hphp/test/vm/fsc01.php.exp rename to hphp/test/vm/fsc01.php.expect diff --git a/hphp/test/vm/fsc02.php.exp b/hphp/test/vm/fsc02.php.expect similarity index 100% rename from hphp/test/vm/fsc02.php.exp rename to hphp/test/vm/fsc02.php.expect diff --git a/hphp/test/vm/func.php.exp b/hphp/test/vm/func.php.expect similarity index 100% rename from hphp/test/vm/func.php.exp rename to hphp/test/vm/func.php.expect diff --git a/hphp/test/vm/func2.php.exp b/hphp/test/vm/func2.php.exp deleted file mode 100644 index aec4d9003..000000000 --- a/hphp/test/vm/func2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Can't use array() as base in write context in hphp/test/vm/func2.php on line 7 diff --git a/hphp/test/vm/func2.php.expectf b/hphp/test/vm/func2.php.expectf new file mode 100644 index 000000000..5a911c70b --- /dev/null +++ b/hphp/test/vm/func2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Can't use array() as base in write context in %s on line 7 diff --git a/hphp/test/vm/func3.php.exp b/hphp/test/vm/func3.php.exp deleted file mode 100644 index d5e1f38ce..000000000 --- a/hphp/test/vm/func3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Can't use array() as base in write context in hphp/test/vm/func3.php on line 4 diff --git a/hphp/test/vm/func3.php.expectf b/hphp/test/vm/func3.php.expectf new file mode 100644 index 000000000..a5c8adeb8 --- /dev/null +++ b/hphp/test/vm/func3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Can't use array() as base in write context in %s on line 4 diff --git a/hphp/test/vm/func_get_args.php.exp b/hphp/test/vm/func_get_args.php.expect similarity index 100% rename from hphp/test/vm/func_get_args.php.exp rename to hphp/test/vm/func_get_args.php.expect diff --git a/hphp/test/vm/function-static-init.php.exp b/hphp/test/vm/function-static-init.php.expect similarity index 100% rename from hphp/test/vm/function-static-init.php.exp rename to hphp/test/vm/function-static-init.php.expect diff --git a/hphp/test/vm/fwd.php.exp b/hphp/test/vm/fwd.php.expect similarity index 100% rename from hphp/test/vm/fwd.php.exp rename to hphp/test/vm/fwd.php.expect diff --git a/hphp/test/vm/gcd.php.exp b/hphp/test/vm/gcd.php.expect similarity index 100% rename from hphp/test/vm/gcd.php.exp rename to hphp/test/vm/gcd.php.expect diff --git a/hphp/test/vm/gcv.php.exp b/hphp/test/vm/gcv.php.expect similarity index 100% rename from hphp/test/vm/gcv.php.exp rename to hphp/test/vm/gcv.php.expect diff --git a/hphp/test/vm/generator_method.php.exp b/hphp/test/vm/generator_method.php.expect similarity index 100% rename from hphp/test/vm/generator_method.php.exp rename to hphp/test/vm/generator_method.php.expect diff --git a/hphp/test/vm/generator_vars.php.exp b/hphp/test/vm/generator_vars.php.expect similarity index 100% rename from hphp/test/vm/generator_vars.php.exp rename to hphp/test/vm/generator_vars.php.expect diff --git a/hphp/test/vm/get_called_class.php.exp b/hphp/test/vm/get_called_class.php.expect similarity index 100% rename from hphp/test/vm/get_called_class.php.exp rename to hphp/test/vm/get_called_class.php.expect diff --git a/hphp/test/vm/get_class.php.exp b/hphp/test/vm/get_class.php.exp deleted file mode 100644 index 0abcbdc21..000000000 --- a/hphp/test/vm/get_class.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -string(1) "A" -string(1) "A" -string(1) "A" -HipHop Warning: get_class() called without object from outside a class in hphp/test/vm/get_class.php on line 13 -bool(false) -HipHop Warning: get_class() called without object from outside a class in hphp/test/vm/get_class.php on line 14 -bool(false) diff --git a/hphp/test/vm/get_class.php.expectf b/hphp/test/vm/get_class.php.expectf new file mode 100644 index 000000000..c6b9548e3 --- /dev/null +++ b/hphp/test/vm/get_class.php.expectf @@ -0,0 +1,7 @@ +string(1) "A" +string(1) "A" +string(1) "A" +HipHop Warning: get_class() called without object from outside a class in %s on line 13 +bool(false) +HipHop Warning: get_class() called without object from outside a class in %s on line 14 +bool(false) diff --git a/hphp/test/vm/get_class_constants.php.exp b/hphp/test/vm/get_class_constants.php.expect similarity index 100% rename from hphp/test/vm/get_class_constants.php.exp rename to hphp/test/vm/get_class_constants.php.expect diff --git a/hphp/test/vm/get_defined_vars.php.exp b/hphp/test/vm/get_defined_vars.php.expect similarity index 100% rename from hphp/test/vm/get_defined_vars.php.exp rename to hphp/test/vm/get_defined_vars.php.expect diff --git a/hphp/test/vm/giant-class.php.exp b/hphp/test/vm/giant-class.php.expect similarity index 100% rename from hphp/test/vm/giant-class.php.exp rename to hphp/test/vm/giant-class.php.expect diff --git a/hphp/test/vm/global_addelem.php.exp b/hphp/test/vm/global_addelem.php.exp deleted file mode 100644 index 6c7f962c4..000000000 --- a/hphp/test/vm/global_addelem.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: append on $GLOBALS is not implemented yet. in hphp/test/vm/global_addelem.php on line 6 diff --git a/hphp/test/vm/global_addelem.php.expectf b/hphp/test/vm/global_addelem.php.expectf new file mode 100644 index 000000000..516b99efd --- /dev/null +++ b/hphp/test/vm/global_addelem.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: append on $GLOBALS is not implemented yet. in %s on line 6 diff --git a/hphp/test/vm/global_dequeue_pop.php.exp b/hphp/test/vm/global_dequeue_pop.php.expect similarity index 100% rename from hphp/test/vm/global_dequeue_pop.php.exp rename to hphp/test/vm/global_dequeue_pop.php.expect diff --git a/hphp/test/vm/guards1.php.exp b/hphp/test/vm/guards1.php.expect similarity index 100% rename from hphp/test/vm/guards1.php.exp rename to hphp/test/vm/guards1.php.expect diff --git a/hphp/test/vm/hello.php.exp b/hphp/test/vm/hello.php.expect similarity index 100% rename from hphp/test/vm/hello.php.exp rename to hphp/test/vm/hello.php.expect diff --git a/hphp/test/vm/hhir_cgetm_exceptions.php.exp b/hphp/test/vm/hhir_cgetm_exceptions.php.expect similarity index 100% rename from hphp/test/vm/hhir_cgetm_exceptions.php.exp rename to hphp/test/vm/hhir_cgetm_exceptions.php.expect diff --git a/hphp/test/vm/hhir_eq_stack.php.exp b/hphp/test/vm/hhir_eq_stack.php.expect similarity index 100% rename from hphp/test/vm/hhir_eq_stack.php.exp rename to hphp/test/vm/hhir_eq_stack.php.expect diff --git a/hphp/test/vm/hhir_nonconst_null.php.exp b/hphp/test/vm/hhir_nonconst_null.php.expect similarity index 100% rename from hphp/test/vm/hhir_nonconst_null.php.exp rename to hphp/test/vm/hhir_nonconst_null.php.expect diff --git a/hphp/test/vm/hoistable_a.php.exp b/hphp/test/vm/hoistable_a.php.expect similarity index 100% rename from hphp/test/vm/hoistable_a.php.exp rename to hphp/test/vm/hoistable_a.php.expect diff --git a/hphp/test/vm/hoistable_b.php.exp b/hphp/test/vm/hoistable_b.php.expect similarity index 100% rename from hphp/test/vm/hoistable_b.php.exp rename to hphp/test/vm/hoistable_b.php.expect diff --git a/hphp/test/vm/hoistable_d.php.exp b/hphp/test/vm/hoistable_d.php.expect similarity index 100% rename from hphp/test/vm/hoistable_d.php.exp rename to hphp/test/vm/hoistable_d.php.expect diff --git a/hphp/test/vm/hopt-add1.php.exp b/hphp/test/vm/hopt-add1.php.expect similarity index 100% rename from hphp/test/vm/hopt-add1.php.exp rename to hphp/test/vm/hopt-add1.php.expect diff --git a/hphp/test/vm/hopt-add2.php.exp b/hphp/test/vm/hopt-add2.php.expect similarity index 100% rename from hphp/test/vm/hopt-add2.php.exp rename to hphp/test/vm/hopt-add2.php.expect diff --git a/hphp/test/vm/hopt-add3.php.exp b/hphp/test/vm/hopt-add3.php.expect similarity index 100% rename from hphp/test/vm/hopt-add3.php.exp rename to hphp/test/vm/hopt-add3.php.expect diff --git a/hphp/test/vm/hopt-and-simp.php.exp b/hphp/test/vm/hopt-and-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-and-simp.php.exp rename to hphp/test/vm/hopt-and-simp.php.expect diff --git a/hphp/test/vm/hopt-arg-alias.php.exp b/hphp/test/vm/hopt-arg-alias.php.expect similarity index 100% rename from hphp/test/vm/hopt-arg-alias.php.exp rename to hphp/test/vm/hopt-arg-alias.php.expect diff --git a/hphp/test/vm/hopt-arg-alias2.php.exp b/hphp/test/vm/hopt-arg-alias2.php.expect similarity index 100% rename from hphp/test/vm/hopt-arg-alias2.php.exp rename to hphp/test/vm/hopt-arg-alias2.php.expect diff --git a/hphp/test/vm/hopt-cjump.php.exp b/hphp/test/vm/hopt-cjump.php.expect similarity index 100% rename from hphp/test/vm/hopt-cjump.php.exp rename to hphp/test/vm/hopt-cjump.php.expect diff --git a/hphp/test/vm/hopt-cmp1.php.exp b/hphp/test/vm/hopt-cmp1.php.expect similarity index 100% rename from hphp/test/vm/hopt-cmp1.php.exp rename to hphp/test/vm/hopt-cmp1.php.expect diff --git a/hphp/test/vm/hopt-concat-simp.php.exp b/hphp/test/vm/hopt-concat-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-concat-simp.php.exp rename to hphp/test/vm/hopt-concat-simp.php.expect diff --git a/hphp/test/vm/hopt-concat.php.exp b/hphp/test/vm/hopt-concat.php.expect similarity index 100% rename from hphp/test/vm/hopt-concat.php.exp rename to hphp/test/vm/hopt-concat.php.expect diff --git a/hphp/test/vm/hopt-eq.php.exp b/hphp/test/vm/hopt-eq.php.expect similarity index 100% rename from hphp/test/vm/hopt-eq.php.exp rename to hphp/test/vm/hopt-eq.php.expect diff --git a/hphp/test/vm/hopt-eqBoolInt.php.exp b/hphp/test/vm/hopt-eqBoolInt.php.expect similarity index 100% rename from hphp/test/vm/hopt-eqBoolInt.php.exp rename to hphp/test/vm/hopt-eqBoolInt.php.expect diff --git a/hphp/test/vm/hopt-eqObj.php.exp b/hphp/test/vm/hopt-eqObj.php.expect similarity index 100% rename from hphp/test/vm/hopt-eqObj.php.exp rename to hphp/test/vm/hopt-eqObj.php.expect diff --git a/hphp/test/vm/hopt-eqResources.php.exp b/hphp/test/vm/hopt-eqResources.php.expect similarity index 100% rename from hphp/test/vm/hopt-eqResources.php.exp rename to hphp/test/vm/hopt-eqResources.php.expect diff --git a/hphp/test/vm/hopt-exit-ref1.php.exp b/hphp/test/vm/hopt-exit-ref1.php.expect similarity index 100% rename from hphp/test/vm/hopt-exit-ref1.php.exp rename to hphp/test/vm/hopt-exit-ref1.php.expect diff --git a/hphp/test/vm/hopt-exitslow.php.exp b/hphp/test/vm/hopt-exitslow.php.exp deleted file mode 100644 index 119f4923f..000000000 --- a/hphp/test/vm/hopt-exitslow.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: Undefined variable: this in hphp/test/vm/hopt-exitslow.php on line 5 -bool(false) diff --git a/hphp/test/vm/hopt-exitslow.php.expectf b/hphp/test/vm/hopt-exitslow.php.expectf new file mode 100644 index 000000000..970272d3a --- /dev/null +++ b/hphp/test/vm/hopt-exitslow.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: Undefined variable: this in %s on line 5 +bool(false) diff --git a/hphp/test/vm/hopt-isset.php.exp b/hphp/test/vm/hopt-isset.php.expect similarity index 100% rename from hphp/test/vm/hopt-isset.php.exp rename to hphp/test/vm/hopt-isset.php.expect diff --git a/hphp/test/vm/hopt-juggling.php.exp b/hphp/test/vm/hopt-juggling.php.expect similarity index 100% rename from hphp/test/vm/hopt-juggling.php.exp rename to hphp/test/vm/hopt-juggling.php.expect diff --git a/hphp/test/vm/hopt-mul-simp.php.exp b/hphp/test/vm/hopt-mul-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-mul-simp.php.exp rename to hphp/test/vm/hopt-mul-simp.php.expect diff --git a/hphp/test/vm/hopt-mul1.php.exp b/hphp/test/vm/hopt-mul1.php.expect similarity index 100% rename from hphp/test/vm/hopt-mul1.php.exp rename to hphp/test/vm/hopt-mul1.php.expect diff --git a/hphp/test/vm/hopt-mul2.php.exp b/hphp/test/vm/hopt-mul2.php.expect similarity index 100% rename from hphp/test/vm/hopt-mul2.php.exp rename to hphp/test/vm/hopt-mul2.php.expect diff --git a/hphp/test/vm/hopt-mul3.php.exp b/hphp/test/vm/hopt-mul3.php.expect similarity index 100% rename from hphp/test/vm/hopt-mul3.php.exp rename to hphp/test/vm/hopt-mul3.php.expect diff --git a/hphp/test/vm/hopt-or-simp.php.exp b/hphp/test/vm/hopt-or-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-or-simp.php.exp rename to hphp/test/vm/hopt-or-simp.php.expect diff --git a/hphp/test/vm/hopt-partial-dse.php.exp b/hphp/test/vm/hopt-partial-dse.php.expect similarity index 100% rename from hphp/test/vm/hopt-partial-dse.php.exp rename to hphp/test/vm/hopt-partial-dse.php.expect diff --git a/hphp/test/vm/hopt-pre-coloring-2.php.exp b/hphp/test/vm/hopt-pre-coloring-2.php.expect similarity index 100% rename from hphp/test/vm/hopt-pre-coloring-2.php.exp rename to hphp/test/vm/hopt-pre-coloring-2.php.expect diff --git a/hphp/test/vm/hopt-pre-coloring.php.exp b/hphp/test/vm/hopt-pre-coloring.php.expect similarity index 100% rename from hphp/test/vm/hopt-pre-coloring.php.exp rename to hphp/test/vm/hopt-pre-coloring.php.expect diff --git a/hphp/test/vm/hopt-ref-alias.php.exp b/hphp/test/vm/hopt-ref-alias.php.expect similarity index 100% rename from hphp/test/vm/hopt-ref-alias.php.exp rename to hphp/test/vm/hopt-ref-alias.php.expect diff --git a/hphp/test/vm/hopt-ref-arg.php.exp b/hphp/test/vm/hopt-ref-arg.php.expect similarity index 100% rename from hphp/test/vm/hopt-ref-arg.php.exp rename to hphp/test/vm/hopt-ref-arg.php.expect diff --git a/hphp/test/vm/hopt-ref-medium.php.exp b/hphp/test/vm/hopt-ref-medium.php.expect similarity index 100% rename from hphp/test/vm/hopt-ref-medium.php.exp rename to hphp/test/vm/hopt-ref-medium.php.expect diff --git a/hphp/test/vm/hopt-ref-obj.php.exp b/hphp/test/vm/hopt-ref-obj.php.expect similarity index 100% rename from hphp/test/vm/hopt-ref-obj.php.exp rename to hphp/test/vm/hopt-ref-obj.php.expect diff --git a/hphp/test/vm/hopt-ref-simple.php.exp b/hphp/test/vm/hopt-ref-simple.php.expect similarity index 100% rename from hphp/test/vm/hopt-ref-simple.php.exp rename to hphp/test/vm/hopt-ref-simple.php.expect diff --git a/hphp/test/vm/hopt-refs1.php.exp b/hphp/test/vm/hopt-refs1.php.expect similarity index 100% rename from hphp/test/vm/hopt-refs1.php.exp rename to hphp/test/vm/hopt-refs1.php.expect diff --git a/hphp/test/vm/hopt-reg-spill.php.exp b/hphp/test/vm/hopt-reg-spill.php.expect similarity index 100% rename from hphp/test/vm/hopt-reg-spill.php.exp rename to hphp/test/vm/hopt-reg-spill.php.expect diff --git a/hphp/test/vm/hopt-ret1.php.exp b/hphp/test/vm/hopt-ret1.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret1.php.exp rename to hphp/test/vm/hopt-ret1.php.expect diff --git a/hphp/test/vm/hopt-ret10.php.exp b/hphp/test/vm/hopt-ret10.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret10.php.exp rename to hphp/test/vm/hopt-ret10.php.expect diff --git a/hphp/test/vm/hopt-ret2.php.exp b/hphp/test/vm/hopt-ret2.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret2.php.exp rename to hphp/test/vm/hopt-ret2.php.expect diff --git a/hphp/test/vm/hopt-ret3.php.exp b/hphp/test/vm/hopt-ret3.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret3.php.exp rename to hphp/test/vm/hopt-ret3.php.expect diff --git a/hphp/test/vm/hopt-ret4.php.exp b/hphp/test/vm/hopt-ret4.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret4.php.exp rename to hphp/test/vm/hopt-ret4.php.expect diff --git a/hphp/test/vm/hopt-ret5.php.exp b/hphp/test/vm/hopt-ret5.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret5.php.exp rename to hphp/test/vm/hopt-ret5.php.expect diff --git a/hphp/test/vm/hopt-ret6.php.exp b/hphp/test/vm/hopt-ret6.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret6.php.exp rename to hphp/test/vm/hopt-ret6.php.expect diff --git a/hphp/test/vm/hopt-ret7.php.exp b/hphp/test/vm/hopt-ret7.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret7.php.exp rename to hphp/test/vm/hopt-ret7.php.expect diff --git a/hphp/test/vm/hopt-ret8.php.exp b/hphp/test/vm/hopt-ret8.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret8.php.exp rename to hphp/test/vm/hopt-ret8.php.expect diff --git a/hphp/test/vm/hopt-ret9.php.exp b/hphp/test/vm/hopt-ret9.php.expect similarity index 100% rename from hphp/test/vm/hopt-ret9.php.exp rename to hphp/test/vm/hopt-ret9.php.expect diff --git a/hphp/test/vm/hopt-same-simp.php.exp b/hphp/test/vm/hopt-same-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-same-simp.php.exp rename to hphp/test/vm/hopt-same-simp.php.expect diff --git a/hphp/test/vm/hopt-simp-rare.php.exp b/hphp/test/vm/hopt-simp-rare.php.expect similarity index 100% rename from hphp/test/vm/hopt-simp-rare.php.exp rename to hphp/test/vm/hopt-simp-rare.php.expect diff --git a/hphp/test/vm/hopt-simp.php.exp b/hphp/test/vm/hopt-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-simp.php.exp rename to hphp/test/vm/hopt-simp.php.expect diff --git a/hphp/test/vm/hopt-static.php.exp b/hphp/test/vm/hopt-static.php.expect similarity index 100% rename from hphp/test/vm/hopt-static.php.exp rename to hphp/test/vm/hopt-static.php.expect diff --git a/hphp/test/vm/hopt-stref1.php.exp b/hphp/test/vm/hopt-stref1.php.expect similarity index 100% rename from hphp/test/vm/hopt-stref1.php.exp rename to hphp/test/vm/hopt-stref1.php.expect diff --git a/hphp/test/vm/hopt-stref2.php.exp b/hphp/test/vm/hopt-stref2.php.expect similarity index 100% rename from hphp/test/vm/hopt-stref2.php.exp rename to hphp/test/vm/hopt-stref2.php.expect diff --git a/hphp/test/vm/hopt-string-simp.php.exp b/hphp/test/vm/hopt-string-simp.php.exp deleted file mode 100644 index 75bfa06d8..000000000 --- a/hphp/test/vm/hopt-string-simp.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -int(4) -int(5) -bool(true) -bool(true) -bool(true) -bool(false) -bool(false) -bool(true) -bool(false) -bool(true) -bool(true) -HipHop Warning: strlen() expects parameter 1 to be string, array given in hphp/test/vm/hopt-string-simp.php on line 62 -NULL -HipHop Warning: strlen() expects parameter 1 to be string, object given in hphp/test/vm/hopt-string-simp.php on line 69 -NULL -int(1) -HipHop Warning: strlen() expects parameter 1 to be string, object given in hphp/test/vm/hopt-string-simp.php on line 83 -NULL diff --git a/hphp/test/vm/hopt-string-simp.php.expectf b/hphp/test/vm/hopt-string-simp.php.expectf new file mode 100644 index 000000000..a211e81ed --- /dev/null +++ b/hphp/test/vm/hopt-string-simp.php.expectf @@ -0,0 +1,18 @@ +int(4) +int(5) +bool(true) +bool(true) +bool(true) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +bool(true) +HipHop Warning: strlen() expects parameter 1 to be string, array given in %s on line 62 +NULL +HipHop Warning: strlen() expects parameter 1 to be string, object given in %s on line 69 +NULL +int(1) +HipHop Warning: strlen() expects parameter 1 to be string, object given in %s on line 83 +NULL diff --git a/hphp/test/vm/hopt-sub-simp.php.exp b/hphp/test/vm/hopt-sub-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-sub-simp.php.exp rename to hphp/test/vm/hopt-sub-simp.php.expect diff --git a/hphp/test/vm/hopt-sub1.php.exp b/hphp/test/vm/hopt-sub1.php.expect similarity index 100% rename from hphp/test/vm/hopt-sub1.php.exp rename to hphp/test/vm/hopt-sub1.php.expect diff --git a/hphp/test/vm/hopt-sub2.php.exp b/hphp/test/vm/hopt-sub2.php.expect similarity index 100% rename from hphp/test/vm/hopt-sub2.php.exp rename to hphp/test/vm/hopt-sub2.php.expect diff --git a/hphp/test/vm/hopt-sub3.php.exp b/hphp/test/vm/hopt-sub3.php.expect similarity index 100% rename from hphp/test/vm/hopt-sub3.php.exp rename to hphp/test/vm/hopt-sub3.php.expect diff --git a/hphp/test/vm/hopt-sub4.php.exp b/hphp/test/vm/hopt-sub4.php.expect similarity index 100% rename from hphp/test/vm/hopt-sub4.php.exp rename to hphp/test/vm/hopt-sub4.php.expect diff --git a/hphp/test/vm/hopt-sub5.php.exp b/hphp/test/vm/hopt-sub5.php.expect similarity index 100% rename from hphp/test/vm/hopt-sub5.php.exp rename to hphp/test/vm/hopt-sub5.php.expect diff --git a/hphp/test/vm/hopt-test-sub.php.exp b/hphp/test/vm/hopt-test-sub.php.expect similarity index 100% rename from hphp/test/vm/hopt-test-sub.php.exp rename to hphp/test/vm/hopt-test-sub.php.expect diff --git a/hphp/test/vm/hopt-translator_unwind.hhas.exp b/hphp/test/vm/hopt-translator_unwind.hhas.expect similarity index 100% rename from hphp/test/vm/hopt-translator_unwind.hhas.exp rename to hphp/test/vm/hopt-translator_unwind.hhas.expect diff --git a/hphp/test/vm/hopt-true3.php.exp b/hphp/test/vm/hopt-true3.php.expect similarity index 100% rename from hphp/test/vm/hopt-true3.php.exp rename to hphp/test/vm/hopt-true3.php.expect diff --git a/hphp/test/vm/hopt-true4.php.exp b/hphp/test/vm/hopt-true4.php.expect similarity index 100% rename from hphp/test/vm/hopt-true4.php.exp rename to hphp/test/vm/hopt-true4.php.expect diff --git a/hphp/test/vm/hopt-type-mutate1.php.exp b/hphp/test/vm/hopt-type-mutate1.php.expect similarity index 100% rename from hphp/test/vm/hopt-type-mutate1.php.exp rename to hphp/test/vm/hopt-type-mutate1.php.expect diff --git a/hphp/test/vm/hopt-type-mutate2.php.exp b/hphp/test/vm/hopt-type-mutate2.php.expect similarity index 100% rename from hphp/test/vm/hopt-type-mutate2.php.exp rename to hphp/test/vm/hopt-type-mutate2.php.expect diff --git a/hphp/test/vm/hopt-type-mutate3.php.exp b/hphp/test/vm/hopt-type-mutate3.php.expect similarity index 100% rename from hphp/test/vm/hopt-type-mutate3.php.exp rename to hphp/test/vm/hopt-type-mutate3.php.expect diff --git a/hphp/test/vm/hopt-xor-simp.php.exp b/hphp/test/vm/hopt-xor-simp.php.expect similarity index 100% rename from hphp/test/vm/hopt-xor-simp.php.exp rename to hphp/test/vm/hopt-xor-simp.php.expect diff --git a/hphp/test/vm/hopt_array.php.exp b/hphp/test/vm/hopt_array.php.expect similarity index 100% rename from hphp/test/vm/hopt_array.php.exp rename to hphp/test/vm/hopt_array.php.expect diff --git a/hphp/test/vm/hopt_bitops.php.exp b/hphp/test/vm/hopt_bitops.php.expect similarity index 100% rename from hphp/test/vm/hopt_bitops.php.exp rename to hphp/test/vm/hopt_bitops.php.expect diff --git a/hphp/test/vm/hopt_cgetm.php.exp b/hphp/test/vm/hopt_cgetm.php.expect similarity index 100% rename from hphp/test/vm/hopt_cgetm.php.exp rename to hphp/test/vm/hopt_cgetm.php.expect diff --git a/hphp/test/vm/hopt_fpi.php.exp b/hphp/test/vm/hopt_fpi.php.expect similarity index 100% rename from hphp/test/vm/hopt_fpi.php.exp rename to hphp/test/vm/hopt_fpi.php.expect diff --git a/hphp/test/vm/hopt_late_jcc_to_jmp.php.exp b/hphp/test/vm/hopt_late_jcc_to_jmp.php.expect similarity index 100% rename from hphp/test/vm/hopt_late_jcc_to_jmp.php.exp rename to hphp/test/vm/hopt_late_jcc_to_jmp.php.expect diff --git a/hphp/test/vm/hopt_methodcall1.php.exp b/hphp/test/vm/hopt_methodcall1.php.expect similarity index 100% rename from hphp/test/vm/hopt_methodcall1.php.exp rename to hphp/test/vm/hopt_methodcall1.php.expect diff --git a/hphp/test/vm/hopt_methodcall2.php.exp b/hphp/test/vm/hopt_methodcall2.php.expect similarity index 100% rename from hphp/test/vm/hopt_methodcall2.php.exp rename to hphp/test/vm/hopt_methodcall2.php.expect diff --git a/hphp/test/vm/hopt_preparable.php.exp b/hphp/test/vm/hopt_preparable.php.expect similarity index 100% rename from hphp/test/vm/hopt_preparable.php.exp rename to hphp/test/vm/hopt_preparable.php.expect diff --git a/hphp/test/vm/hopt_sprop_accessibility.php.exp b/hphp/test/vm/hopt_sprop_accessibility.php.exp deleted file mode 100644 index e1c7ab47c..000000000 --- a/hphp/test/vm/hopt_sprop_accessibility.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Invalid static property access: A::priv in hphp/test/vm/hopt_sprop_accessibility.php on line 4 diff --git a/hphp/test/vm/hopt_sprop_accessibility.php.expectf b/hphp/test/vm/hopt_sprop_accessibility.php.expectf new file mode 100644 index 000000000..f700a3b6e --- /dev/null +++ b/hphp/test/vm/hopt_sprop_accessibility.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Invalid static property access: A::priv in %s on line 4 diff --git a/hphp/test/vm/hopt_sprop_accessibility2.php.exp b/hphp/test/vm/hopt_sprop_accessibility2.php.expect similarity index 100% rename from hphp/test/vm/hopt_sprop_accessibility2.php.exp rename to hphp/test/vm/hopt_sprop_accessibility2.php.expect diff --git a/hphp/test/vm/hopt_static_call.php.exp b/hphp/test/vm/hopt_static_call.php.expect similarity index 100% rename from hphp/test/vm/hopt_static_call.php.exp rename to hphp/test/vm/hopt_static_call.php.expect diff --git a/hphp/test/vm/hopt_static_call0.php.exp b/hphp/test/vm/hopt_static_call0.php.expect similarity index 100% rename from hphp/test/vm/hopt_static_call0.php.exp rename to hphp/test/vm/hopt_static_call0.php.expect diff --git a/hphp/test/vm/hopt_varenv.php.exp b/hphp/test/vm/hopt_varenv.php.exp deleted file mode 100644 index e85c5841f..000000000 --- a/hphp/test/vm/hopt_varenv.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -123 -HipHop Notice: Undefined variable: d in hphp/test/vm/hopt_varenv.php on line 8 diff --git a/hphp/test/vm/hopt_varenv.php.expectf b/hphp/test/vm/hopt_varenv.php.expectf new file mode 100644 index 000000000..92444ce07 --- /dev/null +++ b/hphp/test/vm/hopt_varenv.php.expectf @@ -0,0 +1,2 @@ +123 +HipHop Notice: Undefined variable: d in %s on line 8 diff --git a/hphp/test/vm/hopt_vgeth.php.exp b/hphp/test/vm/hopt_vgeth.php.expect similarity index 100% rename from hphp/test/vm/hopt_vgeth.php.exp rename to hphp/test/vm/hopt_vgeth.php.expect diff --git a/hphp/test/vm/hopt_vgetm.php.exp b/hphp/test/vm/hopt_vgetm.php.expect similarity index 100% rename from hphp/test/vm/hopt_vgetm.php.exp rename to hphp/test/vm/hopt_vgetm.php.expect diff --git a/hphp/test/vm/idn-uts46-basic.php.exp b/hphp/test/vm/idn-uts46-basic.php.expect similarity index 100% rename from hphp/test/vm/idn-uts46-basic.php.exp rename to hphp/test/vm/idn-uts46-basic.php.expect diff --git a/hphp/test/vm/idn-uts46-errors.php.exp b/hphp/test/vm/idn-uts46-errors.php.exp deleted file mode 100644 index b83e6bd8d..000000000 --- a/hphp/test/vm/idn-uts46-errors.php.exp +++ /dev/null @@ -1,34 +0,0 @@ -=> PHP level errors -bad args: -string(0) "" -HipHop Warning: Too many arguments for idn_to_ascii(), expected 4 in hphp/test/vm/idn-uts46-errors.php on line 7 -NULL -bad variant: -bool(false) -empty domain: -bool(false) -fourth arg for 2003 variant (only notice raised): -string(7) "foo.com" -with error, but no details arg: -bool(false) -with error, with details arg: -bool(false) -array(3) { - ["result"]=> - string(0) "" - ["isTransitionalDifferent"]=> - int(1) - ["errors"]=> - int(16) -} -with error, with details arg, contextj: -bool(false) -array(3) { - ["result"]=> - string(0) "" - ["isTransitionalDifferent"]=> - int(1) - ["errors"]=> - int(4096) -} -bool(true) diff --git a/hphp/test/vm/idn-uts46-errors.php.expectf b/hphp/test/vm/idn-uts46-errors.php.expectf new file mode 100644 index 000000000..60548fe53 --- /dev/null +++ b/hphp/test/vm/idn-uts46-errors.php.expectf @@ -0,0 +1,34 @@ +=> PHP level errors +bad args: +string(0) "" +HipHop Warning: Too many arguments for idn_to_ascii(), expected 4 in %s on line 7 +NULL +bad variant: +bool(false) +empty domain: +bool(false) +fourth arg for 2003 variant (only notice raised): +string(7) "foo.com" +with error, but no details arg: +bool(false) +with error, with details arg: +bool(false) +array(3) { + ["result"]=> + string(0) "" + ["isTransitionalDifferent"]=> + int(1) + ["errors"]=> + int(16) +} +with error, with details arg, contextj: +bool(false) +array(3) { + ["result"]=> + string(0) "" + ["isTransitionalDifferent"]=> + int(1) + ["errors"]=> + int(4096) +} +bool(true) diff --git a/hphp/test/vm/idx.php.exp b/hphp/test/vm/idx.php.expect similarity index 100% rename from hphp/test/vm/idx.php.exp rename to hphp/test/vm/idx.php.expect diff --git a/hphp/test/vm/impl_abstract_ctor.php.exp b/hphp/test/vm/impl_abstract_ctor.php.expect similarity index 100% rename from hphp/test/vm/impl_abstract_ctor.php.exp rename to hphp/test/vm/impl_abstract_ctor.php.expect diff --git a/hphp/test/vm/impl_abstract_default_vals.php.exp b/hphp/test/vm/impl_abstract_default_vals.php.expect similarity index 100% rename from hphp/test/vm/impl_abstract_default_vals.php.exp rename to hphp/test/vm/impl_abstract_default_vals.php.expect diff --git a/hphp/test/vm/impl_abstract_dv_2a.php.exp b/hphp/test/vm/impl_abstract_dv_2a.php.exp deleted file mode 100644 index a2f867bd0..000000000 --- a/hphp/test/vm/impl_abstract_dv_2a.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of C::foo() must be compatible with that of A::foo() in hphp/test/vm/impl_abstract_dv_2a.php on line 4 diff --git a/hphp/test/vm/impl_abstract_dv_2a.php.expectf b/hphp/test/vm/impl_abstract_dv_2a.php.expectf new file mode 100644 index 000000000..37a791688 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_2a.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of C::foo() must be compatible with that of A::foo() in %s on line 4 diff --git a/hphp/test/vm/impl_abstract_dv_3a.php.exp b/hphp/test/vm/impl_abstract_dv_3a.php.exp deleted file mode 100644 index 01f0e6030..000000000 --- a/hphp/test/vm/impl_abstract_dv_3a.php.exp +++ /dev/null @@ -1 +0,0 @@ - HipHop Fatal error: Declaration of C::foo() must be compatible with that of A::foo() in hphp/test/vm/impl_abstract_dv_3a.php on line 5 diff --git a/hphp/test/vm/impl_abstract_dv_3a.php.expectf b/hphp/test/vm/impl_abstract_dv_3a.php.expectf new file mode 100644 index 000000000..362c33e97 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_3a.php.expectf @@ -0,0 +1 @@ + HipHop Fatal error: Declaration of C::foo() must be compatible with that of A::foo() in %s on line 5 diff --git a/hphp/test/vm/impl_abstract_dv_as.php.exp b/hphp/test/vm/impl_abstract_dv_as.php.exp deleted file mode 100644 index c72dde91a..000000000 --- a/hphp/test/vm/impl_abstract_dv_as.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::s() must be compatible with that of A::s() in hphp/test/vm/impl_abstract_dv_as.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_as.php.expectf b/hphp/test/vm/impl_abstract_dv_as.php.expectf new file mode 100644 index 000000000..17d5b07c2 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_as.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::s() must be compatible with that of A::s() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_b_Bool.php.exp b/hphp/test/vm/impl_abstract_dv_b_Bool.php.exp deleted file mode 100644 index eed9d3205..000000000 --- a/hphp/test/vm/impl_abstract_dv_b_Bool.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::b() must be compatible with that of A::b() in hphp/test/vm/impl_abstract_dv_b_Bool.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_b_Bool.php.expectf b/hphp/test/vm/impl_abstract_dv_b_Bool.php.expectf new file mode 100644 index 000000000..d11503d8f --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_b_Bool.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::b() must be compatible with that of A::b() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_b_boolean.php.exp b/hphp/test/vm/impl_abstract_dv_b_boolean.php.exp deleted file mode 100644 index 4e1dd3404..000000000 --- a/hphp/test/vm/impl_abstract_dv_b_boolean.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::b() must be compatible with that of A::b() in hphp/test/vm/impl_abstract_dv_b_boolean.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_b_boolean.php.expectf b/hphp/test/vm/impl_abstract_dv_b_boolean.php.expectf new file mode 100644 index 000000000..d11503d8f --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_b_boolean.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::b() must be compatible with that of A::b() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_i_Int.php.exp b/hphp/test/vm/impl_abstract_dv_i_Int.php.exp deleted file mode 100644 index 05c0d9aee..000000000 --- a/hphp/test/vm/impl_abstract_dv_i_Int.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in hphp/test/vm/impl_abstract_dv_i_Int.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_i_Int.php.expectf b/hphp/test/vm/impl_abstract_dv_i_Int.php.expectf new file mode 100644 index 000000000..43a9e9759 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_i_Int.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_i_integer.php.exp b/hphp/test/vm/impl_abstract_dv_i_integer.php.exp deleted file mode 100644 index d118ab029..000000000 --- a/hphp/test/vm/impl_abstract_dv_i_integer.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in hphp/test/vm/impl_abstract_dv_i_integer.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_i_integer.php.expectf b/hphp/test/vm/impl_abstract_dv_i_integer.php.expectf new file mode 100644 index 000000000..43a9e9759 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_i_integer.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_ia.php.exp b/hphp/test/vm/impl_abstract_dv_ia.php.exp deleted file mode 100644 index 6d4d04ef5..000000000 --- a/hphp/test/vm/impl_abstract_dv_ia.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in hphp/test/vm/impl_abstract_dv_ia.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_ia.php.expectf b/hphp/test/vm/impl_abstract_dv_ia.php.expectf new file mode 100644 index 000000000..43a9e9759 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_ia.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_id.php.exp b/hphp/test/vm/impl_abstract_dv_id.php.exp deleted file mode 100644 index a2f96d759..000000000 --- a/hphp/test/vm/impl_abstract_dv_id.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::d() must be compatible with that of A::d() in hphp/test/vm/impl_abstract_dv_id.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_id.php.expectf b/hphp/test/vm/impl_abstract_dv_id.php.expectf new file mode 100644 index 000000000..9c7dd7f67 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_id.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::d() must be compatible with that of A::d() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_io.php.exp b/hphp/test/vm/impl_abstract_dv_io.php.exp deleted file mode 100644 index 7750cbb97..000000000 --- a/hphp/test/vm/impl_abstract_dv_io.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::o() must be compatible with that of A::o() in hphp/test/vm/impl_abstract_dv_io.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_io.php.expectf b/hphp/test/vm/impl_abstract_dv_io.php.expectf new file mode 100644 index 000000000..ea1281705 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_io.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::o() must be compatible with that of A::o() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_is.php.exp b/hphp/test/vm/impl_abstract_dv_is.php.exp deleted file mode 100644 index d6d5c27e5..000000000 --- a/hphp/test/vm/impl_abstract_dv_is.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::s() must be compatible with that of A::s() in hphp/test/vm/impl_abstract_dv_is.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_is.php.expectf b/hphp/test/vm/impl_abstract_dv_is.php.expectf new file mode 100644 index 000000000..17d5b07c2 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_is.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::s() must be compatible with that of A::s() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_sa.php.exp b/hphp/test/vm/impl_abstract_dv_sa.php.exp deleted file mode 100644 index 6d296d737..000000000 --- a/hphp/test/vm/impl_abstract_dv_sa.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::s() must be compatible with that of A::s() in hphp/test/vm/impl_abstract_dv_sa.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_sa.php.expectf b/hphp/test/vm/impl_abstract_dv_sa.php.expectf new file mode 100644 index 000000000..17d5b07c2 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_sa.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::s() must be compatible with that of A::s() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_si.php.exp b/hphp/test/vm/impl_abstract_dv_si.php.exp deleted file mode 100644 index 1f529c6ab..000000000 --- a/hphp/test/vm/impl_abstract_dv_si.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::i() must be compatible with that of A::i() in hphp/test/vm/impl_abstract_dv_si.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_si.php.expectf b/hphp/test/vm/impl_abstract_dv_si.php.expectf new file mode 100644 index 000000000..82f1ff341 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_si.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::i() must be compatible with that of A::i() in %s on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_so.php.exp b/hphp/test/vm/impl_abstract_dv_so.php.exp deleted file mode 100644 index 61f35277d..000000000 --- a/hphp/test/vm/impl_abstract_dv_so.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of B::o() must be compatible with that of A::o() in hphp/test/vm/impl_abstract_dv_so.php on line 3 diff --git a/hphp/test/vm/impl_abstract_dv_so.php.expectf b/hphp/test/vm/impl_abstract_dv_so.php.expectf new file mode 100644 index 000000000..ea1281705 --- /dev/null +++ b/hphp/test/vm/impl_abstract_dv_so.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Declaration of B::o() must be compatible with that of A::o() in %s on line 3 diff --git a/hphp/test/vm/incdec-1.php.exp b/hphp/test/vm/incdec-1.php.expect similarity index 100% rename from hphp/test/vm/incdec-1.php.exp rename to hphp/test/vm/incdec-1.php.expect diff --git a/hphp/test/vm/incdec-2.php.exp b/hphp/test/vm/incdec-2.php.expect similarity index 100% rename from hphp/test/vm/incdec-2.php.exp rename to hphp/test/vm/incdec-2.php.expect diff --git a/hphp/test/vm/include.php.exp b/hphp/test/vm/include.php.expect similarity index 100% rename from hphp/test/vm/include.php.exp rename to hphp/test/vm/include.php.expect diff --git a/hphp/test/vm/include_backtrace.php.exp b/hphp/test/vm/include_backtrace.php.exp deleted file mode 100644 index 1868f6a83..000000000 --- a/hphp/test/vm/include_backtrace.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -Array -( - [0] => Array - ( - [file] => hphp/test/vm/include_backtrace.php - [line] => 1 - [function] => include - ) - -) diff --git a/hphp/test/vm/include_backtrace.php.expectf b/hphp/test/vm/include_backtrace.php.expectf new file mode 100644 index 000000000..5353b3296 --- /dev/null +++ b/hphp/test/vm/include_backtrace.php.expectf @@ -0,0 +1,10 @@ +Array +( + [0] => Array + ( + [file] => %s + [line] => 1 + [function] => include + ) + +) diff --git a/hphp/test/vm/indirect-fn.php.exp b/hphp/test/vm/indirect-fn.php.expect similarity index 100% rename from hphp/test/vm/indirect-fn.php.exp rename to hphp/test/vm/indirect-fn.php.expect diff --git a/hphp/test/vm/inherit-static-local.php.exp b/hphp/test/vm/inherit-static-local.php.expect similarity index 100% rename from hphp/test/vm/inherit-static-local.php.exp rename to hphp/test/vm/inherit-static-local.php.expect diff --git a/hphp/test/vm/inittrace.php.exp b/hphp/test/vm/inittrace.php.expect similarity index 100% rename from hphp/test/vm/inittrace.php.exp rename to hphp/test/vm/inittrace.php.expect diff --git a/hphp/test/vm/inline_closure_gen.php.exp b/hphp/test/vm/inline_closure_gen.php.expect similarity index 100% rename from hphp/test/vm/inline_closure_gen.php.exp rename to hphp/test/vm/inline_closure_gen.php.expect diff --git a/hphp/test/vm/inline_surprise_throw.php.exp b/hphp/test/vm/inline_surprise_throw.php.expect similarity index 100% rename from hphp/test/vm/inline_surprise_throw.php.exp rename to hphp/test/vm/inline_surprise_throw.php.expect diff --git a/hphp/test/vm/instanceof.php.exp b/hphp/test/vm/instanceof.php.expect similarity index 100% rename from hphp/test/vm/instanceof.php.exp rename to hphp/test/vm/instanceof.php.expect diff --git a/hphp/test/vm/instanceofInterface.php.exp b/hphp/test/vm/instanceofInterface.php.expect similarity index 100% rename from hphp/test/vm/instanceofInterface.php.exp rename to hphp/test/vm/instanceofInterface.php.expect diff --git a/hphp/test/vm/intercept.php.exp b/hphp/test/vm/intercept.php.expect similarity index 100% rename from hphp/test/vm/intercept.php.exp rename to hphp/test/vm/intercept.php.expect diff --git a/hphp/test/vm/intercept3.php.exp b/hphp/test/vm/intercept3.php.expect similarity index 100% rename from hphp/test/vm/intercept3.php.exp rename to hphp/test/vm/intercept3.php.expect diff --git a/hphp/test/vm/interface1.php.exp b/hphp/test/vm/interface1.php.exp deleted file mode 100644 index abc2e5cbb..000000000 --- a/hphp/test/vm/interface1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class D contains abstract method (foo) and must therefore be declared abstract or implement the remaining methods in hphp/test/vm/interface1.php on line 8 diff --git a/hphp/test/vm/interface1.php.expectf b/hphp/test/vm/interface1.php.expectf new file mode 100644 index 000000000..239fcf7e0 --- /dev/null +++ b/hphp/test/vm/interface1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class D contains abstract method (foo) and must therefore be declared abstract or implement the remaining methods in %s on line 8 diff --git a/hphp/test/vm/interface10.php.exp b/hphp/test/vm/interface10.php.exp deleted file mode 100644 index 8cf45a671..000000000 --- a/hphp/test/vm/interface10.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Test begin -HipHop Fatal error: Declaration of C::a() must be compatible with that of I::a() in hphp/test/vm/interface10.php on line 8 diff --git a/hphp/test/vm/interface10.php.expectf b/hphp/test/vm/interface10.php.expectf new file mode 100644 index 000000000..308646eaf --- /dev/null +++ b/hphp/test/vm/interface10.php.expectf @@ -0,0 +1,2 @@ +Test begin +HipHop Fatal error: Declaration of C::a() must be compatible with that of I::a() in %s on line 8 diff --git a/hphp/test/vm/interface11.php.exp b/hphp/test/vm/interface11.php.expect similarity index 100% rename from hphp/test/vm/interface11.php.exp rename to hphp/test/vm/interface11.php.expect diff --git a/hphp/test/vm/interface2.php.exp b/hphp/test/vm/interface2.php.expect similarity index 100% rename from hphp/test/vm/interface2.php.exp rename to hphp/test/vm/interface2.php.expect diff --git a/hphp/test/vm/interface3.php.exp b/hphp/test/vm/interface3.php.exp deleted file mode 100644 index cf23f6482..000000000 --- a/hphp/test/vm/interface3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class D contains abstract method (foo) and must therefore be declared abstract or implement the remaining methods in hphp/test/vm/interface3.php on line 5 diff --git a/hphp/test/vm/interface3.php.expectf b/hphp/test/vm/interface3.php.expectf new file mode 100644 index 000000000..b91f072c8 --- /dev/null +++ b/hphp/test/vm/interface3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class D contains abstract method (foo) and must therefore be declared abstract or implement the remaining methods in %s on line 5 diff --git a/hphp/test/vm/interface4.php.exp b/hphp/test/vm/interface4.php.expect similarity index 100% rename from hphp/test/vm/interface4.php.exp rename to hphp/test/vm/interface4.php.expect diff --git a/hphp/test/vm/interface5.php.exp b/hphp/test/vm/interface5.php.expect similarity index 100% rename from hphp/test/vm/interface5.php.exp rename to hphp/test/vm/interface5.php.expect diff --git a/hphp/test/vm/interface6.php.exp b/hphp/test/vm/interface6.php.exp deleted file mode 100644 index 820cf1d47..000000000 --- a/hphp/test/vm/interface6.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class E contains abstract method (foo) and must therefore be declared abstract or implement the remaining methods in hphp/test/vm/interface6.php on line 7 diff --git a/hphp/test/vm/interface6.php.expectf b/hphp/test/vm/interface6.php.expectf new file mode 100644 index 000000000..b5277fdec --- /dev/null +++ b/hphp/test/vm/interface6.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class E contains abstract method (foo) and must therefore be declared abstract or implement the remaining methods in %s on line 7 diff --git a/hphp/test/vm/interface7.php.exp b/hphp/test/vm/interface7.php.exp deleted file mode 100644 index b2ab6bd5c..000000000 --- a/hphp/test/vm/interface7.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Test begin -HipHop Fatal error: Declaration of C::foo() must be compatible with that of I::foo() in hphp/test/vm/interface7.php on line 8 diff --git a/hphp/test/vm/interface7.php.expectf b/hphp/test/vm/interface7.php.expectf new file mode 100644 index 000000000..87fe6fff3 --- /dev/null +++ b/hphp/test/vm/interface7.php.expectf @@ -0,0 +1,2 @@ +Test begin +HipHop Fatal error: Declaration of C::foo() must be compatible with that of I::foo() in %s on line 8 diff --git a/hphp/test/vm/interface8.php.exp b/hphp/test/vm/interface8.php.exp deleted file mode 100644 index 59c846973..000000000 --- a/hphp/test/vm/interface8.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Test begin -HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in hphp/test/vm/interface8.php on line 8 diff --git a/hphp/test/vm/interface8.php.expectf b/hphp/test/vm/interface8.php.expectf new file mode 100644 index 000000000..b94e00f64 --- /dev/null +++ b/hphp/test/vm/interface8.php.expectf @@ -0,0 +1,2 @@ +Test begin +HipHop Fatal error: Declaration of B::a() must be compatible with that of A::a() in %s on line 8 diff --git a/hphp/test/vm/interface9.php.exp b/hphp/test/vm/interface9.php.exp deleted file mode 100644 index 447ed8a1e..000000000 --- a/hphp/test/vm/interface9.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Test begin -HipHop Fatal error: Declaration of C::foo() must be compatible with that of I::foo() in hphp/test/vm/interface9.php on line 8 diff --git a/hphp/test/vm/interface9.php.expectf b/hphp/test/vm/interface9.php.expectf new file mode 100644 index 000000000..87fe6fff3 --- /dev/null +++ b/hphp/test/vm/interface9.php.expectf @@ -0,0 +1,2 @@ +Test begin +HipHop Fatal error: Declaration of C::foo() must be compatible with that of I::foo() in %s on line 8 diff --git a/hphp/test/vm/is_callable.php.exp b/hphp/test/vm/is_callable.php.expect similarity index 100% rename from hphp/test/vm/is_callable.php.exp rename to hphp/test/vm/is_callable.php.expect diff --git a/hphp/test/vm/jitarray.php.exp b/hphp/test/vm/jitarray.php.expect similarity index 100% rename from hphp/test/vm/jitarray.php.exp rename to hphp/test/vm/jitarray.php.expect diff --git a/hphp/test/vm/keyref_error.php.exp b/hphp/test/vm/keyref_error.php.exp deleted file mode 100644 index efc1f9ae7..000000000 --- a/hphp/test/vm/keyref_error.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Key element cannot be a reference in hphp/test/vm/keyref_error.php on line 7 diff --git a/hphp/test/vm/keyref_error.php.expectf b/hphp/test/vm/keyref_error.php.expectf new file mode 100644 index 000000000..4a17e3fa3 --- /dev/null +++ b/hphp/test/vm/keyref_error.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Key element cannot be a reference in %s on line 7 diff --git a/hphp/test/vm/lc.php.exp b/hphp/test/vm/lc.php.expect similarity index 100% rename from hphp/test/vm/lc.php.exp rename to hphp/test/vm/lc.php.expect diff --git a/hphp/test/vm/lexer_heredoc_buffer_boundary_65492.php.exp b/hphp/test/vm/lexer_heredoc_buffer_boundary_65492.php.expect similarity index 100% rename from hphp/test/vm/lexer_heredoc_buffer_boundary_65492.php.exp rename to hphp/test/vm/lexer_heredoc_buffer_boundary_65492.php.expect diff --git a/hphp/test/vm/lexer_heredoc_buffer_boundary_65493.php.exp b/hphp/test/vm/lexer_heredoc_buffer_boundary_65493.php.expect similarity index 100% rename from hphp/test/vm/lexer_heredoc_buffer_boundary_65493.php.exp rename to hphp/test/vm/lexer_heredoc_buffer_boundary_65493.php.expect diff --git a/hphp/test/vm/lexer_heredoc_buffer_boundary_65494.php.exp b/hphp/test/vm/lexer_heredoc_buffer_boundary_65494.php.expect similarity index 100% rename from hphp/test/vm/lexer_heredoc_buffer_boundary_65494.php.exp rename to hphp/test/vm/lexer_heredoc_buffer_boundary_65494.php.expect diff --git a/hphp/test/vm/lexer_heredoc_label_cornercases.php.exp b/hphp/test/vm/lexer_heredoc_label_cornercases.php.expect similarity index 100% rename from hphp/test/vm/lexer_heredoc_label_cornercases.php.exp rename to hphp/test/vm/lexer_heredoc_label_cornercases.php.expect diff --git a/hphp/test/vm/lexer_heredoc_many_buffers.php.exp b/hphp/test/vm/lexer_heredoc_many_buffers.php.expect similarity index 100% rename from hphp/test/vm/lexer_heredoc_many_buffers.php.exp rename to hphp/test/vm/lexer_heredoc_many_buffers.php.expect diff --git a/hphp/test/vm/lexer_nowdoc_buffer_boundary_65492.php.exp b/hphp/test/vm/lexer_nowdoc_buffer_boundary_65492.php.expect similarity index 100% rename from hphp/test/vm/lexer_nowdoc_buffer_boundary_65492.php.exp rename to hphp/test/vm/lexer_nowdoc_buffer_boundary_65492.php.expect diff --git a/hphp/test/vm/lexer_nowdoc_buffer_boundary_65493.php.exp b/hphp/test/vm/lexer_nowdoc_buffer_boundary_65493.php.expect similarity index 100% rename from hphp/test/vm/lexer_nowdoc_buffer_boundary_65493.php.exp rename to hphp/test/vm/lexer_nowdoc_buffer_boundary_65493.php.expect diff --git a/hphp/test/vm/lexer_nowdoc_buffer_boundary_65494.php.exp b/hphp/test/vm/lexer_nowdoc_buffer_boundary_65494.php.expect similarity index 100% rename from hphp/test/vm/lexer_nowdoc_buffer_boundary_65494.php.exp rename to hphp/test/vm/lexer_nowdoc_buffer_boundary_65494.php.expect diff --git a/hphp/test/vm/lexer_nowdoc_label_cornercases.php.exp b/hphp/test/vm/lexer_nowdoc_label_cornercases.php.expect similarity index 100% rename from hphp/test/vm/lexer_nowdoc_label_cornercases.php.exp rename to hphp/test/vm/lexer_nowdoc_label_cornercases.php.expect diff --git a/hphp/test/vm/lexer_nowdoc_many_buffers.php.exp b/hphp/test/vm/lexer_nowdoc_many_buffers.php.expect similarity index 100% rename from hphp/test/vm/lexer_nowdoc_many_buffers.php.exp rename to hphp/test/vm/lexer_nowdoc_many_buffers.php.expect diff --git a/hphp/test/vm/list-assignment.php.exp b/hphp/test/vm/list-assignment.php.exp deleted file mode 100644 index 700b07ab0..000000000 --- a/hphp/test/vm/list-assignment.php.exp +++ /dev/null @@ -1,25 +0,0 @@ -int(1) -int(2) -int(3) -array(3) { - [2]=> - int(3) - [1]=> - int(2) - [0]=> - int(1) -} -f -int(4) -int(5) -int(6) -HipHop Notice: Undefined index: 1 in hphp/test/vm/list-assignment.php on line 23 -HipHop Notice: Undefined index: 0 in hphp/test/vm/list-assignment.php on line 23 -NULL -NULL -int(1) -int(2) -int(3) -string(1) "d" -string(1) "e" -string(4) "derp" diff --git a/hphp/test/vm/list-assignment.php.expectf b/hphp/test/vm/list-assignment.php.expectf new file mode 100644 index 000000000..ed59adf42 --- /dev/null +++ b/hphp/test/vm/list-assignment.php.expectf @@ -0,0 +1,25 @@ +int(1) +int(2) +int(3) +array(3) { + [2]=> + int(3) + [1]=> + int(2) + [0]=> + int(1) +} +f +int(4) +int(5) +int(6) +HipHop Notice: Undefined index: 1 in %s on line 23 +HipHop Notice: Undefined index: 0 in %s on line 23 +NULL +NULL +int(1) +int(2) +int(3) +string(1) "d" +string(1) "e" +string(4) "derp" diff --git a/hphp/test/vm/locals.php.exp b/hphp/test/vm/locals.php.expect similarity index 100% rename from hphp/test/vm/locals.php.exp rename to hphp/test/vm/locals.php.expect diff --git a/hphp/test/vm/lotsa-locals.php.exp b/hphp/test/vm/lotsa-locals.php.expect similarity index 100% rename from hphp/test/vm/lotsa-locals.php.exp rename to hphp/test/vm/lotsa-locals.php.expect diff --git a/hphp/test/vm/lotta-args.php.exp b/hphp/test/vm/lotta-args.php.expect similarity index 100% rename from hphp/test/vm/lotta-args.php.exp rename to hphp/test/vm/lotta-args.php.expect diff --git a/hphp/test/vm/magic-get-dtors.php.exp b/hphp/test/vm/magic-get-dtors.php.expect similarity index 100% rename from hphp/test/vm/magic-get-dtors.php.exp rename to hphp/test/vm/magic-get-dtors.php.expect diff --git a/hphp/test/vm/magic-get-set.php.exp b/hphp/test/vm/magic-get-set.php.expect similarity index 100% rename from hphp/test/vm/magic-get-set.php.exp rename to hphp/test/vm/magic-get-set.php.expect diff --git a/hphp/test/vm/mediawikitest.php.exp b/hphp/test/vm/mediawikitest.php.expect similarity index 100% rename from hphp/test/vm/mediawikitest.php.exp rename to hphp/test/vm/mediawikitest.php.expect diff --git a/hphp/test/vm/method-non-object.php.exp b/hphp/test/vm/method-non-object.php.exp deleted file mode 100644 index 560069b8b..000000000 --- a/hphp/test/vm/method-non-object.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function bar() on a non-object' in hphp/test/vm/method-non-object.php:4\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/method-non-object.php.expectf b/hphp/test/vm/method-non-object.php.expectf new file mode 100644 index 000000000..f7234d53a --- /dev/null +++ b/hphp/test/vm/method-non-object.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function bar() on a non-object' in %s:4\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/method-non-object2.php.exp b/hphp/test/vm/method-non-object2.php.exp deleted file mode 100644 index f0dfd456a..000000000 --- a/hphp/test/vm/method-non-object2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function bar() on a non-object' in hphp/test/vm/method-non-object2.php:5\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/method-non-object2.php.expectf b/hphp/test/vm/method-non-object2.php.expectf new file mode 100644 index 000000000..b5e54da32 --- /dev/null +++ b/hphp/test/vm/method-non-object2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function bar() on a non-object' in %s:5\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/method-undefined.php.exp b/hphp/test/vm/method-undefined.php.exp deleted file mode 100644 index b8114ceb5..000000000 --- a/hphp/test/vm/method-undefined.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to undefined method c::foo from anonymous context in hphp/test/vm/method-undefined.php on line 8 diff --git a/hphp/test/vm/method-undefined.php.expectf b/hphp/test/vm/method-undefined.php.expectf new file mode 100644 index 000000000..662d950e0 --- /dev/null +++ b/hphp/test/vm/method-undefined.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Call to undefined method c::foo from anonymous context in %s on line 8 diff --git a/hphp/test/vm/method.php.exp b/hphp/test/vm/method.php.expect similarity index 100% rename from hphp/test/vm/method.php.exp rename to hphp/test/vm/method.php.expect diff --git a/hphp/test/vm/method2.php.exp b/hphp/test/vm/method2.php.expect similarity index 100% rename from hphp/test/vm/method2.php.exp rename to hphp/test/vm/method2.php.expect diff --git a/hphp/test/vm/method3.php.exp b/hphp/test/vm/method3.php.expect similarity index 100% rename from hphp/test/vm/method3.php.exp rename to hphp/test/vm/method3.php.expect diff --git a/hphp/test/vm/missing_arg_exception.php.exp b/hphp/test/vm/missing_arg_exception.php.expect similarity index 100% rename from hphp/test/vm/missing_arg_exception.php.exp rename to hphp/test/vm/missing_arg_exception.php.expect diff --git a/hphp/test/vm/mixedbag.php.exp b/hphp/test/vm/mixedbag.php.expect similarity index 100% rename from hphp/test/vm/mixedbag.php.exp rename to hphp/test/vm/mixedbag.php.expect diff --git a/hphp/test/vm/multidim_props.php.exp b/hphp/test/vm/multidim_props.php.exp deleted file mode 100644 index 31c206e5c..000000000 --- a/hphp/test/vm/multidim_props.php.exp +++ /dev/null @@ -1,52 +0,0 @@ -object(A)#1 (2) { - ["x":"A":private]=> - *RECURSION* - ["z":"A":private]=> - NULL -} -object(A)#1 (2) { - ["x":"A":private]=> - *RECURSION* - ["z":"A":private]=> - NULL -} -NULL -HipHop Notice: Undefined property: A::$x in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -NULL -HipHop Notice: Undefined property: A::$x in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -NULL -NULL -object(A)#1 (2) { - ["x":"A":private]=> - *RECURSION* - ["z":"A":private]=> - NULL -} -object(A)#1 (2) { - ["x":"A":private]=> - *RECURSION* - ["z":"A":private]=> - NULL -} -NULL -HipHop Notice: Undefined property: A::$x in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 14 -NULL -HipHop Notice: Undefined property: A::$x in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -HipHop Warning: Cannot access property on non-object in hphp/test/vm/multidim_props.php on line 16 -NULL -NULL diff --git a/hphp/test/vm/multidim_props.php.expectf b/hphp/test/vm/multidim_props.php.expectf new file mode 100644 index 000000000..c4179da20 --- /dev/null +++ b/hphp/test/vm/multidim_props.php.expectf @@ -0,0 +1,52 @@ +object(A)#1 (2) { + ["x":"A":private]=> + *RECURSION* + ["z":"A":private]=> + NULL +} +object(A)#1 (2) { + ["x":"A":private]=> + *RECURSION* + ["z":"A":private]=> + NULL +} +NULL +HipHop Notice: Undefined property: A::$x in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +NULL +HipHop Notice: Undefined property: A::$x in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +NULL +NULL +object(A)#1 (2) { + ["x":"A":private]=> + *RECURSION* + ["z":"A":private]=> + NULL +} +object(A)#1 (2) { + ["x":"A":private]=> + *RECURSION* + ["z":"A":private]=> + NULL +} +NULL +HipHop Notice: Undefined property: A::$x in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +HipHop Warning: Cannot access property on non-object in %s on line 14 +NULL +HipHop Notice: Undefined property: A::$x in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +HipHop Warning: Cannot access property on non-object in %s on line 16 +NULL +NULL diff --git a/hphp/test/vm/negjump.php.exp b/hphp/test/vm/negjump.php.expect similarity index 100% rename from hphp/test/vm/negjump.php.exp rename to hphp/test/vm/negjump.php.expect diff --git a/hphp/test/vm/nested__destruct.php.exp b/hphp/test/vm/nested__destruct.php.expect similarity index 100% rename from hphp/test/vm/nested__destruct.php.exp rename to hphp/test/vm/nested__destruct.php.expect diff --git a/hphp/test/vm/nested_parens.php.exp b/hphp/test/vm/nested_parens.php.expect similarity index 100% rename from hphp/test/vm/nested_parens.php.exp rename to hphp/test/vm/nested_parens.php.expect diff --git a/hphp/test/vm/nested_vm_exceptions.php.exp b/hphp/test/vm/nested_vm_exceptions.php.exp deleted file mode 100644 index 993d51cbe..000000000 --- a/hphp/test/vm/nested_vm_exceptions.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Error handler -We hit our handler. -HipHop Fatal error: Uncaught exception 'Exception' with message 'Sup' in hphp/test/vm/nested_vm_exceptions.php:20\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/nested_vm_exceptions.php.expectf b/hphp/test/vm/nested_vm_exceptions.php.expectf new file mode 100644 index 000000000..d4767f644 --- /dev/null +++ b/hphp/test/vm/nested_vm_exceptions.php.expectf @@ -0,0 +1,3 @@ +Error handler +We hit our handler. +HipHop Fatal error: Uncaught exception 'Exception' with message 'Sup' in %s:20\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/nested_vm_exceptions2.php.exp b/hphp/test/vm/nested_vm_exceptions2.php.exp deleted file mode 100644 index a3b473af3..000000000 --- a/hphp/test/vm/nested_vm_exceptions2.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Error handler -We hit our handler. -HipHop Fatal error: Uncaught exception 'Exception' with message 'Sup' in hphp/test/vm/nested_vm_exceptions2.php:26\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/nested_vm_exceptions2.php.expectf b/hphp/test/vm/nested_vm_exceptions2.php.expectf new file mode 100644 index 000000000..989921be9 --- /dev/null +++ b/hphp/test/vm/nested_vm_exceptions2.php.expectf @@ -0,0 +1,3 @@ +Error handler +We hit our handler. +HipHop Fatal error: Uncaught exception 'Exception' with message 'Sup' in %s:26\nStack trace:\n#0 {main} diff --git a/hphp/test/vm/no_more_id_func.php.exp b/hphp/test/vm/no_more_id_func.php.expect similarity index 100% rename from hphp/test/vm/no_more_id_func.php.exp rename to hphp/test/vm/no_more_id_func.php.expect diff --git a/hphp/test/vm/non-instance.php.exp b/hphp/test/vm/non-instance.php.expect similarity index 100% rename from hphp/test/vm/non-instance.php.exp rename to hphp/test/vm/non-instance.php.expect diff --git a/hphp/test/vm/non-special-this.php.exp b/hphp/test/vm/non-special-this.php.expect similarity index 100% rename from hphp/test/vm/non-special-this.php.exp rename to hphp/test/vm/non-special-this.php.expect diff --git a/hphp/test/vm/not-enough-args.php.exp b/hphp/test/vm/not-enough-args.php.exp deleted file mode 100644 index 1960dfc9f..000000000 --- a/hphp/test/vm/not-enough-args.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -one -HipHop Warning: two() expects exactly 2 parameters, 1 given in hphp/test/vm/not-enough-args.php on line 4 -two -HipHop Warning: three() expects exactly 3 parameters, 1 given in hphp/test/vm/not-enough-args.php on line 5 -HipHop Warning: three() expects exactly 3 parameters, 2 given in hphp/test/vm/not-enough-args.php on line 5 -three -one -HipHop Fatal error: Uncaught exception 'Exception' with message '2, two() expects exactly 2 parameters, 1 given' in hphp/test/vm/not-enough-args.php:8\nStack trace:\n#0 hphp/test/vm/not-enough-args.php(4): error_handler()\n#1 hphp/test/vm/not-enough-args.php(17): two()\n#2 hphp/test/vm/not-enough-args.php(20): main()\n#3 {main} diff --git a/hphp/test/vm/not-enough-args.php.expectf b/hphp/test/vm/not-enough-args.php.expectf new file mode 100644 index 000000000..445232e79 --- /dev/null +++ b/hphp/test/vm/not-enough-args.php.expectf @@ -0,0 +1,8 @@ +one +HipHop Warning: two() expects exactly 2 parameters, 1 given in %s on line 4 +two +HipHop Warning: three() expects exactly 3 parameters, 1 given in %s on line 5 +HipHop Warning: three() expects exactly 3 parameters, 2 given in %s on line 5 +three +one +HipHop Fatal error: Uncaught exception 'Exception' with message '2, two() expects exactly 2 parameters, 1 given' in %s:8\nStack trace:\n#0 %s(4): error_handler()\n#1 %s(17): two()\n#2 %s(20): main()\n#3 {main} diff --git a/hphp/test/vm/null_this.php.exp b/hphp/test/vm/null_this.php.exp deleted file mode 100644 index 597de2d3e..000000000 --- a/hphp/test/vm/null_this.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -Calling main() -Calling a->pub -Entering a::pub -string(11) "public in a" -Leaving a::pub -Calling x->pub -Entering x::pub -Entering a::pub -HipHop Fatal error: $this is null in hphp/test/vm/null_this.php on line 7 diff --git a/hphp/test/vm/null_this.php.expectf b/hphp/test/vm/null_this.php.expectf new file mode 100644 index 000000000..1e8a3eabc --- /dev/null +++ b/hphp/test/vm/null_this.php.expectf @@ -0,0 +1,9 @@ +Calling main() +Calling a->pub +Entering a::pub +string(11) "public in a" +Leaving a::pub +Calling x->pub +Entering x::pub +Entering a::pub +HipHop Fatal error: $this is null in %s on line 7 diff --git a/hphp/test/vm/nullbranch.php.exp b/hphp/test/vm/nullbranch.php.expect similarity index 100% rename from hphp/test/vm/nullbranch.php.exp rename to hphp/test/vm/nullbranch.php.expect diff --git a/hphp/test/vm/obj-sweep.php.exp b/hphp/test/vm/obj-sweep.php.expect similarity index 100% rename from hphp/test/vm/obj-sweep.php.exp rename to hphp/test/vm/obj-sweep.php.expect diff --git a/hphp/test/vm/objiter.php.exp b/hphp/test/vm/objiter.php.expect similarity index 100% rename from hphp/test/vm/objiter.php.exp rename to hphp/test/vm/objiter.php.expect diff --git a/hphp/test/vm/objmethod.php.exp b/hphp/test/vm/objmethod.php.exp deleted file mode 100644 index 57a920ac3..000000000 --- a/hphp/test/vm/objmethod.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -private function -HipHop Fatal error: Call to private method c::blah from context t in hphp/test/vm/objmethod.php on line 5 diff --git a/hphp/test/vm/objmethod.php.expectf b/hphp/test/vm/objmethod.php.expectf new file mode 100644 index 000000000..1366a8069 --- /dev/null +++ b/hphp/test/vm/objmethod.php.expectf @@ -0,0 +1,2 @@ +private function +HipHop Fatal error: Call to private method c::blah from context t in %s on line 5 diff --git a/hphp/test/vm/on_list_assign.php.exp b/hphp/test/vm/on_list_assign.php.exp deleted file mode 100644 index 7037c36c0..000000000 --- a/hphp/test/vm/on_list_assign.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Can't use return value in write context in hphp/test/vm/on_list_assign.php on line 12 diff --git a/hphp/test/vm/on_list_assign.php.expectf b/hphp/test/vm/on_list_assign.php.expectf new file mode 100644 index 000000000..c839c2989 --- /dev/null +++ b/hphp/test/vm/on_list_assign.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Can't use return value in write context in %s on line 12 diff --git a/hphp/test/vm/ops.php.exp b/hphp/test/vm/ops.php.exp deleted file mode 100644 index 73cfd6b3e..000000000 --- a/hphp/test/vm/ops.php.exp +++ /dev/null @@ -1,117 +0,0 @@ -"Hello" . " world!" --> Hello world! - -1 + 1 --> 2 -1.5 + 1 --> 2.5 -1 + 1.5 --> 2.5 -1.5 + 1.0 --> 2.5 -"5.5" + 5 --> 10.5 -5 + "5.5" --> 10.5 -5.5 + "5" --> 10.5 -"5.5" + "5" --> 10.5 - -1 - 1 --> 0 -1.5 - 1 --> 0.5 -1 - 1.5 --> -0.5 -1.5 - 1.0 --> 0.5 -"5.5" - 5 --> 0.5 -5 - "5.5" --> -0.5 -5.5 - "5" --> 0.5 -"5.5" - "5" --> 0.5 - -2 * 2 --> 4 -2.5 * 3 --> 7.5 -3 * 2.5 --> 7.5 -2.5 * 3.0 --> 7.5 -"5.5" * 5 --> 27.5 -5 * "5.5" --> 27.5 -5.5 * "5" --> 27.5 -"5.5" * "5" --> 27.5 - -2 / 2 --> 1 -2.5 / 5 --> 0.5 -5 / 2.0 --> 2.5 -5.0 / 2.0 --> 2.5 -"5.5" / 5 --> 1.1 -5 / "5.5" --> 0.90909090909091 -5.5 / "5" --> 1.1 -"5.5" / "5" --> 1.1 -1 / 0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 46 -1.0 / 0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 47 -1 / 0.0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 48 -1.0 / 0.0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 49 - -2 % 2 --> 0 -2.5 % 5 --> 2 -5 % 2.0 --> 1 -5.0 % 2.0 --> 1 -"5.5" % 5 --> 0 -5 % "5.5" --> 0 -5.5 % "5" --> 0 -"5.5" % "5" --> 0 -1 % 0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 60 -1.0 % 0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 61 -1 % 0.0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 62 -1.0 % 0.0 --> HipHop Warning: Division by zero in hphp/test/vm/ops.php on line 63 - -5 & 3 --> 1 -5.0 & 3.0 --> 1 - -5 | 3 --> 7 -5.0 | 3.0 --> 7 - -5 ^ 3 --> 6 -5.0 ^ 3.0 --> 6 - -5 << 1 --> 10 -5 << 1.0 --> 10 -5 << "hi" --> 5 - -5 >> 1 --> 2 -5 >> 1.0 --> 2 -5 >> "hi" --> 5 - -!0 --> 1 -!5 --> -!false --> 1 -!"hi" --> -3 === 4 --> -3 === 3 --> 1 -4 === 3 --> -"4" === 3 --> - -3 !== 4 --> 1 -3 !== 3 --> -4 !== 3 --> 1 -"4" !== 3 --> 1 - -3 == 4 --> -3 == 3 --> 1 -4 == 3 --> -"4" == 3 --> - -3 != 4 --> 1 -3 != 3 --> -4 != 3 --> 1 -"4" != 3 --> 1 - -3 < 4 --> 1 -3 < 3 --> -4 < 3 --> -"4" < 3 --> - -3 <= 4 --> 1 -3 <= 3 --> 1 -4 <= 3 --> -"4" <= 3 --> - -true -!(true && false) -false || true -3 && 4 --> 1 -3 && 3 --> 1 -4 && 3 --> 1 -"4" && 3 --> 1 - -(string)42 --> 42 -(string)"hi" --> hi - diff --git a/hphp/test/vm/ops.php.expectf b/hphp/test/vm/ops.php.expectf new file mode 100644 index 000000000..b3b6e8b2d --- /dev/null +++ b/hphp/test/vm/ops.php.expectf @@ -0,0 +1,117 @@ +"Hello" . " world!" --> Hello world! + +1 + 1 --> 2 +1.5 + 1 --> 2.5 +1 + 1.5 --> 2.5 +1.5 + 1.0 --> 2.5 +"5.5" + 5 --> 10.5 +5 + "5.5" --> 10.5 +5.5 + "5" --> 10.5 +"5.5" + "5" --> 10.5 + +1 - 1 --> 0 +1.5 - 1 --> 0.5 +1 - 1.5 --> -0.5 +1.5 - 1.0 --> 0.5 +"5.5" - 5 --> 0.5 +5 - "5.5" --> -0.5 +5.5 - "5" --> 0.5 +"5.5" - "5" --> 0.5 + +2 * 2 --> 4 +2.5 * 3 --> 7.5 +3 * 2.5 --> 7.5 +2.5 * 3.0 --> 7.5 +"5.5" * 5 --> 27.5 +5 * "5.5" --> 27.5 +5.5 * "5" --> 27.5 +"5.5" * "5" --> 27.5 + +2 / 2 --> 1 +2.5 / 5 --> 0.5 +5 / 2.0 --> 2.5 +5.0 / 2.0 --> 2.5 +"5.5" / 5 --> 1.1 +5 / "5.5" --> 0.90909090909091 +5.5 / "5" --> 1.1 +"5.5" / "5" --> 1.1 +1 / 0 --> HipHop Warning: Division by zero in %s on line 46 +1.0 / 0 --> HipHop Warning: Division by zero in %s on line 47 +1 / 0.0 --> HipHop Warning: Division by zero in %s on line 48 +1.0 / 0.0 --> HipHop Warning: Division by zero in %s on line 49 + +2 % 2 --> 0 +2.5 % 5 --> 2 +5 % 2.0 --> 1 +5.0 % 2.0 --> 1 +"5.5" % 5 --> 0 +5 % "5.5" --> 0 +5.5 % "5" --> 0 +"5.5" % "5" --> 0 +1 % 0 --> HipHop Warning: Division by zero in %s on line 60 +1.0 % 0 --> HipHop Warning: Division by zero in %s on line 61 +1 % 0.0 --> HipHop Warning: Division by zero in %s on line 62 +1.0 % 0.0 --> HipHop Warning: Division by zero in %s on line 63 + +5 & 3 --> 1 +5.0 & 3.0 --> 1 + +5 | 3 --> 7 +5.0 | 3.0 --> 7 + +5 ^ 3 --> 6 +5.0 ^ 3.0 --> 6 + +5 << 1 --> 10 +5 << 1.0 --> 10 +5 << "hi" --> 5 + +5 >> 1 --> 2 +5 >> 1.0 --> 2 +5 >> "hi" --> 5 + +!0 --> 1 +!5 --> +!false --> 1 +!"hi" --> +3 === 4 --> +3 === 3 --> 1 +4 === 3 --> +"4" === 3 --> + +3 !== 4 --> 1 +3 !== 3 --> +4 !== 3 --> 1 +"4" !== 3 --> 1 + +3 == 4 --> +3 == 3 --> 1 +4 == 3 --> +"4" == 3 --> + +3 != 4 --> 1 +3 != 3 --> +4 != 3 --> 1 +"4" != 3 --> 1 + +3 < 4 --> 1 +3 < 3 --> +4 < 3 --> +"4" < 3 --> + +3 <= 4 --> 1 +3 <= 3 --> 1 +4 <= 3 --> +"4" <= 3 --> + +true +!(true && false) +false || true +3 && 4 --> 1 +3 && 3 --> 1 +4 && 3 --> 1 +"4" && 3 --> 1 + +(string)42 --> 42 +(string)"hi" --> hi + diff --git a/hphp/test/vm/parse_fail_shapes.php.exp b/hphp/test/vm/parse_fail_shapes.php.exp deleted file mode 100644 index a0f600d2f..000000000 --- a/hphp/test/vm/parse_fail_shapes.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected T_VARIABLE, expecting ')' in hphp/test/vm/parse_fail_shapes.php on line 5 diff --git a/hphp/test/vm/parse_fail_shapes.php.expectf b/hphp/test/vm/parse_fail_shapes.php.expectf new file mode 100644 index 000000000..4819e0777 --- /dev/null +++ b/hphp/test/vm/parse_fail_shapes.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected T_VARIABLE, expecting ')' in %s on line 5 diff --git a/hphp/test/vm/parse_fail_shapes2.php.exp b/hphp/test/vm/parse_fail_shapes2.php.exp deleted file mode 100644 index f6e09b9a2..000000000 --- a/hphp/test/vm/parse_fail_shapes2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Shape key names may not start with integers in hphp/test/vm/parse_fail_shapes2.php on line 5 diff --git a/hphp/test/vm/parse_fail_shapes2.php.expectf b/hphp/test/vm/parse_fail_shapes2.php.expectf new file mode 100644 index 000000000..5e415fb95 --- /dev/null +++ b/hphp/test/vm/parse_fail_shapes2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Shape key names may not start with integers in %s on line 5 diff --git a/hphp/test/vm/parse_shapes.php.exp b/hphp/test/vm/parse_shapes.php.exp deleted file mode 100644 index 765b94664..000000000 --- a/hphp/test/vm/parse_shapes.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/vm/parse_shapes.php on line 91 -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/vm/parse_shapes.php on line 96 -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/vm/parse_shapes.php on line 100 diff --git a/hphp/test/vm/parse_shapes.php.expectf b/hphp/test/vm/parse_shapes.php.expectf new file mode 100644 index 000000000..1cc949342 --- /dev/null +++ b/hphp/test/vm/parse_shapes.php.expectf @@ -0,0 +1,3 @@ +HipHop Warning: Constants may only evaluate to scalar values in %s on line 91 +HipHop Warning: Constants may only evaluate to scalar values in %s on line 96 +HipHop Warning: Constants may only evaluate to scalar values in %s on line 100 diff --git a/hphp/test/vm/parse_type_not_typedef.php.exp b/hphp/test/vm/parse_type_not_typedef.php.expect similarity index 100% rename from hphp/test/vm/parse_type_not_typedef.php.exp rename to hphp/test/vm/parse_type_not_typedef.php.expect diff --git a/hphp/test/vm/parser_massive_add_exp.php.exp b/hphp/test/vm/parser_massive_add_exp.php.expect similarity index 100% rename from hphp/test/vm/parser_massive_add_exp.php.exp rename to hphp/test/vm/parser_massive_add_exp.php.expect diff --git a/hphp/test/vm/parser_massive_concat_exp.php.exp b/hphp/test/vm/parser_massive_concat_exp.php.expect similarity index 100% rename from hphp/test/vm/parser_massive_concat_exp.php.exp rename to hphp/test/vm/parser_massive_concat_exp.php.expect diff --git a/hphp/test/vm/pinit.php.exp b/hphp/test/vm/pinit.php.expect similarity index 100% rename from hphp/test/vm/pinit.php.exp rename to hphp/test/vm/pinit.php.expect diff --git a/hphp/test/vm/poly-torture.php.exp b/hphp/test/vm/poly-torture.php.exp deleted file mode 100644 index c0e3cf9f0..000000000 --- a/hphp/test/vm/poly-torture.php.exp +++ /dev/null @@ -1,32 +0,0 @@ - randObj: A - randObj: C -C::__call dubiousArgs ---------A::__call noSuchMethodBoyeee ---------A::__call noSuchMethodBoyeee - randObj: B - randObj: A -T2::dubiousArgs 1 ---B has this method. ---B has this method. - randObj: C - randObj: B -T1::dubiousArgs 2, 2 ---HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 0 given in hphp/test/vm/poly-torture.php on line 41 -HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 1 given in hphp/test/vm/poly-torture.php on line 41 -HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 2 given in hphp/test/vm/poly-torture.php on line 41 -HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 3 given in hphp/test/vm/poly-torture.php on line 41 -HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 4 given in hphp/test/vm/poly-torture.php on line 41 -HipHop Notice: Undefined variable: d in hphp/test/vm/poly-torture.php on line 41 -HipHop Notice: Undefined variable: e in hphp/test/vm/poly-torture.php on line 41 -C also has this method with params: ---C also has this method with params: 3 4 - randObj: A - randObj: C -C::__call dubiousArgs ---------A::__call noSuchMethodBoyeee ---------A::__call noSuchMethodBoyeee - randObj: B - randObj: A -T2::dubiousArgs 4 ---B has this method. ---B has this method. diff --git a/hphp/test/vm/poly-torture.php.expectf b/hphp/test/vm/poly-torture.php.expectf new file mode 100644 index 000000000..c0f6e0cc2 --- /dev/null +++ b/hphp/test/vm/poly-torture.php.expectf @@ -0,0 +1,32 @@ + randObj: A + randObj: C +C::__call dubiousArgs +--------A::__call noSuchMethodBoyeee +--------A::__call noSuchMethodBoyeee + randObj: B + randObj: A +T2::dubiousArgs 1 +--B has this method. +--B has this method. + randObj: C + randObj: B +T1::dubiousArgs 2, 2 +--HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 0 given in %s on line 41 +HipHop Warning: noSuchMethodBoyeee() expects exactly 5 parameters, 1 given in %s on line 41 +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: 3 4 + randObj: A + randObj: C +C::__call dubiousArgs +--------A::__call noSuchMethodBoyeee +--------A::__call noSuchMethodBoyeee + randObj: B + randObj: A +T2::dubiousArgs 4 +--B has this method. +--B has this method. diff --git a/hphp/test/vm/preposts.php.exp b/hphp/test/vm/preposts.php.expect similarity index 100% rename from hphp/test/vm/preposts.php.exp rename to hphp/test/vm/preposts.php.expect diff --git a/hphp/test/vm/printf.php.exp b/hphp/test/vm/printf.php.expect similarity index 100% rename from hphp/test/vm/printf.php.exp rename to hphp/test/vm/printf.php.expect diff --git a/hphp/test/vm/priv1.php.exp b/hphp/test/vm/priv1.php.exp deleted file mode 100644 index d920653e6..000000000 --- a/hphp/test/vm/priv1.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -C1::foo -C2::foo -C3::foo -B4::foo -HipHop Fatal error: Call to private method A5::__construct from context B5 in hphp/test/vm/priv1.php on line 89 diff --git a/hphp/test/vm/priv1.php.expectf b/hphp/test/vm/priv1.php.expectf new file mode 100644 index 000000000..da8aeac00 --- /dev/null +++ b/hphp/test/vm/priv1.php.expectf @@ -0,0 +1,5 @@ +C1::foo +C2::foo +C3::foo +B4::foo +HipHop Fatal error: Call to private method A5::__construct from context B5 in %s on line 89 diff --git a/hphp/test/vm/priv2.php.exp b/hphp/test/vm/priv2.php.exp deleted file mode 100644 index fb6dbde02..000000000 --- a/hphp/test/vm/priv2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to private method D::foo from context C in hphp/test/vm/priv2.php on line 8 diff --git a/hphp/test/vm/priv2.php.expectf b/hphp/test/vm/priv2.php.expectf new file mode 100644 index 000000000..287cf2459 --- /dev/null +++ b/hphp/test/vm/priv2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Call to private method D::foo from context C in %s on line 8 diff --git a/hphp/test/vm/priv3.php.exp b/hphp/test/vm/priv3.php.exp deleted file mode 100644 index cfd325bcf..000000000 --- a/hphp/test/vm/priv3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to private method D::foo from context C in hphp/test/vm/priv3.php on line 8 diff --git a/hphp/test/vm/priv3.php.expectf b/hphp/test/vm/priv3.php.expectf new file mode 100644 index 000000000..287cf2459 --- /dev/null +++ b/hphp/test/vm/priv3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Call to private method D::foo from context C in %s on line 8 diff --git a/hphp/test/vm/priv4.php.exp b/hphp/test/vm/priv4.php.exp deleted file mode 100644 index f85ad7a30..000000000 --- a/hphp/test/vm/priv4.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -D1::foo true -D2::foo false -D3::foo false -D4::foo false -HipHop Fatal error: Call to private method X5::foo from context D5 in hphp/test/vm/priv4.php on line 76 diff --git a/hphp/test/vm/priv4.php.expectf b/hphp/test/vm/priv4.php.expectf new file mode 100644 index 000000000..8d5c71603 --- /dev/null +++ b/hphp/test/vm/priv4.php.expectf @@ -0,0 +1,5 @@ +D1::foo true +D2::foo false +D3::foo false +D4::foo false +HipHop Fatal error: Call to private method X5::foo from context D5 in %s on line 76 diff --git a/hphp/test/vm/priv5.php.exp b/hphp/test/vm/priv5.php.exp deleted file mode 100644 index 7c4b00b9f..000000000 --- a/hphp/test/vm/priv5.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to private method A5::A5 from context B5 in hphp/test/vm/priv5.php on line 8 diff --git a/hphp/test/vm/priv5.php.expectf b/hphp/test/vm/priv5.php.expectf new file mode 100644 index 000000000..e18f63b19 --- /dev/null +++ b/hphp/test/vm/priv5.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Call to private method A5::A5 from context B5 in %s on line 8 diff --git a/hphp/test/vm/priv6.php.exp b/hphp/test/vm/priv6.php.exp deleted file mode 100644 index 409e7d257..000000000 --- a/hphp/test/vm/priv6.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -C1::bar -C2::bar -C3::bar -HipHop Fatal error: Call to private method A4::bar from context B4 in hphp/test/vm/priv6.php on line 45 diff --git a/hphp/test/vm/priv6.php.expectf b/hphp/test/vm/priv6.php.expectf new file mode 100644 index 000000000..641b68d10 --- /dev/null +++ b/hphp/test/vm/priv6.php.expectf @@ -0,0 +1,4 @@ +C1::bar +C2::bar +C3::bar +HipHop Fatal error: Call to private method A4::bar from context B4 in %s on line 45 diff --git a/hphp/test/vm/prop-access-error1.php.exp b/hphp/test/vm/prop-access-error1.php.exp deleted file mode 100644 index c6810ba33..000000000 --- a/hphp/test/vm/prop-access-error1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot access protected property C::$p in hphp/test/vm/prop-access-error1.php on line 11 diff --git a/hphp/test/vm/prop-access-error1.php.expectf b/hphp/test/vm/prop-access-error1.php.expectf new file mode 100644 index 000000000..57bbcb871 --- /dev/null +++ b/hphp/test/vm/prop-access-error1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot access protected property C::$p in %s on line 11 diff --git a/hphp/test/vm/prop_ctx.php.exp b/hphp/test/vm/prop_ctx.php.exp deleted file mode 100644 index 8a3fbd809..000000000 --- a/hphp/test/vm/prop_ctx.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -string(17) "I am private in a" -string(16) "I am public in b" -object(b)#1 (2) { - ["prop"]=> - string(16) "I am public in b" - ["prop":"a":private]=> - string(9) "new value" -} -object(b)#1 (2) { - ["prop"]=> - string(11) "newer value" - ["prop":"a":private]=> - string(9) "new value" -} -string(17) "I am private in a" -HipHop Fatal error: Cannot access private property a::$prop in hphp/test/vm/prop_ctx.php on line 5 diff --git a/hphp/test/vm/prop_ctx.php.expectf b/hphp/test/vm/prop_ctx.php.expectf new file mode 100644 index 000000000..6f1eff487 --- /dev/null +++ b/hphp/test/vm/prop_ctx.php.expectf @@ -0,0 +1,16 @@ +string(17) "I am private in a" +string(16) "I am public in b" +object(b)#1 (2) { + ["prop"]=> + string(16) "I am public in b" + ["prop":"a":private]=> + string(9) "new value" +} +object(b)#1 (2) { + ["prop"]=> + string(11) "newer value" + ["prop":"a":private]=> + string(9) "new value" +} +string(17) "I am private in a" +HipHop Fatal error: Cannot access private property a::$prop in %s on line 5 diff --git a/hphp/test/vm/propagate-array.php.exp b/hphp/test/vm/propagate-array.php.expect similarity index 100% rename from hphp/test/vm/propagate-array.php.exp rename to hphp/test/vm/propagate-array.php.expect diff --git a/hphp/test/vm/properties-dynamic.php.exp b/hphp/test/vm/properties-dynamic.php.expect similarity index 100% rename from hphp/test/vm/properties-dynamic.php.exp rename to hphp/test/vm/properties-dynamic.php.expect diff --git a/hphp/test/vm/properties.php.exp b/hphp/test/vm/properties.php.expect similarity index 100% rename from hphp/test/vm/properties.php.exp rename to hphp/test/vm/properties.php.expect diff --git a/hphp/test/vm/properties3.php.exp b/hphp/test/vm/properties3.php.exp deleted file mode 100644 index dcdef4549..000000000 --- a/hphp/test/vm/properties3.php.exp +++ /dev/null @@ -1,69 +0,0 @@ -A::__get y -string(1) "y" -A::__get x -string(1) "x" -A::__get y -string(1) "y" -A::__get x -string(1) "x" -A::__get x -A::__set x, 1 -A::__get y -A::__set y, 2 -object(A)#1 (0) { -} -A::__get x -A::__set x, y -A::__get y -A::__set y, z -object(A)#1 (0) { -} -B::__get x -B::__get y -object(B)#2 (2) { - ["x":"B":private]=> - int(1) - ["y"]=> - int(2) -} -B::__get x -B::__get y -object(B)#2 (2) { - ["x":"B":private]=> - string(1) "y" - ["y"]=> - string(1) "z" -} -object(C)#3 (2) { - ["x":"C":private]=> - int(1) - ["y"]=> - int(2) -} -object(C)#3 (2) { - ["x":"C":private]=> - int(1) - ["y"]=> - int(1) -} -HipHop Notice: Undefined property: D::$y in hphp/test/vm/properties3.php on line 187 -NULL -NULL -object(D)#4 (2) { - ["x":"D":private]=> - int(1) - ["y"]=> - int(2) -} -object(D)#4 (2) { - ["x":"D":private]=> - int(1) - ["y"]=> - int(2) -} -object(D)#4 (2) { - ["x":"D":private]=> - int(1) - ["y"]=> - int(1) -} diff --git a/hphp/test/vm/properties3.php.expectf b/hphp/test/vm/properties3.php.expectf new file mode 100644 index 000000000..378310ea3 --- /dev/null +++ b/hphp/test/vm/properties3.php.expectf @@ -0,0 +1,69 @@ +A::__get y +string(1) "y" +A::__get x +string(1) "x" +A::__get y +string(1) "y" +A::__get x +string(1) "x" +A::__get x +A::__set x, 1 +A::__get y +A::__set y, 2 +object(A)#1 (0) { +} +A::__get x +A::__set x, y +A::__get y +A::__set y, z +object(A)#1 (0) { +} +B::__get x +B::__get y +object(B)#2 (2) { + ["x":"B":private]=> + int(1) + ["y"]=> + int(2) +} +B::__get x +B::__get y +object(B)#2 (2) { + ["x":"B":private]=> + string(1) "y" + ["y"]=> + string(1) "z" +} +object(C)#3 (2) { + ["x":"C":private]=> + int(1) + ["y"]=> + int(2) +} +object(C)#3 (2) { + ["x":"C":private]=> + int(1) + ["y"]=> + int(1) +} +HipHop Notice: Undefined property: D::$y in %s on line 187 +NULL +NULL +object(D)#4 (2) { + ["x":"D":private]=> + int(1) + ["y"]=> + int(2) +} +object(D)#4 (2) { + ["x":"D":private]=> + int(1) + ["y"]=> + int(2) +} +object(D)#4 (2) { + ["x":"D":private]=> + int(1) + ["y"]=> + int(1) +} diff --git a/hphp/test/vm/properties4.php.exp b/hphp/test/vm/properties4.php.expect similarity index 100% rename from hphp/test/vm/properties4.php.exp rename to hphp/test/vm/properties4.php.expect diff --git a/hphp/test/vm/property_exists.php.exp b/hphp/test/vm/property_exists.php.expect similarity index 100% rename from hphp/test/vm/property_exists.php.exp rename to hphp/test/vm/property_exists.php.expect diff --git a/hphp/test/vm/pseudomain1.php.exp b/hphp/test/vm/pseudomain1.php.expect similarity index 100% rename from hphp/test/vm/pseudomain1.php.exp rename to hphp/test/vm/pseudomain1.php.expect diff --git a/hphp/test/vm/qop.php.exp b/hphp/test/vm/qop.php.expect similarity index 100% rename from hphp/test/vm/qop.php.exp rename to hphp/test/vm/qop.php.expect diff --git a/hphp/test/vm/qop2.php.exp b/hphp/test/vm/qop2.php.expect similarity index 100% rename from hphp/test/vm/qop2.php.exp rename to hphp/test/vm/qop2.php.expect diff --git a/hphp/test/vm/recurse-reentry.php.exp b/hphp/test/vm/recurse-reentry.php.exp deleted file mode 100644 index 9b7ef1af0..000000000 --- a/hphp/test/vm/recurse-reentry.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Stack overflow in hphp/test/vm/recurse-reentry.php on line 4 diff --git a/hphp/test/vm/recurse-reentry.php.expectf b/hphp/test/vm/recurse-reentry.php.expectf new file mode 100644 index 000000000..7353f8d7f --- /dev/null +++ b/hphp/test/vm/recurse-reentry.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Stack overflow in %s on line 4 diff --git a/hphp/test/vm/redecl_abstract_method.php.exp b/hphp/test/vm/redecl_abstract_method.php.exp deleted file mode 100644 index d76188ad3..000000000 --- a/hphp/test/vm/redecl_abstract_method.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-declare abstract method A::f() abstract in class B in hphp/test/vm/redecl_abstract_method.php on line 7 diff --git a/hphp/test/vm/redecl_abstract_method.php.expectf b/hphp/test/vm/redecl_abstract_method.php.expectf new file mode 100644 index 000000000..ffae0e81e --- /dev/null +++ b/hphp/test/vm/redecl_abstract_method.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot re-declare abstract method A::f() abstract in class B in %s on line 7 diff --git a/hphp/test/vm/redecl_abstract_method2.php.exp b/hphp/test/vm/redecl_abstract_method2.php.exp deleted file mode 100644 index 09b6113c4..000000000 --- a/hphp/test/vm/redecl_abstract_method2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-declare non-abstract method B::foo() abstract in class C in hphp/test/vm/redecl_abstract_method2.php on line 7 diff --git a/hphp/test/vm/redecl_abstract_method2.php.expectf b/hphp/test/vm/redecl_abstract_method2.php.expectf new file mode 100644 index 000000000..f1f9939b8 --- /dev/null +++ b/hphp/test/vm/redecl_abstract_method2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot re-declare non-abstract method B::foo() abstract in class C in %s on line 7 diff --git a/hphp/test/vm/redeclared_class_a.php.exp b/hphp/test/vm/redeclared_class_a.php.exp deleted file mode 100644 index ba120a6db..000000000 --- a/hphp/test/vm/redeclared_class_a.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -string(5) "hello" -HipHop Fatal error: Class already declared: X in hphp/test/vm/redeclared_class2.php on line 3 diff --git a/hphp/test/vm/redeclared_class_a.php.expectf b/hphp/test/vm/redeclared_class_a.php.expectf new file mode 100644 index 000000000..4638a781c --- /dev/null +++ b/hphp/test/vm/redeclared_class_a.php.expectf @@ -0,0 +1,2 @@ +string(5) "hello" +HipHop Fatal error: Class already declared: X in %s on line 3 diff --git a/hphp/test/vm/redeclared_class_b.php.exp b/hphp/test/vm/redeclared_class_b.php.exp deleted file mode 100644 index 6606cbf28..000000000 --- a/hphp/test/vm/redeclared_class_b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -string(5) "hello" -HipHop Fatal error: Class already declared: X in hphp/test/vm/redeclared_class1.php on line 2 diff --git a/hphp/test/vm/redeclared_class_b.php.expectf b/hphp/test/vm/redeclared_class_b.php.expectf new file mode 100644 index 000000000..21c3bc907 --- /dev/null +++ b/hphp/test/vm/redeclared_class_b.php.expectf @@ -0,0 +1,2 @@ +string(5) "hello" +HipHop Fatal error: Class already declared: X in %s on line 2 diff --git a/hphp/test/vm/redeclared_function.php.exp b/hphp/test/vm/redeclared_function.php.exp deleted file mode 100644 index 3ddf422ec..000000000 --- a/hphp/test/vm/redeclared_function.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Function already defined: f in hphp/test/vm/redeclared_function.php on line 6 diff --git a/hphp/test/vm/redeclared_function.php.expectf b/hphp/test/vm/redeclared_function.php.expectf new file mode 100644 index 000000000..036195fef --- /dev/null +++ b/hphp/test/vm/redeclared_function.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Function already defined: f in %s on line 6 diff --git a/hphp/test/vm/redeclared_method.php.exp b/hphp/test/vm/redeclared_method.php.exp deleted file mode 100644 index 349b707d6..000000000 --- a/hphp/test/vm/redeclared_method.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Redeclared method C::f in hphp/test/vm/redeclared_method.php on line 6 diff --git a/hphp/test/vm/redeclared_method.php.expectf b/hphp/test/vm/redeclared_method.php.expectf new file mode 100644 index 000000000..5ac1d10d8 --- /dev/null +++ b/hphp/test/vm/redeclared_method.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Redeclared method C::f in %s on line 6 diff --git a/hphp/test/vm/redeclared_method1.php.exp b/hphp/test/vm/redeclared_method1.php.exp deleted file mode 100644 index 89b69bb1c..000000000 --- a/hphp/test/vm/redeclared_method1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to C::foo() must be public (as in interface I) in hphp/test/vm/redeclared_method1.php on line 5 diff --git a/hphp/test/vm/redeclared_method1.php.expectf b/hphp/test/vm/redeclared_method1.php.expectf new file mode 100644 index 000000000..422eabfdf --- /dev/null +++ b/hphp/test/vm/redeclared_method1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Access level to C::foo() must be public (as in interface I) in %s on line 5 diff --git a/hphp/test/vm/redeclared_method2.php.exp b/hphp/test/vm/redeclared_method2.php.exp deleted file mode 100644 index 11b2a04c8..000000000 --- a/hphp/test/vm/redeclared_method2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot make static method I::foo() non-static in class C in hphp/test/vm/redeclared_method2.php on line 5 diff --git a/hphp/test/vm/redeclared_method2.php.expectf b/hphp/test/vm/redeclared_method2.php.expectf new file mode 100644 index 000000000..cf81606fb --- /dev/null +++ b/hphp/test/vm/redeclared_method2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot make static method I::foo() non-static in class C in %s on line 5 diff --git a/hphp/test/vm/redeclared_method3.php.exp b/hphp/test/vm/redeclared_method3.php.exp deleted file mode 100644 index c734d89cc..000000000 --- a/hphp/test/vm/redeclared_method3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot make non-static method I::foo() static in class C in hphp/test/vm/redeclared_method3.php on line 5 diff --git a/hphp/test/vm/redeclared_method3.php.expectf b/hphp/test/vm/redeclared_method3.php.expectf new file mode 100644 index 000000000..8e59c5a64 --- /dev/null +++ b/hphp/test/vm/redeclared_method3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot make non-static method I::foo() static in class C in %s on line 5 diff --git a/hphp/test/vm/redeclared_method4.php.exp b/hphp/test/vm/redeclared_method4.php.expect similarity index 100% rename from hphp/test/vm/redeclared_method4.php.exp rename to hphp/test/vm/redeclared_method4.php.expect diff --git a/hphp/test/vm/redundant-ldref1.php.exp b/hphp/test/vm/redundant-ldref1.php.expect similarity index 100% rename from hphp/test/vm/redundant-ldref1.php.exp rename to hphp/test/vm/redundant-ldref1.php.expect diff --git a/hphp/test/vm/ref_args.php.exp b/hphp/test/vm/ref_args.php.expect similarity index 100% rename from hphp/test/vm/ref_args.php.exp rename to hphp/test/vm/ref_args.php.expect diff --git a/hphp/test/vm/reflect-default.php.exp b/hphp/test/vm/reflect-default.php.expect similarity index 100% rename from hphp/test/vm/reflect-default.php.exp rename to hphp/test/vm/reflect-default.php.expect diff --git a/hphp/test/vm/reflection.php.exp b/hphp/test/vm/reflection.php.exp deleted file mode 100644 index 2135bf6b7..000000000 --- a/hphp/test/vm/reflection.php.exp +++ /dev/null @@ -1,324 +0,0 @@ -Test begin ---- getDocComment("f") --- -string(35) "/** - * This is f's doc comment. - */" - ---- getStartLine("f") --- -int(13) - ---- getEndLine("f") --- -int(20) - ---- getFileName("f") --- - "hphp/test/vm/reflection.php" - ---- getName("f") --- -string(1) "f" - ---- getNumberOfParameters("f") --- -int(4) - ---- getNumberOfRequiredParameters("f") --- -int(2) - ---- getParameters("f") --- -array(4) { - [0]=> - object(ReflectionParameter)#5 (1) { - ["info"]=> - array(6) { - ["index"]=> - int(0) - ["name"]=> - string(1) "a" - ["type"]=> - string(0) "" - ["function"]=> - string(1) "f" - ["nullable"]=> - bool(true) - ["attributes"]=> - array(0) { - } - } - } - [1]=> - object(ReflectionParameter)#6 (1) { - ["info"]=> - array(7) { - ["index"]=> - int(1) - ["name"]=> - string(1) "b" - ["type"]=> - string(0) "" - ["function"]=> - string(1) "f" - ["nullable"]=> - bool(true) - ["ref"]=> - bool(true) - ["attributes"]=> - array(0) { - } - } - } - [2]=> - object(ReflectionParameter)#7 (1) { - ["info"]=> - array(8) { - ["index"]=> - int(2) - ["name"]=> - string(1) "c" - ["type"]=> - string(0) "" - ["function"]=> - string(1) "f" - ["nullable"]=> - bool(true) - ["default"]=> - NULL - ["defaultText"]=> - string(4) "NULL" - ["attributes"]=> - array(0) { - } - } - } - [3]=> - object(ReflectionParameter)#8 (1) { - ["info"]=> - array(8) { - ["index"]=> - int(3) - ["name"]=> - string(1) "d" - ["type"]=> - string(0) "" - ["function"]=> - string(1) "f" - ["nullable"]=> - bool(true) - ["default"]=> - array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - string(11) "some string" - } - ["defaultText"]=> - string(26) "array(1, 2, SOME_CONSTANT)" - ["attributes"]=> - array(0) { - } - } - } -} - ---- getStaticVariables("f") --- -array(2) { - ["staticX"]=> - string(1) "4" - ["staticY"]=> - string(4) "null" -} - ---- isInternal("f") --- -bool(false) - ---- isUserDefined("f") --- -bool(true) - ---- returnsReference("f") --- -bool(true) - ---- export("f") --- -string(0) "" - ---- invokeArgs("f") --- -In f() -int(5) -In f() -int(6) - ---- invoke("g") --- -In g(a, b, some string) -NULL -In g(a, b, some string) -NULL - ---- export("g") --- -string(0) "" - ---- export() --- -string(0) "" - ---- getConstant() --- -string(5) "B::C0" -string(5) "B::C1" - ---- getConstants() --- -array(2) { - ["C0"]=> - string(5) "B::C0" - ["C1"]=> - string(5) "B::C1" -} - ---- getConstructor() --- -NULL - ---- getDocComment() --- -string(35) "/** - * This is B's doc comment. - */" - ---- getStartLine() --- -int(126) - ---- getEndLine() --- -int(142) - ---- getFileName() --- - "hphp/test/vm/reflection.php" - ---- getInterfaceNames() --- -array(4) { - [0]=> - string(1) "I" - [1]=> - string(1) "K" - [2]=> - string(1) "J" - [3]=> - string(1) "H" -} - ---- getInterfaces() --- - ---- getMethod() --- - ---- getMethods() --- - ---- getModifiers() --- -int(0) - ---- getName() --- -string(1) "B" - ---- getParentClass() --- -object(ReflectionClass)#23 (2) { - ["name"]=> - string(1) "A" - ["info":"ReflectionClass":private]=> - NULL -} - ---- getProperties() --- - ---- getProperty() --- - ---- getStaticProperties() --- - ---- setStaticPropertyValue() --- -NULL - ---- getStaticPropertyValue() --- -string(16) "new value for s0" -NULL - ---- hasConstant() --- -bool(true) -bool(false) - ---- hasMethod() --- -bool(true) -bool(false) - ---- hasProperty() --- -bool(true) -bool(false) - ---- implementsInterface() --- -bool(true) -bool(false) - ---- isAbstract() --- -bool(false) - ---- isFinal() --- -bool(false) - ---- isInstance() --- -bool(true) -bool(false) - ---- isInstantiable() --- -bool(true) - ---- isInterface() --- -bool(false) - ---- isInternal() --- -bool(false) - ---- isIterateable() --- -bool(false) - ---- isSubclassOf() --- -bool(true) -bool(false) - ---- isUserDefined() --- -bool(true) - ---- newInstance() --- -object(B)#34 (4) { - ["p0":"B":private]=> - int(1) - ["p1":protected]=> - int(2) - ["p2"]=> - int(3) - ["p3"]=> - NULL -} - ---- newInstanceArgs() --- -object(B)#34 (4) { - ["p0":"B":private]=> - int(1) - ["p1":protected]=> - int(2) - ["p2"]=> - int(3) - ["p3"]=> - NULL -} - ---- get_defined_functions() --- -array(2) { - [0]=> - string(1) "f" - [1]=> - string(1) "g" -} ---- get_defined_constants() --- -SOME_CONSTANT: some string -SOME_CONSTANT: some string -ANOTHER_CONSTANT: some other string ---- get_declared_classes() --- -Found class A -Found class B -Found class C ---- get_declared_interfaces() --- -Found interface H -Found interface I -Found interface J -Found interface K -Found interface L -Test end diff --git a/hphp/test/vm/reflection.php.expectf b/hphp/test/vm/reflection.php.expectf new file mode 100644 index 000000000..db4b2f139 --- /dev/null +++ b/hphp/test/vm/reflection.php.expectf @@ -0,0 +1,324 @@ +Test begin +--- getDocComment("f") --- +string(35) "/** + * This is f's doc comment. + */" + +--- getStartLine("f") --- +int(13) + +--- getEndLine("f") --- +int(20) + +--- getFileName("f") --- +string(%d) "%s" + +--- getName("f") --- +string(1) "f" + +--- getNumberOfParameters("f") --- +int(4) + +--- getNumberOfRequiredParameters("f") --- +int(2) + +--- getParameters("f") --- +array(4) { + [0]=> + object(ReflectionParameter)#5 (1) { + ["info"]=> + array(6) { + ["index"]=> + int(0) + ["name"]=> + string(1) "a" + ["type"]=> + string(0) "" + ["function"]=> + string(1) "f" + ["nullable"]=> + bool(true) + ["attributes"]=> + array(0) { + } + } + } + [1]=> + object(ReflectionParameter)#6 (1) { + ["info"]=> + array(7) { + ["index"]=> + int(1) + ["name"]=> + string(1) "b" + ["type"]=> + string(0) "" + ["function"]=> + string(1) "f" + ["nullable"]=> + bool(true) + ["ref"]=> + bool(true) + ["attributes"]=> + array(0) { + } + } + } + [2]=> + object(ReflectionParameter)#7 (1) { + ["info"]=> + array(8) { + ["index"]=> + int(2) + ["name"]=> + string(1) "c" + ["type"]=> + string(0) "" + ["function"]=> + string(1) "f" + ["nullable"]=> + bool(true) + ["default"]=> + NULL + ["defaultText"]=> + string(4) "NULL" + ["attributes"]=> + array(0) { + } + } + } + [3]=> + object(ReflectionParameter)#8 (1) { + ["info"]=> + array(8) { + ["index"]=> + int(3) + ["name"]=> + string(1) "d" + ["type"]=> + string(0) "" + ["function"]=> + string(1) "f" + ["nullable"]=> + bool(true) + ["default"]=> + array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + string(11) "some string" + } + ["defaultText"]=> + string(26) "array(1, 2, SOME_CONSTANT)" + ["attributes"]=> + array(0) { + } + } + } +} + +--- getStaticVariables("f") --- +array(2) { + ["staticX"]=> + string(1) "4" + ["staticY"]=> + string(4) "null" +} + +--- isInternal("f") --- +bool(false) + +--- isUserDefined("f") --- +bool(true) + +--- returnsReference("f") --- +bool(true) + +--- export("f") --- +string(0) "" + +--- invokeArgs("f") --- +In f() +int(5) +In f() +int(6) + +--- invoke("g") --- +In g(a, b, some string) +NULL +In g(a, b, some string) +NULL + +--- export("g") --- +string(0) "" + +--- export() --- +string(0) "" + +--- getConstant() --- +string(5) "B::C0" +string(5) "B::C1" + +--- getConstants() --- +array(2) { + ["C0"]=> + string(5) "B::C0" + ["C1"]=> + string(5) "B::C1" +} + +--- getConstructor() --- +NULL + +--- getDocComment() --- +string(35) "/** + * This is B's doc comment. + */" + +--- getStartLine() --- +int(126) + +--- getEndLine() --- +int(142) + +--- getFileName() --- +string(%d) "%s" + +--- getInterfaceNames() --- +array(4) { + [0]=> + string(1) "I" + [1]=> + string(1) "K" + [2]=> + string(1) "J" + [3]=> + string(1) "H" +} + +--- getInterfaces() --- + +--- getMethod() --- + +--- getMethods() --- + +--- getModifiers() --- +int(0) + +--- getName() --- +string(1) "B" + +--- getParentClass() --- +object(ReflectionClass)#23 (2) { + ["name"]=> + string(1) "A" + ["info":"ReflectionClass":private]=> + NULL +} + +--- getProperties() --- + +--- getProperty() --- + +--- getStaticProperties() --- + +--- setStaticPropertyValue() --- +NULL + +--- getStaticPropertyValue() --- +string(16) "new value for s0" +NULL + +--- hasConstant() --- +bool(true) +bool(false) + +--- hasMethod() --- +bool(true) +bool(false) + +--- hasProperty() --- +bool(true) +bool(false) + +--- implementsInterface() --- +bool(true) +bool(false) + +--- isAbstract() --- +bool(false) + +--- isFinal() --- +bool(false) + +--- isInstance() --- +bool(true) +bool(false) + +--- isInstantiable() --- +bool(true) + +--- isInterface() --- +bool(false) + +--- isInternal() --- +bool(false) + +--- isIterateable() --- +bool(false) + +--- isSubclassOf() --- +bool(true) +bool(false) + +--- isUserDefined() --- +bool(true) + +--- newInstance() --- +object(B)#34 (4) { + ["p0":"B":private]=> + int(1) + ["p1":protected]=> + int(2) + ["p2"]=> + int(3) + ["p3"]=> + NULL +} + +--- newInstanceArgs() --- +object(B)#34 (4) { + ["p0":"B":private]=> + int(1) + ["p1":protected]=> + int(2) + ["p2"]=> + int(3) + ["p3"]=> + NULL +} + +--- get_defined_functions() --- +array(2) { + [0]=> + string(1) "f" + [1]=> + string(1) "g" +} +--- get_defined_constants() --- +SOME_CONSTANT: some string +SOME_CONSTANT: some string +ANOTHER_CONSTANT: some other string +--- get_declared_classes() --- +Found class A +Found class B +Found class C +--- get_declared_interfaces() --- +Found interface H +Found interface I +Found interface J +Found interface K +Found interface L +Test end diff --git a/hphp/test/vm/reflection2.php.exp b/hphp/test/vm/reflection2.php.exp deleted file mode 100644 index 2cc6c0c38..000000000 --- a/hphp/test/vm/reflection2.php.exp +++ /dev/null @@ -1,266 +0,0 @@ -array(6) { - [0]=> - object(ReflectionMethod)#2 (3) { - ["name"]=> - string(17) "my_other_override" - ["class"]=> - string(8) "my_child" - ["info"]=> - array(14) { - ["name"]=> - string(17) "my_other_override" - ["access"]=> - string(6) "public" - ["modifiers"]=> - int(256) - ["class"]=> - string(8) "my_child" - ["return_type"]=> - bool(false) - ["doc"]=> - bool(false) - ["params"]=> - array(0) { - } - ["static_variables"]=> - array(0) { - } - ["attributes"]=> - array(0) { - } - ["is_closure"]=> - bool(false) - ["is_generator"]=> - bool(false) - ["file"]=> - "hphp/test/vm/reflection2.php" - ["line1"]=> - int(20) - ["line2"]=> - int(20) - } - } - [1]=> - object(ReflectionMethod)#3 (3) { - ["name"]=> - string(15) "my_child_method" - ["class"]=> - string(8) "my_child" - ["info"]=> - array(14) { - ["name"]=> - string(15) "my_child_method" - ["access"]=> - string(6) "public" - ["modifiers"]=> - int(256) - ["class"]=> - string(8) "my_child" - ["return_type"]=> - bool(false) - ["doc"]=> - bool(false) - ["params"]=> - array(0) { - } - ["static_variables"]=> - array(0) { - } - ["attributes"]=> - array(0) { - } - ["is_closure"]=> - bool(false) - ["is_generator"]=> - bool(false) - ["file"]=> - "hphp/test/vm/reflection2.php" - ["line1"]=> - int(21) - ["line2"]=> - int(21) - } - } - [2]=> - object(ReflectionMethod)#4 (3) { - ["name"]=> - string(9) "my_method" - ["class"]=> - string(8) "my_class" - ["info"]=> - array(14) { - ["name"]=> - string(9) "my_method" - ["access"]=> - string(6) "public" - ["modifiers"]=> - int(256) - ["class"]=> - string(8) "my_class" - ["return_type"]=> - bool(false) - ["doc"]=> - bool(false) - ["params"]=> - array(0) { - } - ["static_variables"]=> - array(0) { - } - ["attributes"]=> - array(0) { - } - ["is_closure"]=> - bool(false) - ["is_generator"]=> - bool(false) - ["file"]=> - "hphp/test/vm/reflection2.php" - ["line1"]=> - int(13) - ["line2"]=> - int(13) - } - } - [3]=> - object(ReflectionMethod)#5 (3) { - ["name"]=> - string(18) "my_override_method" - ["class"]=> - string(8) "my_class" - ["info"]=> - array(14) { - ["name"]=> - string(18) "my_override_method" - ["access"]=> - string(6) "public" - ["modifiers"]=> - int(256) - ["class"]=> - string(8) "my_class" - ["return_type"]=> - bool(false) - ["doc"]=> - bool(false) - ["params"]=> - array(0) { - } - ["static_variables"]=> - array(0) { - } - ["attributes"]=> - array(0) { - } - ["is_closure"]=> - bool(false) - ["is_generator"]=> - bool(false) - ["file"]=> - "hphp/test/vm/reflection2.php" - ["line1"]=> - int(15) - ["line2"]=> - int(15) - } - } - [4]=> - object(ReflectionMethod)#6 (3) { - ["name"]=> - string(15) "my_trait_method" - ["class"]=> - string(8) "my_class" - ["info"]=> - array(14) { - ["name"]=> - string(15) "my_trait_method" - ["access"]=> - string(6) "public" - ["modifiers"]=> - int(256) - ["class"]=> - string(8) "my_class" - ["return_type"]=> - bool(false) - ["doc"]=> - bool(false) - ["params"]=> - array(0) { - } - ["static_variables"]=> - array(0) { - } - ["attributes"]=> - array(0) { - } - ["is_closure"]=> - bool(false) - ["is_generator"]=> - bool(false) - ["file"]=> - "hphp/test/vm/reflection2.php" - ["line1"]=> - int(4) - ["line2"]=> - int(4) - } - } - [5]=> - object(ReflectionMethod)#7 (3) { - ["name"]=> - string(14) "my_base_method" - ["class"]=> - string(7) "my_base" - ["info"]=> - array(14) { - ["name"]=> - string(14) "my_base_method" - ["access"]=> - string(6) "public" - ["modifiers"]=> - int(256) - ["class"]=> - string(7) "my_base" - ["return_type"]=> - bool(false) - ["doc"]=> - bool(false) - ["params"]=> - array(0) { - } - ["static_variables"]=> - array(0) { - } - ["attributes"]=> - array(0) { - } - ["is_closure"]=> - bool(false) - ["is_generator"]=> - bool(false) - ["file"]=> - "hphp/test/vm/reflection2.php" - ["line1"]=> - int(8) - ["line2"]=> - int(8) - } - } -} -object(ReflectionParameter)#9 (1) { - ["info"]=> - array(6) { - ["index"]=> - int(0) - ["name"]=> - string(1) "c" - ["type"]=> - string(7) "MyClass" - ["function"]=> - string(1) "f" - ["class"]=> - string(1) "I" - ["attributes"]=> - array(0) { - } - } -} diff --git a/hphp/test/vm/reflection2.php.expectf b/hphp/test/vm/reflection2.php.expectf new file mode 100644 index 000000000..5112788ea --- /dev/null +++ b/hphp/test/vm/reflection2.php.expectf @@ -0,0 +1,266 @@ +array(6) { + [0]=> + object(ReflectionMethod)#2 (3) { + ["name"]=> + string(17) "my_other_override" + ["class"]=> + string(8) "my_child" + ["info"]=> + array(14) { + ["name"]=> + string(17) "my_other_override" + ["access"]=> + string(6) "public" + ["modifiers"]=> + int(256) + ["class"]=> + string(8) "my_child" + ["return_type"]=> + bool(false) + ["doc"]=> + bool(false) + ["params"]=> + array(0) { + } + ["static_variables"]=> + array(0) { + } + ["attributes"]=> + array(0) { + } + ["is_closure"]=> + bool(false) + ["is_generator"]=> + bool(false) + ["file"]=> + string(%d) "%s" + ["line1"]=> + int(20) + ["line2"]=> + int(20) + } + } + [1]=> + object(ReflectionMethod)#3 (3) { + ["name"]=> + string(15) "my_child_method" + ["class"]=> + string(8) "my_child" + ["info"]=> + array(14) { + ["name"]=> + string(15) "my_child_method" + ["access"]=> + string(6) "public" + ["modifiers"]=> + int(256) + ["class"]=> + string(8) "my_child" + ["return_type"]=> + bool(false) + ["doc"]=> + bool(false) + ["params"]=> + array(0) { + } + ["static_variables"]=> + array(0) { + } + ["attributes"]=> + array(0) { + } + ["is_closure"]=> + bool(false) + ["is_generator"]=> + bool(false) + ["file"]=> + string(%d) "%s" + ["line1"]=> + int(21) + ["line2"]=> + int(21) + } + } + [2]=> + object(ReflectionMethod)#4 (3) { + ["name"]=> + string(9) "my_method" + ["class"]=> + string(8) "my_class" + ["info"]=> + array(14) { + ["name"]=> + string(9) "my_method" + ["access"]=> + string(6) "public" + ["modifiers"]=> + int(256) + ["class"]=> + string(8) "my_class" + ["return_type"]=> + bool(false) + ["doc"]=> + bool(false) + ["params"]=> + array(0) { + } + ["static_variables"]=> + array(0) { + } + ["attributes"]=> + array(0) { + } + ["is_closure"]=> + bool(false) + ["is_generator"]=> + bool(false) + ["file"]=> + string(%d) "%s" + ["line1"]=> + int(13) + ["line2"]=> + int(13) + } + } + [3]=> + object(ReflectionMethod)#5 (3) { + ["name"]=> + string(18) "my_override_method" + ["class"]=> + string(8) "my_class" + ["info"]=> + array(14) { + ["name"]=> + string(18) "my_override_method" + ["access"]=> + string(6) "public" + ["modifiers"]=> + int(256) + ["class"]=> + string(8) "my_class" + ["return_type"]=> + bool(false) + ["doc"]=> + bool(false) + ["params"]=> + array(0) { + } + ["static_variables"]=> + array(0) { + } + ["attributes"]=> + array(0) { + } + ["is_closure"]=> + bool(false) + ["is_generator"]=> + bool(false) + ["file"]=> + string(%d) "%s" + ["line1"]=> + int(15) + ["line2"]=> + int(15) + } + } + [4]=> + object(ReflectionMethod)#6 (3) { + ["name"]=> + string(15) "my_trait_method" + ["class"]=> + string(8) "my_class" + ["info"]=> + array(14) { + ["name"]=> + string(15) "my_trait_method" + ["access"]=> + string(6) "public" + ["modifiers"]=> + int(256) + ["class"]=> + string(8) "my_class" + ["return_type"]=> + bool(false) + ["doc"]=> + bool(false) + ["params"]=> + array(0) { + } + ["static_variables"]=> + array(0) { + } + ["attributes"]=> + array(0) { + } + ["is_closure"]=> + bool(false) + ["is_generator"]=> + bool(false) + ["file"]=> + string(%d) "%s" + ["line1"]=> + int(4) + ["line2"]=> + int(4) + } + } + [5]=> + object(ReflectionMethod)#7 (3) { + ["name"]=> + string(14) "my_base_method" + ["class"]=> + string(7) "my_base" + ["info"]=> + array(14) { + ["name"]=> + string(14) "my_base_method" + ["access"]=> + string(6) "public" + ["modifiers"]=> + int(256) + ["class"]=> + string(7) "my_base" + ["return_type"]=> + bool(false) + ["doc"]=> + bool(false) + ["params"]=> + array(0) { + } + ["static_variables"]=> + array(0) { + } + ["attributes"]=> + array(0) { + } + ["is_closure"]=> + bool(false) + ["is_generator"]=> + bool(false) + ["file"]=> + string(%d) "%s" + ["line1"]=> + int(8) + ["line2"]=> + int(8) + } + } +} +object(ReflectionParameter)#9 (1) { + ["info"]=> + array(6) { + ["index"]=> + int(0) + ["name"]=> + string(1) "c" + ["type"]=> + string(7) "MyClass" + ["function"]=> + string(1) "f" + ["class"]=> + string(1) "I" + ["attributes"]=> + array(0) { + } + } +} diff --git a/hphp/test/vm/reflection_isclosure.php.exp b/hphp/test/vm/reflection_isclosure.php.expect similarity index 100% rename from hphp/test/vm/reflection_isclosure.php.exp rename to hphp/test/vm/reflection_isclosure.php.expect diff --git a/hphp/test/vm/reflection_noconstuctor.php.exp b/hphp/test/vm/reflection_noconstuctor.php.expect similarity index 100% rename from hphp/test/vm/reflection_noconstuctor.php.exp rename to hphp/test/vm/reflection_noconstuctor.php.expect diff --git a/hphp/test/vm/regalloc-fun.php.exp b/hphp/test/vm/regalloc-fun.php.expect similarity index 100% rename from hphp/test/vm/regalloc-fun.php.exp rename to hphp/test/vm/regalloc-fun.php.expect diff --git a/hphp/test/vm/regalloc.php.exp b/hphp/test/vm/regalloc.php.expect similarity index 100% rename from hphp/test/vm/regalloc.php.exp rename to hphp/test/vm/regalloc.php.expect diff --git a/hphp/test/vm/regpressure.php.exp b/hphp/test/vm/regpressure.php.expect similarity index 100% rename from hphp/test/vm/regpressure.php.exp rename to hphp/test/vm/regpressure.php.expect diff --git a/hphp/test/vm/regpressure2.php.exp b/hphp/test/vm/regpressure2.php.expect similarity index 100% rename from hphp/test/vm/regpressure2.php.exp rename to hphp/test/vm/regpressure2.php.expect diff --git a/hphp/test/vm/rejit.php.exp b/hphp/test/vm/rejit.php.expect similarity index 100% rename from hphp/test/vm/rejit.php.exp rename to hphp/test/vm/rejit.php.expect diff --git a/hphp/test/vm/rename_dyn_function.php.exp b/hphp/test/vm/rename_dyn_function.php.expect similarity index 100% rename from hphp/test/vm/rename_dyn_function.php.exp rename to hphp/test/vm/rename_dyn_function.php.expect diff --git a/hphp/test/vm/rename_dynamic.php.exp b/hphp/test/vm/rename_dynamic.php.expect similarity index 100% rename from hphp/test/vm/rename_dynamic.php.exp rename to hphp/test/vm/rename_dynamic.php.expect diff --git a/hphp/test/vm/rename_function.php.exp b/hphp/test/vm/rename_function.php.expect similarity index 100% rename from hphp/test/vm/rename_function.php.exp rename to hphp/test/vm/rename_function.php.expect diff --git a/hphp/test/vm/reqonce.php.exp b/hphp/test/vm/reqonce.php.expect similarity index 100% rename from hphp/test/vm/reqonce.php.exp rename to hphp/test/vm/reqonce.php.expect diff --git a/hphp/test/vm/reqonce2.php.exp b/hphp/test/vm/reqonce2.php.expect similarity index 100% rename from hphp/test/vm/reqonce2.php.exp rename to hphp/test/vm/reqonce2.php.expect diff --git a/hphp/test/vm/reserved_class1.php.exp b/hphp/test/vm/reserved_class1.php.exp deleted file mode 100644 index 3643f25b3..000000000 --- a/hphp/test/vm/reserved_class1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot use 'bool' as class name as it is reserved in hphp/test/vm/reserved_class1.php on line 2 diff --git a/hphp/test/vm/reserved_class1.php.expectf b/hphp/test/vm/reserved_class1.php.expectf new file mode 100644 index 000000000..12b5a7b4a --- /dev/null +++ b/hphp/test/vm/reserved_class1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot use 'bool' as class name as it is reserved in %s on line 2 diff --git a/hphp/test/vm/reserved_class2.php.exp b/hphp/test/vm/reserved_class2.php.exp deleted file mode 100644 index d09739aeb..000000000 --- a/hphp/test/vm/reserved_class2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot use 'string' as class name as it is reserved in hphp/test/vm/reserved_class2.php on line 2 diff --git a/hphp/test/vm/reserved_class2.php.expectf b/hphp/test/vm/reserved_class2.php.expectf new file mode 100644 index 000000000..6ee7af0db --- /dev/null +++ b/hphp/test/vm/reserved_class2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot use 'string' as class name as it is reserved in %s on line 2 diff --git a/hphp/test/vm/resource.php.exp b/hphp/test/vm/resource.php.expect similarity index 100% rename from hphp/test/vm/resource.php.exp rename to hphp/test/vm/resource.php.expect diff --git a/hphp/test/vm/resurrect.php.exp b/hphp/test/vm/resurrect.php.expect similarity index 100% rename from hphp/test/vm/resurrect.php.exp rename to hphp/test/vm/resurrect.php.expect diff --git a/hphp/test/vm/retc-destruct.php.exp b/hphp/test/vm/retc-destruct.php.expect similarity index 100% rename from hphp/test/vm/retc-destruct.php.exp rename to hphp/test/vm/retc-destruct.php.expect diff --git a/hphp/test/vm/return-from-foreach.php.exp b/hphp/test/vm/return-from-foreach.php.expect similarity index 100% rename from hphp/test/vm/return-from-foreach.php.exp rename to hphp/test/vm/return-from-foreach.php.expect diff --git a/hphp/test/vm/retval_backtrace.php.exp b/hphp/test/vm/retval_backtrace.php.expect similarity index 100% rename from hphp/test/vm/retval_backtrace.php.exp rename to hphp/test/vm/retval_backtrace.php.expect diff --git a/hphp/test/vm/retype.php.exp b/hphp/test/vm/retype.php.expect similarity index 100% rename from hphp/test/vm/retype.php.exp rename to hphp/test/vm/retype.php.expect diff --git a/hphp/test/vm/sb_overflow.php.exp b/hphp/test/vm/sb_overflow.php.expect similarity index 100% rename from hphp/test/vm/sb_overflow.php.exp rename to hphp/test/vm/sb_overflow.php.expect diff --git a/hphp/test/vm/selfparent.php.exp b/hphp/test/vm/selfparent.php.expect similarity index 100% rename from hphp/test/vm/selfparent.php.exp rename to hphp/test/vm/selfparent.php.expect diff --git a/hphp/test/vm/serialize.php.expect b/hphp/test/vm/serialize.php.expect new file mode 100644 index 000000000..a88f9feee Binary files /dev/null and b/hphp/test/vm/serialize.php.expect differ diff --git a/hphp/test/vm/setHelperPreError.php.exp b/hphp/test/vm/setHelperPreError.php.exp deleted file mode 100644 index 3a0a2dd62..000000000 --- a/hphp/test/vm/setHelperPreError.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -Test begin -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/setHelperPreError.php on line 8 -array(1) { - [0]=> - int(0) -} -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/setHelperPreError.php on line 17 -NULL -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/vm/setHelperPreError.php on line 22 -NULL -Test end diff --git a/hphp/test/vm/setHelperPreError.php.expectf b/hphp/test/vm/setHelperPreError.php.expectf new file mode 100644 index 000000000..1758d0f5e --- /dev/null +++ b/hphp/test/vm/setHelperPreError.php.expectf @@ -0,0 +1,13 @@ +Test begin +HipHop Warning: Cannot use a scalar value as an array in %s on line 8 +array(1) { + [0]=> + int(0) +} +int(1) +HipHop Warning: Cannot use a scalar value as an array in %s on line 17 +NULL +int(1) +HipHop Warning: Cannot use a scalar value as an array in %s on line 22 +NULL +Test end diff --git a/hphp/test/vm/setelemloc.php.exp b/hphp/test/vm/setelemloc.php.expect similarity index 100% rename from hphp/test/vm/setelemloc.php.exp rename to hphp/test/vm/setelemloc.php.expect diff --git a/hphp/test/vm/setelemloc2.php.exp b/hphp/test/vm/setelemloc2.php.expect similarity index 100% rename from hphp/test/vm/setelemloc2.php.exp rename to hphp/test/vm/setelemloc2.php.expect diff --git a/hphp/test/vm/setg-dtor.php.exp b/hphp/test/vm/setg-dtor.php.expect similarity index 100% rename from hphp/test/vm/setg-dtor.php.exp rename to hphp/test/vm/setg-dtor.php.expect diff --git a/hphp/test/vm/seth-dtor.php.exp b/hphp/test/vm/seth-dtor.php.expect similarity index 100% rename from hphp/test/vm/seth-dtor.php.exp rename to hphp/test/vm/seth-dtor.php.expect diff --git a/hphp/test/vm/seth-dtor3.php.exp b/hphp/test/vm/seth-dtor3.php.expect similarity index 100% rename from hphp/test/vm/seth-dtor3.php.exp rename to hphp/test/vm/seth-dtor3.php.expect diff --git a/hphp/test/vm/setmcrash.php.exp b/hphp/test/vm/setmcrash.php.expect similarity index 100% rename from hphp/test/vm/setmcrash.php.exp rename to hphp/test/vm/setmcrash.php.expect diff --git a/hphp/test/vm/setmstr.php.exp b/hphp/test/vm/setmstr.php.expect similarity index 100% rename from hphp/test/vm/setmstr.php.exp rename to hphp/test/vm/setmstr.php.expect diff --git a/hphp/test/vm/setmstr2.php.exp b/hphp/test/vm/setmstr2.php.expect similarity index 100% rename from hphp/test/vm/setmstr2.php.exp rename to hphp/test/vm/setmstr2.php.expect diff --git a/hphp/test/vm/setnewelemloc.php.exp b/hphp/test/vm/setnewelemloc.php.expect similarity index 100% rename from hphp/test/vm/setnewelemloc.php.exp rename to hphp/test/vm/setnewelemloc.php.expect diff --git a/hphp/test/vm/setnewelemloc2.php.exp b/hphp/test/vm/setnewelemloc2.php.expect similarity index 100% rename from hphp/test/vm/setnewelemloc2.php.exp rename to hphp/test/vm/setnewelemloc2.php.expect diff --git a/hphp/test/vm/setop-incdec-refs.php.exp b/hphp/test/vm/setop-incdec-refs.php.expect similarity index 100% rename from hphp/test/vm/setop-incdec-refs.php.exp rename to hphp/test/vm/setop-incdec-refs.php.expect diff --git a/hphp/test/vm/setprofile_throw.php.exp b/hphp/test/vm/setprofile_throw.php.expect similarity index 100% rename from hphp/test/vm/setprofile_throw.php.exp rename to hphp/test/vm/setprofile_throw.php.expect diff --git a/hphp/test/vm/sets-dtor.php.exp b/hphp/test/vm/sets-dtor.php.expect similarity index 100% rename from hphp/test/vm/sets-dtor.php.exp rename to hphp/test/vm/sets-dtor.php.expect diff --git a/hphp/test/vm/silencer.php.exp b/hphp/test/vm/silencer.php.exp deleted file mode 100644 index f82fcc026..000000000 --- a/hphp/test/vm/silencer.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -16807935 -HipHop Notice: Undefined index: 15410 in hphp/test/vm/silencer.php on line 5 -In f: 16807935 -16807935 -In f: 0 -16807935 -16807935 -In g: 0 -15251 diff --git a/hphp/test/vm/silencer.php.expectf b/hphp/test/vm/silencer.php.expectf new file mode 100644 index 000000000..c587e842b --- /dev/null +++ b/hphp/test/vm/silencer.php.expectf @@ -0,0 +1,9 @@ +16807935 +HipHop Notice: Undefined index: 15410 in %s on line 5 +In f: 16807935 +16807935 +In f: 0 +16807935 +16807935 +In g: 0 +15251 diff --git a/hphp/test/vm/simpl-0.php.exp b/hphp/test/vm/simpl-0.php.expect similarity index 100% rename from hphp/test/vm/simpl-0.php.exp rename to hphp/test/vm/simpl-0.php.expect diff --git a/hphp/test/vm/simpl-1.php.exp b/hphp/test/vm/simpl-1.php.expect similarity index 100% rename from hphp/test/vm/simpl-1.php.exp rename to hphp/test/vm/simpl-1.php.expect diff --git a/hphp/test/vm/sp.php.exp b/hphp/test/vm/sp.php.expect similarity index 100% rename from hphp/test/vm/sp.php.exp rename to hphp/test/vm/sp.php.expect diff --git a/hphp/test/vm/squishdefval.php.exp b/hphp/test/vm/squishdefval.php.expect similarity index 100% rename from hphp/test/vm/squishdefval.php.exp rename to hphp/test/vm/squishdefval.php.expect diff --git a/hphp/test/vm/static-in-vector.php.exp b/hphp/test/vm/static-in-vector.php.expect similarity index 100% rename from hphp/test/vm/static-in-vector.php.exp rename to hphp/test/vm/static-in-vector.php.expect diff --git a/hphp/test/vm/static_array.php.exp b/hphp/test/vm/static_array.php.exp deleted file mode 100644 index 7d49ca2ec..000000000 --- a/hphp/test/vm/static_array.php.exp +++ /dev/null @@ -1,182 +0,0 @@ -array(0) { -} -array(1) { - [0]=> - NULL -} -array(1) { - [0]=> - bool(true) -} -array(1) { - [0]=> - int(42) -} -array(1) { - [0]=> - float(12.34) -} -array(1) { - [0]=> - string(5) "hello" -} -array(1) { - [0]=> - array(0) { - } -} -array(6) { - [0]=> - NULL - [1]=> - bool(true) - [2]=> - int(42) - [3]=> - float(12.34) - [4]=> - string(5) "hello" - [5]=> - array(2) { - [0]=> - int(1) - [1]=> - array(2) { - [0]=> - int(2) - [1]=> - array(1) { - [0]=> - int(3) - } - } - } -} -array(6) { - [0]=> - NULL - [1]=> - bool(true) - [2]=> - int(42) - [3]=> - float(12.34) - [4]=> - string(5) "hello" - [5]=> - array(2) { - [0]=> - int(1) - [1]=> - array(2) { - [0]=> - int(2) - [1]=> - array(1) { - [0]=> - int(3) - } - } - } -} -array(1) { - [""]=> - string(4) "null" -} -array(1) { - [0]=> - string(5) "false" -} -array(1) { - [1]=> - string(4) "true" -} -array(1) { - [0]=> - string(1) "0" -} -array(1) { - [42]=> - string(2) "42" -} -array(1) { - [12]=> - string(5) "12.34" -} -array(1) { - ["hello"]=> - string(5) "world" -} -array(4) { - [0]=> - string(1) "0" - [1]=> - string(1) "1" - ["hello"]=> - string(5) "world" - [12]=> - array(0) { - } -} -array(1) { - [0]=> - NULL -} -array(1) { - [0]=> - string(1) "0" -} -array(1) { - [0]=> - string(1) "0" -} -array(1) { - ["hello"]=> - string(5) "world" -} -array(1) { - ["hello"]=> - string(5) "world" -} -array(1) { - [0]=> - array(1) { - [0]=> - int(0) - } -} -array(2) { - [0]=> - array(1) { - [0]=> - int(0) - } - [1]=> - array(1) { - [0]=> - int(0) - } -} -array(2) { - [0]=> - array(1) { - [0]=> - int(0) - } - [1]=> - array(1) { - [0]=> - int(0) - } -} -HipHop Warning: Invalid operand type was used: Invalid type used as key in hphp/test/vm/static_array.php on line 88 -array(0) { -} -array(1) { - [0]=> - int(0) -} -array(1) { - [-9223372036854775808]=> - int(0) -} diff --git a/hphp/test/vm/static_array.php.expectf b/hphp/test/vm/static_array.php.expectf new file mode 100644 index 000000000..0f87119cd --- /dev/null +++ b/hphp/test/vm/static_array.php.expectf @@ -0,0 +1,182 @@ +array(0) { +} +array(1) { + [0]=> + NULL +} +array(1) { + [0]=> + bool(true) +} +array(1) { + [0]=> + int(42) +} +array(1) { + [0]=> + float(12.34) +} +array(1) { + [0]=> + string(5) "hello" +} +array(1) { + [0]=> + array(0) { + } +} +array(6) { + [0]=> + NULL + [1]=> + bool(true) + [2]=> + int(42) + [3]=> + float(12.34) + [4]=> + string(5) "hello" + [5]=> + array(2) { + [0]=> + int(1) + [1]=> + array(2) { + [0]=> + int(2) + [1]=> + array(1) { + [0]=> + int(3) + } + } + } +} +array(6) { + [0]=> + NULL + [1]=> + bool(true) + [2]=> + int(42) + [3]=> + float(12.34) + [4]=> + string(5) "hello" + [5]=> + array(2) { + [0]=> + int(1) + [1]=> + array(2) { + [0]=> + int(2) + [1]=> + array(1) { + [0]=> + int(3) + } + } + } +} +array(1) { + [""]=> + string(4) "null" +} +array(1) { + [0]=> + string(5) "false" +} +array(1) { + [1]=> + string(4) "true" +} +array(1) { + [0]=> + string(1) "0" +} +array(1) { + [42]=> + string(2) "42" +} +array(1) { + [12]=> + string(5) "12.34" +} +array(1) { + ["hello"]=> + string(5) "world" +} +array(4) { + [0]=> + string(1) "0" + [1]=> + string(1) "1" + ["hello"]=> + string(5) "world" + [12]=> + array(0) { + } +} +array(1) { + [0]=> + NULL +} +array(1) { + [0]=> + string(1) "0" +} +array(1) { + [0]=> + string(1) "0" +} +array(1) { + ["hello"]=> + string(5) "world" +} +array(1) { + ["hello"]=> + string(5) "world" +} +array(1) { + [0]=> + array(1) { + [0]=> + int(0) + } +} +array(2) { + [0]=> + array(1) { + [0]=> + int(0) + } + [1]=> + array(1) { + [0]=> + int(0) + } +} +array(2) { + [0]=> + array(1) { + [0]=> + int(0) + } + [1]=> + array(1) { + [0]=> + int(0) + } +} +HipHop Warning: Invalid operand type was used: Invalid type used as key in %s on line 88 +array(0) { +} +array(1) { + [0]=> + int(0) +} +array(1) { + [-9223372036854775808]=> + int(0) +} diff --git a/hphp/test/vm/static_closure.php.exp b/hphp/test/vm/static_closure.php.expect similarity index 100% rename from hphp/test/vm/static_closure.php.exp rename to hphp/test/vm/static_closure.php.expect diff --git a/hphp/test/vm/static_closure_gen.php.exp b/hphp/test/vm/static_closure_gen.php.expect similarity index 100% rename from hphp/test/vm/static_closure_gen.php.exp rename to hphp/test/vm/static_closure_gen.php.expect diff --git a/hphp/test/vm/static_closure_params.php.exp b/hphp/test/vm/static_closure_params.php.expect similarity index 100% rename from hphp/test/vm/static_closure_params.php.exp rename to hphp/test/vm/static_closure_params.php.expect diff --git a/hphp/test/vm/static_clscns.php.exp b/hphp/test/vm/static_clscns.php.expect similarity index 100% rename from hphp/test/vm/static_clscns.php.exp rename to hphp/test/vm/static_clscns.php.expect diff --git a/hphp/test/vm/static_clsmethod.php.exp b/hphp/test/vm/static_clsmethod.php.exp deleted file mode 100644 index ca9cb027e..000000000 --- a/hphp/test/vm/static_clsmethod.php.exp +++ /dev/null @@ -1,30 +0,0 @@ -bool(true) -string(1) "C" -bool(true) -string(1) "D" -************** -bool(true) -string(1) "C" -bool(true) -string(1) "D" -************** -bool(false) -string(1) "C" -bool(false) -string(1) "D" -************** -bool(false) -string(1) "C" -bool(false) -string(1) "D" -************** -bool(true) -string(1) "D" -bool(true) -string(1) "D" -bool(false) -string(1) "D" -bool(false) -string(1) "C" -************** -HipHop Fatal error: Cannot access static:: when no class scope is active in hphp/test/vm/static_clsmethod.php on line 55 diff --git a/hphp/test/vm/static_clsmethod.php.expectf b/hphp/test/vm/static_clsmethod.php.expectf new file mode 100644 index 000000000..ba1330e5b --- /dev/null +++ b/hphp/test/vm/static_clsmethod.php.expectf @@ -0,0 +1,30 @@ +bool(true) +string(1) "C" +bool(true) +string(1) "D" +************** +bool(true) +string(1) "C" +bool(true) +string(1) "D" +************** +bool(false) +string(1) "C" +bool(false) +string(1) "D" +************** +bool(false) +string(1) "C" +bool(false) +string(1) "D" +************** +bool(true) +string(1) "D" +bool(true) +string(1) "D" +bool(false) +string(1) "D" +bool(false) +string(1) "C" +************** +HipHop Fatal error: Cannot access static:: when no class scope is active in %s on line 55 diff --git a/hphp/test/vm/static_new.php.exp b/hphp/test/vm/static_new.php.expect similarity index 100% rename from hphp/test/vm/static_new.php.exp rename to hphp/test/vm/static_new.php.expect diff --git a/hphp/test/vm/static_prop_eval_order.php.exp b/hphp/test/vm/static_prop_eval_order.php.expect similarity index 100% rename from hphp/test/vm/static_prop_eval_order.php.exp rename to hphp/test/vm/static_prop_eval_order.php.expect diff --git a/hphp/test/vm/static_properties.php.exp b/hphp/test/vm/static_properties.php.expect similarity index 100% rename from hphp/test/vm/static_properties.php.exp rename to hphp/test/vm/static_properties.php.expect diff --git a/hphp/test/vm/static_sprop.php.exp b/hphp/test/vm/static_sprop.php.expect similarity index 100% rename from hphp/test/vm/static_sprop.php.exp rename to hphp/test/vm/static_sprop.php.expect diff --git a/hphp/test/vm/static_sprop2.php.exp b/hphp/test/vm/static_sprop2.php.exp deleted file mode 100644 index ce5d5063e..000000000 --- a/hphp/test/vm/static_sprop2.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Creating C -string(1) "C" -Creating D -HipHop Fatal error: Invalid static property access: D::cls in hphp/test/vm/static_sprop2.php on line 5 diff --git a/hphp/test/vm/static_sprop2.php.expectf b/hphp/test/vm/static_sprop2.php.expectf new file mode 100644 index 000000000..a3baa0a70 --- /dev/null +++ b/hphp/test/vm/static_sprop2.php.expectf @@ -0,0 +1,4 @@ +Creating C +string(1) "C" +Creating D +HipHop Fatal error: Invalid static property access: D::cls in %s on line 5 diff --git a/hphp/test/vm/static_vars.php.exp b/hphp/test/vm/static_vars.php.expect similarity index 100% rename from hphp/test/vm/static_vars.php.exp rename to hphp/test/vm/static_vars.php.expect diff --git a/hphp/test/vm/strToInt.php.exp b/hphp/test/vm/strToInt.php.expect similarity index 100% rename from hphp/test/vm/strToInt.php.exp rename to hphp/test/vm/strToInt.php.expect diff --git a/hphp/test/vm/strict.php.exp b/hphp/test/vm/strict.php.expect similarity index 100% rename from hphp/test/vm/strict.php.exp rename to hphp/test/vm/strict.php.expect diff --git a/hphp/test/vm/strict_bad_end.php.exp b/hphp/test/vm/strict_bad_end.php.exp deleted file mode 100644 index e22541a06..000000000 --- a/hphp/test/vm/strict_bad_end.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected T_STRICT_ERROR, expecting $end in hphp/test/vm/strict_bad_end.php on line 2 diff --git a/hphp/test/vm/strict_bad_end.php.expectf b/hphp/test/vm/strict_bad_end.php.expectf new file mode 100644 index 000000000..40bae1eaa --- /dev/null +++ b/hphp/test/vm/strict_bad_end.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected T_STRICT_ERROR, expecting $end in %s on line 2 diff --git a/hphp/test/vm/strict_bad_start.php.exp b/hphp/test/vm/strict_bad_start.php.exp deleted file mode 100644 index 21a69728c..000000000 --- a/hphp/test/vm/strict_bad_start.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected T_STRICT_ERROR, expecting $end in hphp/test/vm/strict_bad_start.php on line 1 diff --git a/hphp/test/vm/strict_bad_start.php.expectf b/hphp/test/vm/strict_bad_start.php.expectf new file mode 100644 index 000000000..4fbce2f01 --- /dev/null +++ b/hphp/test/vm/strict_bad_start.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected T_STRICT_ERROR, expecting $end in %s on line 1 diff --git a/hphp/test/vm/strict_classes.php.exp b/hphp/test/vm/strict_classes.php.expect similarity index 100% rename from hphp/test/vm/strict_classes.php.exp rename to hphp/test/vm/strict_classes.php.expect diff --git a/hphp/test/vm/strict_numbers.php.exp b/hphp/test/vm/strict_numbers.php.exp deleted file mode 100644 index 99737033b..000000000 --- a/hphp/test/vm/strict_numbers.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected T_STRICT_ERROR in hphp/test/vm/strict_numbers.php on line 2 diff --git a/hphp/test/vm/strict_numbers.php.expectf b/hphp/test/vm/strict_numbers.php.expectf new file mode 100644 index 000000000..ab09c4cd1 --- /dev/null +++ b/hphp/test/vm/strict_numbers.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected T_STRICT_ERROR in %s on line 2 diff --git a/hphp/test/vm/strict_type_args.php.exp b/hphp/test/vm/strict_type_args.php.expect similarity index 100% rename from hphp/test/vm/strict_type_args.php.exp rename to hphp/test/vm/strict_type_args.php.expect diff --git a/hphp/test/vm/strict_type_args2.php.exp b/hphp/test/vm/strict_type_args2.php.exp deleted file mode 100644 index 4591c1f72..000000000 --- a/hphp/test/vm/strict_type_args2.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -1 -1 -2 -HipHop Fatal error: Argument 1 passed to takes_x() must be an instance of X, string given in hphp/test/vm/strict_type_args2.php on line 4 diff --git a/hphp/test/vm/strict_type_args2.php.expectf b/hphp/test/vm/strict_type_args2.php.expectf new file mode 100644 index 000000000..c7b6324a9 --- /dev/null +++ b/hphp/test/vm/strict_type_args2.php.expectf @@ -0,0 +1,4 @@ +1 +1 +2 +HipHop Fatal error: Argument 1 passed to takes_x() must be an instance of X, string given in %s on line 4 diff --git a/hphp/test/vm/strict_type_args3.php.exp b/hphp/test/vm/strict_type_args3.php.exp deleted file mode 100644 index 282f06c55..000000000 --- a/hphp/test/vm/strict_type_args3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Argument 1 passed to Foo::test5() must be an instance of d, string given in hphp/test/vm/strict_type_args3.php on line 15 diff --git a/hphp/test/vm/strict_type_args3.php.expectf b/hphp/test/vm/strict_type_args3.php.expectf new file mode 100644 index 000000000..04c7946f4 --- /dev/null +++ b/hphp/test/vm/strict_type_args3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Argument 1 passed to Foo::test5() must be an instance of d, string given in %s on line 15 diff --git a/hphp/test/vm/string-cse.php.exp b/hphp/test/vm/string-cse.php.expect similarity index 100% rename from hphp/test/vm/string-cse.php.exp rename to hphp/test/vm/string-cse.php.expect diff --git a/hphp/test/vm/string_copy.php.exp b/hphp/test/vm/string_copy.php.expect similarity index 100% rename from hphp/test/vm/string_copy.php.exp rename to hphp/test/vm/string_copy.php.expect diff --git a/hphp/test/vm/switch.php.exp b/hphp/test/vm/switch.php.expect similarity index 100% rename from hphp/test/vm/switch.php.exp rename to hphp/test/vm/switch.php.expect diff --git a/hphp/test/vm/switchRef.php.exp b/hphp/test/vm/switchRef.php.expect similarity index 100% rename from hphp/test/vm/switchRef.php.exp rename to hphp/test/vm/switchRef.php.expect diff --git a/hphp/test/vm/syntax-error-incl.php.exp b/hphp/test/vm/syntax-error-incl.php.exp deleted file mode 100644 index 9620cd938..000000000 --- a/hphp/test/vm/syntax-error-incl.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected $end in hphp/test/vm/syntax-error.php on line 2 diff --git a/hphp/test/vm/syntax-error-incl.php.expectf b/hphp/test/vm/syntax-error-incl.php.expectf new file mode 100644 index 000000000..15fc28391 --- /dev/null +++ b/hphp/test/vm/syntax-error-incl.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected $end in %s on line 2 diff --git a/hphp/test/vm/syntax-error.php.exp b/hphp/test/vm/syntax-error.php.exp deleted file mode 100644 index 9620cd938..000000000 --- a/hphp/test/vm/syntax-error.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected $end in hphp/test/vm/syntax-error.php on line 2 diff --git a/hphp/test/vm/syntax-error.php.expectf b/hphp/test/vm/syntax-error.php.expectf new file mode 100644 index 000000000..15fc28391 --- /dev/null +++ b/hphp/test/vm/syntax-error.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected $end in %s on line 2 diff --git a/hphp/test/vm/temparray.php.exp b/hphp/test/vm/temparray.php.expect similarity index 100% rename from hphp/test/vm/temparray.php.exp rename to hphp/test/vm/temparray.php.expect diff --git a/hphp/test/vm/throw.php.exp b/hphp/test/vm/throw.php.expect similarity index 100% rename from hphp/test/vm/throw.php.exp rename to hphp/test/vm/throw.php.expect diff --git a/hphp/test/vm/trailing_comma.php.exp b/hphp/test/vm/trailing_comma.php.expect similarity index 100% rename from hphp/test/vm/trailing_comma.php.exp rename to hphp/test/vm/trailing_comma.php.expect diff --git a/hphp/test/vm/trailing_comma_bad1.php.exp b/hphp/test/vm/trailing_comma_bad1.php.exp deleted file mode 100644 index 798084e3d..000000000 --- a/hphp/test/vm/trailing_comma_bad1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ',', expecting ')' in hphp/test/vm/trailing_comma_bad1.php on line 3 diff --git a/hphp/test/vm/trailing_comma_bad1.php.expectf b/hphp/test/vm/trailing_comma_bad1.php.expectf new file mode 100644 index 000000000..6b88ba1d7 --- /dev/null +++ b/hphp/test/vm/trailing_comma_bad1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ',', expecting ')' in %s on line 3 diff --git a/hphp/test/vm/trailing_comma_bad2.php.exp b/hphp/test/vm/trailing_comma_bad2.php.exp deleted file mode 100644 index 461898b89..000000000 --- a/hphp/test/vm/trailing_comma_bad2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ',', expecting ')' in hphp/test/vm/trailing_comma_bad2.php on line 3 diff --git a/hphp/test/vm/trailing_comma_bad2.php.expectf b/hphp/test/vm/trailing_comma_bad2.php.expectf new file mode 100644 index 000000000..6b88ba1d7 --- /dev/null +++ b/hphp/test/vm/trailing_comma_bad2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ',', expecting ')' in %s on line 3 diff --git a/hphp/test/vm/trailing_comma_bad3.php.exp b/hphp/test/vm/trailing_comma_bad3.php.exp deleted file mode 100644 index 09f7fa260..000000000 --- a/hphp/test/vm/trailing_comma_bad3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ',', expecting '&' or T_VARIABLE in hphp/test/vm/trailing_comma_bad3.php on line 2 diff --git a/hphp/test/vm/trailing_comma_bad3.php.expectf b/hphp/test/vm/trailing_comma_bad3.php.expectf new file mode 100644 index 000000000..d54c9c050 --- /dev/null +++ b/hphp/test/vm/trailing_comma_bad3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ',', expecting '&' or T_VARIABLE in %s on line 2 diff --git a/hphp/test/vm/trailing_comma_bad4.php.exp b/hphp/test/vm/trailing_comma_bad4.php.exp deleted file mode 100644 index 05054e069..000000000 --- a/hphp/test/vm/trailing_comma_bad4.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ',', expecting '&' or T_VARIABLE in hphp/test/vm/trailing_comma_bad4.php on line 2 diff --git a/hphp/test/vm/trailing_comma_bad4.php.expectf b/hphp/test/vm/trailing_comma_bad4.php.expectf new file mode 100644 index 000000000..d54c9c050 --- /dev/null +++ b/hphp/test/vm/trailing_comma_bad4.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ',', expecting '&' or T_VARIABLE in %s on line 2 diff --git a/hphp/test/vm/trailing_comma_bad5.php.exp b/hphp/test/vm/trailing_comma_bad5.php.exp deleted file mode 100644 index 576c4fa97..000000000 --- a/hphp/test/vm/trailing_comma_bad5.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ',', expecting '&' or T_VARIABLE in hphp/test/vm/trailing_comma_bad5.php on line 2 diff --git a/hphp/test/vm/trailing_comma_bad5.php.expectf b/hphp/test/vm/trailing_comma_bad5.php.expectf new file mode 100644 index 000000000..d54c9c050 --- /dev/null +++ b/hphp/test/vm/trailing_comma_bad5.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ',', expecting '&' or T_VARIABLE in %s on line 2 diff --git a/hphp/test/vm/trailing_comma_bad6.php.exp b/hphp/test/vm/trailing_comma_bad6.php.exp deleted file mode 100644 index a90762cae..000000000 --- a/hphp/test/vm/trailing_comma_bad6.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ',', expecting ')' in hphp/test/vm/trailing_comma_bad6.php on line 2 diff --git a/hphp/test/vm/trailing_comma_bad6.php.expectf b/hphp/test/vm/trailing_comma_bad6.php.expectf new file mode 100644 index 000000000..cd62f087a --- /dev/null +++ b/hphp/test/vm/trailing_comma_bad6.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected ',', expecting ')' in %s on line 2 diff --git a/hphp/test/vm/trait_method_modif1.php.exp b/hphp/test/vm/trait_method_modif1.php.exp deleted file mode 100644 index b4bf39a51..000000000 --- a/hphp/test/vm/trait_method_modif1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to Bar::f() must be public (as in class Foo) or weaker in hphp/test/vm/trait_method_modif1.php on line 12 diff --git a/hphp/test/vm/trait_method_modif1.php.expectf b/hphp/test/vm/trait_method_modif1.php.expectf new file mode 100644 index 000000000..f1cf2b91f --- /dev/null +++ b/hphp/test/vm/trait_method_modif1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Access level to Bar::f() must be public (as in class Foo) or weaker in %s on line 12 diff --git a/hphp/test/vm/trait_method_modif10.php.exp b/hphp/test/vm/trait_method_modif10.php.exp deleted file mode 100644 index 03c4f0e4c..000000000 --- a/hphp/test/vm/trait_method_modif10.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-declare abstract method Base::f() abstract in class Foo in hphp/test/vm/trait_method_modif10.php on line 8 diff --git a/hphp/test/vm/trait_method_modif10.php.expectf b/hphp/test/vm/trait_method_modif10.php.expectf new file mode 100644 index 000000000..b8634179d --- /dev/null +++ b/hphp/test/vm/trait_method_modif10.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot re-declare abstract method Base::f() abstract in class Foo in %s on line 8 diff --git a/hphp/test/vm/trait_method_modif3.php.exp b/hphp/test/vm/trait_method_modif3.php.exp deleted file mode 100644 index d45a779c3..000000000 --- a/hphp/test/vm/trait_method_modif3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to Bar::f() must be protected (as in class Foo) or weaker in hphp/test/vm/trait_method_modif3.php on line 12 diff --git a/hphp/test/vm/trait_method_modif3.php.expectf b/hphp/test/vm/trait_method_modif3.php.expectf new file mode 100644 index 000000000..eb09176ce --- /dev/null +++ b/hphp/test/vm/trait_method_modif3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Access level to Bar::f() must be protected (as in class Foo) or weaker in %s on line 12 diff --git a/hphp/test/vm/trait_method_modif4.php.exp b/hphp/test/vm/trait_method_modif4.php.expect similarity index 100% rename from hphp/test/vm/trait_method_modif4.php.exp rename to hphp/test/vm/trait_method_modif4.php.expect diff --git a/hphp/test/vm/trait_method_modif7.php.exp b/hphp/test/vm/trait_method_modif7.php.exp deleted file mode 100644 index 09997e2ff..000000000 --- a/hphp/test/vm/trait_method_modif7.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot change static method Foo::f() to non-static in Bar in hphp/test/vm/trait_method_modif7.php on line 12 diff --git a/hphp/test/vm/trait_method_modif7.php.expectf b/hphp/test/vm/trait_method_modif7.php.expectf new file mode 100644 index 000000000..b46e01362 --- /dev/null +++ b/hphp/test/vm/trait_method_modif7.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot change static method Foo::f() to non-static in Bar in %s on line 12 diff --git a/hphp/test/vm/trait_method_modif8.php.exp b/hphp/test/vm/trait_method_modif8.php.exp deleted file mode 100644 index 02403e7bf..000000000 --- a/hphp/test/vm/trait_method_modif8.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot change non-static method Foo::f() to static in Bar in hphp/test/vm/trait_method_modif8.php on line 12 diff --git a/hphp/test/vm/trait_method_modif8.php.expectf b/hphp/test/vm/trait_method_modif8.php.expectf new file mode 100644 index 000000000..c27ec3957 --- /dev/null +++ b/hphp/test/vm/trait_method_modif8.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot change non-static method Foo::f() to static in Bar in %s on line 12 diff --git a/hphp/test/vm/traits.php.exp b/hphp/test/vm/traits.php.expect similarity index 100% rename from hphp/test/vm/traits.php.exp rename to hphp/test/vm/traits.php.expect diff --git a/hphp/test/vm/traits2.php.exp b/hphp/test/vm/traits2.php.exp deleted file mode 100644 index 3054cf880..000000000 --- a/hphp/test/vm/traits2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Interfaces cannot use traits in hphp/test/vm/traits2.php on line 7 diff --git a/hphp/test/vm/traits2.php.expectf b/hphp/test/vm/traits2.php.expectf new file mode 100644 index 000000000..3a827c2d8 --- /dev/null +++ b/hphp/test/vm/traits2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Interfaces cannot use traits in %s on line 7 diff --git a/hphp/test/vm/translator_unwind.hhas.exp b/hphp/test/vm/translator_unwind.hhas.expect similarity index 100% rename from hphp/test/vm/translator_unwind.hhas.exp rename to hphp/test/vm/translator_unwind.hhas.expect diff --git a/hphp/test/vm/trim_dtor.php.exp b/hphp/test/vm/trim_dtor.php.expect similarity index 100% rename from hphp/test/vm/trim_dtor.php.exp rename to hphp/test/vm/trim_dtor.php.expect diff --git a/hphp/test/vm/typechecks-dv.php.exp b/hphp/test/vm/typechecks-dv.php.exp deleted file mode 100644 index 706d84e0f..000000000 --- a/hphp/test/vm/typechecks-dv.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: Use of undefined constant D00Dz - assumed 'D00Dz' in hphp/test/vm/typechecks-dv.php on line 3 -D00Dzw00tHipHop Fatal error: Argument 1 passed to woot() must be an instance of string, int given in hphp/test/vm/typechecks-dv.php on line 5 diff --git a/hphp/test/vm/typechecks-dv.php.expectf b/hphp/test/vm/typechecks-dv.php.expectf new file mode 100644 index 000000000..89894a74f --- /dev/null +++ b/hphp/test/vm/typechecks-dv.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: Use of undefined constant D00Dz - assumed 'D00Dz' in %s on line 3 +D00Dzw00tHipHop Fatal error: Argument 1 passed to woot() must be an instance of string, int given in %s on line 5 diff --git a/hphp/test/vm/typechecks-obj.php.exp b/hphp/test/vm/typechecks-obj.php.exp deleted file mode 100644 index 15aa893d6..000000000 --- a/hphp/test/vm/typechecks-obj.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -object(C)#1 (0) { -} -object(D)#2 (0) { -} -NULL -HipHop Fatal error: Argument 1 passed to f() must be an instance of C, stdClass given in hphp/test/vm/typechecks-obj.php on line 6 diff --git a/hphp/test/vm/typechecks-obj.php.expectf b/hphp/test/vm/typechecks-obj.php.expectf new file mode 100644 index 000000000..c85927183 --- /dev/null +++ b/hphp/test/vm/typechecks-obj.php.expectf @@ -0,0 +1,6 @@ +object(C)#1 (0) { +} +object(D)#2 (0) { +} +NULL +HipHop Fatal error: Argument 1 passed to f() must be an instance of C, stdClass given in %s on line 6 diff --git a/hphp/test/vm/typedef_class.php.exp b/hphp/test/vm/typedef_class.php.expect similarity index 100% rename from hphp/test/vm/typedef_class.php.exp rename to hphp/test/vm/typedef_class.php.expect diff --git a/hphp/test/vm/typedef_class_fail1.php.exp b/hphp/test/vm/typedef_class_fail1.php.exp deleted file mode 100644 index ff89c65a0..000000000 --- a/hphp/test/vm/typedef_class_fail1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class undefined: Foo in hphp/test/vm/typedef_class_fail1.php on line 8 diff --git a/hphp/test/vm/typedef_class_fail1.php.expectf b/hphp/test/vm/typedef_class_fail1.php.expectf new file mode 100644 index 000000000..e174d7d43 --- /dev/null +++ b/hphp/test/vm/typedef_class_fail1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class undefined: Foo in %s on line 8 diff --git a/hphp/test/vm/typedef_class_fail2.php.exp b/hphp/test/vm/typedef_class_fail2.php.exp deleted file mode 100644 index 5a737dc72..000000000 --- a/hphp/test/vm/typedef_class_fail2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class undefined: Foo in hphp/test/vm/typedef_class_fail2.php on line 11 diff --git a/hphp/test/vm/typedef_class_fail2.php.expectf b/hphp/test/vm/typedef_class_fail2.php.expectf new file mode 100644 index 000000000..17a693fdd --- /dev/null +++ b/hphp/test/vm/typedef_class_fail2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class undefined: Foo in %s on line 11 diff --git a/hphp/test/vm/typedef_cyclic.php.exp b/hphp/test/vm/typedef_cyclic.php.exp deleted file mode 100644 index 6c29f5d94..000000000 --- a/hphp/test/vm/typedef_cyclic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Unknown type or class Foo in hphp/test/vm/typedef_cyclic.php on line 3 diff --git a/hphp/test/vm/typedef_cyclic.php.expectf b/hphp/test/vm/typedef_cyclic.php.expectf new file mode 100644 index 000000000..890b33000 --- /dev/null +++ b/hphp/test/vm/typedef_cyclic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Unknown type or class Foo in %s on line 3 diff --git a/hphp/test/vm/typedef_duplicate.php.exp b/hphp/test/vm/typedef_duplicate.php.exp deleted file mode 100644 index d089a99e5..000000000 --- a/hphp/test/vm/typedef_duplicate.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: The type MyType is already defined to a different class (MyClass) in hphp/test/vm/typedef_duplicate.php on line 10 diff --git a/hphp/test/vm/typedef_duplicate.php.expectf b/hphp/test/vm/typedef_duplicate.php.expectf new file mode 100644 index 000000000..306316012 --- /dev/null +++ b/hphp/test/vm/typedef_duplicate.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: The type MyType is already defined to a different class (MyClass) in %s on line 10 diff --git a/hphp/test/vm/typedef_duplicate2.php.exp b/hphp/test/vm/typedef_duplicate2.php.exp deleted file mode 100644 index fa40d2c31..000000000 --- a/hphp/test/vm/typedef_duplicate2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: The type Coord is already defined to an incompatible type in hphp/test/vm/typedef_duplicate2.php on line 5 diff --git a/hphp/test/vm/typedef_duplicate2.php.expectf b/hphp/test/vm/typedef_duplicate2.php.expectf new file mode 100644 index 000000000..edf2f3990 --- /dev/null +++ b/hphp/test/vm/typedef_duplicate2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: The type Coord is already defined to an incompatible type in %s on line 5 diff --git a/hphp/test/vm/typedef_duplicate3.php.exp b/hphp/test/vm/typedef_duplicate3.php.exp deleted file mode 100644 index 320f6815b..000000000 --- a/hphp/test/vm/typedef_duplicate3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: The type Existing is already defined to a different class (Existing) in hphp/test/vm/typedef_duplicate3.php on line 6 diff --git a/hphp/test/vm/typedef_duplicate3.php.expectf b/hphp/test/vm/typedef_duplicate3.php.expectf new file mode 100644 index 000000000..5c84b1101 --- /dev/null +++ b/hphp/test/vm/typedef_duplicate3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: The type Existing is already defined to a different class (Existing) in %s on line 6 diff --git a/hphp/test/vm/typedef_duplicate4.php.exp b/hphp/test/vm/typedef_duplicate4.php.exp deleted file mode 100644 index ffae82108..000000000 --- a/hphp/test/vm/typedef_duplicate4.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: The type Something is already defined to a different class (Something) in hphp/test/vm/typedef_duplicate4.php on line 4 diff --git a/hphp/test/vm/typedef_duplicate4.php.expectf b/hphp/test/vm/typedef_duplicate4.php.expectf new file mode 100644 index 000000000..5b3ccb678 --- /dev/null +++ b/hphp/test/vm/typedef_duplicate4.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: The type Something is already defined to a different class (Something) in %s on line 4 diff --git a/hphp/test/vm/typedef_duplicate_ok.php.exp b/hphp/test/vm/typedef_duplicate_ok.php.expect similarity index 100% rename from hphp/test/vm/typedef_duplicate_ok.php.exp rename to hphp/test/vm/typedef_duplicate_ok.php.expect diff --git a/hphp/test/vm/typedef_invalid_name.php.exp b/hphp/test/vm/typedef_invalid_name.php.exp deleted file mode 100644 index ef8ec8177..000000000 --- a/hphp/test/vm/typedef_invalid_name.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Unknown type or class IDontExist in hphp/test/vm/typedef_invalid_name.php on line 3 diff --git a/hphp/test/vm/typedef_invalid_name.php.expectf b/hphp/test/vm/typedef_invalid_name.php.expectf new file mode 100644 index 000000000..21933fd61 --- /dev/null +++ b/hphp/test/vm/typedef_invalid_name.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Unknown type or class IDontExist in %s on line 3 diff --git a/hphp/test/vm/typedef_mixed_case.php.exp b/hphp/test/vm/typedef_mixed_case.php.expect similarity index 100% rename from hphp/test/vm/typedef_mixed_case.php.exp rename to hphp/test/vm/typedef_mixed_case.php.expect diff --git a/hphp/test/vm/typedef_newtype.php.exp b/hphp/test/vm/typedef_newtype.php.expect similarity index 100% rename from hphp/test/vm/typedef_newtype.php.exp rename to hphp/test/vm/typedef_newtype.php.expect diff --git a/hphp/test/vm/typedef_non_class.php.exp b/hphp/test/vm/typedef_non_class.php.expect similarity index 100% rename from hphp/test/vm/typedef_non_class.php.exp rename to hphp/test/vm/typedef_non_class.php.expect diff --git a/hphp/test/vm/typedef_non_class_fail1.php.exp b/hphp/test/vm/typedef_non_class_fail1.php.exp deleted file mode 100644 index 67b0df179..000000000 --- a/hphp/test/vm/typedef_non_class_fail1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Argument 1 passed to foo() must be an instance of MyString, int given in hphp/test/vm/typedef_non_class_fail1.php on line 6 diff --git a/hphp/test/vm/typedef_non_class_fail1.php.expectf b/hphp/test/vm/typedef_non_class_fail1.php.expectf new file mode 100644 index 000000000..919f489c2 --- /dev/null +++ b/hphp/test/vm/typedef_non_class_fail1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Argument 1 passed to foo() must be an instance of MyString, int given in %s on line 6 diff --git a/hphp/test/vm/typedef_non_class_fail2.php.exp b/hphp/test/vm/typedef_non_class_fail2.php.exp deleted file mode 100644 index 7d89f1777..000000000 --- a/hphp/test/vm/typedef_non_class_fail2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Argument 1 passed to woot() must be an instance of Point, null given in hphp/test/vm/typedef_non_class_fail2.php on line 10 diff --git a/hphp/test/vm/typedef_non_class_fail2.php.expectf b/hphp/test/vm/typedef_non_class_fail2.php.expectf new file mode 100644 index 000000000..a65b60fd6 --- /dev/null +++ b/hphp/test/vm/typedef_non_class_fail2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Argument 1 passed to woot() must be an instance of Point, null given in %s on line 10 diff --git a/hphp/test/vm/typedef_shape.php.exp b/hphp/test/vm/typedef_shape.php.expect similarity index 100% rename from hphp/test/vm/typedef_shape.php.exp rename to hphp/test/vm/typedef_shape.php.expect diff --git a/hphp/test/vm/typedef_to_typedef.php.exp b/hphp/test/vm/typedef_to_typedef.php.expect similarity index 100% rename from hphp/test/vm/typedef_to_typedef.php.exp rename to hphp/test/vm/typedef_to_typedef.php.expect diff --git a/hphp/test/vm/typehint_callable.php.exp b/hphp/test/vm/typehint_callable.php.exp deleted file mode 100644 index 6c6aae6fb..000000000 --- a/hphp/test/vm/typehint_callable.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -bool(true) -HipHop Fatal error: Argument 1 passed to a() must be an instance of callable, string given in hphp/test/vm/typehint_callable.php on line 3 diff --git a/hphp/test/vm/typehint_callable.php.expectf b/hphp/test/vm/typehint_callable.php.expectf new file mode 100644 index 000000000..6eb2f2570 --- /dev/null +++ b/hphp/test/vm/typehint_callable.php.expectf @@ -0,0 +1,2 @@ +bool(true) +HipHop Fatal error: Argument 1 passed to a() must be an instance of callable, string given in %s on line 3 diff --git a/hphp/test/vm/typehint_lsb_parent.php.exp b/hphp/test/vm/typehint_lsb_parent.php.exp deleted file mode 100644 index 919f12ed6..000000000 --- a/hphp/test/vm/typehint_lsb_parent.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -A accepts param from subclass A -HipHop Fatal error: Argument 1 passed to B::bar() must be an instance of parent, A given in hphp/test/vm/typehint_lsb_parent.php on line 19 diff --git a/hphp/test/vm/typehint_lsb_parent.php.expectf b/hphp/test/vm/typehint_lsb_parent.php.expectf new file mode 100644 index 000000000..de7d5929b --- /dev/null +++ b/hphp/test/vm/typehint_lsb_parent.php.expectf @@ -0,0 +1,2 @@ +A accepts param from subclass A +HipHop Fatal error: Argument 1 passed to B::bar() must be an instance of parent, A given in %s on line 19 diff --git a/hphp/test/vm/typehint_lsb_self.php.exp b/hphp/test/vm/typehint_lsb_self.php.exp deleted file mode 100644 index 0557e7db3..000000000 --- a/hphp/test/vm/typehint_lsb_self.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -A accepts param from subclass C -B accepts param from subclass C -A accepts param from subclass C -HipHop Fatal error: Argument 1 passed to T::bar() must be an instance of T, C given in hphp/test/vm/typehint_lsb_self.php on line 4 diff --git a/hphp/test/vm/typehint_lsb_self.php.expectf b/hphp/test/vm/typehint_lsb_self.php.expectf new file mode 100644 index 000000000..819f8af6b --- /dev/null +++ b/hphp/test/vm/typehint_lsb_self.php.expectf @@ -0,0 +1,4 @@ +A accepts param from subclass C +B accepts param from subclass C +A accepts param from subclass C +HipHop Fatal error: Argument 1 passed to T::bar() must be an instance of T, C given in %s on line 4 diff --git a/hphp/test/vm/undefined-class.php.exp b/hphp/test/vm/undefined-class.php.exp deleted file mode 100644 index dd060eb30..000000000 --- a/hphp/test/vm/undefined-class.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class undefined: X in hphp/test/vm/undefined-class.php on line 4 diff --git a/hphp/test/vm/undefined-class.php.expectf b/hphp/test/vm/undefined-class.php.expectf new file mode 100644 index 000000000..74b9f2b98 --- /dev/null +++ b/hphp/test/vm/undefined-class.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class undefined: X in %s on line 4 diff --git a/hphp/test/vm/undefined-global.php.exp b/hphp/test/vm/undefined-global.php.expect similarity index 100% rename from hphp/test/vm/undefined-global.php.exp rename to hphp/test/vm/undefined-global.php.expect diff --git a/hphp/test/vm/undefined-index.php.exp b/hphp/test/vm/undefined-index.php.exp deleted file mode 100644 index d5b291966..000000000 --- a/hphp/test/vm/undefined-index.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: Undefined index: 123 in hphp/test/vm/undefined-index.php on line 4 -HipHop Notice: Undefined property: stdClass::$flubb in hphp/test/vm/undefined-index.php on line 8 diff --git a/hphp/test/vm/undefined-index.php.expectf b/hphp/test/vm/undefined-index.php.expectf new file mode 100644 index 000000000..9fd9076df --- /dev/null +++ b/hphp/test/vm/undefined-index.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: Undefined index: 123 in %s on line 4 +HipHop Notice: Undefined property: stdClass::$flubb in %s on line 8 diff --git a/hphp/test/vm/undefined-variable.php.exp b/hphp/test/vm/undefined-variable.php.exp deleted file mode 100644 index 0b30726f1..000000000 --- a/hphp/test/vm/undefined-variable.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: Undefined variable: b in hphp/test/vm/undefined-variable.php on line 3 -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined-variable.php on line 9 diff --git a/hphp/test/vm/undefined-variable.php.expectf b/hphp/test/vm/undefined-variable.php.expectf new file mode 100644 index 000000000..7228f0172 --- /dev/null +++ b/hphp/test/vm/undefined-variable.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: Undefined variable: b in %s on line 3 +HipHop Notice: Undefined variable: a in %s on line 9 diff --git a/hphp/test/vm/undefined-vgetg.php.exp b/hphp/test/vm/undefined-vgetg.php.expect similarity index 100% rename from hphp/test/vm/undefined-vgetg.php.exp rename to hphp/test/vm/undefined-vgetg.php.expect diff --git a/hphp/test/vm/undefined_is_type.php.exp b/hphp/test/vm/undefined_is_type.php.exp deleted file mode 100644 index 4e17608d6..000000000 --- a/hphp/test/vm/undefined_is_type.php.exp +++ /dev/null @@ -1,23 +0,0 @@ -set: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 5 -nul: 1 -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 6 -str: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 7 -obj: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 8 -arr: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 9 -int: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 10 -integer: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 11 -long: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 12 -real: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 13 -double: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 14 -float: -HipHop Notice: Undefined variable: a in hphp/test/vm/undefined_is_type.php on line 15 -bool: diff --git a/hphp/test/vm/undefined_is_type.php.expectf b/hphp/test/vm/undefined_is_type.php.expectf new file mode 100644 index 000000000..b7418d03e --- /dev/null +++ b/hphp/test/vm/undefined_is_type.php.expectf @@ -0,0 +1,23 @@ +set: +HipHop Notice: Undefined variable: a in %s on line 5 +nul: 1 +HipHop Notice: Undefined variable: a in %s on line 6 +str: +HipHop Notice: Undefined variable: a in %s on line 7 +obj: +HipHop Notice: Undefined variable: a in %s on line 8 +arr: +HipHop Notice: Undefined variable: a in %s on line 9 +int: +HipHop Notice: Undefined variable: a in %s on line 10 +integer: +HipHop Notice: Undefined variable: a in %s on line 11 +long: +HipHop Notice: Undefined variable: a in %s on line 12 +real: +HipHop Notice: Undefined variable: a in %s on line 13 +double: +HipHop Notice: Undefined variable: a in %s on line 14 +float: +HipHop Notice: Undefined variable: a in %s on line 15 +bool: diff --git a/hphp/test/vm/unpack.php.exp b/hphp/test/vm/unpack.php.expect similarity index 100% rename from hphp/test/vm/unpack.php.exp rename to hphp/test/vm/unpack.php.expect diff --git a/hphp/test/vm/unset_badbase.php.exp b/hphp/test/vm/unset_badbase.php.exp deleted file mode 100644 index 49c7d4a83..000000000 --- a/hphp/test/vm/unset_badbase.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -NULL -HipHop Fatal error: Cannot unset string offsets in hphp/test/vm/unset_badbase.php on line 13 diff --git a/hphp/test/vm/unset_badbase.php.expectf b/hphp/test/vm/unset_badbase.php.expectf new file mode 100644 index 000000000..60e1d5245 --- /dev/null +++ b/hphp/test/vm/unset_badbase.php.expectf @@ -0,0 +1,2 @@ +NULL +HipHop Fatal error: Cannot unset string offsets in %s on line 13 diff --git a/hphp/test/vm/unset_undef_g.php.exp b/hphp/test/vm/unset_undef_g.php.expect similarity index 100% rename from hphp/test/vm/unset_undef_g.php.exp rename to hphp/test/vm/unset_undef_g.php.expect diff --git a/hphp/test/vm/unused_clscns.php.exp b/hphp/test/vm/unused_clscns.php.exp deleted file mode 100644 index 22375525a..000000000 --- a/hphp/test/vm/unused_clscns.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class undefined: Foo in hphp/test/vm/unused_clscns.php on line 2 diff --git a/hphp/test/vm/unused_clscns.php.expectf b/hphp/test/vm/unused_clscns.php.expectf new file mode 100644 index 000000000..fd9b8c34c --- /dev/null +++ b/hphp/test/vm/unused_clscns.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Class undefined: Foo in %s on line 2 diff --git a/hphp/test/vm/user_func.php.exp b/hphp/test/vm/user_func.php.expect similarity index 100% rename from hphp/test/vm/user_func.php.exp rename to hphp/test/vm/user_func.php.expect diff --git a/hphp/test/vm/va_poly.php.exp b/hphp/test/vm/va_poly.php.expect similarity index 100% rename from hphp/test/vm/va_poly.php.exp rename to hphp/test/vm/va_poly.php.expect diff --git a/hphp/test/vm/var.php.exp b/hphp/test/vm/var.php.expect similarity index 100% rename from hphp/test/vm/var.php.exp rename to hphp/test/vm/var.php.expect diff --git a/hphp/test/vm/vector-stack-base.php.exp b/hphp/test/vm/vector-stack-base.php.expect similarity index 100% rename from hphp/test/vm/vector-stack-base.php.exp rename to hphp/test/vm/vector-stack-base.php.expect diff --git a/hphp/test/vm/vector-variant-key.php.exp b/hphp/test/vm/vector-variant-key.php.expect similarity index 100% rename from hphp/test/vm/vector-variant-key.php.exp rename to hphp/test/vm/vector-variant-key.php.expect diff --git a/hphp/test/vm/verify-param-type.php.exp b/hphp/test/vm/verify-param-type.php.exp deleted file mode 100644 index c214aa0a4..000000000 --- a/hphp/test/vm/verify-param-type.php.exp +++ /dev/null @@ -1,38 +0,0 @@ -array(6) { - [0]=> - int(4096) - [1]=> - string(72) "Argument 1 passed to main() must be an instance of integer, double given" - [2]=> - "hphp/test/vm/verify-param-type.php" - [3]=> - int(12) - [4]=> - string(0) "" - [5]=> - array(2) { - [0]=> - array(2) { - ["file"]=> - "hphp/test/vm/verify-param-type.php" - ["line"]=> - int(12) - } - [1]=> - array(4) { - ["file"]=> - "hphp/test/vm/verify-param-type.php" - ["line"]=> - int(14) - ["function"]=> - string(4) "main" - ["args"]=> - array(1) { - [0]=> - float(0) - } - } - } -} -in main -done with main diff --git a/hphp/test/vm/verify-param-type.php.expectf b/hphp/test/vm/verify-param-type.php.expectf new file mode 100644 index 000000000..afeaa5478 --- /dev/null +++ b/hphp/test/vm/verify-param-type.php.expectf @@ -0,0 +1,38 @@ +array(6) { + [0]=> + int(4096) + [1]=> + string(72) "Argument 1 passed to main() must be an instance of integer, double given" + [2]=> + string(%d) "%s" + [3]=> + int(12) + [4]=> + string(0) "" + [5]=> + array(2) { + [0]=> + array(2) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(12) + } + [1]=> + array(4) { + ["file"]=> + string(%d) "%s" + ["line"]=> + int(14) + ["function"]=> + string(4) "main" + ["args"]=> + array(1) { + [0]=> + float(0) + } + } + } +} +in main +done with main diff --git a/hphp/test/vm/vgets.php.exp b/hphp/test/vm/vgets.php.expect similarity index 100% rename from hphp/test/vm/vgets.php.exp rename to hphp/test/vm/vgets.php.expect diff --git a/hphp/test/vm/weird-isset-empty.php.exp b/hphp/test/vm/weird-isset-empty.php.expect similarity index 100% rename from hphp/test/vm/weird-isset-empty.php.exp rename to hphp/test/vm/weird-isset-empty.php.expect diff --git a/hphp/test/vm/xhp-malformed.php.exp b/hphp/test/vm/xhp-malformed.php.exp deleted file mode 100644 index da1069aac..000000000 --- a/hphp/test/vm/xhp-malformed.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected T_XHP_LABEL, expecting T_XHP_TAG_GT in hphp/test/vm/xhp-malformed.php on line 4 diff --git a/hphp/test/vm/xhp-malformed.php.expectf b/hphp/test/vm/xhp-malformed.php.expectf new file mode 100644 index 000000000..c677ce4b5 --- /dev/null +++ b/hphp/test/vm/xhp-malformed.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: syntax error, unexpected T_XHP_LABEL, expecting T_XHP_TAG_GT in %s on line 4 diff --git a/hphp/test/vm/yield_final.php.exp b/hphp/test/vm/yield_final.php.exp deleted file mode 100644 index c5ba7b1c9..000000000 --- a/hphp/test/vm/yield_final.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method A::method1() in hphp/test/vm/yield_final.php on line 4 diff --git a/hphp/test/vm/yield_final.php.expectf b/hphp/test/vm/yield_final.php.expectf new file mode 100644 index 000000000..1267210b8 --- /dev/null +++ b/hphp/test/vm/yield_final.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot override final method A::method1() in %s on line 4 diff --git a/hphp/test/vm/yield_return.php.exp b/hphp/test/vm/yield_return.php.exp deleted file mode 100644 index acb0e8a85..000000000 --- a/hphp/test/vm/yield_return.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot mix 'return' and 'yield' in the same function in hphp/test/vm/yield_return.php on line 7 diff --git a/hphp/test/vm/yield_return.php.expectf b/hphp/test/vm/yield_return.php.expectf new file mode 100644 index 000000000..294a362df --- /dev/null +++ b/hphp/test/vm/yield_return.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: Cannot mix 'return' and 'yield' in the same function in %s on line 7 diff --git a/hphp/test/vm/zend_closure_005.php.exp b/hphp/test/vm/zend_closure_005.php.expect similarity index 100% rename from hphp/test/vm/zend_closure_005.php.exp rename to hphp/test/vm/zend_closure_005.php.expect diff --git a/hphp/test/vm/zend_closure_007.php.exp b/hphp/test/vm/zend_closure_007.php.expect similarity index 100% rename from hphp/test/vm/zend_closure_007.php.exp rename to hphp/test/vm/zend_closure_007.php.expect diff --git a/hphp/test/vm/zend_closure_020.php.exp b/hphp/test/vm/zend_closure_020.php.exp deleted file mode 100644 index 72dd65775..000000000 --- a/hphp/test/vm/zend_closure_020.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -object(foo)#1 (2) { - ["test":"foo":private]=> - int(3) - ["a"]=> - object(Closure$foo$x$3f94cf6423ec56252c9aba668f708bce$0)#2 (1) { - ["a":"Closure$foo$x$3f94cf6423ec56252c9aba668f708bce$0":private]=> - *RECURSION* - } -} -bool(true) -bool(true) -HipHop Fatal error: Cannot access private property foo::$test in hphp/test/vm/zend_closure_020.php on line 19 diff --git a/hphp/test/vm/zend_closure_020.php.expectf b/hphp/test/vm/zend_closure_020.php.expectf new file mode 100644 index 000000000..8a615ed1f --- /dev/null +++ b/hphp/test/vm/zend_closure_020.php.expectf @@ -0,0 +1,12 @@ +object(foo)#1 (2) { + ["test":"foo":private]=> + int(3) + ["a"]=> + object(Closure$foo$x$3f94cf6423ec56252c9aba668f708bce$0)#2 (1) { + ["a":"Closure$foo$x$3f94cf6423ec56252c9aba668f708bce$0":private]=> + *RECURSION* + } +} +bool(true) +bool(true) +HipHop Fatal error: Cannot access private property foo::$test in %s on line 19 diff --git a/hphp/test/vm/zend_closure_025.php.exp b/hphp/test/vm/zend_closure_025.php.expect similarity index 100% rename from hphp/test/vm/zend_closure_025.php.exp rename to hphp/test/vm/zend_closure_025.php.expect diff --git a/hphp/test/vm/zend_indirect_method_call_001.php.exp b/hphp/test/vm/zend_indirect_method_call_001.php.expect similarity index 100% rename from hphp/test/vm/zend_indirect_method_call_001.php.exp rename to hphp/test/vm/zend_indirect_method_call_001.php.expect diff --git a/hphp/test/vm/zend_indirect_method_call_002.php.exp b/hphp/test/vm/zend_indirect_method_call_002.php.exp deleted file mode 100644 index 9d2ee5bde..000000000 --- a/hphp/test/vm/zend_indirect_method_call_002.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -string(3) "foo" -string(7) "testing" -string(3) "foo" -NULL -HipHop Fatal error: Call to undefined method foo::www from anonymous context in hphp/test/vm/zend_indirect_method_call_002.php on line 20 diff --git a/hphp/test/vm/zend_indirect_method_call_002.php.expectf b/hphp/test/vm/zend_indirect_method_call_002.php.expectf new file mode 100644 index 000000000..d72ff3e63 --- /dev/null +++ b/hphp/test/vm/zend_indirect_method_call_002.php.expectf @@ -0,0 +1,5 @@ +string(3) "foo" +string(7) "testing" +string(3) "foo" +NULL +HipHop Fatal error: Call to undefined method foo::www from anonymous context in %s on line 20 diff --git a/hphp/test/vm/zend_indirect_method_call_003.php.exp b/hphp/test/vm/zend_indirect_method_call_003.php.expect similarity index 100% rename from hphp/test/vm/zend_indirect_method_call_003.php.exp rename to hphp/test/vm/zend_indirect_method_call_003.php.expect diff --git a/hphp/test/vm/zend_indirect_method_call_004.php.exp b/hphp/test/vm/zend_indirect_method_call_004.php.expect similarity index 100% rename from hphp/test/vm/zend_indirect_method_call_004.php.exp rename to hphp/test/vm/zend_indirect_method_call_004.php.expect diff --git a/hphp/test/vm/zend_indirect_method_call_005.php.exp b/hphp/test/vm/zend_indirect_method_call_005.php.expect similarity index 100% rename from hphp/test/vm/zend_indirect_method_call_005.php.exp rename to hphp/test/vm/zend_indirect_method_call_005.php.expect diff --git a/hphp/test/vm/zend_indirect_property_access.php.exp b/hphp/test/vm/zend_indirect_property_access.php.expect similarity index 100% rename from hphp/test/vm/zend_indirect_property_access.php.exp rename to hphp/test/vm/zend_indirect_property_access.php.expect diff --git a/hphp/test/zend/bad/tests-basic/bug45986.php.exp b/hphp/test/zend/bad/tests-basic/bug45986.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/tests-basic/bug45986.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-basic/bug45986.php.expectf b/hphp/test/zend/bad/tests-basic/bug45986.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/tests-basic/bug45986.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-basic/bug51709_1.php.exp b/hphp/test/zend/bad/tests-basic/bug51709_1.php.exp deleted file mode 100644 index e20ee06a1..000000000 --- a/hphp/test/zend/bad/tests-basic/bug51709_1.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ syntax\ error\,\ unexpected\ [^ -]+\,\ expecting\ [^ -]+\ in\ [^ -]+bug51709\_1\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-basic/bug51709_1.php.expectf b/hphp/test/zend/bad/tests-basic/bug51709_1.php.expectf new file mode 100644 index 000000000..6c7258064 --- /dev/null +++ b/hphp/test/zend/bad/tests-basic/bug51709_1.php.expectf @@ -0,0 +1 @@ +Parse error: syntax error, unexpected %s, expecting %s in %sbug51709_1.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-basic/bug51709_2.php.exp b/hphp/test/zend/bad/tests-basic/bug51709_2.php.exp deleted file mode 100644 index 3743b17ee..000000000 --- a/hphp/test/zend/bad/tests-basic/bug51709_2.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ syntax\ error\,\ unexpected\ [^ -]+\,\ expecting\ [^ -]+\ in\ [^ -]+bug51709\_2\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-basic/bug51709_2.php.expectf b/hphp/test/zend/bad/tests-basic/bug51709_2.php.expectf new file mode 100644 index 000000000..ea2f47941 --- /dev/null +++ b/hphp/test/zend/bad/tests-basic/bug51709_2.php.expectf @@ -0,0 +1 @@ +Parse error: syntax error, unexpected %s, expecting %s in %sbug51709_2.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-basic/bug54514.php.exp b/hphp/test/zend/bad/tests-basic/bug54514.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-basic/bug54514.php.exp rename to hphp/test/zend/bad/tests-basic/bug54514.php.expectf diff --git a/hphp/test/zend/bad/tests-basic/php_egg_logo_guid.php.exp b/hphp/test/zend/bad/tests-basic/php_egg_logo_guid.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-basic/php_egg_logo_guid.php.exp rename to hphp/test/zend/bad/tests-basic/php_egg_logo_guid.php.expectf diff --git a/hphp/test/zend/bad/tests-basic/php_logo_guid.php.exp b/hphp/test/zend/bad/tests-basic/php_logo_guid.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-basic/php_logo_guid.php.exp rename to hphp/test/zend/bad/tests-basic/php_logo_guid.php.expectf diff --git a/hphp/test/zend/bad/tests-basic/php_real_logo_guid.php.exp b/hphp/test/zend/bad/tests-basic/php_real_logo_guid.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-basic/php_real_logo_guid.php.exp rename to hphp/test/zend/bad/tests-basic/php_real_logo_guid.php.expectf diff --git a/hphp/test/zend/bad/tests-basic/zend_logo_guid.php.exp b/hphp/test/zend/bad/tests-basic/zend_logo_guid.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-basic/zend_logo_guid.php.exp rename to hphp/test/zend/bad/tests-basic/zend_logo_guid.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/__call_005.php.exp b/hphp/test/zend/bad/tests-classes/__call_005.php.exp deleted file mode 100644 index a9e309c87..000000000 --- a/hphp/test/zend/bad/tests-classes/__call_005.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -HipHop Warning: .+ -In\ A\:\:\_\_call\(test1\,\ array\(1\,a\)\)\ -object\(B\)\#1\ \(0\)\ \{\ -\}\ -In\ A\:\:\_\_call\(test2\,\ array\(1\,a\)\)\ -object\(B\)\#1\ \(0\)\ \{\ -\}\ -In\ A\:\:\_\_call\(test3\,\ array\(1\,a\)\)\ -object\(B\)\#1\ \(0\)\ \{\ -\}\ -In\ A\:\:\_\_call\(test4\,\ array\(1\,a\)\)\ -object\(B\)\#1\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/__call_005.php.expectf b/hphp/test/zend/bad/tests-classes/__call_005.php.expectf new file mode 100644 index 000000000..cb33f9f88 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/__call_005.php.expectf @@ -0,0 +1,13 @@ +HipHop Warning: %a +In A::__call(test1, array(1,a)) +object(B)#1 (0) { +} +In A::__call(test2, array(1,a)) +object(B)#1 (0) { +} +In A::__call(test3, array(1,a)) +object(B)#1 (0) { +} +In A::__call(test4, array(1,a)) +object(B)#1 (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/__call_007.php.exp b/hphp/test/zend/bad/tests-classes/__call_007.php.exp deleted file mode 100644 index ba1d81f52..000000000 --- a/hphp/test/zend/bad/tests-classes/__call_007.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -HipHop Warning: .+ -\-\-\-\>\ Invoke\ \_\_call\ via\ simple\ method\ call\.\ -NULL\ -Exception\ caught\ OK\;\ continuing\.\ -\ -\ -\-\-\-\>\ Invoke\ \_\_call\ via\ scope\ resolution\ operator\ within\ instance\.\ -NULL\ -Exception\ caught\ OK\;\ continuing\.\ -\ -\ -\-\-\-\>\ Invoke\ \_\_call\ via\ scope\ resolution\ operator\ within\ child\ instance\.\ -NULL\ -Exception\ caught\ OK\;\ continuing\.\ -\ -\ -\-\-\-\>\ Invoke\ \_\_call\ via\ callback\.\ -NULL\ -Exception\ caught\ OK\;\ continuing\.\ -\=\=DONE\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/__call_007.php.expectf b/hphp/test/zend/bad/tests-classes/__call_007.php.expectf new file mode 100644 index 000000000..52215747b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/__call_007.php.expectf @@ -0,0 +1,20 @@ +HipHop Warning: %a +---> Invoke __call via simple method call. +NULL +Exception caught OK; continuing. + + +---> Invoke __call via scope resolution operator within instance. +NULL +Exception caught OK; continuing. + + +---> Invoke __call via scope resolution operator within child instance. +NULL +Exception caught OK; continuing. + + +---> Invoke __call via callback. +NULL +Exception caught OK; continuing. +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/abstract_static.php.exp b/hphp/test/zend/bad/tests-classes/abstract_static.php.exp deleted file mode 100644 index 130bbc41d..000000000 --- a/hphp/test/zend/bad/tests-classes/abstract_static.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Call\ to\ function\ show\(\)\ -\ -Strict\ Standards\:\ Static\ function\ fail\:\:func\(\)\ should\ not\ be\ abstract\ in\ [^ -]+abstract\_static\.php\(\d+\)\ \:\ eval\(\)\'d\ code\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/abstract_static.php.expectf b/hphp/test/zend/bad/tests-classes/abstract_static.php.expectf new file mode 100644 index 000000000..324fb9d39 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/abstract_static.php.expectf @@ -0,0 +1,4 @@ +Call to function show() + +Strict Standards: Static function fail::func() should not be abstract in %sabstract_static.php(%d) : eval()'d code on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_004.php.exp b/hphp/test/zend/bad/tests-classes/array_access_004.php.exp deleted file mode 100644 index 1b77b7ec3..000000000 --- a/hphp/test/zend/bad/tests-classes/array_access_004.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -object\:\:offsetGet\(1\)\ -string\(6\)\ \"fooBar\"\ -object\:\:offsetGet\(2\)\ -int\(1\)\ -object\:\:offsetGet\(2\)\ -HipHop Notice: .+ -object\:\:offsetGet\(2\)\ -int\(1\)\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_004.php.expectf b/hphp/test/zend/bad/tests-classes/array_access_004.php.expectf new file mode 100644 index 000000000..932d79fa7 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_004.php.expectf @@ -0,0 +1,9 @@ +object::offsetGet(1) +string(6) "fooBar" +object::offsetGet(2) +int(1) +object::offsetGet(2) +HipHop Notice: %a +object::offsetGet(2) +int(1) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_005.php.exp b/hphp/test/zend/bad/tests-classes/array_access_005.php.exp deleted file mode 100644 index 6026639a3..000000000 --- a/hphp/test/zend/bad/tests-classes/array_access_005.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -string\(3\)\ \"Joe\"\ -string\(6\)\ \"JoeFoo\"\ -string\(9\)\ \"JoeFooBar\"\ -\-\-\-ArrayOverloading\-\-\-\ -array\(1\)\ \{\ -\ \ \[\"name\"\]\=\>\ -\ \ string\(3\)\ \"Joe\"\ -\}\ -string\(3\)\ \"Joe\"\ -string\(6\)\ \"JoeFoo\"\ -array\(1\)\ \{\ -\ \ \[\"name\"\]\=\>\ -\ \ string\(6\)\ \"JoeFoo\"\ -\}\ -HipHop Notice: .+ -string\(6\)\ \"JoeFoo\"\ -HipHop Notice: .+ -string\(6\)\ \"JoeFoo\"\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_005.php.expectf b/hphp/test/zend/bad/tests-classes/array_access_005.php.expectf new file mode 100644 index 000000000..3014af47f --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_005.php.expectf @@ -0,0 +1,19 @@ +string(3) "Joe" +string(6) "JoeFoo" +string(9) "JoeFooBar" +---ArrayOverloading--- +array(1) { + ["name"]=> + string(3) "Joe" +} +string(3) "Joe" +string(6) "JoeFoo" +array(1) { + ["name"]=> + string(6) "JoeFoo" +} +HipHop Notice: %a +string(6) "JoeFoo" +HipHop Notice: %a +string(6) "JoeFoo" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_008.php.exp b/hphp/test/zend/bad/tests-classes/array_access_008.php.exp deleted file mode 100644 index 3cb3dd0f9..000000000 --- a/hphp/test/zend/bad/tests-classes/array_access_008.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -string\(3\)\ \"Foo\"\ -string\(6\)\ \"FooBar\"\ -string\(9\)\ \"FooBarBaz\"\ -\=\=\=ArrayOverloading\=\=\=\ -string\(3\)\ \"Foo\"\ -HipHop Notice: .+ -string\(3\)\ \"Foo\"\ -HipHop Notice: .+ -string\(3\)\ \"Foo\"\ -HipHop Notice: .+ -string\(3\)\ \"Foo\"\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_008.php.expectf b/hphp/test/zend/bad/tests-classes/array_access_008.php.expectf new file mode 100644 index 000000000..b35f3c227 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_008.php.expectf @@ -0,0 +1,12 @@ +string(3) "Foo" +string(6) "FooBar" +string(9) "FooBarBaz" +===ArrayOverloading=== +string(3) "Foo" +HipHop Notice: %a +string(3) "Foo" +HipHop Notice: %a +string(3) "Foo" +HipHop Notice: %a +string(3) "Foo" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_012.php.exp b/hphp/test/zend/bad/tests-classes/array_access_012.php.exp deleted file mode 100644 index 5dc7ad73c..000000000 --- a/hphp/test/zend/bad/tests-classes/array_access_012.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_012.php.expectf b/hphp/test/zend/bad/tests-classes/array_access_012.php.expectf new file mode 100644 index 000000000..aaaa48bec --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_012.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/arrayobject_001.php.exp b/hphp/test/zend/bad/tests-classes/arrayobject_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-classes/arrayobject_001.php.exp rename to hphp/test/zend/bad/tests-classes/arrayobject_001.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/autoload_001.php.exp b/hphp/test/zend/bad/tests-classes/autoload_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-classes/autoload_001.php.exp rename to hphp/test/zend/bad/tests-classes/autoload_001.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/autoload_002.php.exp b/hphp/test/zend/bad/tests-classes/autoload_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-classes/autoload_002.php.exp rename to hphp/test/zend/bad/tests-classes/autoload_002.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/autoload_003.php.exp b/hphp/test/zend/bad/tests-classes/autoload_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-classes/autoload_003.php.exp rename to hphp/test/zend/bad/tests-classes/autoload_003.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/autoload_004.php.exp b/hphp/test/zend/bad/tests-classes/autoload_004.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-classes/autoload_004.php.exp rename to hphp/test/zend/bad/tests-classes/autoload_004.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/autoload_005.php.exp b/hphp/test/zend/bad/tests-classes/autoload_005.php.exp deleted file mode 100644 index 37eeb3ffd..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_005.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -bool\(false\)\ -bool\(false\)\ -Test\:\:\_\_destruct\ -bool\(false\)\ -bool\(false\)\ -\_\_autoload\(autoload\_root\)\ -\_\_autoload\(autoload\_derived\)\ -object\(autoload\_derived\)\#\d+\ \(0\)\ \{\ -\}\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_005.php.expectf b/hphp/test/zend/bad/tests-classes/autoload_005.php.expectf new file mode 100644 index 000000000..12817d263 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_005.php.expectf @@ -0,0 +1,10 @@ +bool(false) +bool(false) +Test::__destruct +bool(false) +bool(false) +__autoload(autoload_root) +__autoload(autoload_derived) +object(autoload_derived)#%d (0) { +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_006.php.exp b/hphp/test/zend/bad/tests-classes/autoload_006.php.exp deleted file mode 100644 index 8436d4c0a..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_006.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -bool\(false\)\ -bool\(false\)\ -\_\_autoload\(autoload\_interface\)\ -\_\_autoload\(Autoload\_Implements\)\ -object\(autoload\_implements\)\#\d+\ \(0\)\ \{\ -\}\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_006.php.expectf b/hphp/test/zend/bad/tests-classes/autoload_006.php.expectf new file mode 100644 index 000000000..f7556ab51 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_006.php.expectf @@ -0,0 +1,10 @@ +bool(false) +bool(false) +__autoload(autoload_interface) +__autoload(Autoload_Implements) +object(autoload_implements)#%d (0) { +} +bool(true) +bool(true) +bool(true) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_009.php.exp b/hphp/test/zend/bad/tests-classes/autoload_009.php.exp deleted file mode 100644 index b57294b3d..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_009.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ f\(\)\ must\ be\ an\ instance\ of\ UndefClass\,\ instance\ of\ stdClass\ given\,\ called\ in\ [^ -]+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_009.php.expectf b/hphp/test/zend/bad/tests-classes/autoload_009.php.expectf new file mode 100644 index 000000000..4163879f0 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_009.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to f() must be an instance of UndefClass, instance of stdClass given, called in %s \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_014.php.exp b/hphp/test/zend/bad/tests-classes/autoload_014.php.exp deleted file mode 100644 index 3ce3cbfaa..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_014.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -In\ autoload\:\ string\(6\)\ \"UndefC\"\ -Class\ UndefC\ does\ not\ exist \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_013.php.exp b/hphp/test/zend/bad/tests-classes/autoload_014.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/autoload_013.php.exp rename to hphp/test/zend/bad/tests-classes/autoload_014.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/autoload_016.php.exp b/hphp/test/zend/bad/tests-classes/autoload_016.php.exp deleted file mode 100644 index 74504a264..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_016.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -In\ autoload\:\ string\(6\)\ \"undefc\"\ -Class\ undefc\ does\ not\ exist \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_016.php.expectf b/hphp/test/zend/bad/tests-classes/autoload_016.php.expectf new file mode 100644 index 000000000..4c7eac124 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_016.php.expectf @@ -0,0 +1,2 @@ +In autoload: string(6) "undefc" +Class undefc does not exist \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_017.php.exp b/hphp/test/zend/bad/tests-classes/autoload_017.php.exp deleted file mode 100644 index a2bbb938b..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_017.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -In\ autoload\:\ string\(6\)\ \"UndefI\"\ -Interface\ UndefI\ does\ not\ exist \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_017.php.expectf b/hphp/test/zend/bad/tests-classes/autoload_017.php.expectf new file mode 100644 index 000000000..b42a88739 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_017.php.expectf @@ -0,0 +1,2 @@ +In autoload: string(6) "UndefI" +Interface UndefI does not exist \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_019.php.exp b/hphp/test/zend/bad/tests-classes/autoload_019.php.exp deleted file mode 100644 index 0485fff32..000000000 --- a/hphp/test/zend/bad/tests-classes/autoload_019.php.exp +++ /dev/null @@ -1 +0,0 @@ -\_\_autoload\ unDefinedClass \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_019.php.expectf b/hphp/test/zend/bad/tests-classes/autoload_019.php.expectf new file mode 100644 index 000000000..84b1dc275 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_019.php.expectf @@ -0,0 +1 @@ +__autoload unDefinedClass \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/bug26737.php.exp b/hphp/test/zend/bad/tests-classes/bug26737.php.exp deleted file mode 100644 index 61cae00c6..000000000 --- a/hphp/test/zend/bad/tests-classes/bug26737.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -string\(130\)\ \"O\:3\:\"foo\"\:4\:\{s\:12\:\"\\0foo\\0private\"\;s\:7\:\"private\"\;s\:12\:\"\\0\*\\0protected\"\;s\:9\:\"protected\"\;s\:6\:\"public\"\;s\:6\:\"public\"\;s\:7\:\"no\_such\"\;N\;\}\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/bug26737.php.expectf b/hphp/test/zend/bad/tests-classes/bug26737.php.expectf new file mode 100644 index 000000000..de70c7697 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/bug26737.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +string(130) "O:3:"foo":4:{s:12:"\0foo\0private";s:7:"private";s:12:"\0*\0protected";s:9:"protected";s:6:"public";s:6:"public";s:7:"no_such";N;}" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/class_example.php b/hphp/test/zend/bad/tests-classes/class_example.php similarity index 100% rename from hphp/test/zend/good/tests-classes/class_example.php rename to hphp/test/zend/bad/tests-classes/class_example.php diff --git a/hphp/test/zend/bad/tests-classes/class_example.php.expectf b/hphp/test/zend/bad/tests-classes/class_example.php.expectf new file mode 100644 index 000000000..8e1162fc6 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/class_example.php.expectf @@ -0,0 +1,34 @@ +User information +---------------- + +First name: Zeev +Family name: Suraski +Address: Ben Gourion 3, Kiryat Bialik, Israel +Phone: +972-4-8713139 + + +User information +---------------- + +First name: Andi +Family name: Gutmans +Address: Haifa, Israel +Phone: +972-4-8231621 + + +User information +---------------- + +First name: Andi +Family name: Gutmans +Address: Haifa, Israel +Phone: +972-4-8231621 + + +User information +---------------- + +First name: Andi +Family name: Gutmans +Address: New address... +Phone: +972-4-8231621 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_001.php.exp b/hphp/test/zend/bad/tests-classes/constants_basic_001.php.exp deleted file mode 100644 index ec617522a..000000000 --- a/hphp/test/zend/bad/tests-classes/constants_basic_001.php.exp +++ /dev/null @@ -1,27 +0,0 @@ -HipHop Notice: .+ -\ -Attempt\ to\ access\ various\ kinds\ of\ class\ constants\:\ -HipHop Notice: .+ -string\(9\)\ \"UNDEFINED\"\ -int\(1\)\ -float\(1\.5\)\ -int\(1\)\ -float\(1\.5\)\ -int\(\-1\)\ -float\(\-1\.5\)\ -int\(15\)\ -string\(\d+\)\ \"[^ -]+\"\ -string\(1\)\ \"C\"\ -string\(1\)\ \"C\"\ -string\(0\)\ \"\"\ -int\(1234\)\ -int\(456\)\ -NULL\ -string\(6\)\ \"hello1\"\ -string\(6\)\ \"hello2\"\ -string\(6\)\ \"hello2\"\ -string\(6\)\ \"hello2\"\ -\ -Expecting\ fatal\ error\:\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_basic_002.php b/hphp/test/zend/bad/tests-classes/constants_basic_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_basic_002.php rename to hphp/test/zend/bad/tests-classes/constants_basic_002.php diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_002.php.expectf b/hphp/test/zend/bad/tests-classes/constants_basic_002.php.expectf new file mode 100644 index 000000000..7ea78b7e7 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_basic_002.php.expectf @@ -0,0 +1,10 @@ +Read class constant. +string(5) "hello" + +Fail to read class constant from instance. +HipHop Notice: %a +NULL + +Class constant not visible in object var_dump. +object(aclass)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_003.php.exp b/hphp/test/zend/bad/tests-classes/constants_basic_003.php.exp deleted file mode 100644 index 09309e65a..000000000 --- a/hphp/test/zend/bad/tests-classes/constants_basic_003.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -string\(12\)\ \"hello\ from\ A\"\ -string\(12\)\ \"hello\ from\ C\"\ -string\(12\)\ \"hello\ from\ A\"\ -string\(12\)\ \"hello\ from\ C\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_003.php.expectf b/hphp/test/zend/bad/tests-classes/constants_basic_003.php.expectf new file mode 100644 index 000000000..c2e295060 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_basic_003.php.expectf @@ -0,0 +1,4 @@ +string(12) "hello from A" +string(12) "hello from C" +string(12) "hello from A" +string(12) "hello from C" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_basic_004.php b/hphp/test/zend/bad/tests-classes/constants_basic_004.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_basic_004.php rename to hphp/test/zend/bad/tests-classes/constants_basic_004.php diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_004.php.expectf b/hphp/test/zend/bad/tests-classes/constants_basic_004.php.expectf new file mode 100644 index 000000000..27ef1dd50 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_basic_004.php.expectf @@ -0,0 +1,54 @@ +Static properties: +array(1) { + ["key"]=> + string(5) "value" +} +array(1) { + ["key"]=> + string(5) "value" +} +array(1) { + ["key"]=> + string(5) "value" +} +array(1) { + ["key"]=> + string(5) "value" +} +array(1) { + ["key"]=> + string(5) "value" +} + +Instance properties: +object(X)#%d (1) { + ["a_x"]=> + array(1) { + ["key"]=> + string(5) "value" + } +} +object(B)#%d (1) { + ["a_b"]=> + array(1) { + ["key"]=> + string(5) "value" + } +} +object(C)#%d (3) { + ["a_c_parent"]=> + array(1) { + ["key"]=> + string(5) "value" + } + ["a_c_self"]=> + array(1) { + ["key"]=> + string(5) "value" + } + ["a_b"]=> + array(1) { + ["key"]=> + string(5) "value" + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_004.php.exp b/hphp/test/zend/bad/tests-classes/constants_error_004.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/constants_error_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_004.php.expectf b/hphp/test/zend/bad/tests-classes/constants_error_004.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_004.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_005.php.exp b/hphp/test/zend/bad/tests-classes/constants_error_005.php.exp deleted file mode 100644 index af6bf7ac7..000000000 --- a/hphp/test/zend/bad/tests-classes/constants_error_005.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_error\_005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_005.php.expectf b/hphp/test/zend/bad/tests-classes/constants_error_005.php.expectf new file mode 100644 index 000000000..71a468f53 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_005.php.expectf @@ -0,0 +1 @@ +Parse error: %s in hphp/test/zend/bad/tests-classes/constants_error_005.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_006.php.exp b/hphp/test/zend/bad/tests-classes/constants_error_006.php.exp deleted file mode 100644 index c654fe7da..000000000 --- a/hphp/test/zend/bad/tests-classes/constants_error_006.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_error\_006\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_006.php.expectf b/hphp/test/zend/bad/tests-classes/constants_error_006.php.expectf new file mode 100644 index 000000000..29d88fac7 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_006.php.expectf @@ -0,0 +1 @@ +Parse error: %s in hphp/test/zend/bad/tests-classes/constants_error_006.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_007.php.exp b/hphp/test/zend/bad/tests-classes/constants_error_007.php.exp deleted file mode 100644 index 04cf2b3ac..000000000 --- a/hphp/test/zend/bad/tests-classes/constants_error_007.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_error\_007\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_error_007.php.expectf b/hphp/test/zend/bad/tests-classes/constants_error_007.php.expectf new file mode 100644 index 000000000..2ce58771a --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_007.php.expectf @@ -0,0 +1 @@ +Parse error: %s in hphp/test/zend/bad/tests-classes/constants_error_007.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/destructor_and_echo.php.exp b/hphp/test/zend/bad/tests-classes/destructor_and_echo.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-classes/destructor_and_echo.php.exp rename to hphp/test/zend/bad/tests-classes/destructor_and_echo.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.exp b/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.exp deleted file mode 100644 index f545d3a65..000000000 --- a/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -FailClass\:\:\_\_destruct\ -Caught\:\ FailClass\ -FatalException\:\:\_\_construct\ -FailClass\:\:\_\_destruct\ -Caught\ Exception\:\ FailClass\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.expectf b/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.expectf new file mode 100644 index 000000000..78edd99e1 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.expectf @@ -0,0 +1,6 @@ +FailClass::__destruct +Caught: FailClass +FatalException::__construct +FailClass::__destruct +Caught Exception: FailClass +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.exp b/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.expectf b/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.exp b/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.exp deleted file mode 100644 index 64eea1abb..000000000 --- a/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\=\=\=DONE\=\=\=\ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.expectf b/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.expectf new file mode 100644 index 000000000..4b87a33d2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.expectf @@ -0,0 +1,2 @@ +===DONE=== +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.exp deleted file mode 100644 index b3755f0dd..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.exp +++ /dev/null @@ -1,17 +0,0 @@ -Access static members -NULL -int(0) -Create x and y -int(1) -int(1) -int(1) -int(1) -Destruct x -int(1) -int(1) -int(1) -Destruct y -int(1) -int(1) -Done -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.expectf new file mode 100644 index 000000000..8c8279869 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.expectf @@ -0,0 +1,17 @@ +Access static members +NULL +int(0) +Create x and y +int(1) +int(1) +int(1) +int(1) +Destruct x +int(1) +int(1) +int(1) +Destruct y +int(1) +int(1) +Done +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_005.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_005.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_005.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_005.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_005.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_006.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_006.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_006.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_006.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_006.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_007.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_007.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_007.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_007.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_007.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_007.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_008.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_008.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_008.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_008.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_008.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_008.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.exp deleted file mode 100644 index 64eea1abb..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\=\=\=DONE\=\=\=\ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.expectf new file mode 100644 index 000000000..4b87a33d2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.expectf @@ -0,0 +1,2 @@ +===DONE=== +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.exp deleted file mode 100644 index 64eea1abb..000000000 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\=\=\=DONE\=\=\=\ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.expectf b/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.expectf new file mode 100644 index 000000000..4b87a33d2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.expectf @@ -0,0 +1,2 @@ +===DONE=== +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/final_ctor1.php.exp b/hphp/test/zend/bad/tests-classes/final_ctor1.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/final_ctor1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/final_ctor1.php.expectf b/hphp/test/zend/bad/tests-classes/final_ctor1.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/final_ctor1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/final_ctor2.php.exp b/hphp/test/zend/bad/tests-classes/final_ctor2.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/final_ctor2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/final_ctor2.php.expectf b/hphp/test/zend/bad/tests-classes/final_ctor2.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/final_ctor2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/implicit_instantiation_001.php b/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php similarity index 100% rename from hphp/test/zend/good/tests-classes/implicit_instantiation_001.php rename to hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php diff --git a/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.expectf b/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.expectf new file mode 100644 index 000000000..bec4c617c --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.expectf @@ -0,0 +1,90 @@ +---( $c->boolFalse )--- + --> Attempting implicit conversion to object using increment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using assignment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using combined assignment... +HipHop Warning: %a + + +---( $c->emptyString )--- + --> Attempting implicit conversion to object using increment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using assignment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using combined assignment... +HipHop Warning: %a + + +---( $c->null )--- + --> Attempting implicit conversion to object using increment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using assignment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using combined assignment... +HipHop Warning: %a + + +---( $c->boolTrue )--- + --> Attempting implicit conversion to object using increment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using assignment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using combined assignment... +HipHop Warning: %a + + +---( $c->nonEmptyString )--- + --> Attempting implicit conversion to object using increment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using assignment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using combined assignment... +HipHop Warning: %a + + +---( $c->intZero )--- + --> Attempting implicit conversion to object using increment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using assignment... +HipHop Warning: %a + + --> Attempting implicit conversion to object using combined assignment... +HipHop Warning: %a + + + + --> Resulting object:object(C)#%d (6) { + [%u|b%"boolFalse"]=> + object(stdClass)#%d (1) { + [%u|b%"prop"]=> + %unicode|string%(24) " Implicit instantiation!" + } + [%u|b%"emptyString"]=> + object(stdClass)#%d (1) { + [%u|b%"prop"]=> + %unicode|string%(24) " Implicit instantiation!" + } + [%u|b%"null"]=> + object(stdClass)#%d (1) { + [%u|b%"prop"]=> + %unicode|string%(24) " Implicit instantiation!" + } + [%u|b%"boolTrue"]=> + bool(true) + [%u|b%"nonEmptyString"]=> + %unicode|string%(5) "hello" + [%u|b%"intZero"]=> + int(0) +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_003.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_003.php.exp deleted file mode 100644 index 760be99a2..000000000 --- a/hphp/test/zend/bad/tests-classes/inheritance_003.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ B\:\:f\(\)\ should\ be\ compatible\ with\ A\:\:f\(\$x\)\ in\ [^ -]+inheritance\_003\.php\ on\ line\ \d+\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_003.php.expectf b/hphp/test/zend/bad/tests-classes/inheritance_003.php.expectf new file mode 100644 index 000000000..349863fb4 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/inheritance_003.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Declaration of B::f() should be compatible with A::f($x) in %sinheritance_003.php on line %d +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_004.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_004.php.exp deleted file mode 100644 index a7a3133fc..000000000 --- a/hphp/test/zend/bad/tests-classes/inheritance_004.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ B\:\:f\(\)\ should\ be\ compatible\ with\ A\:\:f\(\)\ in\ [^ -]+inheritance\_004\.php\ on\ line\ \d+\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_004.php.expectf b/hphp/test/zend/bad/tests-classes/inheritance_004.php.expectf new file mode 100644 index 000000000..8debb8813 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/inheritance_004.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Declaration of B::f() should be compatible with A::f() in %sinheritance_004.php on line %d +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_007.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_007.php.exp deleted file mode 100644 index 197f582b9..000000000 --- a/hphp/test/zend/bad/tests-classes/inheritance_007.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&object\(ReflectionMethod\)\#\d+\ \(2\)\ \{\ -\ \ \ \ \[\"name\"\]\=\>\ -\ \ \ \ string\(1\)\ \"B\"\ -\ \ \ \ \[\"class\"\]\=\>\ -\ \ \ \ string\(1\)\ \"A\"\ -\ \ \}\ -\ \ \[1\]\=\>\ -\ \ \&object\(ReflectionMethod\)\#\d+\ \(2\)\ \{\ -\ \ \ \ \[\"name\"\]\=\>\ -\ \ \ \ string\(1\)\ \"A\"\ -\ \ \ \ \[\"class\"\]\=\>\ -\ \ \ \ string\(1\)\ \"A\"\ -\ \ \}\ -\}\ -In\ A\:\:A\ -In\ A\:\:A\ -In\ A\:\:B \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_007.php.expectf b/hphp/test/zend/bad/tests-classes/inheritance_007.php.expectf new file mode 100644 index 000000000..0fe190987 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/inheritance_007.php.expectf @@ -0,0 +1,19 @@ +array(2) { + [0]=> + &object(ReflectionMethod)#%d (2) { + ["name"]=> + string(1) "B" + ["class"]=> + string(1) "A" + } + [1]=> + &object(ReflectionMethod)#%d (2) { + ["name"]=> + string(1) "A" + ["class"]=> + string(1) "A" + } +} +In A::A +In A::A +In A::B \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_implemented.php b/hphp/test/zend/bad/tests-classes/interface_implemented.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_implemented.php rename to hphp/test/zend/bad/tests-classes/interface_implemented.php diff --git a/hphp/test/zend/bad/tests-classes/interface_implemented.php.expectf b/hphp/test/zend/bad/tests-classes/interface_implemented.php.expectf new file mode 100644 index 000000000..53b2f8a9b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_implemented.php.expectf @@ -0,0 +1,39 @@ +is_a(base, base) = yes +is_a(base, derived_a) = no +is_a(base, derived_b) = no +is_a(base, derived_c) = no +is_a(base, derived_d) = no +is_a(base, if_a) = no +is_a(base, if_b) = no + +is_a(derived_a, base) = yes +is_a(derived_a, derived_a) = yes +is_a(derived_a, derived_b) = no +is_a(derived_a, derived_c) = no +is_a(derived_a, derived_d) = no +is_a(derived_a, if_a) = yes +is_a(derived_a, if_b) = no + +is_a(derived_b, base) = yes +is_a(derived_b, derived_a) = no +is_a(derived_b, derived_b) = yes +is_a(derived_b, derived_c) = no +is_a(derived_b, derived_d) = no +is_a(derived_b, if_a) = yes +is_a(derived_b, if_b) = yes + +is_a(derived_c, base) = yes +is_a(derived_c, derived_a) = yes +is_a(derived_c, derived_b) = no +is_a(derived_c, derived_c) = yes +is_a(derived_c, derived_d) = no +is_a(derived_c, if_a) = yes +is_a(derived_c, if_b) = yes + +is_a(derived_d, base) = yes +is_a(derived_d, derived_a) = yes +is_a(derived_d, derived_b) = no +is_a(derived_d, derived_c) = yes +is_a(derived_d, derived_d) = yes +is_a(derived_d, if_a) = yes +is_a(derived_d, if_b) = yes \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/interface_member.php.exp b/hphp/test/zend/bad/tests-classes/interface_member.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/interface_member.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/interface_member.php.expectf b/hphp/test/zend/bad/tests-classes/interface_member.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_member.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/interface_optional_arg_003.php.exp b/hphp/test/zend/bad/tests-classes/interface_optional_arg_003.php.exp deleted file mode 100644 index b741a003c..000000000 --- a/hphp/test/zend/bad/tests-classes/interface_optional_arg_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -int\(2\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/inter_02.php.exp b/hphp/test/zend/bad/tests-classes/interface_optional_arg_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/inter_02.php.exp rename to hphp/test/zend/bad/tests-classes/interface_optional_arg_003.php.expectf diff --git a/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp b/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp deleted file mode 100644 index 5f7e77ba7..000000000 --- a/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ MyTestClass\:\:\_\_construct\(\)\ must\ be\ an\ instance\ of\ MyObject\,\ none\ given\,\ called\ in\ [^ -]+interfaces\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/interfaces_003.php.expectf b/hphp/test/zend/bad/tests-classes/interfaces_003.php.expectf new file mode 100644 index 000000000..8e16b8ef2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interfaces_003.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to MyTestClass::__construct() must be an instance of MyObject, none given, called in %sinterfaces_003.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/iterators_005.php.exp b/hphp/test/zend/bad/tests-classes/iterators_005.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/iterators_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/iterators_005.php.expectf b/hphp/test/zend/bad/tests-classes/iterators_005.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/iterators_005.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.exp b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.exp deleted file mode 100644 index 73e3532bd..000000000 --- a/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ C\:\:foo\(\)\ should\ be\ compatible\ with\ A\:\:foo\(\$arg1\ \=\ 1\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/method\_override\_optional\_arg\_001\.php\ on\ line\ \d+\ -int\(1\)\ -int\(3\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.expectf b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.expectf new file mode 100644 index 000000000..cc7d19737 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.expectf @@ -0,0 +1,3 @@ +Strict Standards: Declaration of C::foo() should be compatible with A::foo($arg1 = 1) in hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php on line %d +int(1) +int(3) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.exp b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.exp deleted file mode 100644 index 23e31457f..000000000 --- a/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ B\:\:foo\(\)\ should\ be\ compatible\ with\ A\:\:foo\(\$arg\ \=\ 1\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/method\_override\_optional\_arg\_002\.php\ on\ line\ \d+\ -foo \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.expectf b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.expectf new file mode 100644 index 000000000..98d937717 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Declaration of B::foo() should be compatible with A::foo($arg = 1) in hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php on line %d +foo \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/serialize_001.php.exp b/hphp/test/zend/bad/tests-classes/serialize_001.php.exp deleted file mode 100644 index 9d28d3e15..000000000 --- a/hphp/test/zend/bad/tests-classes/serialize_001.php.exp +++ /dev/null @@ -1,29 +0,0 @@ -\=\=\=\=\=\=\=\=\=\=\ -string\(6\)\ \"String\"\ -Test\:\:\_\_construct\(String\)\ -Test\:\:serialize\(String\)\ -Test\:\:unserialize\(String\)\ -object\(Test\)\#\d+\ \(1\)\ \{\ -\ \ \[\"data\"\]\=\>\ -\ \ string\(6\)\ \"String\"\ -\}\ -object\(Test\)\#\d+\ \(1\)\ \{\ -\ \ \[\"data\"\]\=\>\ -\ \ string\(6\)\ \"String\"\ -\}\ -\=\=\=\=\=\=\=\=\=\=\ -NULL\ -Test\:\:\_\_construct\(\)\ -Test\:\:serialize\(\)\ -NULL\ -\=\=\=\=\=\=\=\=\=\=\ -int\(42\)\ -Test\:\:\_\_construct\(42\)\ -Test\:\:serialize\(42\)\ -Exception\:\ Test\:\:serialize\(\)\ must\ return\ a\ string\ or\ NULL\ -\=\=\=\=\=\=\=\=\=\=\ -bool\(false\)\ -Test\:\:\_\_construct\(\)\ -Test\:\:serialize\(\)\ -Exception\:\ Test\:\:serialize\(\)\ must\ return\ a\ string\ or\ NULL\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/serialize_001.php.expectf b/hphp/test/zend/bad/tests-classes/serialize_001.php.expectf new file mode 100644 index 000000000..997c8162a --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/serialize_001.php.expectf @@ -0,0 +1,29 @@ +========== +%unicode|string%(6) "String" +Test::__construct(String) +Test::serialize(String) +Test::unserialize(String) +object(Test)#%d (1) { + [%u|b%"data"]=> + %unicode|string%(6) "String" +} +object(Test)#%d (1) { + [%u|b%"data"]=> + %unicode|string%(6) "String" +} +========== +NULL +Test::__construct() +Test::serialize() +NULL +========== +int(42) +Test::__construct(42) +Test::serialize(42) +Exception: Test::serialize() must return a string or NULL +========== +bool(false) +Test::__construct() +Test::serialize() +Exception: Test::serialize() must return a string or NULL +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_003.php.exp deleted file mode 100644 index f4256d6fe..000000000 --- a/hphp/test/zend/bad/tests-classes/static_properties_003.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -\-\-\>\ Access\ visible\ static\ prop\ like\ instance\ prop\:\ -bool\(false\)\ -\ -Strict\ Standards\:\ Accessing\ static\ property\ C\:\:\$x\ as\ non\ static\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\.php\ on\ line\ 11\ -\ -Strict\ Standards\:\ Accessing\ static\ property\ C\:\:\$x\ as\ non\ static\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\.php\ on\ line\ 12\ -HipHop Notice: .+ -\ -Strict\ Standards\:\ Accessing\ static\ property\ C\:\:\$x\ as\ non\ static\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\.php\ on\ line\ 13\ -\ -Strict\ Standards\:\ Accessing\ static\ property\ C\:\:\$x\ as\ non\ static\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\.php\ on\ line\ 15\ -\ -Strict\ Standards\:\ Accessing\ static\ property\ C\:\:\$x\ as\ non\ static\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\.php\ on\ line\ 16\ -string\(3\)\ \"ref\"\ -string\(5\)\ \"C\:\:\$x\"\ -\ -\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ -bool\(false\)\ -\=\=Done\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003.php.expectf b/hphp/test/zend/bad/tests-classes/static_properties_003.php.expectf new file mode 100644 index 000000000..cf6907e89 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/static_properties_003.php.expectf @@ -0,0 +1,19 @@ +--> Access visible static prop like instance prop: +bool(false) + +Strict Standards: Accessing static property C::$x as non static in hphp/test/zend/bad/tests-classes/static_properties_003.php on line 11 + +Strict Standards: Accessing static property C::$x as non static in hphp/test/zend/bad/tests-classes/static_properties_003.php on line 12 +HipHop Notice: %a + +Strict Standards: Accessing static property C::$x as non static in hphp/test/zend/bad/tests-classes/static_properties_003.php on line 13 + +Strict Standards: Accessing static property C::$x as non static in hphp/test/zend/bad/tests-classes/static_properties_003.php on line 15 + +Strict Standards: Accessing static property C::$x as non static in hphp/test/zend/bad/tests-classes/static_properties_003.php on line 16 +%unicode|string%(3) "ref" +%unicode|string%(5) "C::$x" + +--> Access non-visible static prop like instance prop: +bool(false) +==Done== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.exp deleted file mode 100644 index f695a1afd..000000000 --- a/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.expectf b/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.expectf new file mode 100644 index 000000000..616fee61d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.expectf @@ -0,0 +1,2 @@ +--> Access non-visible static prop like instance prop: +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error2.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_003_error2.php.exp deleted file mode 100644 index f695a1afd..000000000 --- a/hphp/test/zend/bad/tests-classes/static_properties_003_error2.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error2.php.expectf b/hphp/test/zend/bad/tests-classes/static_properties_003_error2.php.expectf new file mode 100644 index 000000000..616fee61d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/static_properties_003_error2.php.expectf @@ -0,0 +1,2 @@ +--> Access non-visible static prop like instance prop: +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error3.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_003_error3.php.exp deleted file mode 100644 index f695a1afd..000000000 --- a/hphp/test/zend/bad/tests-classes/static_properties_003_error3.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error3.php.expectf b/hphp/test/zend/bad/tests-classes/static_properties_003_error3.php.expectf new file mode 100644 index 000000000..616fee61d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/static_properties_003_error3.php.expectf @@ -0,0 +1,2 @@ +--> Access non-visible static prop like instance prop: +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error4.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_003_error4.php.exp deleted file mode 100644 index f695a1afd..000000000 --- a/hphp/test/zend/bad/tests-classes/static_properties_003_error4.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_003_error4.php.expectf b/hphp/test/zend/bad/tests-classes/static_properties_003_error4.php.expectf new file mode 100644 index 000000000..616fee61d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/static_properties_003_error4.php.expectf @@ -0,0 +1,2 @@ +--> Access non-visible static prop like instance prop: +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_004.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_004.php.exp deleted file mode 100644 index 8becf9fbf..000000000 --- a/hphp/test/zend/bad/tests-classes/static_properties_004.php.exp +++ /dev/null @@ -1,15 +0,0 @@ -Inherited\ static\ properties\ refer\ to\ the\ same\ value\ accross\ classes\:\ -string\(8\)\ \"original\"\ -string\(8\)\ \"original\"\ -string\(8\)\ \"original\"\ -\ -Changing\ one\ changes\ all\ the\ others\:\ -string\(11\)\ \"changed\.all\"\ -string\(11\)\ \"changed\.all\"\ -string\(11\)\ \"changed\.all\"\ -\ -But\ because\ this\ is\ implemented\ using\ PHP\ references\,\ the\ reference\ set\ can\ easily\ be\ split\:\ -string\(11\)\ \"changed\.all\"\ -string\(11\)\ \"changed\.one\"\ -string\(11\)\ \"changed\.all\"\ -\=\=Done\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_004.php.expectf b/hphp/test/zend/bad/tests-classes/static_properties_004.php.expectf new file mode 100644 index 000000000..31ef22cdc --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/static_properties_004.php.expectf @@ -0,0 +1,15 @@ +Inherited static properties refer to the same value accross classes: +%unicode|string%(8) "original" +%unicode|string%(8) "original" +%unicode|string%(8) "original" + +Changing one changes all the others: +%unicode|string%(11) "changed.all" +%unicode|string%(11) "changed.all" +%unicode|string%(11) "changed.all" + +But because this is implemented using PHP references, the reference set can easily be split: +%unicode|string%(11) "changed.all" +%unicode|string%(11) "changed.one" +%unicode|string%(11) "changed.all" +==Done== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_001.php.exp b/hphp/test/zend/bad/tests-classes/tostring_001.php.exp deleted file mode 100644 index e19e1b9fd..000000000 --- a/hphp/test/zend/bad/tests-classes/tostring_001.php.exp +++ /dev/null @@ -1,53 +0,0 @@ -\=\=\=\=test1\=\=\=\=\ -test1\ Object\ -\(\ -\)\ -string\(54\)\ \"Object\ of\ class\ test1\ could\ not\ be\ converted\ to\ string\"\ -string\(0\)\ \"\"\ -object\(test1\)\#\d+\ \(0\)\ \{\ -\}\ -\=\=\=\=test2\=\=\=\=\ -test2\ Object\ -\(\ -\)\ -test2\:\:\_\_toString\(\)\ -Converted\ -object\(test2\)\#\d+\ \(0\)\ \{\ -\}\ -\=\=\=\=test3\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -Converted\ -\=\=\=\=test4\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -string\:Converted\ -\=\=\=\=test5\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -1Converted\ -1test2\:\:\_\_toString\(\)\ -Converted\ -\=\=\=\=test6\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -test2\:\:\_\_toString\(\)\ -Converted\ -Converted\ -test2\:\:\_\_toString\(\)\ -Converted\ -test2\:\:\_\_toString\(\)\ -Converted\ -\=\=\=\=test7\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -string\(19\)\ \"Illegal\ offset\ type\"\ -\=\=\=\=test8\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -string\(9\)\ \"Converted\"\ -test2\:\:\_\_toString\(\)\ -string\(9\)\ \"Converted\"\ -\=\=\=\=test9\=\=\=\=\ -test2\:\:\_\_toString\(\)\ -Converted\ -\=\=\=\=test10\=\=\=\=\ -object\(test3\)\#\d+\ \(0\)\ \{\ -\}\ -test3\:\:\_\_toString\(\)\ -string\(53\)\ \"Method\ test3\:\:\_\_toString\(\)\ must\ return\ a\ string\ value\"\ -\=\=\=\=DONE\=\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_001.php.expectf b/hphp/test/zend/bad/tests-classes/tostring_001.php.expectf new file mode 100644 index 000000000..d8ab6d241 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/tostring_001.php.expectf @@ -0,0 +1,53 @@ +====test1==== +test1 Object +( +) +string(54) "Object of class test1 could not be converted to string" +string(0) "" +object(test1)#%d (0) { +} +====test2==== +test2 Object +( +) +test2::__toString() +Converted +object(test2)#%d (0) { +} +====test3==== +test2::__toString() +Converted +====test4==== +test2::__toString() +string:Converted +====test5==== +test2::__toString() +1Converted +1test2::__toString() +Converted +====test6==== +test2::__toString() +test2::__toString() +Converted +Converted +test2::__toString() +Converted +test2::__toString() +Converted +====test7==== +test2::__toString() +string(19) "Illegal offset type" +====test8==== +test2::__toString() +string(9) "Converted" +test2::__toString() +string(9) "Converted" +====test9==== +test2::__toString() +Converted +====test10==== +object(test3)#%d (0) { +} +test3::__toString() +string(53) "Method test3::__toString() must return a string value" +====DONE==== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_002.php.exp b/hphp/test/zend/bad/tests-classes/tostring_002.php.exp deleted file mode 100644 index 063ce915f..000000000 --- a/hphp/test/zend/bad/tests-classes/tostring_002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Hello\ -\=\=\=\=DONE\=\=\=\=\ -Hello \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_002.php.expectf b/hphp/test/zend/bad/tests-classes/tostring_002.php.expectf new file mode 100644 index 000000000..d8c214416 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/tostring_002.php.expectf @@ -0,0 +1,3 @@ +Hello +====DONE==== +Hello \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_003.php.exp b/hphp/test/zend/bad/tests-classes/tostring_003.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-classes/tostring_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_003.php.expectf b/hphp/test/zend/bad/tests-classes/tostring_003.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/tostring_003.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_004.php.exp b/hphp/test/zend/bad/tests-classes/tostring_004.php.exp deleted file mode 100644 index 58de9fea5..000000000 --- a/hphp/test/zend/bad/tests-classes/tostring_004.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -Object\ with\ no\ \_\_toString\(\)\:\ -Try\ 1\:\ -Error\:\ 4096\ \-\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ string\ -Error\:\ 8\ \-\ Object\ of\ class\ stdClass\ to\ string\ conversion\ -Object\ -\ -Try\ 2\:\ -Error\:\ 4096\ \-\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ string\ -\ -\ -\ -Object\ with\ bad\ \_\_toString\(\)\:\ -Try\ 1\:\ -Error\:\ 4096\ \-\ Method\ badToString\:\:\_\_toString\(\)\ must\ return\ a\ string\ value\ -\ -\ -Try\ 2\:\ -Error\:\ 4096\ \-\ Method\ badToString\:\:\_\_toString\(\)\ must\ return\ a\ string\ value \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/tostring_004.php.expectf b/hphp/test/zend/bad/tests-classes/tostring_004.php.expectf new file mode 100644 index 000000000..7565e3200 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/tostring_004.php.expectf @@ -0,0 +1,18 @@ +Object with no __toString(): +Try 1: +Error: 4096 - Object of class stdClass could not be converted to string +Error: 8 - Object of class stdClass to string conversion +Object + +Try 2: +Error: 4096 - Object of class stdClass could not be converted to string + + + +Object with bad __toString(): +Try 1: +Error: 4096 - Method badToString::__toString() must return a string value + + +Try 2: +Error: 4096 - Method badToString::__toString() must return a string value \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_001.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_001.php.exp deleted file mode 100644 index 4dba1013e..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ FooBar\:\:a\(\)\ must\ implement\ interface\ Foo\,\ instance\ of\ Blort\ given\,\ called\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_001\.php\ on\ line\ 27\ and\ defined\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_001\.php\ on\ line\ 12 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_001.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_001.php.expectf new file mode 100644 index 000000000..5c1d3f929 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_001.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to FooBar::a() must implement interface Foo, instance of Blort given, called in hphp/test/zend/bad/tests-classes/type_hinting_001.php on line 27 and defined in hphp/test/zend/bad/tests-classes/type_hinting_001.php on line 12 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_002.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_002.php.exp deleted file mode 100644 index e5d2d0667..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ Foo\:\:a\(\)\ must\ be\ an\ instance\ of\ NonExisting\,\ instance\ of\ Foo\ given\,\ called\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_002\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_002.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_002.php.expectf new file mode 100644 index 000000000..152a2d59c --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_002.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to Foo::a() must be an instance of NonExisting, instance of Foo given, called in hphp/test/zend/bad/tests-classes/type_hinting_002.php on line %d and defined in hphp/test/zend/bad/tests-classes/type_hinting_002.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_003.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_003.php.exp deleted file mode 100644 index 015fdd246..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_003.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -Test\:\:f1\(\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(42\)\ -\}\ -Test\:\:f2\(\)\ -NULL\ -Test\:\:f2\(\)\ -NULL\ -Test\:\:f3\(\)\ -array\(0\)\ \{\ -\}\ -Test\:\:f4\(\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(25\)\ -\}\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ Test\:\:f1\(\)\ must\ be\ of\ the\ type\ array\,\ integer\ given\,\ called\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_003\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_003.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_003.php.expectf new file mode 100644 index 000000000..43fe2221a --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_003.php.expectf @@ -0,0 +1,19 @@ +Test::f1() +array(1) { + [0]=> + int(42) +} +Test::f2() +NULL +Test::f2() +NULL +Test::f3() +array(0) { +} +Test::f4() +array(1) { + [0]=> + int(25) +} + +Catchable fatal error: Argument 1 passed to Test::f1() must be of the type array, integer given, called in hphp/test/zend/bad/tests-classes/type_hinting_003.php on line %d and defined in hphp/test/zend/bad/tests-classes/type_hinting_003.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_004.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_004.php.exp deleted file mode 100644 index 855897b6f..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_004.php.exp +++ /dev/null @@ -1,37 +0,0 @@ -\-\-\-\>\ Type\ hints\ with\ callback\ function\:\ -4096\:\ Argument\ 1\ passed\ to\ f1\(\)\ must\ be\ an\ instance\ of\ A\,\ integer\ given[^ -]+\(10\)\ -in\ f1\;\ -in\ f1\;\ -4096\:\ Argument\ 1\ passed\ to\ f2\(\)\ must\ be\ an\ instance\ of\ A\,\ integer\ given[^ -]+\(13\)\ -in\ f2\;\ -in\ f2\;\ -in\ f2\;\ -in\ f2\;\ -\ -\ -\-\-\-\>\ Type\ hints\ with\ callback\ static\ method\:\ -4096\:\ Argument\ 1\ passed\ to\ C\:\:f1\(\)\ must\ be\ an\ instance\ of\ A\,\ integer\ given[^ -]+\(26\)\ -in\ C\:\:f1\ \(static\)\;\ -in\ C\:\:f1\ \(static\)\;\ -4096\:\ Argument\ 1\ passed\ to\ C\:\:f2\(\)\ must\ be\ an\ instance\ of\ A\,\ integer\ given[^ -]+\(33\)\ -in\ C\:\:f2\ \(static\)\;\ -in\ C\:\:f2\ \(static\)\;\ -in\ C\:\:f2\ \(static\)\;\ -in\ C\:\:f2\ \(static\)\;\ -\ -\ -\-\-\-\>\ Type\ hints\ with\ callback\ instance\ method\:\ -4096\:\ Argument\ 1\ passed\ to\ D\:\:f1\(\)\ must\ be\ an\ instance\ of\ A\,\ integer\ given[^ -]+\(51\)\ -in\ C\:\:f1\ \(instance\)\;\ -in\ C\:\:f1\ \(instance\)\;\ -4096\:\ Argument\ 1\ passed\ to\ D\:\:f2\(\)\ must\ be\ an\ instance\ of\ A\,\ integer\ given[^ -]+\(58\)\ -in\ C\:\:f2\ \(instance\)\;\ -in\ C\:\:f2\ \(instance\)\;\ -in\ C\:\:f2\ \(instance\)\;\ -in\ C\:\:f2\ \(instance\)\; \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_004.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_004.php.expectf new file mode 100644 index 000000000..116e2bb85 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_004.php.expectf @@ -0,0 +1,31 @@ +---> Type hints with callback function: +4096: Argument 1 passed to f1() must be an instance of A, integer given%s(10) +in f1; +in f1; +4096: Argument 1 passed to f2() must be an instance of A, integer given%s(13) +in f2; +in f2; +in f2; +in f2; + + +---> Type hints with callback static method: +4096: Argument 1 passed to C::f1() must be an instance of A, integer given%s(26) +in C::f1 (static); +in C::f1 (static); +4096: Argument 1 passed to C::f2() must be an instance of A, integer given%s(33) +in C::f2 (static); +in C::f2 (static); +in C::f2 (static); +in C::f2 (static); + + +---> Type hints with callback instance method: +4096: Argument 1 passed to D::f1() must be an instance of A, integer given%s(51) +in C::f1 (instance); +in C::f1 (instance); +4096: Argument 1 passed to D::f2() must be an instance of A, integer given%s(58) +in C::f2 (instance); +in C::f2 (instance); +in C::f2 (instance); +in C::f2 (instance); \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.exp deleted file mode 100644 index e4a9895c3..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ D\:\:f\(\)\ should\ be\ compatible\ with\ C\:\:f\(array\ \$a\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_005b\.php\ on\ line\ 5\ -No\ hint\,\ should\ be\ array\.\ -\=\=DONE\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.expectf new file mode 100644 index 000000000..2bca9e42c --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.expectf @@ -0,0 +1,3 @@ +Strict Standards: Declaration of D::f() should be compatible with C::f(array $a) in hphp/test/zend/bad/tests-classes/type_hinting_005b.php on line 5 +No hint, should be array. +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.exp deleted file mode 100644 index 4b353d424..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ D\:\:f\(\)\ should\ be\ compatible\ with\ C\:\:f\(SomeClass\ \$a\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_005c\.php\ on\ line\ 5\ -Array\ hint\,\ should\ be\ class\.\ -\=\=DONE\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.expectf new file mode 100644 index 000000000..8e53d6fe5 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.expectf @@ -0,0 +1,3 @@ +Strict Standards: Declaration of D::f() should be compatible with C::f(SomeClass $a) in hphp/test/zend/bad/tests-classes/type_hinting_005c.php on line 5 +Array hint, should be class. +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.exp b/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.exp deleted file mode 100644 index 415ec4d97..000000000 --- a/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ D\:\:f\(\)\ should\ be\ compatible\ with\ C\:\:f\(\$a\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/type\_hinting\_005d\.php\ on\ line\ 5\ -Array\ hint\,\ should\ be\ nothing\.\ -\=\=DONE\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.expectf b/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.expectf new file mode 100644 index 000000000..618943db4 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.expectf @@ -0,0 +1,3 @@ +Strict Standards: Declaration of D::f() should be compatible with C::f($a) in hphp/test/zend/bad/tests-classes/type_hinting_005d.php on line 5 +Array hint, should be nothing. +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/unset_properties.php.exp b/hphp/test/zend/bad/tests-classes/unset_properties.php.exp deleted file mode 100644 index 9067499ab..000000000 --- a/hphp/test/zend/bad/tests-classes/unset_properties.php.exp +++ /dev/null @@ -1,24 +0,0 @@ -publicProperty\ set\ -true\ -\_\_isset\ \"publicProperty\"\ -\_\_get\ \"publicProperty\"\ -\_\_get\ \"publicProperty\"\ -\_\_set\ \"publicProperty\"\ to\ \"new\ publicProperty\ value\ via\ setter\"\ -new\ publicProperty\ value\ via\ setter\ -\_\_set\ \"publicProperty\"\ to\ \"new\ publicProperty\ value\ via\ public\ access\"\ -true\ -new\ publicProperty\ value\ via\ public\ access\ -\ -protectedProperty\ set\ -\_\_isset\ \"protectedProperty\"\_\_isset\ \"protectedProperty\"false\ -\_\_get\ \"protectedProperty\"\ -\_\_set\ \"protectedProperty\"\ to\ \"new\ protectedProperty\ value\ via\ setter\"\ -\_\_isset\ \"protectedProperty\"true\ -new\ protectedProperty\ value\ via\ setter\ -\ -privateProperty\ set\ -\_\_isset\ \"privateProperty\"\_\_isset\ \"privateProperty\"false\ -\_\_get\ \"privateProperty\"\ -\_\_set\ \"privateProperty\"\ to\ \"new\ privateProperty\ value\ via\ setter\"\ -\_\_isset\ \"privateProperty\"true\ -new\ privateProperty\ value\ via\ setter \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/unset_properties.php.expectf b/hphp/test/zend/bad/tests-classes/unset_properties.php.expectf new file mode 100644 index 000000000..fbf521a24 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/unset_properties.php.expectf @@ -0,0 +1,24 @@ +publicProperty set +true +__isset "publicProperty" +__get "publicProperty" +__get "publicProperty" +__set "publicProperty" to "new publicProperty value via setter" +new publicProperty value via setter +__set "publicProperty" to "new publicProperty value via public access" +true +new publicProperty value via public access + +protectedProperty set +__isset "protectedProperty"false +__get "protectedProperty" +__set "protectedProperty" to "new protectedProperty value via setter" +__isset "protectedProperty"true +new protectedProperty value via setter + +privateProperty set +__isset "privateProperty"false +__get "privateProperty" +__set "privateProperty" to "new privateProperty value via setter" +__isset "privateProperty"true +new privateProperty value via setter \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-func/007.php.exp b/hphp/test/zend/bad/tests-func/007.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-func/007.php.exp rename to hphp/test/zend/bad/tests-func/007.php.expectf diff --git a/hphp/test/zend/bad/tests-func/010.php.exp b/hphp/test/zend/bad/tests-func/010.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-func/010.php.exp rename to hphp/test/zend/bad/tests-func/010.php.expectf diff --git a/hphp/test/zend/bad/tests-func/ini_alter.php.exp b/hphp/test/zend/bad/tests-func/ini_alter.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-func/ini_alter.php.exp rename to hphp/test/zend/bad/tests-func/ini_alter.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/add_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/add_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/add_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/add_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/add_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/add_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/add_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/add_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/add_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/add_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/add_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/add_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseAnd_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseAnd_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseAnd_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseAnd_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseAnd_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseNot_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseNot_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseNot_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseNot_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseNot_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/bitwiseNot_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseNot_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/bitwiseNot_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseNot_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseNot_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseNot_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseNot_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseOr_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseOr_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseOr_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseOr_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseOr_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/bitwiseOr_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseOr_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/bitwiseOr_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseOr_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseOr_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseOr_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseOr_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseShiftRight_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseShiftRight_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseShiftRight_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseShiftRight_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseShiftRight_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/bitwiseXor_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseXor_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/bitwiseXor_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseXor_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseXor_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/bitwiseXor_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseXor_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/bitwiseXor_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/bitwiseXor_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/bitwiseXor_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/bitwiseXor_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/bitwiseXor_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/divide_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/divide_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/divide_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/divide_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/divide_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/divide_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/divide_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/divide_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/modulus_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/modulus_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/modulus_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/modulus_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/modulus_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/modulus_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/modulus_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/modulus_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/modulus_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/modulus_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/modulus_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/modulus_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/multiply_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/multiply_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/multiply_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/multiply_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/multiply_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/multiply_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/multiply_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/multiply_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/negate_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/negate_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/negate_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/negate_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/negate_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/negate_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/negate_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/negate_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/negate_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/negate_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/negate_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/negate_variationStr.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_equals_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_equals_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_equals_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_equals_basic.php diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_equals_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_equals_basic.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_equals_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_equals_basic.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_equals_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_equals_variation.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_equals_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_equals_variation.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_equals_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_equals_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_gt_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_basic.php diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_gt_basic.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_basic.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_or_equal_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_or_equal_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_basic.php diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_identical_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_basic.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_identical_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_basic.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_or_equal_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_variation.php b/hphp/test/zend/bad/tests-lang-operators/operator_gt_variation.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_variation.php rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_variation.php diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_gt_variation.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_variation.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_variation_64bit.php b/hphp/test/zend/bad/tests-lang-operators/operator_gt_variation_64bit.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_variation_64bit.php rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_variation_64bit.php diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_gt_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_gt_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_identical_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_identical_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_identical_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_identical_basic.php diff --git a/hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_identical_basic.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_identical_basic.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_equals_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_identical_variation.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_equals_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_identical_variation.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_identical_variation_64bit.php b/hphp/test/zend/bad/tests-lang-operators/operator_identical_variation_64bit.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_identical_variation_64bit.php rename to hphp/test/zend/bad/tests-lang-operators/operator_identical_variation_64bit.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_identical_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_identical_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_lt_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_basic.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_or_equal_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_lt_basic.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_or_equal_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_basic.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_or_equal_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_or_equal_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_basic.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_basic.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_basic.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_gt_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_gt_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_identical_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_identical_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_or_equal_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_variation.php b/hphp/test/zend/bad/tests-lang-operators/operator_lt_variation.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_variation.php rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_variation.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_identical_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_lt_variation.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_identical_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_variation.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_variation_64bit.php b/hphp/test/zend/bad/tests-lang-operators/operator_lt_variation_64bit.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_variation_64bit.php rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_variation_64bit.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_lt_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_lt_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_notequals_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_notequals_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_notequals_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_notequals_basic.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_or_equal_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_notequals_basic.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_or_equal_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_notequals_basic.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_variation.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_variation.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_lt_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_lt_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_notequals_variation_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_notidentical_basic.php b/hphp/test/zend/bad/tests-lang-operators/operator_notidentical_basic.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_notidentical_basic.php rename to hphp/test/zend/bad/tests-lang-operators/operator_notidentical_basic.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_notequals_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_notidentical_basic.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_notequals_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_notidentical_basic.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_notidentical_basic.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_notidentical_basic.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/operator_notidentical_variation_64bit.php b/hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation_64bit.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_notidentical_variation_64bit.php rename to hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation_64bit.php diff --git a/hphp/test/zend/good/tests-lang-operators/operator_notidentical_variation_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation_64bit.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/operator_notidentical_variation_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/operator_notidentical_variation_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/postdec_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/postdec_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/postdec_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/postdec_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/postdec_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/postdec_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/postdec_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/postdec_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/postinc_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/postinc_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/postinc_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/postinc_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/postinc_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/postinc_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/postinc_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/postinc_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/predec_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/predec_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/predec_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/predec_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/predec_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/predec_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/predec_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/predec_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/preinc_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/preinc_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/preinc_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/preinc_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/preinc_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/preinc_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/preinc_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/preinc_variationStr.php.expectf diff --git a/hphp/test/zend/bad/tests-lang-operators/subtract_basiclong_64bit.php.exp b/hphp/test/zend/bad/tests-lang-operators/subtract_basiclong_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang-operators/subtract_basiclong_64bit.php.exp rename to hphp/test/zend/bad/tests-lang-operators/subtract_basiclong_64bit.php.expectf diff --git a/hphp/test/zend/good/tests-lang-operators/subtract_variationStr.php b/hphp/test/zend/bad/tests-lang-operators/subtract_variationStr.php similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/subtract_variationStr.php rename to hphp/test/zend/bad/tests-lang-operators/subtract_variationStr.php diff --git a/hphp/test/zend/good/tests-lang-operators/subtract_variationStr.php.exp b/hphp/test/zend/bad/tests-lang-operators/subtract_variationStr.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang-operators/subtract_variationStr.php.exp rename to hphp/test/zend/bad/tests-lang-operators/subtract_variationStr.php.expectf diff --git a/hphp/test/zend/good/tests-lang/004.php b/hphp/test/zend/bad/tests-lang/004.php similarity index 100% rename from hphp/test/zend/good/tests-lang/004.php rename to hphp/test/zend/bad/tests-lang/004.php diff --git a/hphp/test/zend/good/tests-lang/003.php.exp b/hphp/test/zend/bad/tests-lang/004.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/003.php.exp rename to hphp/test/zend/bad/tests-lang/004.php.expectf diff --git a/hphp/test/zend/good/tests-lang/005.php b/hphp/test/zend/bad/tests-lang/005.php similarity index 100% rename from hphp/test/zend/good/tests-lang/005.php rename to hphp/test/zend/bad/tests-lang/005.php diff --git a/hphp/test/zend/bad/tests-lang/005.php.expectf b/hphp/test/zend/bad/tests-lang/005.php.expectf new file mode 100644 index 000000000..476e93d57 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/005.php.expectf @@ -0,0 +1 @@ +good \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/006.php b/hphp/test/zend/bad/tests-lang/006.php similarity index 100% rename from hphp/test/zend/good/tests-lang/006.php rename to hphp/test/zend/bad/tests-lang/006.php diff --git a/hphp/test/zend/bad/tests-lang/006.php.expectf b/hphp/test/zend/bad/tests-lang/006.php.expectf new file mode 100644 index 000000000..476e93d57 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/006.php.expectf @@ -0,0 +1 @@ +good \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/007.php b/hphp/test/zend/bad/tests-lang/007.php similarity index 100% rename from hphp/test/zend/good/tests-lang/007.php rename to hphp/test/zend/bad/tests-lang/007.php diff --git a/hphp/test/zend/bad/tests-lang/007.php.expectf b/hphp/test/zend/bad/tests-lang/007.php.expectf new file mode 100644 index 000000000..a23cabda6 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/007.php.expectf @@ -0,0 +1 @@ +1 5 2 2 10 5 2 5 3 2 10 5 3 5 4 2 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/008.php b/hphp/test/zend/bad/tests-lang/008.php similarity index 100% rename from hphp/test/zend/good/tests-lang/008.php rename to hphp/test/zend/bad/tests-lang/008.php diff --git a/hphp/test/zend/bad/tests-lang/008.php.expectf b/hphp/test/zend/bad/tests-lang/008.php.expectf new file mode 100644 index 000000000..1358f1b64 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/008.php.expectf @@ -0,0 +1 @@ +1 2 3 4 5 6 7 8 9 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/015.php.exp b/hphp/test/zend/bad/tests-lang/015.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/015.php.exp rename to hphp/test/zend/bad/tests-lang/015.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/016.php.exp b/hphp/test/zend/bad/tests-lang/016.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/016.php.exp rename to hphp/test/zend/bad/tests-lang/016.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/019.php.exp b/hphp/test/zend/bad/tests-lang/019.php.exp deleted file mode 100644 index 0cb2a7a82..000000000 --- a/hphp/test/zend/bad/tests-lang/019.php.exp +++ /dev/null @@ -1,24 +0,0 @@ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -hey\,\ this\ is\ a\ regular\ echo\'d\ eval\(\)\ -hey\,\ this\ is\ a\ function\ inside\ an\ eval\(\)\!\ -\ -Parse\ error\:\ syntax\ error\,\ unexpected\ [^ -]+\ in\ [^ -]+019\.php\(12\)\ \:\ eval\(\)\'d\ code\ on\ line\ 1 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/019.php.expectf b/hphp/test/zend/bad/tests-lang/019.php.expectf new file mode 100644 index 000000000..44ac6d757 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/019.php.expectf @@ -0,0 +1,22 @@ +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! +hey, this is a regular echo'd eval() +hey, this is a function inside an eval()! + +Parse error: syntax error, unexpected %s in %s019.php(12) : eval()'d code on line 1 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/024.php.exp b/hphp/test/zend/bad/tests-lang/024.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/024.php.exp rename to hphp/test/zend/bad/tests-lang/024.php.expectf diff --git a/hphp/test/zend/good/tests-lang/025.php b/hphp/test/zend/bad/tests-lang/025.php similarity index 100% rename from hphp/test/zend/good/tests-lang/025.php rename to hphp/test/zend/bad/tests-lang/025.php diff --git a/hphp/test/zend/bad/tests-lang/025.php.expectf b/hphp/test/zend/bad/tests-lang/025.php.expectf new file mode 100644 index 000000000..8fb0f3a40 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/025.php.expectf @@ -0,0 +1,512 @@ +0 a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 4 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 3 a 3 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 4 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 2 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 4 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 3 a 3 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 4 a 4 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 5 a 5 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 6 a 6 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 7 a 7 a 8 a 9 + b 10 + b 9 a 9 + b 10 + b 8 a 8 a 9 + b 10 + b 9 a 9 + b 10 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/031.php.exp b/hphp/test/zend/bad/tests-lang/031.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/031.php.exp rename to hphp/test/zend/bad/tests-lang/031.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/045.php.exp b/hphp/test/zend/bad/tests-lang/045.php.exp deleted file mode 100644 index c0ad35eba..000000000 --- a/hphp/test/zend/bad/tests-lang/045.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Fatal error: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/045.php.expectf b/hphp/test/zend/bad/tests-lang/045.php.expectf new file mode 100644 index 000000000..d14a7e173 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/045.php.expectf @@ -0,0 +1,2 @@ +HipHop Fatal error: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/array_shortcut_001.php.exp b/hphp/test/zend/bad/tests-lang/array_shortcut_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/array_shortcut_001.php.exp rename to hphp/test/zend/bad/tests-lang/array_shortcut_001.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/array_shortcut_002.php.exp b/hphp/test/zend/bad/tests-lang/array_shortcut_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/array_shortcut_002.php.exp rename to hphp/test/zend/bad/tests-lang/array_shortcut_002.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/array_shortcut_003.php.exp b/hphp/test/zend/bad/tests-lang/array_shortcut_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/array_shortcut_003.php.exp rename to hphp/test/zend/bad/tests-lang/array_shortcut_003.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/array_shortcut_005.php.exp b/hphp/test/zend/bad/tests-lang/array_shortcut_005.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/array_shortcut_005.php.exp rename to hphp/test/zend/bad/tests-lang/array_shortcut_005.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug18872.php b/hphp/test/zend/bad/tests-lang/bug18872.php similarity index 100% rename from hphp/test/zend/good/tests-lang/bug18872.php rename to hphp/test/zend/bad/tests-lang/bug18872.php diff --git a/hphp/test/zend/bad/tests-lang/bug18872.php.expectf b/hphp/test/zend/bad/tests-lang/bug18872.php.expectf new file mode 100644 index 000000000..08a81a932 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug18872.php.expectf @@ -0,0 +1,2 @@ +3 +3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug19566.php.exp b/hphp/test/zend/bad/tests-lang/bug19566.php.exp deleted file mode 100644 index fcbbf0622..000000000 --- a/hphp/test/zend/bad/tests-lang/bug19566.php.exp +++ /dev/null @@ -1 +0,0 @@ -int(92) diff --git a/hphp/test/zend/bad/tests-lang/bug21820.php.exp b/hphp/test/zend/bad/tests-lang/bug21820.php.exp deleted file mode 100644 index 10c444a11..000000000 --- a/hphp/test/zend/bad/tests-lang/bug21820.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,\ [^ -]+\(T\_STRING\)[^ -]+\(T\_VARIABLE\)[^ -]+\(T\_NUM\_STRING\)[^ -]+in\ [^ -]+bug21820\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug21820.php.expectf b/hphp/test/zend/bad/tests-lang/bug21820.php.expectf new file mode 100644 index 000000000..0985d6113 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug21820.php.expectf @@ -0,0 +1 @@ +Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%sin %sbug21820.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug22592.php.exp b/hphp/test/zend/bad/tests-lang/bug22592.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug22592.php.exp rename to hphp/test/zend/bad/tests-lang/bug22592.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug23279.php.exp b/hphp/test/zend/bad/tests-lang/bug23279.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug23279.php.exp rename to hphp/test/zend/bad/tests-lang/bug23279.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug23624.php.exp b/hphp/test/zend/bad/tests-lang/bug23624.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug23624.php.exp rename to hphp/test/zend/bad/tests-lang/bug23624.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug24054.php.exp b/hphp/test/zend/bad/tests-lang/bug24054.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug24054.php.exp rename to hphp/test/zend/bad/tests-lang/bug24054.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug24403.php b/hphp/test/zend/bad/tests-lang/bug24403.php similarity index 100% rename from hphp/test/zend/good/tests-lang/bug24403.php rename to hphp/test/zend/bad/tests-lang/bug24403.php diff --git a/hphp/test/zend/good/tests-lang/bug23922.php.exp b/hphp/test/zend/bad/tests-lang/bug24403.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug23922.php.exp rename to hphp/test/zend/bad/tests-lang/bug24403.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug24658.php.exp b/hphp/test/zend/bad/tests-lang/bug24658.php.exp deleted file mode 100644 index 5651bf330..000000000 --- a/hphp/test/zend/bad/tests-lang/bug24658.php.exp +++ /dev/null @@ -1,23 +0,0 @@ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -\=\=\=no\_typehint\=\=\=\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -int\(1\)\ -int\(2\)\ -\=\=\=no\_typehint\_ref\=\=\=\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -int\(1\)\ -int\(2\)\ -\=\=\=typehint\=\=\=\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ typehint\(\)\ must\ be\ an\ instance\ of\ foo\,\ integer\ given\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug24658\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug24658.php.expectf b/hphp/test/zend/bad/tests-lang/bug24658.php.expectf new file mode 100644 index 000000000..eec63faf4 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug24658.php.expectf @@ -0,0 +1,23 @@ +object(foo)#%d (0) { +} +object(foo)#%d (0) { +} +object(foo)#%d (0) { +} +object(foo)#%d (0) { +} +===no_typehint=== +object(foo)#%d (0) { +} +int(1) +int(2) +===no_typehint_ref=== +object(foo)#%d (0) { +} +int(1) +int(2) +===typehint=== +object(foo)#%d (0) { +} + +Catchable fatal error: Argument 1 passed to typehint() must be an instance of foo, integer given in hphp/test/zend/bad/tests-lang/bug24658.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug24951.php.exp b/hphp/test/zend/bad/tests-lang/bug24951.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug24951.php.exp rename to hphp/test/zend/bad/tests-lang/bug24951.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug25145.php.exp b/hphp/test/zend/bad/tests-lang/bug25145.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug25145.php.exp rename to hphp/test/zend/bad/tests-lang/bug25145.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug25547.php.exp b/hphp/test/zend/bad/tests-lang/bug25547.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug25547.php.exp rename to hphp/test/zend/bad/tests-lang/bug25547.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug27439.php.exp b/hphp/test/zend/bad/tests-lang/bug27439.php.exp deleted file mode 100644 index b301e225b..000000000 --- a/hphp/test/zend/bad/tests-lang/bug27439.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -123\ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -123\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug27439.php.expectf b/hphp/test/zend/bad/tests-lang/bug27439.php.expectf new file mode 100644 index 000000000..4cac8d363 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug27439.php.expectf @@ -0,0 +1,7 @@ +123 +HipHop Notice: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +123 +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug28213.php.exp b/hphp/test/zend/bad/tests-lang/bug28213.php.expectregex similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug28213.php.exp rename to hphp/test/zend/bad/tests-lang/bug28213.php.expectregex diff --git a/hphp/test/zend/bad/tests-lang/bug29566.php.exp b/hphp/test/zend/bad/tests-lang/bug29566.php.exp deleted file mode 100644 index ca692772f..000000000 --- a/hphp/test/zend/bad/tests-lang/bug29566.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug29566.php.expectf b/hphp/test/zend/bad/tests-lang/bug29566.php.expectf new file mode 100644 index 000000000..3cbce755b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug29566.php.expectf @@ -0,0 +1,3 @@ +HipHop Warning: %a +HipHop Warning: %a +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug30578.php.exp b/hphp/test/zend/bad/tests-lang/bug30578.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug30578.php.exp rename to hphp/test/zend/bad/tests-lang/bug30578.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug32828.php.exp b/hphp/test/zend/bad/tests-lang/bug32828.php.exp deleted file mode 100644 index ba6bf2e23..000000000 --- a/hphp/test/zend/bad/tests-lang/bug32828.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \[internal\ function\]\:\ output\_handler\(\'\'\,\ \d+\)\ -\#1\ [^ -]+\(\d+\)\:\ ob\_end\_clean\(\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug32828\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug32828.php.expectf b/hphp/test/zend/bad/tests-lang/bug32828.php.expectf new file mode 100644 index 000000000..a43d8940d --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug32828.php.expectf @@ -0,0 +1,6 @@ +HipHop Fatal error: %a +Stack trace: +#0 [internal function]: output_handler('', %d) +#1 %s(%d): ob_end_clean() +#2 {main} + thrown in hphp/test/zend/bad/tests-lang/bug32828.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug38579.php.exp b/hphp/test/zend/bad/tests-lang/bug38579.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug38579.php.exp rename to hphp/test/zend/bad/tests-lang/bug38579.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug43958.php.exp b/hphp/test/zend/bad/tests-lang/bug43958.php.exp deleted file mode 100644 index 43668efd4..000000000 --- a/hphp/test/zend/bad/tests-lang/bug43958.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug43958.php.expectf b/hphp/test/zend/bad/tests-lang/bug43958.php.expectf new file mode 100644 index 000000000..55529a618 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug43958.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug44654.php.exp b/hphp/test/zend/bad/tests-lang/bug44654.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug44654.php.exp rename to hphp/test/zend/bad/tests-lang/bug44654.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/bug44827.php.exp b/hphp/test/zend/bad/tests-lang/bug44827.php.exp deleted file mode 100644 index a44b91ff0..000000000 --- a/hphp/test/zend/bad/tests-lang/bug44827.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug44827.php.expectf b/hphp/test/zend/bad/tests-lang/bug44827.php.expectf new file mode 100644 index 000000000..2f7a6b2d2 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug44827.php.expectf @@ -0,0 +1,3 @@ +HipHop Warning: %a +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug55754.php.exp b/hphp/test/zend/bad/tests-lang/bug55754.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug55754.php.exp rename to hphp/test/zend/bad/tests-lang/bug55754.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/catchable_error_001.php.exp b/hphp/test/zend/bad/tests-lang/catchable_error_001.php.exp deleted file mode 100644 index 4cf7a7fce..000000000 --- a/hphp/test/zend/bad/tests-lang/catchable_error_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ blah\(\)\ must\ be\ an\ instance\ of\ Foo\,\ instance\ of\ stdClass\ given\,\ called\ in\ [^ -]+catchable\_error\_001\.php\ on\ line\ 15\ and\ defined\ in\ [^ -]+catchable\_error\_001\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/catchable_error_001.php.expectf b/hphp/test/zend/bad/tests-lang/catchable_error_001.php.expectf new file mode 100644 index 000000000..c1d168f5c --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/catchable_error_001.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to blah() must be an instance of Foo, instance of stdClass given, called in %scatchable_error_001.php on line 15 and defined in %scatchable_error_001.php on line 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/catchable_error_002.php.exp b/hphp/test/zend/bad/tests-lang/catchable_error_002.php.exp deleted file mode 100644 index e2686e43c..000000000 --- a/hphp/test/zend/bad/tests-lang/catchable_error_002.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -array\(5\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(4096\)\ -\ \ \[1\]\=\>\ -\ \ string\(\d+\)\ \"Argument\ 1\ passed\ to\ blah\(\)\ must\ be\ an\ instance\ of\ Foo\,\ instance\ of\ stdClass\ given\,\ called\ in\ [^ -]+catchable\_error\_002\.php\ on\ line\ \d+\ and\ defined\"\ -\ \ \[2\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+catchable\_error\_002\.php\"\ -\ \ \[3\]\=\>\ -\ \ int\(5\)\ -\ \ \[4\]\=\>\ -\ \ array\(0\)\ \{\ -\ \ \}\ -\}\ -ALIVE\! \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/catchable_error_002.php.expectf b/hphp/test/zend/bad/tests-lang/catchable_error_002.php.expectf new file mode 100644 index 000000000..6f18f15d3 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/catchable_error_002.php.expectf @@ -0,0 +1,14 @@ +array(5) { + [0]=> + int(4096) + [1]=> + string(%d) "Argument 1 passed to blah() must be an instance of Foo, instance of stdClass given, called in %scatchable_error_002.php on line %d and defined" + [2]=> + string(%d) "%scatchable_error_002.php" + [3]=> + int(5) + [4]=> + array(0) { + } +} +ALIVE! \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/comments.php.exp b/hphp/test/zend/bad/tests-lang/comments.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/comments.php.exp rename to hphp/test/zend/bad/tests-lang/comments.php.expectf diff --git a/hphp/test/zend/good/tests-lang/compare_objects_basic1.php b/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php similarity index 100% rename from hphp/test/zend/good/tests-lang/compare_objects_basic1.php rename to hphp/test/zend/bad/tests-lang/compare_objects_basic1.php diff --git a/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php.expectf b/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php.expectf new file mode 100644 index 000000000..518f4d16e --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php.expectf @@ -0,0 +1,13 @@ +Simple test for standard compare object handler + +-- The following compare should return TRUE -- +bool(true) + +-- All the following compares should return FALSE -- +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/compare_objects_basic2.php b/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php similarity index 100% rename from hphp/test/zend/good/tests-lang/compare_objects_basic2.php rename to hphp/test/zend/bad/tests-lang/compare_objects_basic2.php diff --git a/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php.expectf b/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php.expectf new file mode 100644 index 000000000..6911d5c5b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php.expectf @@ -0,0 +1,3 @@ +Simple test comparing two objects with different compare callback handler +bool(false) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php similarity index 100% rename from hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php rename to hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php.expectf b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php.expectf new file mode 100644 index 000000000..9841d2107 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php.expectf @@ -0,0 +1,76 @@ +Order with local assignment: +in f() +in g() +%string|unicode%(14) "assigned value" + + +Order with array assignment: +in f() +in g() +array(1) { + [%u|b%"name"]=> + %string|unicode%(14) "assigned value" +} + + +Order with object property assignment: +in f() +in g() +object(stdClass)#%d (1) { + [%u|b%"assigned value"]=> + %string|unicode%(14) "assigned value" +} + + +Order with nested object property assignment: +in f() +in g() +object(stdClass)#%d (1) { + [%u|b%"o1"]=> + object(stdClass)#%d (1) { + [%u|b%"o2"]=> + object(stdClass)#%d (1) { + [%u|b%"assigned value"]=> + %string|unicode%(14) "assigned value" + } + } +} + + +Order with dim_list property assignment: +in f() +in g() +object(stdClass)#%d (1) { + [%u|b%"a"]=> + array(1) { + [%u|b%"assigned value"]=> + %string|unicode%(14) "assigned value" + } +} + + +Order with static property assignment: +in f() +in g() +%string|unicode%(14) "assigned value" + + +Order with static array property assignment: +in f() +in g() +array(1) { + [%u|b%"name"]=> + %string|unicode%(14) "assigned value" +} + + +Order with indexed string assignment: +in getOffset() +in newChar() +%string|unicode%(5) "jello" + + +Order with static string property assignment: +in getOffset() +in newChar() +%string|unicode%(5) "jello" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.exp b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.exp deleted file mode 100644 index d461ffbfe..000000000 --- a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.exp +++ /dev/null @@ -1,35 +0,0 @@ -Deprecated\:\ Assigning\ the\ return\ value\ of\ new\ by\ reference\ is\ deprecated\ in\ [^ -]+\.php\ on\ line\ 3\ -\ -Deprecated\:\ Assigning\ the\ return\ value\ of\ new\ by\ reference\ is\ deprecated\ in\ [^ -]+\.php\ on\ line\ 7\ -\ -Deprecated\:\ Assigning\ the\ return\ value\ of\ new\ by\ reference\ is\ deprecated\ in\ [^ -]+\.php\ on\ line\ 8\ -Array\ -\(\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[3\]\ \=\>\ stdClass\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ stdClass\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -stdClass\ Object\ -\(\ -\ \ \ \ \[a\]\ \=\>\ stdClass\ Object\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[b\]\ \=\>\ stdClass\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.expectf b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.expectf new file mode 100644 index 000000000..bbe3d410b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.expectf @@ -0,0 +1,32 @@ +Deprecated: Assigning the return value of new by reference is deprecated in %s.php on line 3 + +Deprecated: Assigning the return value of new by reference is deprecated in %s.php on line 7 + +Deprecated: Assigning the return value of new by reference is deprecated in %s.php on line 8 +Array +( + [2] => Array + ( + [3] => stdClass + ) + + [0] => Array + ( + [1] => stdClass Object + ( + ) + + ) + +) +stdClass Object +( + [a] => stdClass Object + ( + [b] => stdClass Object + ( + ) + + ) + +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.exp b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.exp deleted file mode 100644 index f657d2c14..000000000 --- a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -\$i\=f\(\)\:\ good\ -\$\$x\=f\(\)\:\ good\ -\$\{\'i\'\}\=f\(\)\:\ good\ -\$i\[0\]\=f\(\)\:\ good\ -\$i\[0\]\[0\]\=f\(\)\:\ good\ -\$i\-\>p\=f\(\)\:\ \ -HipHop Warning: .+ -good\ -\$i\-\>p\-\>q\=f\(\)\:\ \ -HipHop Warning: .+ -good\ -\$i\-\>p\[0\]\=f\(\)\:\ good\ -\$i\-\>p\[0\]\-\>p\=f\(\)\:\ \ -HipHop Warning: .+ -good\ -C\:\:\$p\=f\(\)\:\ good\ -C\:\:\$p\[0\]\=f\(\)\:\ good\ -C\:\:\$p\-\>q\=f\(\)\:\ good \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.expectf b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.expectf new file mode 100644 index 000000000..3d9c2a0a0 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.expectf @@ -0,0 +1,18 @@ +$i=f(): good +$$x=f(): good +${'i'}=f(): good +$i[0]=f(): good +$i[0][0]=f(): good +$i->p=f(): +HipHop Warning: %a +good +$i->p->q=f(): +HipHop Warning: %a +good +$i->p[0]=f(): good +$i->p[0]->p=f(): +HipHop Warning: %a +good +C::$p=f(): good +C::$p[0]=f(): good +C::$p->q=f(): good \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/execution_order.php.exp b/hphp/test/zend/bad/tests-lang/execution_order.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/execution_order.php.exp rename to hphp/test/zend/bad/tests-lang/execution_order.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.001.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoop.001.php.exp rename to hphp/test/zend/bad/tests-lang/foreachLoop.001.php.expectf diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.002.php b/hphp/test/zend/bad/tests-lang/foreachLoop.002.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoop.002.php rename to hphp/test/zend/bad/tests-lang/foreachLoop.002.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.002.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.002.php.expectf new file mode 100644 index 000000000..f583ef761 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.002.php.expectf @@ -0,0 +1,98 @@ +Directly changing array values. +string(10) "original.1" +string(10) "original.2" +string(10) "original.3" +array(3) { + [0]=> + string(9) "changed.0" + [1]=> + string(9) "changed.1" + [2]=> + string(9) "changed.2" +} + +Modifying the foreach $value. +array(3) { + [0]=> + string(10) "original.1" + [1]=> + string(10) "original.2" + [2]=> + string(10) "original.3" +} + +Modifying the foreach &$value. +array(3) { + [0]=> + string(9) "changed.0" + [1]=> + string(9) "changed.1" + [2]=> + &string(9) "changed.2" +} + +Pushing elements onto an unreferenced array. +array(6) { + [0]=> + string(10) "original.1" + [1]=> + string(10) "original.2" + [2]=> + string(10) "original.3" + [3]=> + string(5) "new.0" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.2" +} + +Pushing elements onto an unreferenced array, using &$value. +Loop detected +array(15) { + [0]=> + string(10) "original.1" + [1]=> + string(10) "original.2" + [2]=> + string(10) "original.3" + [3]=> + string(5) "new.0" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.2" + [6]=> + string(5) "new.3" + [7]=> + string(5) "new.4" + [8]=> + string(5) "new.5" + [9]=> + string(5) "new.6" + [10]=> + string(5) "new.7" + [11]=> + &string(5) "new.8" + [12]=> + string(5) "new.9" + [13]=> + string(6) "new.10" + [14]=> + string(6) "new.11" +} + +Popping elements off an unreferenced array. +string(10) "original.1" +string(10) "original.2" +string(10) "original.3" +array(0) { +} + +Popping elements off an unreferenced array, using &$value. +string(10) "original.1" +string(10) "original.2" +array(1) { + [0]=> + string(10) "original.1" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.003.php b/hphp/test/zend/bad/tests-lang/foreachLoop.003.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoop.003.php rename to hphp/test/zend/bad/tests-lang/foreachLoop.003.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.expectf new file mode 100644 index 000000000..04df1c9c7 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.expectf @@ -0,0 +1,7 @@ +Not an array. +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +done. \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.exp deleted file mode 100644 index 5e0643c56..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Parse\ error\:\ [^ -]+\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.expectf new file mode 100644 index 000000000..8b40dcba3 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.expectf @@ -0,0 +1 @@ +Parse error: %s on line 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.009.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.009.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoop.009.php.exp rename to hphp/test/zend/bad/tests-lang/foreachLoop.009.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp deleted file mode 100644 index d79460d99..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -Change\ from\ array\ to\ non\ iterable\:\ -int\(1\)\ -HipHop Warning: .+ -\ -Change\ from\ object\ to\ non\ iterable\:\ -int\(1\)\ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.expectf new file mode 100644 index 000000000..27a24d1aa --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.expectf @@ -0,0 +1,7 @@ +Change from array to non iterable: +int(1) +HipHop Warning: %a + +Change from object to non iterable: +int(1) +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.012.php b/hphp/test/zend/bad/tests-lang/foreachLoop.012.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoop.012.php rename to hphp/test/zend/bad/tests-lang/foreachLoop.012.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.012.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.012.php.expectf new file mode 100644 index 000000000..9e43f7c16 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.012.php.expectf @@ -0,0 +1,422 @@ +Popping elements off end of an unreferenced array +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Shift elements off start of an unreferenced array +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Remove current element of an unreferenced array +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Adding elements to the end of an unreferenced array +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(5) "new.0" +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(5) "new.0" + [3]=> + string(5) "new.1" +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(6) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(5) "new.0" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.2" +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(8) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" + [4]=> + string(5) "new.0" + [5]=> + string(5) "new.1" + [6]=> + string(5) "new.2" + [7]=> + string(5) "new.3" +} + + + +Adding elements to the start of an unreferenced array +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + string(5) "new.0" + [1]=> + string(3) "v.0" +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(4) { + [0]=> + string(5) "new.1" + [1]=> + string(5) "new.0" + [2]=> + string(3) "v.0" + [3]=> + string(3) "v.1" +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(6) { + [0]=> + string(5) "new.2" + [1]=> + string(5) "new.1" + [2]=> + string(5) "new.0" + [3]=> + string(3) "v.0" + [4]=> + string(3) "v.1" + [5]=> + string(3) "v.2" +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(8) { + [0]=> + string(5) "new.3" + [1]=> + string(5) "new.2" + [2]=> + string(5) "new.1" + [3]=> + string(5) "new.0" + [4]=> + string(3) "v.0" + [5]=> + string(3) "v.1" + [6]=> + string(3) "v.2" + [7]=> + string(3) "v.3" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.exp deleted file mode 100644 index c6e22479f..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.exp +++ /dev/null @@ -1,483 +0,0 @@ -Popping\ elements\ off\ end\ of\ an\ unreferenced\ array\,\ using\ \&\$value\.\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Shift\ elements\ off\ start\ of\ an\ unreferenced\ array\,\ using\ \&\$value\.\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.2\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=v\.3\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Remove\ current\ element\ of\ an\ unreferenced\ array\,\ using\ \&\$value\.\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=v\.3\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Adding\ elements\ to\ the\ end\ of\ an\ unreferenced\ array\,\ using\ \&\$value\.\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.3\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[5\]\=\>\ -\ \ \&string\(5\)\ \"new\.3\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.2\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(9\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ \&string\(5\)\ \"new\.2\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[8\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=v\.3\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.1\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(10\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[5\]\=\>\ -\ \ \&string\(5\)\ \"new\.1\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[8\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[9\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\ -\ -Adding\ elements\ to\ the\ start\ of\ an\ unreferenced\ array\,\ using\ \&\$value\.\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(3\)\ \"v\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(9\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[8\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(10\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[8\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[9\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.expectf new file mode 100644 index 000000000..6540b6974 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.expectf @@ -0,0 +1,483 @@ +Popping elements off end of an unreferenced array, using &$value. +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(1) { + [0]=> + string(3) "v.0" +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=0; $v=v.0 + iteration 3: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + + + +Shift elements off start of an unreferenced array, using &$value. +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 + iteration 2: $k=0; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 + iteration 2: $k=0; $v=v.2 + iteration 3: $k=0; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Remove current element of an unreferenced array, using &$value. +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Adding elements to the end of an unreferenced array, using &$value. +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + &string(3) "v.0" + [1]=> + string(5) "new.0" +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=new.0 + iteration 3: $k=3; $v=new.1 + iteration 4: $k=4; $v=new.2 + iteration 5: $k=5; $v=new.3 + ** Stuck in a loop! ** +--> State of array after loop: +array(8) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(5) "new.0" + [3]=> + string(5) "new.1" + [4]=> + string(5) "new.2" + [5]=> + &string(5) "new.3" + [6]=> + string(5) "new.4" + [7]=> + string(5) "new.5" +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=new.0 + iteration 4: $k=4; $v=new.1 + iteration 5: $k=5; $v=new.2 + ** Stuck in a loop! ** +--> State of array after loop: +array(9) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(5) "new.0" + [4]=> + string(5) "new.1" + [5]=> + &string(5) "new.2" + [6]=> + string(5) "new.3" + [7]=> + string(5) "new.4" + [8]=> + string(5) "new.5" +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 + iteration 4: $k=4; $v=new.0 + iteration 5: $k=5; $v=new.1 + ** Stuck in a loop! ** +--> State of array after loop: +array(10) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" + [4]=> + string(5) "new.0" + [5]=> + &string(5) "new.1" + [6]=> + string(5) "new.2" + [7]=> + string(5) "new.3" + [8]=> + string(5) "new.4" + [9]=> + string(5) "new.5" +} + + + +Adding elements to the start of an unreferenced array, using &$value. +---( Array with 1 element(s): )--- +--> State of array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + string(5) "new.0" + [1]=> + &string(3) "v.0" +} + +---( Array with 2 element(s): )--- +--> State of array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(8) { + [0]=> + string(5) "new.5" + [1]=> + &string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" +} + +---( Array with 3 element(s): )--- +--> State of array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(9) { + [0]=> + string(5) "new.5" + [1]=> + &string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" + [8]=> + string(3) "v.2" +} + +---( Array with 4 element(s): )--- +--> State of array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(10) { + [0]=> + string(5) "new.5" + [1]=> + &string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" + [8]=> + string(3) "v.2" + [9]=> + string(3) "v.3" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.exp deleted file mode 100644 index 1f6531914..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.exp +++ /dev/null @@ -1,483 +0,0 @@ -Popping\ elements\ off\ end\ of\ a\ referenced\ array\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Shift\ elements\ off\ start\ of\ a\ referenced\ array\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.2\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=v\.3\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Remove\ current\ element\ of\ a\ referenced\ array\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=v\.3\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Adding\ elements\ to\ the\ end\ of\ a\ referenced\ array\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.3\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.2\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(9\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[8\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=v\.3\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.1\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(10\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[8\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[9\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\ -\ -Adding\ elements\ to\ the\ start\ of\ a\ referenced\ array\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(9\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[8\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(10\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[8\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[9\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.expectf new file mode 100644 index 000000000..f23984ecc --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.expectf @@ -0,0 +1,483 @@ +Popping elements off end of a referenced array +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(1) { + [0]=> + string(3) "v.0" +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=0; $v=v.0 + iteration 3: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + + + +Shift elements off start of a referenced array +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 + iteration 2: $k=0; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 + iteration 2: $k=0; $v=v.2 + iteration 3: $k=0; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Remove current element of a referenced array +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Adding elements to the end of a referenced array +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(5) "new.0" +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=new.0 + iteration 3: $k=3; $v=new.1 + iteration 4: $k=4; $v=new.2 + iteration 5: $k=5; $v=new.3 + ** Stuck in a loop! ** +--> State of array after loop: +array(8) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(5) "new.0" + [3]=> + string(5) "new.1" + [4]=> + string(5) "new.2" + [5]=> + string(5) "new.3" + [6]=> + string(5) "new.4" + [7]=> + string(5) "new.5" +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=new.0 + iteration 4: $k=4; $v=new.1 + iteration 5: $k=5; $v=new.2 + ** Stuck in a loop! ** +--> State of array after loop: +array(9) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(5) "new.0" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.2" + [6]=> + string(5) "new.3" + [7]=> + string(5) "new.4" + [8]=> + string(5) "new.5" +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 + iteration 4: $k=4; $v=new.0 + iteration 5: $k=5; $v=new.1 + ** Stuck in a loop! ** +--> State of array after loop: +array(10) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" + [4]=> + string(5) "new.0" + [5]=> + string(5) "new.1" + [6]=> + string(5) "new.2" + [7]=> + string(5) "new.3" + [8]=> + string(5) "new.4" + [9]=> + string(5) "new.5" +} + + + +Adding elements to the start of a referenced array +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + string(5) "new.0" + [1]=> + string(3) "v.0" +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(8) { + [0]=> + string(5) "new.5" + [1]=> + string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(9) { + [0]=> + string(5) "new.5" + [1]=> + string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" + [8]=> + string(3) "v.2" +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(10) { + [0]=> + string(5) "new.5" + [1]=> + string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" + [8]=> + string(3) "v.2" + [9]=> + string(3) "v.3" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.exp deleted file mode 100644 index 93242343b..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.exp +++ /dev/null @@ -1,483 +0,0 @@ -Popping\ elements\ off\ end\ of\ a\ referenced\ array\,\ using\ \&\$value\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Shift\ elements\ off\ start\ of\ a\ referenced\ array\,\ using\ \&\$value\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.2\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=v\.3\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Remove\ current\ element\ of\ a\ referenced\ array\,\ using\ \&\$value\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=v\.3\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(0\)\ \{\ -\}\ -\ -\ -\ -Adding\ elements\ to\ the\ end\ of\ a\ referenced\ array\,\ using\ \&\$value\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.3\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[5\]\=\>\ -\ \ \&string\(5\)\ \"new\.3\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.2\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(9\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ \&string\(5\)\ \"new\.2\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[8\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=1\;\ \$v\=v\.1\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=2\;\ \$v\=v\.2\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=3\;\ \$v\=v\.3\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=4\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=5\;\ \$v\=new\.1\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(10\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[5\]\=\>\ -\ \ \&string\(5\)\ \"new\.1\"\ -\ \ \[6\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[7\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[8\]\=\>\ -\ \ string\(5\)\ \"new\.4\"\ -\ \ \[9\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\}\ -\ -\ -\ -Adding\ elements\ to\ the\ start\ of\ a\ referenced\ array\,\ using\ \&\$value\ -\-\-\-\(\ Array\ with\ 1\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(3\)\ \"v\.0\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 2\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 3\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(9\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[8\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\}\ -\ -\-\-\-\(\ Array\ with\ 4\ element\(s\)\:\ \)\-\-\-\ -\-\-\>\ State\ of\ referenced\ array\ before\ loop\:\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[3\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\}\ -\-\-\>\ Do\ loop\:\ -\ \ \ \ \ iteration\ 0\:\ \ \$k\=0\;\ \$v\=v\.0\ -\ \ \ \ \ iteration\ 1\:\ \ \$k\=0\;\ \$v\=new\.0\ -\ \ \ \ \ iteration\ 2\:\ \ \$k\=0\;\ \$v\=new\.1\ -\ \ \ \ \ iteration\ 3\:\ \ \$k\=0\;\ \$v\=new\.2\ -\ \ \ \ \ iteration\ 4\:\ \ \$k\=0\;\ \$v\=new\.3\ -\ \ \ \ \ iteration\ 5\:\ \ \$k\=0\;\ \$v\=new\.4\ -\ \ \*\*\ Stuck\ in\ a\ loop\!\ \*\*\ -\-\-\>\ State\ of\ array\ after\ loop\:\ -array\(10\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"new\.5\"\ -\ \ \[1\]\=\>\ -\ \ \&string\(5\)\ \"new\.4\"\ -\ \ \[2\]\=\>\ -\ \ string\(5\)\ \"new\.3\"\ -\ \ \[3\]\=\>\ -\ \ string\(5\)\ \"new\.2\"\ -\ \ \[4\]\=\>\ -\ \ string\(5\)\ \"new\.1\"\ -\ \ \[5\]\=\>\ -\ \ string\(5\)\ \"new\.0\"\ -\ \ \[6\]\=\>\ -\ \ string\(3\)\ \"v\.0\"\ -\ \ \[7\]\=\>\ -\ \ string\(3\)\ \"v\.1\"\ -\ \ \[8\]\=\>\ -\ \ string\(3\)\ \"v\.2\"\ -\ \ \[9\]\=\>\ -\ \ string\(3\)\ \"v\.3\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.expectf new file mode 100644 index 000000000..416efc8a0 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.expectf @@ -0,0 +1,483 @@ +Popping elements off end of a referenced array, using &$value +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(1) { + [0]=> + string(3) "v.0" +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=0; $v=v.0 + iteration 3: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + + + +Shift elements off start of a referenced array, using &$value +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 + iteration 2: $k=0; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=v.1 + iteration 2: $k=0; $v=v.2 + iteration 3: $k=0; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Remove current element of a referenced array, using &$value +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(0) { +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 +--> State of array after loop: +array(0) { +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 +--> State of array after loop: +array(0) { +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 +--> State of array after loop: +array(0) { +} + + + +Adding elements to the end of a referenced array, using &$value +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + &string(3) "v.0" + [1]=> + string(5) "new.0" +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=new.0 + iteration 3: $k=3; $v=new.1 + iteration 4: $k=4; $v=new.2 + iteration 5: $k=5; $v=new.3 + ** Stuck in a loop! ** +--> State of array after loop: +array(8) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(5) "new.0" + [3]=> + string(5) "new.1" + [4]=> + string(5) "new.2" + [5]=> + &string(5) "new.3" + [6]=> + string(5) "new.4" + [7]=> + string(5) "new.5" +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=new.0 + iteration 4: $k=4; $v=new.1 + iteration 5: $k=5; $v=new.2 + ** Stuck in a loop! ** +--> State of array after loop: +array(9) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(5) "new.0" + [4]=> + string(5) "new.1" + [5]=> + &string(5) "new.2" + [6]=> + string(5) "new.3" + [7]=> + string(5) "new.4" + [8]=> + string(5) "new.5" +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=1; $v=v.1 + iteration 2: $k=2; $v=v.2 + iteration 3: $k=3; $v=v.3 + iteration 4: $k=4; $v=new.0 + iteration 5: $k=5; $v=new.1 + ** Stuck in a loop! ** +--> State of array after loop: +array(10) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" + [4]=> + string(5) "new.0" + [5]=> + &string(5) "new.1" + [6]=> + string(5) "new.2" + [7]=> + string(5) "new.3" + [8]=> + string(5) "new.4" + [9]=> + string(5) "new.5" +} + + + +Adding elements to the start of a referenced array, using &$value +---( Array with 1 element(s): )--- +--> State of referenced array before loop: +array(1) { + [0]=> + string(3) "v.0" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 +--> State of array after loop: +array(2) { + [0]=> + string(5) "new.0" + [1]=> + &string(3) "v.0" +} + +---( Array with 2 element(s): )--- +--> State of referenced array before loop: +array(2) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(8) { + [0]=> + string(5) "new.5" + [1]=> + &string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" +} + +---( Array with 3 element(s): )--- +--> State of referenced array before loop: +array(3) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(9) { + [0]=> + string(5) "new.5" + [1]=> + &string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" + [8]=> + string(3) "v.2" +} + +---( Array with 4 element(s): )--- +--> State of referenced array before loop: +array(4) { + [0]=> + string(3) "v.0" + [1]=> + string(3) "v.1" + [2]=> + string(3) "v.2" + [3]=> + string(3) "v.3" +} +--> Do loop: + iteration 0: $k=0; $v=v.0 + iteration 1: $k=0; $v=new.0 + iteration 2: $k=0; $v=new.1 + iteration 3: $k=0; $v=new.2 + iteration 4: $k=0; $v=new.3 + iteration 5: $k=0; $v=new.4 + ** Stuck in a loop! ** +--> State of array after loop: +array(10) { + [0]=> + string(5) "new.5" + [1]=> + &string(5) "new.4" + [2]=> + string(5) "new.3" + [3]=> + string(5) "new.2" + [4]=> + string(5) "new.1" + [5]=> + string(5) "new.0" + [6]=> + string(3) "v.0" + [7]=> + string(3) "v.1" + [8]=> + string(3) "v.2" + [9]=> + string(3) "v.3" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.exp deleted file mode 100644 index 147def371..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.exp +++ /dev/null @@ -1,81 +0,0 @@ -\$a\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$\{\'a\'\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$\$a\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\[0\]\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\[0\]\[0\]\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\-\>b\ -HipHop Warning: .+ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\-\>b\-\>c\ -HipHop Warning: .+ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\-\>b\[0\]\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\-\>b\[0\]\[0\]\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -\$a\-\>b\[0\]\-\>c\ -HipHop Warning: .+ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -C\:\:\$a\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -C\:\:\$a\[0\]\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\}\ -\ -C\:\:\$a\[0\]\-\>b\ -HipHop Warning: .+ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(8\)\ \"original\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.expectf new file mode 100644 index 000000000..c28cf8945 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.expectf @@ -0,0 +1,81 @@ +$a +array(1) { + [0]=> + string(8) "original" +} + +${'a'} +array(1) { + [0]=> + string(8) "original" +} + +$$a +array(1) { + [0]=> + string(8) "original" +} + +$a[0] +array(1) { + [0]=> + string(8) "original" +} + +$a[0][0] +array(1) { + [0]=> + string(8) "original" +} + +$a->b +HipHop Warning: %a +array(1) { + [0]=> + string(8) "original" +} + +$a->b->c +HipHop Warning: %a +array(1) { + [0]=> + string(8) "original" +} + +$a->b[0] +array(1) { + [0]=> + string(8) "original" +} + +$a->b[0][0] +array(1) { + [0]=> + string(8) "original" +} + +$a->b[0]->c +HipHop Warning: %a +array(1) { + [0]=> + string(8) "original" +} + +C::$a +array(1) { + [0]=> + string(8) "original" +} + +C::$a[0] +array(1) { + [0]=> + string(8) "original" +} + +C::$a[0]->b +HipHop Warning: %a +array(1) { + [0]=> + string(8) "original" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.017.php b/hphp/test/zend/bad/tests-lang/foreachLoop.017.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoop.017.php rename to hphp/test/zend/bad/tests-lang/foreachLoop.017.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.017.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoop.017.php.expectf new file mode 100644 index 000000000..f12f1112a --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.017.php.expectf @@ -0,0 +1,2 @@ +10 +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.exp deleted file mode 100644 index 20f4b024a..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -30\:\ Objects\ returned\ by\ bad1\:\:getIterator\(\)\ must\ be\ traversable\ or\ implement\ interface\ Iterator\ -30\:\ Objects\ returned\ by\ bad2\:\:getIterator\(\)\ must\ be\ traversable\ or\ implement\ interface\ Iterator\ -30\:\ Objects\ returned\ by\ bad3\:\:getIterator\(\)\ must\ be\ traversable\ or\ implement\ interface\ Iterator\ -30\:\ Objects\ returned\ by\ bad4\:\:getIterator\(\)\ must\ be\ traversable\ or\ implement\ interface\ Iterator\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.expectf new file mode 100644 index 000000000..5cff5fb5b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.expectf @@ -0,0 +1,5 @@ +30: Objects returned by bad1::getIterator() must be traversable or implement interface Iterator +30: Objects returned by bad2::getIterator() must be traversable or implement interface Iterator +30: Objects returned by bad3::getIterator() must be traversable or implement interface Iterator +30: Objects returned by bad4::getIterator() must be traversable or implement interface Iterator +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php rename to hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php.expectf new file mode 100644 index 000000000..5216c55c0 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php.expectf @@ -0,0 +1,57 @@ +-----( A1: )----- +--> EnglishMealIterator::rewind (0) +--> EnglishMealIterator::valid (0) +--> EnglishMealIterator::current (0) +--> EnglishMealIterator::key (0) +meal 0 => breakfast +--> EnglishMealIterator::next (0) +--> EnglishMealIterator::valid (1) +--> EnglishMealIterator::current (1) +--> EnglishMealIterator::key (1) +meal 1 => dinner +--> EnglishMealIterator::next (1) +--> EnglishMealIterator::valid (2) +--> EnglishMealIterator::current (2) +--> EnglishMealIterator::key (2) +meal 2 => tea +--> EnglishMealIterator::next (2) +--> EnglishMealIterator::valid (3) + +-----( A2: )----- +--> EnglishMealIterator::rewind (0) +--> EnglishMealIterator::valid (0) +--> EnglishMealIterator::current (0) +--> EnglishMealIterator::key (0) +meal 0 => breakfast +--> EnglishMealIterator::next (0) +--> EnglishMealIterator::valid (1) +--> EnglishMealIterator::current (1) +--> EnglishMealIterator::key (1) +meal 1 => dinner +--> EnglishMealIterator::next (1) +--> EnglishMealIterator::valid (2) +--> EnglishMealIterator::current (2) +--> EnglishMealIterator::key (2) +meal 2 => tea +--> EnglishMealIterator::next (2) +--> EnglishMealIterator::valid (3) + +-----( A3: )----- +--> EnglishMealIterator::rewind (0) +--> EnglishMealIterator::valid (0) +--> EnglishMealIterator::current (0) +--> EnglishMealIterator::key (0) +meal 0 => breakfast +--> EnglishMealIterator::next (0) +--> EnglishMealIterator::valid (1) +--> EnglishMealIterator::current (1) +--> EnglishMealIterator::key (1) +meal 1 => dinner +--> EnglishMealIterator::next (1) +--> EnglishMealIterator::valid (2) +--> EnglishMealIterator::current (2) +--> EnglishMealIterator::key (2) +meal 2 => tea +--> EnglishMealIterator::next (2) +--> EnglishMealIterator::valid (3) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopObjects.001.php b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.001.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoopObjects.001.php rename to hphp/test/zend/bad/tests-lang/foreachLoopObjects.001.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.001.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.001.php.expectf new file mode 100644 index 000000000..149200ecd --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.001.php.expectf @@ -0,0 +1,30 @@ +Simple loop. +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(1) "a" +string(10) "Original a" +string(1) "b" +string(10) "Original b" +string(1) "c" +string(10) "Original c" + +Check key and value after the loop. +string(1) "c" +string(10) "Original c" + + +Object instantiated inside loop. +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(1) "a" +string(10) "Original a" +string(1) "b" +string(10) "Original b" +string(1) "c" +string(10) "Original c" + +Check key and value after the loop. +string(1) "c" +string(10) "Original c" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.exp deleted file mode 100644 index d85c502d2..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.exp +++ /dev/null @@ -1,417 +0,0 @@ -Iterate\ over\ various\ generations\ from\ within\ overridden\ methods\:\ -\ -\-\-\>\ Using\ instance\ of\ C\:\ -in\ C\:\:doForEachOnThis\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ D\:\ -in\ D\:\:doForEachOnThis\ -string\(10\)\ \"Original\ f\"\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -object\(D\)\#\d+\ \(7\)\ \{\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ E\:\ -in\ E\:\:doForEachOnThis\ -string\(12\)\ \"Overridden\ a\"\ -string\(12\)\ \"Overridden\ b\"\ -string\(12\)\ \"Overridden\ c\"\ -string\(12\)\ \"Overridden\ d\"\ -string\(12\)\ \"Overridden\ e\"\ -string\(10\)\ \"Original\ g\"\ -object\(E\)\#\d+\ \(8\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"E\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\ -Iterate\ over\ various\ generations\ from\ within\ an\ inherited\ method\:\ -\ -\-\-\>\ Using\ instance\ of\ C\:\ -in\ C\:\:doForEachC\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ D\:\ -in\ C\:\:doForEachC\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(D\)\#\d+\ \(7\)\ \{\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ E\:\ -in\ C\:\:doForEachC\ -string\(12\)\ \"Overridden\ a\"\ -string\(12\)\ \"Overridden\ b\"\ -string\(12\)\ \"Overridden\ c\"\ -string\(12\)\ \"Overridden\ d\"\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ e\"\ -object\(E\)\#\d+\ \(8\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"E\"\:private\]\=\>\ -\ \ string\(12\)\ \"Overridden\ e\"\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -\ -\ -Iterate\ over\ various\ generations\ from\ within\ an\ overridden\ static\ method\:\ -\ -\-\-\>\ Using\ instance\ of\ C\:\ -in\ C\:\:doForEach\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -in\ D\:\:doForEach\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -in\ E\:\:doForEach\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ D\:\ -in\ C\:\:doForEach\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(D\)\#\d+\ \(7\)\ \{\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -in\ D\:\:doForEach\ -string\(10\)\ \"Original\ f\"\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -object\(D\)\#\d+\ \(7\)\ \{\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -in\ E\:\:doForEach\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -object\(D\)\#\d+\ \(7\)\ \{\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ E\:\ -in\ C\:\:doForEach\ -string\(12\)\ \"Overridden\ a\"\ -string\(12\)\ \"Overridden\ b\"\ -string\(12\)\ \"Overridden\ c\"\ -string\(12\)\ \"Overridden\ d\"\ -string\(10\)\ \"Original\ g\"\ -string\(10\)\ \"Original\ e\"\ -object\(E\)\#\d+\ \(8\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"E\"\:private\]\=\>\ -\ \ string\(12\)\ \"Overridden\ e\"\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\}\ -in\ D\:\:doForEach\ -string\(12\)\ \"Overridden\ a\"\ -string\(12\)\ \"Overridden\ b\"\ -string\(12\)\ \"Overridden\ c\"\ -string\(12\)\ \"Overridden\ d\"\ -string\(10\)\ \"Original\ f\"\ -string\(10\)\ \"Original\ g\"\ -object\(E\)\#\d+\ \(8\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"E\"\:private\]\=\>\ -\ \ string\(12\)\ \"Overridden\ e\"\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -in\ E\:\:doForEach\ -string\(12\)\ \"Overridden\ a\"\ -string\(12\)\ \"Overridden\ b\"\ -string\(12\)\ \"Overridden\ c\"\ -string\(12\)\ \"Overridden\ d\"\ -string\(12\)\ \"Overridden\ e\"\ -string\(10\)\ \"Original\ g\"\ -object\(E\)\#\d+\ \(8\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.d\"\ -\ \ \[\"e\"\:\"E\"\:private\]\=\>\ -\ \ string\(9\)\ \"changed\.e\"\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(9\)\ \"changed\.g\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\ -Iterate\ over\ various\ generations\ from\ outside\ the\ object\:\ -\ -\-\-\>\ Using\ instance\ of\ C\:\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ \&string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ D\:\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -object\(D\)\#\d+\ \(7\)\ \{\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ g\"\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ \&string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -\-\-\>\ Using\ instance\ of\ E\:\ -string\(12\)\ \"Overridden\ a\"\ -string\(12\)\ \"Overridden\ b\"\ -string\(12\)\ \"Overridden\ c\"\ -object\(E\)\#\d+\ \(8\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ \&string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(12\)\ \"Overridden\ d\"\ -\ \ \[\"e\"\:\"E\"\:private\]\=\>\ -\ \ string\(12\)\ \"Overridden\ e\"\ -\ \ \[\"f\"\:\"D\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ f\"\ -\ \ \[\"g\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ g\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.expectf new file mode 100644 index 000000000..b19c65624 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.expectf @@ -0,0 +1,417 @@ +Iterate over various generations from within overridden methods: + +--> Using instance of C: +in C::doForEachOnThis +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(9) "changed.e" +} + +--> Using instance of D: +in D::doForEachOnThis +string(10) "Original f" +string(10) "Original g" +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +object(D)#%d (7) { + ["f":"D":private]=> + string(9) "changed.f" + ["g":protected]=> + string(9) "changed.g" + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(10) "Original e" +} + +--> Using instance of E: +in E::doForEachOnThis +string(12) "Overridden a" +string(12) "Overridden b" +string(12) "Overridden c" +string(12) "Overridden d" +string(12) "Overridden e" +string(10) "Original g" +object(E)#%d (8) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"E":private]=> + string(9) "changed.e" + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["e":"C":private]=> + string(10) "Original e" +} + + +Iterate over various generations from within an inherited method: + +--> Using instance of C: +in C::doForEachC +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(9) "changed.e" +} + +--> Using instance of D: +in C::doForEachC +string(10) "Original g" +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(D)#%d (7) { + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(9) "changed.e" +} + +--> Using instance of E: +in C::doForEachC +string(12) "Overridden a" +string(12) "Overridden b" +string(12) "Overridden c" +string(12) "Overridden d" +string(10) "Original g" +string(10) "Original e" +object(E)#%d (8) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"E":private]=> + string(12) "Overridden e" + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["e":"C":private]=> + string(9) "changed.e" +} + + +Iterate over various generations from within an overridden static method: + +--> Using instance of C: +in C::doForEach +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(9) "changed.e" +} +in D::doForEach +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(10) "Original e" +} +in E::doForEach +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(10) "Original e" +} + +--> Using instance of D: +in C::doForEach +string(10) "Original g" +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(D)#%d (7) { + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(9) "changed.e" +} +in D::doForEach +string(10) "Original f" +string(10) "Original g" +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +object(D)#%d (7) { + ["f":"D":private]=> + string(9) "changed.f" + ["g":protected]=> + string(9) "changed.g" + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(10) "Original e" +} +in E::doForEach +string(10) "Original g" +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +object(D)#%d (7) { + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"C":private]=> + string(10) "Original e" +} + +--> Using instance of E: +in C::doForEach +string(12) "Overridden a" +string(12) "Overridden b" +string(12) "Overridden c" +string(12) "Overridden d" +string(10) "Original g" +string(10) "Original e" +object(E)#%d (8) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"E":private]=> + string(12) "Overridden e" + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["e":"C":private]=> + string(9) "changed.e" +} +in D::doForEach +string(12) "Overridden a" +string(12) "Overridden b" +string(12) "Overridden c" +string(12) "Overridden d" +string(10) "Original f" +string(10) "Original g" +object(E)#%d (8) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"E":private]=> + string(12) "Overridden e" + ["f":"D":private]=> + string(9) "changed.f" + ["g":protected]=> + string(9) "changed.g" + ["e":"C":private]=> + string(10) "Original e" +} +in E::doForEach +string(12) "Overridden a" +string(12) "Overridden b" +string(12) "Overridden c" +string(12) "Overridden d" +string(12) "Overridden e" +string(10) "Original g" +object(E)#%d (8) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(9) "changed.d" + ["e":"E":private]=> + string(9) "changed.e" + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(9) "changed.g" + ["e":"C":private]=> + string(10) "Original e" +} + + +Iterate over various generations from outside the object: + +--> Using instance of C: +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + &string(9) "changed.c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} + +--> Using instance of D: +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +object(D)#%d (7) { + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(10) "Original g" + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + &string(9) "changed.c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} + +--> Using instance of E: +string(12) "Overridden a" +string(12) "Overridden b" +string(12) "Overridden c" +object(E)#%d (8) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + &string(9) "changed.c" + ["d":protected]=> + string(12) "Overridden d" + ["e":"E":private]=> + string(12) "Overridden e" + ["f":"D":private]=> + string(10) "Original f" + ["g":protected]=> + string(10) "Original g" + ["e":"C":private]=> + string(10) "Original e" +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.exp deleted file mode 100644 index 0150ce28c..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.exp +++ /dev/null @@ -1,163 +0,0 @@ -Directly\ changing\ object\ values\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -Modifying\ the\ foreach\ \$value\.\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(10\)\ \"Original\ a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(10\)\ \"Original\ b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(10\)\ \"Original\ c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -Modifying\ the\ foreach\ \&\$value\.\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(9\)\ \"changed\.a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(9\)\ \"changed\.b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ \&string\(9\)\ \"changed\.c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -Adding\ properties\ to\ an\ an\ object\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(16\)\ \"Added\ property\ 0\"\ -string\(16\)\ \"Added\ property\ 1\"\ -string\(16\)\ \"Added\ property\ 2\"\ -string\(16\)\ \"Added\ property\ 3\"\ -string\(16\)\ \"Added\ property\ 4\"\ -string\(16\)\ \"Added\ property\ 5\"\ -string\(16\)\ \"Added\ property\ 6\"\ -string\(16\)\ \"Added\ property\ 7\"\ -Loop\ detected\ -object\(C\)\#\d+\ \(17\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(10\)\ \"Original\ a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(10\)\ \"Original\ b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(10\)\ \"Original\ c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\ \ \[\"new0\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 0\"\ -\ \ \[\"new1\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 1\"\ -\ \ \[\"new2\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 2\"\ -\ \ \[\"new3\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 3\"\ -\ \ \[\"new4\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 4\"\ -\ \ \[\"new5\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 5\"\ -\ \ \[\"new6\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 6\"\ -\ \ \[\"new7\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 7\"\ -\ \ \[\"new8\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 8\"\ -\ \ \[\"new9\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 9\"\ -\ \ \[\"new10\"\]\=\>\ -\ \ string\(17\)\ \"Added\ property\ 10\"\ -\ \ \[\"new11\"\]\=\>\ -\ \ string\(17\)\ \"Added\ property\ 11\"\ -\}\ -\ -Adding\ properties\ to\ an\ an\ object\,\ using\ \&\$value\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(16\)\ \"Added\ property\ 0\"\ -string\(16\)\ \"Added\ property\ 1\"\ -string\(16\)\ \"Added\ property\ 2\"\ -string\(16\)\ \"Added\ property\ 3\"\ -string\(16\)\ \"Added\ property\ 4\"\ -string\(16\)\ \"Added\ property\ 5\"\ -string\(16\)\ \"Added\ property\ 6\"\ -string\(16\)\ \"Added\ property\ 7\"\ -Loop\ detected\ -object\(C\)\#\d+\ \(17\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(10\)\ \"Original\ a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(10\)\ \"Original\ b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(10\)\ \"Original\ c\"\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\ \ \[\"new0\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 0\"\ -\ \ \[\"new1\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 1\"\ -\ \ \[\"new2\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 2\"\ -\ \ \[\"new3\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 3\"\ -\ \ \[\"new4\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 4\"\ -\ \ \[\"new5\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 5\"\ -\ \ \[\"new6\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 6\"\ -\ \ \[\"new7\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 7\"\ -\ \ \[\"new8\"\]\=\>\ -\ \ \&string\(16\)\ \"Added\ property\ 8\"\ -\ \ \[\"new9\"\]\=\>\ -\ \ string\(16\)\ \"Added\ property\ 9\"\ -\ \ \[\"new10\"\]\=\>\ -\ \ string\(17\)\ \"Added\ property\ 10\"\ -\ \ \[\"new11\"\]\=\>\ -\ \ string\(17\)\ \"Added\ property\ 11\"\ -\}\ -\ -Removing\ properties\ from\ an\ object\.\ -string\(10\)\ \"Original\ a\"\ -object\(C\)\#\d+\ \(2\)\ \{\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -Removing\ properties\ from\ an\ object\,\ using\ \&\$value\.\ -string\(10\)\ \"Original\ a\"\ -object\(C\)\#\d+\ \(2\)\ \{\ -\ \ \[\"d\"\:protected\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\:\"C\"\:private\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.expectf new file mode 100644 index 000000000..53e5e604d --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.expectf @@ -0,0 +1,163 @@ +Directly changing object values. +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + string(9) "changed.c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} + +Modifying the foreach $value. +object(C)#%d (5) { + ["a"]=> + string(10) "Original a" + ["b"]=> + string(10) "Original b" + ["c"]=> + string(10) "Original c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} + +Modifying the foreach &$value. +object(C)#%d (5) { + ["a"]=> + string(9) "changed.a" + ["b"]=> + string(9) "changed.b" + ["c"]=> + &string(9) "changed.c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} + +Adding properties to an an object. +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(16) "Added property 0" +string(16) "Added property 1" +string(16) "Added property 2" +string(16) "Added property 3" +string(16) "Added property 4" +string(16) "Added property 5" +string(16) "Added property 6" +string(16) "Added property 7" +Loop detected +object(C)#%d (17) { + ["a"]=> + string(10) "Original a" + ["b"]=> + string(10) "Original b" + ["c"]=> + string(10) "Original c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" + ["new0"]=> + string(16) "Added property 0" + ["new1"]=> + string(16) "Added property 1" + ["new2"]=> + string(16) "Added property 2" + ["new3"]=> + string(16) "Added property 3" + ["new4"]=> + string(16) "Added property 4" + ["new5"]=> + string(16) "Added property 5" + ["new6"]=> + string(16) "Added property 6" + ["new7"]=> + string(16) "Added property 7" + ["new8"]=> + string(16) "Added property 8" + ["new9"]=> + string(16) "Added property 9" + ["new10"]=> + string(17) "Added property 10" + ["new11"]=> + string(17) "Added property 11" +} + +Adding properties to an an object, using &$value. +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(16) "Added property 0" +string(16) "Added property 1" +string(16) "Added property 2" +string(16) "Added property 3" +string(16) "Added property 4" +string(16) "Added property 5" +string(16) "Added property 6" +string(16) "Added property 7" +Loop detected +object(C)#%d (17) { + ["a"]=> + string(10) "Original a" + ["b"]=> + string(10) "Original b" + ["c"]=> + string(10) "Original c" + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" + ["new0"]=> + string(16) "Added property 0" + ["new1"]=> + string(16) "Added property 1" + ["new2"]=> + string(16) "Added property 2" + ["new3"]=> + string(16) "Added property 3" + ["new4"]=> + string(16) "Added property 4" + ["new5"]=> + string(16) "Added property 5" + ["new6"]=> + string(16) "Added property 6" + ["new7"]=> + string(16) "Added property 7" + ["new8"]=> + &string(16) "Added property 8" + ["new9"]=> + string(16) "Added property 9" + ["new10"]=> + string(17) "Added property 10" + ["new11"]=> + string(17) "Added property 11" +} + +Removing properties from an object. +string(10) "Original a" +object(C)#%d (2) { + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} + +Removing properties from an object, using &$value. +string(10) "Original a" +object(C)#%d (2) { + ["d":protected]=> + string(10) "Original d" + ["e":"C":private]=> + string(10) "Original e" +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php rename to hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php.expectf new file mode 100644 index 000000000..538bda81d --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php.expectf @@ -0,0 +1,20 @@ +Removing the current element from an iterated object. +string(10) "Original a" +string(10) "Original b" +HipHop Notice: %a +string(10) "Original c" +HipHop Notice: %a +string(10) "Original d" +HipHop Notice: %a +string(10) "Original e" +object(C)#%d (4) { + ["a"]=> + string(10) "Original a" + ["c"]=> + string(10) "Original c" + ["d"]=> + string(10) "Original d" + ["e"]=> + string(10) "Original e" +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.exp deleted file mode 100644 index a4c9e6611..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.exp +++ /dev/null @@ -1,32 +0,0 @@ -Removing\ properties\ before\ the\ current\ element\ from\ an\ iterated\ object\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(C\)\#\d+\ \(4\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(10\)\ \"Original\ a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(10\)\ \"Original\ b\"\ -\ \ \[\"d\"\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\}\ -\ -Removing\ properties\ before\ the\ current\ element\ from\ an\ iterated\ object\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(C\)\#\d+\ \(4\)\ \{\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(10\)\ \"Original\ b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(10\)\ \"Original\ c\"\ -\ \ \[\"d\"\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.expectf new file mode 100644 index 000000000..a14b4e4a4 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.expectf @@ -0,0 +1,32 @@ +Removing properties before the current element from an iterated object. +string(10) "Original a" +string(10) "Original b" +string(10) "Original d" +string(10) "Original e" +object(C)#%d (4) { + ["a"]=> + string(10) "Original a" + ["b"]=> + string(10) "Original b" + ["d"]=> + string(10) "Original d" + ["e"]=> + string(10) "Original e" +} + +Removing properties before the current element from an iterated object. +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(C)#%d (4) { + ["b"]=> + string(10) "Original b" + ["c"]=> + string(10) "Original c" + ["d"]=> + string(10) "Original d" + ["e"]=> + string(10) "Original e" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.exp deleted file mode 100644 index 584fc3a3f..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.exp +++ /dev/null @@ -1,74 +0,0 @@ -Substituting\ the\ iterated\ object\ for\ a\ different\ object\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(5\)\ \"new\ a\"\ -string\(5\)\ \"new\ b\"\ -string\(5\)\ \"new\ c\"\ -string\(5\)\ \"new\ d\"\ -string\(5\)\ \"new\ e\"\ -string\(5\)\ \"new\ f\"\ -object\(stdClass\)\#\d+\ \(6\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(5\)\ \"new\ a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(5\)\ \"new\ b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(5\)\ \"new\ c\"\ -\ \ \[\"d\"\]\=\>\ -\ \ string\(5\)\ \"new\ d\"\ -\ \ \[\"e\"\]\=\>\ -\ \ string\(5\)\ \"new\ e\"\ -\ \ \[\"f\"\]\=\>\ -\ \ string\(5\)\ \"new\ f\"\ -\}\ -\ -Substituting\ the\ iterated\ object\ for\ an\ array\.\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -int\(1\)\ -int\(2\)\ -int\(3\)\ -int\(4\)\ -int\(5\)\ -int\(6\)\ -int\(7\)\ -int\(8\)\ -array\(8\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\ \ \[4\]\=\>\ -\ \ int\(5\)\ -\ \ \[5\]\=\>\ -\ \ int\(6\)\ -\ \ \[6\]\=\>\ -\ \ int\(7\)\ -\ \ \[7\]\=\>\ -\ \ int\(8\)\ -\}\ -\ -Substituting\ the\ iterated\ array\ for\ an\ object\.\ -int\(1\)\ -int\(2\)\ -string\(10\)\ \"Original\ a\"\ -string\(10\)\ \"Original\ b\"\ -string\(10\)\ \"Original\ c\"\ -string\(10\)\ \"Original\ d\"\ -string\(10\)\ \"Original\ e\"\ -object\(C\)\#\d+\ \(5\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(10\)\ \"Original\ a\"\ -\ \ \[\"b\"\]\=\>\ -\ \ string\(10\)\ \"Original\ b\"\ -\ \ \[\"c\"\]\=\>\ -\ \ string\(10\)\ \"Original\ c\"\ -\ \ \[\"d\"\]\=\>\ -\ \ string\(10\)\ \"Original\ d\"\ -\ \ \[\"e\"\]\=\>\ -\ \ string\(10\)\ \"Original\ e\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.expectf b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.expectf new file mode 100644 index 000000000..22f45872b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.expectf @@ -0,0 +1,74 @@ +Substituting the iterated object for a different object. +string(10) "Original a" +string(10) "Original b" +string(5) "new a" +string(5) "new b" +string(5) "new c" +string(5) "new d" +string(5) "new e" +string(5) "new f" +object(stdClass)#%d (6) { + ["a"]=> + string(5) "new a" + ["b"]=> + string(5) "new b" + ["c"]=> + string(5) "new c" + ["d"]=> + string(5) "new d" + ["e"]=> + string(5) "new e" + ["f"]=> + string(5) "new f" +} + +Substituting the iterated object for an array. +string(10) "Original a" +string(10) "Original b" +int(1) +int(2) +int(3) +int(4) +int(5) +int(6) +int(7) +int(8) +array(8) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) + [3]=> + int(4) + [4]=> + int(5) + [5]=> + int(6) + [6]=> + int(7) + [7]=> + int(8) +} + +Substituting the iterated array for an object. +int(1) +int(2) +string(10) "Original a" +string(10) "Original b" +string(10) "Original c" +string(10) "Original d" +string(10) "Original e" +object(C)#%d (5) { + ["a"]=> + string(10) "Original a" + ["b"]=> + string(10) "Original b" + ["c"]=> + string(10) "Original c" + ["d"]=> + string(10) "Original d" + ["e"]=> + string(10) "Original e" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.001.php.exp b/hphp/test/zend/bad/tests-lang/func_get_arg.001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/func_get_arg.001.php.exp rename to hphp/test/zend/bad/tests-lang/func_get_arg.001.php.expectf diff --git a/hphp/test/zend/good/tests-lang/func_get_arg.002.php b/hphp/test/zend/bad/tests-lang/func_get_arg.002.php similarity index 100% rename from hphp/test/zend/good/tests-lang/func_get_arg.002.php rename to hphp/test/zend/bad/tests-lang/func_get_arg.002.php diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.002.php.expectf b/hphp/test/zend/bad/tests-lang/func_get_arg.002.php.expectf new file mode 100644 index 000000000..dd0b0803f --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_arg.002.php.expectf @@ -0,0 +1,2 @@ +int(3) +int(3) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.expectf b/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.expectf new file mode 100644 index 000000000..32195d571 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_get_arg.004.php b/hphp/test/zend/bad/tests-lang/func_get_arg.004.php similarity index 100% rename from hphp/test/zend/good/tests-lang/func_get_arg.004.php rename to hphp/test/zend/bad/tests-lang/func_get_arg.004.php diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.004.php.expectf b/hphp/test/zend/bad/tests-lang/func_get_arg.004.php.expectf new file mode 100644 index 000000000..32195d571 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_arg.004.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg_variation.php.exp b/hphp/test/zend/bad/tests-lang/func_get_arg_variation.php.exp deleted file mode 100644 index f55471235..000000000 --- a/hphp/test/zend/bad/tests-lang/func_get_arg_variation.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg_variation.php.expectf b/hphp/test/zend/bad/tests-lang/func_get_arg_variation.php.expectf new file mode 100644 index 000000000..68060b92a --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_arg_variation.php.expectf @@ -0,0 +1,5 @@ +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_args.003.php.exp b/hphp/test/zend/bad/tests-lang/func_get_args.003.php.exp deleted file mode 100644 index 731ae2f26..000000000 --- a/hphp/test/zend/bad/tests-lang/func_get_args.003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.exp b/hphp/test/zend/bad/tests-lang/func_get_args.003.php.expectregex similarity index 100% rename from hphp/test/zend/bad/tests-lang/func_get_arg.003.php.exp rename to hphp/test/zend/bad/tests-lang/func_get_args.003.php.expectregex diff --git a/hphp/test/zend/bad/tests-lang/func_get_args.004.php.exp b/hphp/test/zend/bad/tests-lang/func_get_args.004.php.exp deleted file mode 100644 index 562996031..000000000 --- a/hphp/test/zend/bad/tests-lang/func_get_args.004.php.exp +++ /dev/null @@ -1,34 +0,0 @@ -\-\-\ Val\,\ Ref\ \-\-\ -string\(10\)\ \"original\.a\"\ -string\(10\)\ \"original\.a\"\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(10\)\ \"original\.a\"\ -\ \ \[1\]\=\>\ -\ \ string\(10\)\ \"original\.a\"\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(10\)\ \"original\.a\"\ -\ \ \[1\]\=\>\ -\ \ string\(9\)\ \"changed\.y\"\ -\}\ -string\(9\)\ \"changed\.y\"\ -\ -\ -\-\-\ Ref\,\ Val\ \-\-\ -string\(10\)\ \"original\.b\"\ -string\(10\)\ \"original\.b\"\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(10\)\ \"original\.b\"\ -\ \ \[1\]\=\>\ -\ \ string\(10\)\ \"original\.b\"\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(9\)\ \"changed\.x\"\ -\ \ \[1\]\=\>\ -\ \ string\(10\)\ \"original\.b\"\ -\}\ -string\(9\)\ \"changed\.x\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_args.004.php.expectf b/hphp/test/zend/bad/tests-lang/func_get_args.004.php.expectf new file mode 100644 index 000000000..51ea38c00 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_args.004.php.expectf @@ -0,0 +1,34 @@ +-- Val, Ref -- +string(10) "original.a" +string(10) "original.a" +array(2) { + [0]=> + string(10) "original.a" + [1]=> + string(10) "original.a" +} +array(2) { + [0]=> + string(10) "original.a" + [1]=> + string(9) "changed.y" +} +string(9) "changed.y" + + +-- Ref, Val -- +string(10) "original.b" +string(10) "original.b" +array(2) { + [0]=> + string(10) "original.b" + [1]=> + string(10) "original.b" +} +array(2) { + [0]=> + string(9) "changed.x" + [1]=> + string(10) "original.b" +} +string(9) "changed.x" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_num_args.003.php.exp b/hphp/test/zend/bad/tests-lang/func_num_args.003.php.exp deleted file mode 100644 index 4e224f7d9..000000000 --- a/hphp/test/zend/bad/tests-lang/func_num_args.003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -int\(\-1\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_num_args.003.php.expectf b/hphp/test/zend/bad/tests-lang/func_num_args.003.php.expectf new file mode 100644 index 000000000..3afcb4275 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_num_args.003.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +int(-1) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_num_args.004.php b/hphp/test/zend/bad/tests-lang/func_num_args.004.php similarity index 100% rename from hphp/test/zend/good/tests-lang/func_num_args.004.php rename to hphp/test/zend/bad/tests-lang/func_num_args.004.php diff --git a/hphp/test/zend/bad/tests-lang/func_num_args.004.php.expectf b/hphp/test/zend/bad/tests-lang/func_num_args.004.php.expectf new file mode 100644 index 000000000..ad86eafcd --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_num_args.004.php.expectf @@ -0,0 +1,14 @@ +-- Val, Ref -- +string(10) "original.a" +string(10) "original.a" +int(2) +int(2) +string(9) "changed.y" + + +-- Ref, Val -- +string(10) "original.b" +string(10) "original.b" +int(2) +int(2) +string(9) "changed.x" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/include_variation1.php.exp b/hphp/test/zend/bad/tests-lang/include_variation1.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/include_variation1.php.exp rename to hphp/test/zend/bad/tests-lang/include_variation1.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/include_variation2.php.exp b/hphp/test/zend/bad/tests-lang/include_variation2.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/include_variation2.php.exp rename to hphp/test/zend/bad/tests-lang/include_variation2.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/include_variation3.php.exp b/hphp/test/zend/bad/tests-lang/include_variation3.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/include_variation3.php.exp rename to hphp/test/zend/bad/tests-lang/include_variation3.php.expectf diff --git a/hphp/test/zend/good/tests-lang/passByReference_003.php b/hphp/test/zend/bad/tests-lang/passByReference_003.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_003.php rename to hphp/test/zend/bad/tests-lang/passByReference_003.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_003.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_003.php.expectf new file mode 100644 index 000000000..030fa377e --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_003.php.expectf @@ -0,0 +1,20 @@ +Passing undefined by value +HipHop Notice: %a + +Inside passbyVal call: +NULL + +After call +HipHop Notice: %a +NULL + +Passing undefined by reference + +Inside passbyRef call: +NULL + +After call +array(1) { + [0]=> + NULL +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_004.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_004.php.exp deleted file mode 100644 index 9eb6d8588..000000000 --- a/hphp/test/zend/bad/tests-lang/passByReference_004.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_004\.php\ on\ line\ 13\ -int\(5\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_004.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_004.php.expectf new file mode 100644 index 000000000..f0714ba04 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_004.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_004.php on line 13 +int(5) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_005.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_005.php.exp deleted file mode 100644 index b5f3cd8c8..000000000 --- a/hphp/test/zend/bad/tests-lang/passByReference_005.php.exp +++ /dev/null @@ -1,83 +0,0 @@ -\-\-\-\-\ Pass\ by\ ref\ \/\ pass\ by\ val\:\ functions\ \-\-\-\-\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -NULL\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -HipHop Notice: .+ -string\(11\)\ \"Ref\ changed\"\ -NULL\ -string\(12\)\ \"Ref1\ changed\"\ -string\(12\)\ \"Ref2\ changed\"\ -\ -\ -\ \-\-\-\-\ Pass\ by\ ref\ \/\ pass\ by\ val\:\ static\ method\ calls\ \-\-\-\-\ -HipHop Notice: .+ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:v\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 95\ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:r\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 96\ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -HipHop Notice: .+ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:vv\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 100\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -NULL\ -HipHop Notice: .+ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:vr\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 104\ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:rv\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 108\ -HipHop Notice: .+ -string\(11\)\ \"Ref\ changed\"\ -NULL\ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:rr\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 112\ -string\(12\)\ \"Ref1\ changed\"\ -string\(12\)\ \"Ref2\ changed\"\ -\ -\ -\ \-\-\-\-\ Pass\ by\ ref\ \/\ pass\ by\ val\:\ instance\ method\ calls\ \-\-\-\-\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -NULL\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -string\(11\)\ \"Ref\ changed\"\ -HipHop Notice: .+ -HipHop Notice: .+ -string\(11\)\ \"Ref\ changed\"\ -NULL\ -string\(12\)\ \"Ref1\ changed\"\ -string\(12\)\ \"Ref2\ changed\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_005.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_005.php.expectf new file mode 100644 index 000000000..bcd8b70b0 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_005.php.expectf @@ -0,0 +1,83 @@ +---- Pass by ref / pass by val: functions ---- +HipHop Notice: %a +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +NULL +NULL +HipHop Notice: %a +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a +HipHop Notice: %a +string(11) "Ref changed" +NULL +string(12) "Ref1 changed" +string(12) "Ref2 changed" + + + ---- Pass by ref / pass by val: static method calls ---- +HipHop Notice: %a + +Strict Standards: Non-static method C::v() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_005.php on line 95 + +Strict Standards: Non-static method C::r() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_005.php on line 96 +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a +HipHop Notice: %a + +Strict Standards: Non-static method C::vv() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_005.php on line 100 +HipHop Notice: %a +HipHop Notice: %a +NULL +NULL +HipHop Notice: %a + +Strict Standards: Non-static method C::vr() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_005.php on line 104 +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a + +Strict Standards: Non-static method C::rv() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_005.php on line 108 +HipHop Notice: %a +string(11) "Ref changed" +NULL + +Strict Standards: Non-static method C::rr() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_005.php on line 112 +string(12) "Ref1 changed" +string(12) "Ref2 changed" + + + ---- Pass by ref / pass by val: instance method calls ---- +HipHop Notice: %a +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +NULL +NULL +HipHop Notice: %a +HipHop Notice: %a +NULL +string(11) "Ref changed" +HipHop Notice: %a +HipHop Notice: %a +string(11) "Ref changed" +NULL +string(12) "Ref1 changed" +string(12) "Ref2 changed" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_006.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_006.php.exp deleted file mode 100644 index 4719dc59a..000000000 --- a/hphp/test/zend/bad/tests-lang/passByReference_006.php.exp +++ /dev/null @@ -1,138 +0,0 @@ -\-\-\-\-\ Pass\ uninitialised\ array\ \&\ object\ by\ ref\:\ function\ call\ \-\-\-\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(12\)\ \"Ref1\ changed\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[1\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref2\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(12\)\ \"Ref3\ changed\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref4\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \ \ \[\"c\"\]\=\>\ -\ \ \ \ \ \ string\(12\)\ \"Ref5\ changed\"\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -\ -\ \-\-\-\-\ Pass\ uninitialised\ arrays\ \&\ objects\ by\ ref\:\ static\ method\ call\ \-\-\-\ -\ -Strict\ Standards\:\ Non\-static\ method\ C\:\:refs\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_006\.php\ on\ line\ 39\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(12\)\ \"Ref1\ changed\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[1\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref2\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(12\)\ \"Ref3\ changed\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref4\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \ \ \[\"c\"\]\=\>\ -\ \ \ \ \ \ string\(12\)\ \"Ref5\ changed\"\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -\ -\ -\-\-\-\-\ Pass\ uninitialised\ arrays\ \&\ objects\ by\ ref\:\ constructor\ \-\-\-\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(12\)\ \"Ref1\ changed\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[1\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref2\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(12\)\ \"Ref3\ changed\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref4\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \ \ \[\"c\"\]\=\>\ -\ \ \ \ \ \ string\(12\)\ \"Ref5\ changed\"\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -\ -\ \-\-\-\-\ Pass\ uninitialised\ arrays\ \&\ objects\ by\ ref\:\ instance\ method\ call\ \-\-\-\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(12\)\ \"Ref1\ changed\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[1\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref2\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ string\(12\)\ \"Ref3\ changed\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ string\(12\)\ \"Ref4\ changed\"\ -\ \ \}\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"b\"\]\=\>\ -\ \ \ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \ \ \[\"c\"\]\=\>\ -\ \ \ \ \ \ string\(12\)\ \"Ref5\ changed\"\ -\ \ \ \ \}\ -\ \ \}\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_006.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_006.php.expectf new file mode 100644 index 000000000..dc8814343 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_006.php.expectf @@ -0,0 +1,138 @@ +---- Pass uninitialised array & object by ref: function call --- +array(1) { + [0]=> + string(12) "Ref1 changed" +} +array(1) { + [0]=> + array(1) { + [1]=> + string(12) "Ref2 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + string(12) "Ref3 changed" +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + string(12) "Ref4 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + object(stdClass)#%d (1) { + ["c"]=> + string(12) "Ref5 changed" + } + } +} + + ---- Pass uninitialised arrays & objects by ref: static method call --- + +Strict Standards: Non-static method C::refs() should not be called statically in hphp/test/zend/bad/tests-lang/passByReference_006.php on line 39 +array(1) { + [0]=> + string(12) "Ref1 changed" +} +array(1) { + [0]=> + array(1) { + [1]=> + string(12) "Ref2 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + string(12) "Ref3 changed" +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + string(12) "Ref4 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + object(stdClass)#%d (1) { + ["c"]=> + string(12) "Ref5 changed" + } + } +} + + +---- Pass uninitialised arrays & objects by ref: constructor --- +array(1) { + [0]=> + string(12) "Ref1 changed" +} +array(1) { + [0]=> + array(1) { + [1]=> + string(12) "Ref2 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + string(12) "Ref3 changed" +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + string(12) "Ref4 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + object(stdClass)#%d (1) { + ["c"]=> + string(12) "Ref5 changed" + } + } +} + + ---- Pass uninitialised arrays & objects by ref: instance method call --- +array(1) { + [0]=> + string(12) "Ref1 changed" +} +array(1) { + [0]=> + array(1) { + [1]=> + string(12) "Ref2 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + string(12) "Ref3 changed" +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + string(12) "Ref4 changed" + } +} +object(stdClass)#%d (1) { + ["a"]=> + object(stdClass)#%d (1) { + ["b"]=> + object(stdClass)#%d (1) { + ["c"]=> + string(12) "Ref5 changed" + } + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_007.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_007.php.exp deleted file mode 100644 index 968d4f90a..000000000 --- a/hphp/test/zend/bad/tests-lang/passByReference_007.php.exp +++ /dev/null @@ -1,26 +0,0 @@ -Pass\ a\ function\ call\ that\ returns\ a\ value\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_007\.php\ on\ line\ 44\ -string\(8\)\ \"original\"\ -string\(8\)\ \"original\"\ -Pass\ a\ function\ call\ that\ returns\ a\ reference\:\ -string\(8\)\ \"original\"\ -string\(7\)\ \"changed\"\ -\ -Pass\ a\ static\ method\ call\ that\ returns\ a\ value\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_007\.php\ on\ line\ 55\ -string\(8\)\ \"original\"\ -string\(8\)\ \"original\"\ -Pass\ a\ static\ method\ call\ that\ returns\ a\ reference\:\ -string\(8\)\ \"original\"\ -string\(7\)\ \"changed\"\ -\ -Pass\ a\ method\ call\ that\ returns\ a\ value\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_007\.php\ on\ line\ 67\ -string\(8\)\ \"original\"\ -string\(8\)\ \"original\"\ -Pass\ a\ method\ call\ that\ returns\ a\ reference\:\ -string\(8\)\ \"original\"\ -string\(7\)\ \"changed\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_007.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_007.php.expectf new file mode 100644 index 000000000..b6485754a --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_007.php.expectf @@ -0,0 +1,26 @@ +Pass a function call that returns a value: + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_007.php on line 44 +string(8) "original" +string(8) "original" +Pass a function call that returns a reference: +string(8) "original" +string(7) "changed" + +Pass a static method call that returns a value: + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_007.php on line 55 +string(8) "original" +string(8) "original" +Pass a static method call that returns a reference: +string(8) "original" +string(7) "changed" + +Pass a method call that returns a value: + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_007.php on line 67 +string(8) "original" +string(8) "original" +Pass a method call that returns a reference: +string(8) "original" +string(7) "changed" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/passByReference_008.php b/hphp/test/zend/bad/tests-lang/passByReference_008.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_008.php rename to hphp/test/zend/bad/tests-lang/passByReference_008.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_008.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_008.php.expectf new file mode 100644 index 000000000..3781822a7 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_008.php.expectf @@ -0,0 +1,10 @@ +-- Val, Ref -- +string(10) "original.a" +string(10) "original.a" +string(9) "changed.y" + + +-- Ref, Val -- +string(10) "original.b" +string(10) "original.b" +string(9) "changed.x" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_010.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_010.php.exp deleted file mode 100644 index e70bf2c4d..000000000 --- a/hphp/test/zend/bad/tests-lang/passByReference_010.php.exp +++ /dev/null @@ -1,24 +0,0 @@ -\-\-\-\>\ Pass\ constant\ assignment\ by\ reference\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_010\.php\ on\ line\ 9\ -string\(10\)\ \"a\.original\"\ -string\(10\)\ \"a\.original\"\ -\ -\ -\-\-\-\>\ Pass\ variable\ assignment\ by\ reference\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_010\.php\ on\ line\ 15\ -string\(10\)\ \"a\.original\"\ -string\(10\)\ \"a\.original\"\ -\ -\ -\-\-\-\>\ Pass\ reference\ assignment\ by\ reference\:\ -string\(10\)\ \"a\.original\"\ -string\(9\)\ \"a\.changed\"\ -\ -\ -\-\-\-\>\ Pass\ concat\ assignment\ by\ reference\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_010\.php\ on\ line\ 28\ -string\(20\)\ \"b\.originala\.original\"\ -string\(10\)\ \"a\.original\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_010.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_010.php.expectf new file mode 100644 index 000000000..eb5b14937 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_010.php.expectf @@ -0,0 +1,24 @@ +---> Pass constant assignment by reference: + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_010.php on line 9 +string(10) "a.original" +string(10) "a.original" + + +---> Pass variable assignment by reference: + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_010.php on line 15 +string(10) "a.original" +string(10) "a.original" + + +---> Pass reference assignment by reference: +string(10) "a.original" +string(9) "a.changed" + + +---> Pass concat assignment by reference: + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_010.php on line 28 +string(20) "b.originala.original" +string(10) "a.original" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_012.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_012.php.exp deleted file mode 100644 index 3baf1a797..000000000 --- a/hphp/test/zend/bad/tests-lang/passByReference_012.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_012\.php\ on\ line\ \d+\ -string\(3\)\ \"two\"\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_012\.php\ on\ line\ \d+\ -string\(3\)\ \"one\"\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_012.php.expectf b/hphp/test/zend/bad/tests-lang/passByReference_012.php.expectf new file mode 100644 index 000000000..70a6d037d --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_012.php.expectf @@ -0,0 +1,6 @@ +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_012.php on line %d +string(3) "two" + +Strict Standards: Only variables should be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_012.php on line %d +string(3) "one" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.002.php.exp b/hphp/test/zend/bad/tests-lang/returnByReference.002.php.exp deleted file mode 100644 index b944e508f..000000000 --- a/hphp/test/zend/bad/tests-lang/returnByReference.002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Only\ variables\ should\ be\ assigned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.002\.php\ on\ line\ 13\ -string\(8\)\ \"original\"\ -string\(7\)\ \"changed\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.002.php.expectf b/hphp/test/zend/bad/tests-lang/returnByReference.002.php.expectf new file mode 100644 index 000000000..043b6d024 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/returnByReference.002.php.expectf @@ -0,0 +1,3 @@ +Strict Standards: Only variables should be assigned by reference in hphp/test/zend/bad/tests-lang/returnByReference.002.php on line 13 +string(8) "original" +string(7) "changed" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.003.php.exp b/hphp/test/zend/bad/tests-lang/returnByReference.003.php.exp deleted file mode 100644 index 3a0ceacbf..000000000 --- a/hphp/test/zend/bad/tests-lang/returnByReference.003.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -\-\-\-\>\ 1\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ by\ value\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ assigned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.003\.php\ on\ line\ 17\ -int\(5\)\ -int\(100\)\ -\ -\-\-\-\>\ 2\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ a\ constant\ by\ ref\:\ -HipHop Notice: .+ -int\(5\)\ -int\(100\)\ -\ -\-\-\-\>\ 3\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ by\ ref\:\ -int\(5\)\ -int\(5\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.003.php.expectf b/hphp/test/zend/bad/tests-lang/returnByReference.003.php.expectf new file mode 100644 index 000000000..927f9dd5b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/returnByReference.003.php.expectf @@ -0,0 +1,14 @@ +---> 1. Trying to assign by reference the return value of a function that returns by value: + +Strict Standards: Only variables should be assigned by reference in hphp/test/zend/bad/tests-lang/returnByReference.003.php on line 17 +int(5) +int(100) + +---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: +HipHop Notice: %a +int(5) +int(100) + +---> 3. Trying to assign by reference the return value of a function that returns by ref: +int(5) +int(5) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.004.php.exp b/hphp/test/zend/bad/tests-lang/returnByReference.004.php.exp deleted file mode 100644 index 8957ca00c..000000000 --- a/hphp/test/zend/bad/tests-lang/returnByReference.004.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -\-\-\-\>\ 1\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ by\ value\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ assigned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.004\.php\ on\ line\ 19\ -int\(5\)\ -int\(100\)\ -\ -\-\-\-\>\ 2\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ a\ constant\ by\ ref\:\ -HipHop Notice: .+ -int\(5\)\ -int\(100\)\ -\ -\-\-\-\>\ 3\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ by\ ref\:\ -int\(5\)\ -int\(5\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.004.php.expectf b/hphp/test/zend/bad/tests-lang/returnByReference.004.php.expectf new file mode 100644 index 000000000..9b55205b2 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/returnByReference.004.php.expectf @@ -0,0 +1,14 @@ +---> 1. Trying to assign by reference the return value of a function that returns by value: + +Strict Standards: Only variables should be assigned by reference in hphp/test/zend/bad/tests-lang/returnByReference.004.php on line 19 +int(5) +int(100) + +---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: +HipHop Notice: %a +int(5) +int(100) + +---> 3. Trying to assign by reference the return value of a function that returns by ref: +int(5) +int(5) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.005.php.exp b/hphp/test/zend/bad/tests-lang/returnByReference.005.php.exp deleted file mode 100644 index 2ae87eb07..000000000 --- a/hphp/test/zend/bad/tests-lang/returnByReference.005.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -\-\-\-\>\ 1\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ by\ value\:\ -\ -Strict\ Standards\:\ Only\ variables\ should\ be\ assigned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.005\.php\ on\ line\ 20\ -int\(5\)\ -int\(100\)\ -\ -\-\-\-\>\ 2\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ a\ constant\ by\ ref\:\ -HipHop Notice: .+ -int\(5\)\ -int\(100\)\ -\ -\-\-\-\>\ 3\.\ Trying\ to\ assign\ by\ reference\ the\ return\ value\ of\ a\ function\ that\ returns\ by\ ref\:\ -int\(5\)\ -int\(5\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.005.php.expectf b/hphp/test/zend/bad/tests-lang/returnByReference.005.php.expectf new file mode 100644 index 000000000..9d68c1827 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/returnByReference.005.php.expectf @@ -0,0 +1,14 @@ +---> 1. Trying to assign by reference the return value of a function that returns by value: + +Strict Standards: Only variables should be assigned by reference in hphp/test/zend/bad/tests-lang/returnByReference.005.php on line 20 +int(5) +int(100) + +---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: +HipHop Notice: %a +int(5) +int(100) + +---> 3. Trying to assign by reference the return value of a function that returns by ref: +int(5) +int(5) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.009.php.exp b/hphp/test/zend/bad/tests-lang/returnByReference.009.php.exp deleted file mode 100644 index 8cf68a8c4..000000000 --- a/hphp/test/zend/bad/tests-lang/returnByReference.009.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -\-\-\-\>\ 1\.\ Return\ a\ variable\ by\ reference\ \-\>\ No\ warning\:\ -int\(1\)\ -\ -\-\-\-\>\ 2\.\ Return\ a\ value\ by\ reference\ \-\>\ HipHop Warning: .+ -HipHop Notice: .+ -int\(1\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/returnByReference.009.php.expectf b/hphp/test/zend/bad/tests-lang/returnByReference.009.php.expectf new file mode 100644 index 000000000..85be7adf3 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/returnByReference.009.php.expectf @@ -0,0 +1,6 @@ +---> 1. Return a variable by reference -> No warning: +int(1) + +---> 2. Return a value by reference -> HipHop Warning: %a +HipHop Notice: %a +int(1) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/static_basic_001.php b/hphp/test/zend/bad/tests-lang/static_basic_001.php similarity index 100% rename from hphp/test/zend/good/tests-lang/static_basic_001.php rename to hphp/test/zend/bad/tests-lang/static_basic_001.php diff --git a/hphp/test/zend/bad/tests-lang/static_basic_001.php.expectf b/hphp/test/zend/bad/tests-lang/static_basic_001.php.expectf new file mode 100644 index 000000000..d5bf19309 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/static_basic_001.php.expectf @@ -0,0 +1,35 @@ +Same variable used as static and non static. +--------- +0 +10 +--------- +0 +11 +--------- +0 +12 + +Lots of initialisations in the same statement. +------------- Call 0 -------------- +Unitialised : +Initialised to 10: 10 +Initialised to 20: 20 +Unitialised : +Initialised to 30: 30 +------------- Call 1 -------------- +Unitialised : 1 +Initialised to 10: 11 +Initialised to 20: 21 +Unitialised : 1 +Initialised to 30: 31 +------------- Call 2 -------------- +Unitialised : 2 +Initialised to 10: 12 +Initialised to 20: 22 +Unitialised : 2 +Initialised to 30: 32 + +Using static keyword at global scope + 10 +1 11 +2 12 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/string_decimals_001.php b/hphp/test/zend/bad/tests-lang/string_decimals_001.php similarity index 100% rename from hphp/test/zend/good/tests-lang/string_decimals_001.php rename to hphp/test/zend/bad/tests-lang/string_decimals_001.php diff --git a/hphp/test/zend/bad/tests-lang/string_decimals_001.php.expectf b/hphp/test/zend/bad/tests-lang/string_decimals_001.php.expectf new file mode 100644 index 000000000..c48996678 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/string_decimals_001.php.expectf @@ -0,0 +1,25 @@ +--> Testing ..9: +int(0) +float(0) +bool(false) + +--> Testing .9.: +int(0) +float(0.9) +bool(true) + +--> Testing 9..: +int(9) +float(9) +bool(true) + +--> Testing 9.9.: +int(9) +float(9.9) +bool(true) + +--> Testing 9.9.9: +int(9) +float(9.9) +bool(true) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/throw_variation_001.php.exp b/hphp/test/zend/bad/tests-lang/throw_variation_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-lang/throw_variation_001.php.exp rename to hphp/test/zend/bad/tests-lang/throw_variation_001.php.expectf diff --git a/hphp/test/zend/bad/tests-lang/type_hints_001.php.exp b/hphp/test/zend/bad/tests-lang/type_hints_001.php.exp deleted file mode 100644 index 2705d040b..000000000 --- a/hphp/test/zend/bad/tests-lang/type_hints_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ type\_hint\_foo\(\)\ must\ be\ an\ instance\ of\ Foo\,\ instance\ of\ Bar\ given\,\ called\ in\ hphp\/test\/zend\/bad\/tests\-lang\/type\_hints\_001\.php\ on\ line\ 16\ and\ defined\ in\ hphp\/test\/zend\/bad\/tests\-lang\/type\_hints\_001\.php\ on\ line\ 9 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/type_hints_001.php.expectf b/hphp/test/zend/bad/tests-lang/type_hints_001.php.expectf new file mode 100644 index 000000000..d7d3c97bc --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/type_hints_001.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to type_hint_foo() must be an instance of Foo, instance of Bar given, called in hphp/test/zend/bad/tests-lang/type_hints_001.php on line 16 and defined in hphp/test/zend/bad/tests-lang/type_hints_001.php on line 9 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/bug46897.php.exp b/hphp/test/zend/bad/tests-output/bug46897.php.exp deleted file mode 100644 index 443dea907..000000000 --- a/hphp/test/zend/bad/tests-output/bug46897.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -\[callback\:1\]Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ -HipHop Notice: .+ -bool\(false\)\ -string\(\d+\)\ \"Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ -HipHop Notice: .+ -bool\(false\)\ -\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/bug46897.php.expectf b/hphp/test/zend/bad/tests-output/bug46897.php.expectf new file mode 100644 index 000000000..3a0de0f5b --- /dev/null +++ b/hphp/test/zend/bad/tests-output/bug46897.php.expectf @@ -0,0 +1,8 @@ +[callback:1]Attempt to flush unerasable buffer - should fail... +HipHop Notice: %a +bool(false) +string(%d) "Attempt to flush unerasable buffer - should fail... +HipHop Notice: %a +bool(false) +" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/bug60282.php.exp b/hphp/test/zend/bad/tests-output/bug60282.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-output/bug60282.php.exp rename to hphp/test/zend/bad/tests-output/bug60282.php.expectf diff --git a/hphp/test/zend/bad/tests-output/bug60322.php.exp b/hphp/test/zend/bad/tests-output/bug60322.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-output/bug60322.php.exp rename to hphp/test/zend/bad/tests-output/bug60322.php.expectf diff --git a/hphp/test/zend/bad/tests-output/flush_error_001.php.exp b/hphp/test/zend/bad/tests-output/flush_error_001.php.exp deleted file mode 100644 index 51ba9b9f7..000000000 --- a/hphp/test/zend/bad/tests-output/flush_error_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Too\ many\ arguments\ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/flush_error_001.php.expectf b/hphp/test/zend/bad/tests-output/flush_error_001.php.expectf new file mode 100644 index 000000000..083c5d409 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/flush_error_001.php.expectf @@ -0,0 +1,2 @@ +Too many arguments +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_010.php.exp b/hphp/test/zend/bad/tests-output/ob_010.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-output/ob_010.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_010.php.expectf b/hphp/test/zend/bad/tests-output/ob_010.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_010.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_011.php.exp b/hphp/test/zend/bad/tests-output/ob_011.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-output/ob_011.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_011.php.expectf b/hphp/test/zend/bad/tests-output/ob_011.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_011.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_013.php.exp b/hphp/test/zend/bad/tests-output/ob_013.php.exp deleted file mode 100644 index aae20ebc1..000000000 --- a/hphp/test/zend/bad/tests-output/ob_013.php.exp +++ /dev/null @@ -1,77 +0,0 @@ -foo\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ default\ output\ handler\ -\ \ \ \ \[1\]\ \=\>\ a\ -\ \ \ \ \[2\]\ \=\>\ b\ -\ \ \ \ \[3\]\ \=\>\ c\ -\ \ \ \ \[4\]\ \=\>\ d\ -\)\ -Array\ -\(\ -\ \ \ \ \[name\]\ \=\>\ d\ -\ \ \ \ \[type\]\ \=\>\ 1\ -\ \ \ \ \[flags\]\ \=\>\ 20593\ -\ \ \ \ \[level\]\ \=\>\ 4\ -\ \ \ \ \[chunk\_size\]\ \=\>\ \d+\ -\ \ \ \ \[buffer\_size\]\ \=\>\ 16384\ -\ \ \ \ \[buffer\_used\]\ \=\>\ 96\ -\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[name\]\ \=\>\ default\ output\ handler\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ 0\ -\ \ \ \ \ \ \ \ \ \ \ \ \[flags\]\ \=\>\ 112\ -\ \ \ \ \ \ \ \ \ \ \ \ \[level\]\ \=\>\ 0\ -\ \ \ \ \ \ \ \ \ \ \ \ \[chunk\_size\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_size\]\ \=\>\ 16384\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_used\]\ \=\>\ 0\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[name\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \[flags\]\ \=\>\ 113\ -\ \ \ \ \ \ \ \ \ \ \ \ \[level\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \[chunk\_size\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_size\]\ \=\>\ 16384\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_used\]\ \=\>\ 0\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[name\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \[flags\]\ \=\>\ 113\ -\ \ \ \ \ \ \ \ \ \ \ \ \[level\]\ \=\>\ 2\ -\ \ \ \ \ \ \ \ \ \ \ \ \[chunk\_size\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_size\]\ \=\>\ 16384\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_used\]\ \=\>\ 0\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[name\]\ \=\>\ c\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \[flags\]\ \=\>\ 113\ -\ \ \ \ \ \ \ \ \ \ \ \ \[level\]\ \=\>\ 3\ -\ \ \ \ \ \ \ \ \ \ \ \ \[chunk\_size\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_size\]\ \=\>\ 16384\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_used\]\ \=\>\ 4\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[4\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[name\]\ \=\>\ d\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \[flags\]\ \=\>\ 20593\ -\ \ \ \ \ \ \ \ \ \ \ \ \[level\]\ \=\>\ 4\ -\ \ \ \ \ \ \ \ \ \ \ \ \[chunk\_size\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_size\]\ \=\>\ 16384\ -\ \ \ \ \ \ \ \ \ \ \ \ \[buffer\_used\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \)\ -\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_013.php.expectf b/hphp/test/zend/bad/tests-output/ob_013.php.expectf new file mode 100644 index 000000000..a3e8ddfa4 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_013.php.expectf @@ -0,0 +1,77 @@ +foo +Array +( + [0] => default output handler + [1] => a + [2] => b + [3] => c + [4] => d +) +Array +( + [name] => d + [type] => 1 + [flags] => 20593 + [level] => 4 + [chunk_size] => %d + [buffer_size] => 16384 + [buffer_used] => 96 +) +Array +( + [0] => Array + ( + [name] => default output handler + [type] => 0 + [flags] => 112 + [level] => 0 + [chunk_size] => %d + [buffer_size] => 16384 + [buffer_used] => 0 + ) + + [1] => Array + ( + [name] => a + [type] => 1 + [flags] => 113 + [level] => 1 + [chunk_size] => %d + [buffer_size] => 16384 + [buffer_used] => 0 + ) + + [2] => Array + ( + [name] => b + [type] => 1 + [flags] => 113 + [level] => 2 + [chunk_size] => %d + [buffer_size] => 16384 + [buffer_used] => 0 + ) + + [3] => Array + ( + [name] => c + [type] => 1 + [flags] => 113 + [level] => 3 + [chunk_size] => %d + [buffer_size] => 16384 + [buffer_used] => 4 + ) + + [4] => Array + ( + [name] => d + [type] => 1 + [flags] => 20593 + [level] => 4 + [chunk_size] => %d + [buffer_size] => 16384 + [buffer_used] => %d + ) + +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_014.php.exp b/hphp/test/zend/bad/tests-output/ob_014.php.exp deleted file mode 100644 index 02e068cc3..000000000 --- a/hphp/test/zend/bad/tests-output/ob_014.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -Array\ -\(\ -\ \ \ \ \[type\]\ \=\>\ 2\ -\ \ \ \ \[message\]\ \=\>\ str\_rot13\(\)\ expects\ exactly\ 1\ parameter\,\ 2\ given\ -\ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \[line\]\ \=\>\ 7\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_014.php.expectf b/hphp/test/zend/bad/tests-output/ob_014.php.expectf new file mode 100644 index 000000000..22a28074b --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_014.php.expectf @@ -0,0 +1,7 @@ +Array +( + [type] => 2 + [message] => str_rot13() expects exactly 1 parameter, 2 given + [file] => %s + [line] => 7 +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_015.php.exp b/hphp/test/zend/bad/tests-output/ob_015.php.exp deleted file mode 100644 index 02e068cc3..000000000 --- a/hphp/test/zend/bad/tests-output/ob_015.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -Array\ -\(\ -\ \ \ \ \[type\]\ \=\>\ 2\ -\ \ \ \ \[message\]\ \=\>\ str\_rot13\(\)\ expects\ exactly\ 1\ parameter\,\ 2\ given\ -\ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \[line\]\ \=\>\ 7\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_015.php.expectf b/hphp/test/zend/bad/tests-output/ob_015.php.expectf new file mode 100644 index 000000000..22a28074b --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_015.php.expectf @@ -0,0 +1,7 @@ +Array +( + [type] => 2 + [message] => str_rot13() expects exactly 1 parameter, 2 given + [file] => %s + [line] => 7 +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_017.php.exp b/hphp/test/zend/bad/tests-output/ob_017.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-output/ob_017.php.exp rename to hphp/test/zend/bad/tests-output/ob_017.php.expectf diff --git a/hphp/test/zend/bad/tests-output/ob_020.php.exp b/hphp/test/zend/bad/tests-output/ob_020.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-output/ob_020.php.exp rename to hphp/test/zend/bad/tests-output/ob_020.php.expectf diff --git a/hphp/test/zend/bad/tests-output/ob_clean_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_clean_basic_001.php.exp deleted file mode 100644 index 9a6b20d4a..000000000 --- a/hphp/test/zend/bad/tests-output/ob_clean_basic_001.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -\*\*\*\ Testing\ ob\_clean\(\)\ \:\ basic\ functionality\ \*\*\*\ -\ -\-\-\ Testing\ ob\_clean\(\)\ function\ with\ Zero\ arguments\ \-\-\ -HipHop Notice: .+ -bool\(false\)\ -string\(61\)\ \"bool\(true\)\ -Ensure\ the\ buffer\ is\ still\ active\ after\ the\ clean\.\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_clean_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_clean_basic_001.php.expectf new file mode 100644 index 000000000..db989ad7b --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_clean_basic_001.php.expectf @@ -0,0 +1,8 @@ +*** Testing ob_clean() : basic functionality *** + +-- Testing ob_clean() function with Zero arguments -- +HipHop Notice: %a +bool(false) +string(61) "bool(true) +Ensure the buffer is still active after the clean." +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.exp deleted file mode 100644 index 3dc0f7a4e..000000000 --- a/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -HipHop Notice: .+ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.expectf new file mode 100644 index 000000000..9e0122595 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.expectf @@ -0,0 +1,6 @@ +HipHop Notice: %a +bool(false) +bool(true) +bool(true) +HipHop Notice: %a +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_end_clean_error_001.php b/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_end_clean_error_001.php rename to hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php diff --git a/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.expectf new file mode 100644 index 000000000..06a142bcf --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.expectf @@ -0,0 +1,3 @@ +Too many arguments +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.exp deleted file mode 100644 index f76a3c7e4..000000000 --- a/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -\*\*\*\ Testing\ ob\_end\_flush\(\)\ \:\ basic\ functionality\ \*\*\*\ -\ -\-\-\ Testing\ ob\_end\_flush\(\)\ function\ with\ Zero\ arguments\ \-\-\ -HipHop Notice: .+ -bool\(false\)\ -bool\(true\)\ -Hello\ -bool\(true\)\ -HipHop Notice: .+ -bool\(false\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.expectf new file mode 100644 index 000000000..92b511d87 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.expectf @@ -0,0 +1,11 @@ +*** Testing ob_end_flush() : basic functionality *** + +-- Testing ob_end_flush() function with Zero arguments -- +HipHop Notice: %a +bool(false) +bool(true) +Hello +bool(true) +HipHop Notice: %a +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_flush_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_flush_basic_001.php.exp deleted file mode 100644 index 492774e96..000000000 --- a/hphp/test/zend/bad/tests-output/ob_flush_basic_001.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -\*\*\*\ Testing\ ob\_flush\(\)\ \:\ basic\ functionality\ \*\*\*\ -\ -\-\-\ Testing\ ob\_flush\(\)\ function\ with\ Zero\ arguments\ \-\-\ -HipHop Notice: .+ -bool\(false\)\ -This\ should\ get\ flushed\.\ -bool\(true\)\ -Ensure\ the\ buffer\ is\ still\ active\ after\ the\ flush\.\ -bool\(true\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_flush_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_flush_basic_001.php.expectf new file mode 100644 index 000000000..d4b2fbff1 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_flush_basic_001.php.expectf @@ -0,0 +1,10 @@ +*** Testing ob_flush() : basic functionality *** + +-- Testing ob_flush() function with Zero arguments -- +HipHop Notice: %a +bool(false) +This should get flushed. +bool(true) +Ensure the buffer is still active after the flush. +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_clean_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_clean_basic_001.php.exp deleted file mode 100644 index 45a1ace66..000000000 --- a/hphp/test/zend/bad/tests-output/ob_get_clean_basic_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -bool\(false\)\ -string\(11\)\ \"Hello\ World\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_clean_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_get_clean_basic_001.php.expectf new file mode 100644 index 000000000..db2e80f97 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_clean_basic_001.php.expectf @@ -0,0 +1,2 @@ +bool(false) +string(11) "Hello World" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_get_clean_error_001.php b/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_get_clean_error_001.php rename to hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php diff --git a/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.expectf new file mode 100644 index 000000000..06a142bcf --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.expectf @@ -0,0 +1,3 @@ +Too many arguments +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_contents_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_contents_basic_001.php.exp deleted file mode 100644 index 559c7ef4e..000000000 --- a/hphp/test/zend/bad/tests-output/ob_get_contents_basic_001.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -\*\*\*\ Testing\ ob\_get\_contents\(\)\ \:\ basic\ functionality\ \*\*\*\ -\ -\-\-\ Testing\ ob\_get\_contents\(\)\ function\ with\ Zero\ arguments\ \-\-\ -bool\(false\)\ -Hello\ World\ -string\(12\)\ \"Hello\ World\ -\"\ -\ -check\ that\ we\ dont\ have\ a\ reference\ -Hello\ World\ -string\(12\)\ \"Hello\ World\ -\"\ -\ -check\ that\ contents\ disappear\ after\ a\ flush\ -Hello\ World\ -string\(0\)\ \"\"\ -\ -check\ that\ no\ contents\ found\ after\ an\ end\ -Hello\ World\ -bool\(false\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_contents_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_get_contents_basic_001.php.expectf new file mode 100644 index 000000000..de4736310 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_contents_basic_001.php.expectf @@ -0,0 +1,21 @@ +*** Testing ob_get_contents() : basic functionality *** + +-- Testing ob_get_contents() function with Zero arguments -- +bool(false) +Hello World +string(12) "Hello World +" + +check that we dont have a reference +Hello World +string(12) "Hello World +" + +check that contents disappear after a flush +Hello World +string(0) "" + +check that no contents found after an end +Hello World +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_length_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_length_basic_001.php.exp deleted file mode 100644 index 52088cf1c..000000000 --- a/hphp/test/zend/bad/tests-output/ob_get_length_basic_001.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -No\ output\ buffers\ -bool\(false\)\ -int\(0\)\ -hello\ -int\(13\)\ -int\(0\)\ -int\(0\)\ -No\ output\ buffers\ -bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_length_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_get_length_basic_001.php.expectf new file mode 100644 index 000000000..a1da814ee --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_length_basic_001.php.expectf @@ -0,0 +1,9 @@ +No output buffers +bool(false) +int(0) +hello +int(13) +int(0) +int(0) +No output buffers +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_get_length_error_001.php b/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_get_length_error_001.php rename to hphp/test/zend/bad/tests-output/ob_get_length_error_001.php diff --git a/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php.expectf new file mode 100644 index 000000000..06a142bcf --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php.expectf @@ -0,0 +1,3 @@ +Too many arguments +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.exp deleted file mode 100644 index 7d181883e..000000000 --- a/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -\*\*\*\ Testing\ ob\_get\_level\(\)\ \:\ basic\ functionality\ \*\*\*\ -\ -\-\-\ Testing\ ob\_get\_level\(\)\ function\ with\ Zero\ arguments\ \-\-\ -int\(0\)\ -int\(1\)\ -int\(2\)\ -int\(1\)\ -int\(0\)\ -HipHop Notice: .+ -int\(0\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.expectf new file mode 100644 index 000000000..2a67737f9 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.expectf @@ -0,0 +1,11 @@ +*** Testing ob_get_level() : basic functionality *** + +-- Testing ob_get_level() function with Zero arguments -- +int(0) +int(1) +int(2) +int(1) +int(0) +HipHop Notice: %a +int(0) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_status.php.exp b/hphp/test/zend/bad/tests-output/ob_get_status.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-output/ob_get_status.php.exp rename to hphp/test/zend/bad/tests-output/ob_get_status.php.expectf diff --git a/hphp/test/zend/bad/tests-output/ob_implicit_flush_variation_001.php.exp b/hphp/test/zend/bad/tests-output/ob_implicit_flush_variation_001.php.exp deleted file mode 100644 index f8b865c6e..000000000 --- a/hphp/test/zend/bad/tests-output/ob_implicit_flush_variation_001.php.exp +++ /dev/null @@ -1,100 +0,0 @@ -\*\*\*\ Testing\ ob\_implicit\_flush\(\)\ \:\ usage\ variation\ \*\*\*\ -\ -\-\-float\ 10\.5\-\-\ -NULL\ -\ -\-\-float\ \-10\.5\-\-\ -NULL\ -\ -\-\-float\ 12\.3456789000e10\-\-\ -NULL\ -\ -\-\-float\ \-12\.3456789000e10\-\-\ -NULL\ -\ -\-\-float\ \.5\-\-\ -NULL\ -\ -\-\-empty\ array\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ array\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-int\ indexed\ array\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ array\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-associative\ array\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ array\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-nested\ arrays\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ array\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-uppercase\ NULL\-\-\ -NULL\ -\ -\-\-lowercase\ null\-\-\ -NULL\ -\ -\-\-lowercase\ true\-\-\ -NULL\ -\ -\-\-lowercase\ false\-\-\ -NULL\ -\ -\-\-uppercase\ TRUE\-\-\ -NULL\ -\ -\-\-uppercase\ FALSE\-\-\ -NULL\ -\ -\-\-empty\ string\ DQ\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ %unicode\_string\_optional%\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-empty\ string\ SQ\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ %unicode\_string\_optional%\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-string\ DQ\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ %unicode\_string\_optional%\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-string\ SQ\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ %unicode\_string\_optional%\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-mixed\ case\ string\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ %unicode\_string\_optional%\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-heredoc\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ %unicode\_string\_optional%\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-instance\ of\ classWithToString\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ object\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-instance\ of\ classWithoutToString\-\-\ -Error\:\ 2\ \-\ ob\_implicit\_flush\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ object\ given\,\ [^ -]+\(97\)\ -NULL\ -\ -\-\-undefined\ var\-\-\ -NULL\ -\ -\-\-unset\ var\-\-\ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_implicit_flush_variation_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_implicit_flush_variation_001.php.expectf new file mode 100644 index 000000000..e0d6afca2 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_implicit_flush_variation_001.php.expectf @@ -0,0 +1,88 @@ +*** Testing ob_implicit_flush() : usage variation *** + +--float 10.5-- +NULL + +--float -10.5-- +NULL + +--float 12.3456789000e10-- +NULL + +--float -12.3456789000e10-- +NULL + +--float .5-- +NULL + +--empty array-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, array given, %s(97) +NULL + +--int indexed array-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, array given, %s(97) +NULL + +--associative array-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, array given, %s(97) +NULL + +--nested arrays-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, array given, %s(97) +NULL + +--uppercase NULL-- +NULL + +--lowercase null-- +NULL + +--lowercase true-- +NULL + +--lowercase false-- +NULL + +--uppercase TRUE-- +NULL + +--uppercase FALSE-- +NULL + +--empty string DQ-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, %unicode_string_optional% given, %s(97) +NULL + +--empty string SQ-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, %unicode_string_optional% given, %s(97) +NULL + +--string DQ-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, %unicode_string_optional% given, %s(97) +NULL + +--string SQ-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, %unicode_string_optional% given, %s(97) +NULL + +--mixed case string-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, %unicode_string_optional% given, %s(97) +NULL + +--heredoc-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, %unicode_string_optional% given, %s(97) +NULL + +--instance of classWithToString-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, object given, %s(97) +NULL + +--instance of classWithoutToString-- +Error: 2 - ob_implicit_flush() expects parameter 1 to be long, object given, %s(97) +NULL + +--undefined var-- +NULL + +--unset var-- +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.exp deleted file mode 100644 index 0f7c4aee6..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -\-\-\>\ Use\ callback\ \'return\_empty\_string\'\:\ -\ -\ -\-\-\>\ Use\ callback\ \'return\_false\'\:\ -My\ output\.\ -\ -\-\-\>\ Use\ callback\ \'return\_null\'\:\ -\ -\ -\-\-\>\ Use\ callback\ \'return\_string\'\:\ -I\ stole\ your\ output\.\ -\ -\-\-\>\ Use\ callback\ \'return\_zero\'\:\ -0\ -\ -\=\=DONE\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.expectf new file mode 100644 index 000000000..20d0312e7 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.expectf @@ -0,0 +1,16 @@ +--> Use callback 'return_empty_string': + + +--> Use callback 'return_false': +My output. + +--> Use callback 'return_null': + + +--> Use callback 'return_string': +I stole your output. + +--> Use callback 'return_zero': +0 + +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_003.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_003.php.exp deleted file mode 100644 index da52ef4be..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -I\ have\ stolen\ your\ output \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_003.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_003.php.expectf new file mode 100644 index 000000000..2aab1e250 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_003.php.expectf @@ -0,0 +1 @@ +I have stolen your output \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_004.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_004.php.exp deleted file mode 100644 index 7294cb3ce..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_004.php.exp +++ /dev/null @@ -1,97 +0,0 @@ -\-\-\-\-\(\ chunk\_size\:\ \-1\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -\ -\-\-\-\-\(\ chunk\_size\:\ 0\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -\ -\-\-\-\-\(\ chunk\_size\:\ 1\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:1\]1\ -f\[call\:2\;\ len\:1\]2\ -f\[call\:3\;\ len\:1\]3\ -f\[call\:4\;\ len\:1\]4\ -f\[call\:5\;\ len\:1\]5\ -f\[call\:6\;\ len\:1\]6\ -f\[call\:7\;\ len\:1\]7\ -f\[call\:8\;\ len\:1\]8\ -f\[call\:9\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 2\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:2\]12\ -f\[call\:2\;\ len\:2\]34\ -f\[call\:3\;\ len\:2\]56\ -f\[call\:4\;\ len\:2\]78\ -f\[call\:5\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 3\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:3\]123\ -f\[call\:2\;\ len\:3\]456\ -f\[call\:3\;\ len\:2\]78\ -\ -\-\-\-\-\(\ chunk\_size\:\ 4\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:4\]1234\ -f\[call\:2\;\ len\:4\]5678\ -f\[call\:3\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 5\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:5\]12345\ -f\[call\:2\;\ len\:3\]678\ -\ -\-\-\-\-\(\ chunk\_size\:\ 6\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:6\]123456\ -f\[call\:2\;\ len\:2\]78\ -\ -\-\-\-\-\(\ chunk\_size\:\ 7\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:7\]1234567\ -f\[call\:2\;\ len\:1\]8\ -\ -\-\-\-\-\(\ chunk\_size\:\ 8\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -f\[call\:2\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 9\,\ output\ append\ size\:\ 1\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -\ -\-\-\-\-\(\ chunk\_size\:\ \-1\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -\ -\-\-\-\-\(\ chunk\_size\:\ 0\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -\ -\-\-\-\-\(\ chunk\_size\:\ 1\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:4\]1234\ -f\[call\:2\;\ len\:4\]5678\ -f\[call\:3\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 2\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:4\]1234\ -f\[call\:2\;\ len\:4\]5678\ -f\[call\:3\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 3\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:4\]1234\ -f\[call\:2\;\ len\:4\]5678\ -f\[call\:3\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 4\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:4\]1234\ -f\[call\:2\;\ len\:4\]5678\ -f\[call\:3\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 5\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -f\[call\:2\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 6\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -f\[call\:2\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 7\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -f\[call\:2\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 8\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678\ -f\[call\:2\;\ len\:0\]\ -\ -\-\-\-\-\(\ chunk\_size\:\ 9\,\ output\ append\ size\:\ 4\ \)\-\-\-\-\ -f\[call\:1\;\ len\:8\]12345678 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_004.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_004.php.expectf new file mode 100644 index 000000000..8ffc421a8 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_004.php.expectf @@ -0,0 +1,97 @@ +----( chunk_size: -1, output append size: 1 )---- +f[call:1; len:8]12345678 + +----( chunk_size: 0, output append size: 1 )---- +f[call:1; len:8]12345678 + +----( chunk_size: 1, output append size: 1 )---- +f[call:1; len:1]1 +f[call:2; len:1]2 +f[call:3; len:1]3 +f[call:4; len:1]4 +f[call:5; len:1]5 +f[call:6; len:1]6 +f[call:7; len:1]7 +f[call:8; len:1]8 +f[call:9; len:0] + +----( chunk_size: 2, output append size: 1 )---- +f[call:1; len:2]12 +f[call:2; len:2]34 +f[call:3; len:2]56 +f[call:4; len:2]78 +f[call:5; len:0] + +----( chunk_size: 3, output append size: 1 )---- +f[call:1; len:3]123 +f[call:2; len:3]456 +f[call:3; len:2]78 + +----( chunk_size: 4, output append size: 1 )---- +f[call:1; len:4]1234 +f[call:2; len:4]5678 +f[call:3; len:0] + +----( chunk_size: 5, output append size: 1 )---- +f[call:1; len:5]12345 +f[call:2; len:3]678 + +----( chunk_size: 6, output append size: 1 )---- +f[call:1; len:6]123456 +f[call:2; len:2]78 + +----( chunk_size: 7, output append size: 1 )---- +f[call:1; len:7]1234567 +f[call:2; len:1]8 + +----( chunk_size: 8, output append size: 1 )---- +f[call:1; len:8]12345678 +f[call:2; len:0] + +----( chunk_size: 9, output append size: 1 )---- +f[call:1; len:8]12345678 + +----( chunk_size: -1, output append size: 4 )---- +f[call:1; len:8]12345678 + +----( chunk_size: 0, output append size: 4 )---- +f[call:1; len:8]12345678 + +----( chunk_size: 1, output append size: 4 )---- +f[call:1; len:4]1234 +f[call:2; len:4]5678 +f[call:3; len:0] + +----( chunk_size: 2, output append size: 4 )---- +f[call:1; len:4]1234 +f[call:2; len:4]5678 +f[call:3; len:0] + +----( chunk_size: 3, output append size: 4 )---- +f[call:1; len:4]1234 +f[call:2; len:4]5678 +f[call:3; len:0] + +----( chunk_size: 4, output append size: 4 )---- +f[call:1; len:4]1234 +f[call:2; len:4]5678 +f[call:3; len:0] + +----( chunk_size: 5, output append size: 4 )---- +f[call:1; len:8]12345678 +f[call:2; len:0] + +----( chunk_size: 6, output append size: 4 )---- +f[call:1; len:8]12345678 +f[call:2; len:0] + +----( chunk_size: 7, output append size: 4 )---- +f[call:1; len:8]12345678 +f[call:2; len:0] + +----( chunk_size: 8, output append size: 4 )---- +f[call:1; len:8]12345678 +f[call:2; len:0] + +----( chunk_size: 9, output append size: 4 )---- +f[call:1; len:8]12345678 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.exp deleted file mode 100644 index 15d42a830..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -HipHop Warning: .+ -bool\(true\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ C\:\:h\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.expectf new file mode 100644 index 000000000..506ace654 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.expectf @@ -0,0 +1,6 @@ +HipHop Warning: %a +bool(true) +Array +( + [0] => C::h +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_006.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_006.php.exp deleted file mode 100644 index cb298ea7c..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_006.php.exp +++ /dev/null @@ -1,49 +0,0 @@ -\-\-\-\>\ Test\ arrays\:\ \ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -Array\ -\(\ -\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -Array\ -\(\ -\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -Array\ -\(\ -\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -Array\ -\(\ -\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -Array\ -\(\ -\)\ -C\:\:h\[call\:1\;\ len\:37\;\ id\:originalID\]\ \-\ bool\(true\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ C\:\:h\ -\)\ -\ -C\:\:h\[call\:2\;\ len\:37\;\ id\:changedID\]\ \-\ bool\(true\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ C\:\:h\ -\)\ -\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -Array\ -\(\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_006.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_006.php.expectf new file mode 100644 index 000000000..30604022d --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_006.php.expectf @@ -0,0 +1,49 @@ +---> Test arrays: +HipHop Warning: %a +HipHop Notice: %a +bool(false) +Array +( +) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +Array +( +) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +Array +( +) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +Array +( +) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +Array +( +) +C::h[call:1; len:37; id:originalID] - bool(true) +Array +( + [0] => C::h +) + +C::h[call:2; len:37; id:changedID] - bool(true) +Array +( + [0] => C::h +) + +HipHop Warning: %a +HipHop Notice: %a +bool(false) +Array +( +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php.exp deleted file mode 100644 index d56fb3f43..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -\[callback\:1\]All\ of\ the\ following\ calls\ will\ fail\ to\ clean\/remove\ the\ topmost\ buffer\:\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -The\ OB\ nesting\ will\ still\ be\ 1\ level\ deep\:\ -int\(1\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php.expectf new file mode 100644 index 000000000..9bc194d01 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php.expectf @@ -0,0 +1,9 @@ +[callback:1]All of the following calls will fail to clean/remove the topmost buffer: +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +The OB nesting will still be 1 level deep: +int(1) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php.exp deleted file mode 100644 index f2cbeb0b2..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -\[callback\:1\]This\ call\ will\ obtain\ the\ content\,\ but\ will\ not\ clean\ the\ buffer\.\ -HipHop Notice: .+ -HipHop Notice: .+ -string\(65\)\ \"This\ call\ will\ obtain\ the\ content\,\ but\ will\ not\ clean\ the\ buffer\.\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php.expectf new file mode 100644 index 000000000..acec4210a --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php.expectf @@ -0,0 +1,4 @@ +[callback:1]This call will obtain the content, but will not clean the buffer. +HipHop Notice: %a +HipHop Notice: %a +string(65) "This call will obtain the content, but will not clean the buffer." \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php.exp deleted file mode 100644 index cc2cdf40c..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -\[callback\:1\]This\ call\ will\ obtain\ the\ content\,\ but\ will\ not\ flush\ the\ buffer\.\ -HipHop Notice: .+ -HipHop Notice: .+ -string\(65\)\ \"This\ call\ will\ obtain\ the\ content\,\ but\ will\ not\ flush\ the\ buffer\.\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php.expectf new file mode 100644 index 000000000..11a2b1461 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php.expectf @@ -0,0 +1,4 @@ +[callback:1]This call will obtain the content, but will not flush the buffer. +HipHop Notice: %a +HipHop Notice: %a +string(65) "This call will obtain the content, but will not flush the buffer." \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php.exp deleted file mode 100644 index f8e114ac0..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -\[callback\:1\]Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ \ -HipHop Notice: .+ -bool\(false\)\ -string\(\d+\)\ \"Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ \ -HipHop Notice: .+ -bool\(false\)\ -\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php.expectf new file mode 100644 index 000000000..4d2bc38c1 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php.expectf @@ -0,0 +1,7 @@ +[callback:1]Attempt to flush unerasable buffer - should fail... +HipHop Notice: %a +bool(false) +string(%d) "Attempt to flush unerasable buffer - should fail... +HipHop Notice: %a +bool(false) +" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_start_error_001.php.exp deleted file mode 100644 index 7faf1157d..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_error_001.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -\-\ Too\ many\ arguments\ -HipHop Warning: .+ -NULL\ -\ -\-\ Arg\ 1\ wrong\ type\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -\ -\-\ Arg\ 2\ wrong\ type\ -HipHop Warning: .+ -NULL\ -\ -\-\ Arg\ 3\ wrong\ type\ -HipHop Warning: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_001.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_error_001.php.expectf new file mode 100644 index 000000000..ff628c057 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_error_001.php.expectf @@ -0,0 +1,16 @@ +- Too many arguments +HipHop Warning: %a +NULL + +- Arg 1 wrong type +HipHop Warning: %a +HipHop Notice: %a +bool(false) + +- Arg 2 wrong type +HipHop Warning: %a +NULL + +- Arg 3 wrong type +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_002.php.exp b/hphp/test/zend/bad/tests-output/ob_start_error_002.php.exp deleted file mode 100644 index 238242395..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_error_002.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_002.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_error_002.php.expectf new file mode 100644 index 000000000..f862683ac --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_error_002.php.expectf @@ -0,0 +1,13 @@ +HipHop Warning: %a +HipHop Notice: %a +bool(false) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +HipHop Warning: %a +HipHop Notice: %a +bool(false) +done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_003.php.exp b/hphp/test/zend/bad/tests-output/ob_start_error_003.php.exp deleted file mode 100644 index 8ae298edb..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_error_003.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_003.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_error_003.php.expectf new file mode 100644 index 000000000..1c5e44f11 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_error_003.php.expectf @@ -0,0 +1,4 @@ +HipHop Warning: %a +HipHop Notice: %a +bool(false) +done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_004.php.exp b/hphp/test/zend/bad/tests-output/ob_start_error_004.php.exp deleted file mode 100644 index 8ae298edb..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_error_004.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Warning: .+ -HipHop Notice: .+ -bool\(false\)\ -done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_004.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_error_004.php.expectf new file mode 100644 index 000000000..1c5e44f11 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_error_004.php.expectf @@ -0,0 +1,4 @@ +HipHop Warning: %a +HipHop Notice: %a +bool(false) +done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_005.php.exp b/hphp/test/zend/bad/tests-output/ob_start_error_005.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/tests-output/ob_start_error_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_start_error_005.php.expectf b/hphp/test/zend/bad/tests-output/ob_start_error_005.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_error_005.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-run-test/test005.php.exp b/hphp/test/zend/bad/tests-run-test/test005.php.exp deleted file mode 100644 index 5c5809ab8..000000000 --- a/hphp/test/zend/bad/tests-run-test/test005.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -string\(1\)\ \"1\"\ -string\(5\)\ \"32767\"\ -string\(1\)\ \"0\"\ -string\(1\)\ \"1\"\ -string\(1\)\ \"0\"\ -NULL\ -string\(\d+\)\ \"[^ -]+ivision\ by\ zer[^ -]+\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-run-test/test005.php.expectf b/hphp/test/zend/bad/tests-run-test/test005.php.expectf new file mode 100644 index 000000000..42b2f6924 --- /dev/null +++ b/hphp/test/zend/bad/tests-run-test/test005.php.expectf @@ -0,0 +1,7 @@ +string(1) "1" +string(5) "32767" +string(1) "0" +string(1) "1" +string(1) "0" +NULL +string(%d) "%sivision by zer%s" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-run-test/test007.php.exp b/hphp/test/zend/bad/tests-run-test/test007.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-run-test/test007.php.exp rename to hphp/test/zend/bad/tests-run-test/test007.php.expectf diff --git a/hphp/test/zend/bad/tests-run-test/test008.php.exp b/hphp/test/zend/bad/tests-run-test/test008.php.exp deleted file mode 100644 index 2938774dc..000000000 --- a/hphp/test/zend/bad/tests-run-test/test008.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -[^ -]+\:\ [^ -]+ivision\ by\ zero\ in\ hphp\/test\/zend\/bad\/tests\-run\-test\/test008\.php\ on\ line\ \d+\ -string\(1\)\ \"1\"\ -string\(4\)\ \"8191\"\ -string\(1\)\ \"0\"\ -string\(1\)\ \"1\"\ -string\(1\)\ \"0\"\ -string\(\d+\)\ \"[^ -]+ivision\ by\ zer[^ -]+\"\ -string\(\d+\)\ \"[^ -]+ivision\ by\ zer[^ -]+\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-run-test/test008.php.expectf b/hphp/test/zend/bad/tests-run-test/test008.php.expectf new file mode 100644 index 000000000..4ca7c013e --- /dev/null +++ b/hphp/test/zend/bad/tests-run-test/test008.php.expectf @@ -0,0 +1,8 @@ +%s: %sivision by zero in hphp/test/zend/bad/tests-run-test/test008.php on line %d +string(1) "1" +string(4) "8191" +string(1) "0" +string(1) "1" +string(1) "0" +string(%d) "%sivision by zer%s" +string(%d) "%sivision by zer%s" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-run-test/test008a.php.exp b/hphp/test/zend/bad/tests-run-test/test008a.php.exp deleted file mode 100644 index 5c5809ab8..000000000 --- a/hphp/test/zend/bad/tests-run-test/test008a.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -string\(1\)\ \"1\"\ -string\(5\)\ \"32767\"\ -string\(1\)\ \"0\"\ -string\(1\)\ \"1\"\ -string\(1\)\ \"0\"\ -NULL\ -string\(\d+\)\ \"[^ -]+ivision\ by\ zer[^ -]+\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-run-test/test008a.php.expectf b/hphp/test/zend/bad/tests-run-test/test008a.php.expectf new file mode 100644 index 000000000..42b2f6924 --- /dev/null +++ b/hphp/test/zend/bad/tests-run-test/test008a.php.expectf @@ -0,0 +1,7 @@ +string(1) "1" +string(5) "32767" +string(1) "0" +string(1) "1" +string(1) "0" +NULL +string(%d) "%sivision by zer%s" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.exp b/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.exp deleted file mode 100644 index 593cd2b0a..000000000 --- a/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -\*\*\*\ Testing\ open\_basedir\ configuration\ \[linkinfo\]\ \*\*\*\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -int\(\d+\)\ -int\(\d+\)\ -int\(\d+\)\ -int\(\d+\)\ -int\(\d+\)\ -HipHop Warning: .+ -bool\(false\)\ -int\(\d+\)\ -bool\(true\)\ -\*\*\*\ Finished\ testing\ open\_basedir\ configuration\ \[linkinfo\]\ \*\*\* \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.expectf b/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.expectf new file mode 100644 index 000000000..82977e126 --- /dev/null +++ b/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.expectf @@ -0,0 +1,16 @@ +*** Testing open_basedir configuration [linkinfo] *** +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +int(%d) +int(%d) +int(%d) +int(%d) +int(%d) +HipHop Warning: %a +bool(false) +int(%d) +bool(true) +*** Finished testing open_basedir configuration [linkinfo] *** \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.exp b/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.exp deleted file mode 100644 index 36f32a88d..000000000 --- a/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -\*\*\*\ Testing\ open\_basedir\ configuration\ \[readlink\]\ \*\*\*\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -\*\*\*\ Finished\ testing\ open\_basedir\ configuration\ \[readlink\]\ \*\*\* \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.expectf b/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.expectf new file mode 100644 index 000000000..733e0957b --- /dev/null +++ b/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.expectf @@ -0,0 +1,21 @@ +*** Testing open_basedir configuration [readlink] *** +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +*** Finished testing open_basedir configuration [readlink] *** \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-strings/001.php.exp b/hphp/test/zend/bad/tests-strings/001.php.expectf similarity index 100% rename from hphp/test/zend/bad/tests-strings/001.php.exp rename to hphp/test/zend/bad/tests-strings/001.php.expectf diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.exp b/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.exp deleted file mode 100644 index 58e3d6864..000000000 --- a/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -[^ -]+tests[^ -]+constants \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.expectf b/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.expectf new file mode 100644 index 000000000..2f9ce6a9b --- /dev/null +++ b/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.expectf @@ -0,0 +1 @@ +%stests%sconstants \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.exp b/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.exp deleted file mode 100644 index 27eec818f..000000000 --- a/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.exp +++ /dev/null @@ -1,46 +0,0 @@ -[^ -]+tests[^ -]+constants\ -[^ -]+tests[^ -]+constants\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.expectf b/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.expectf new file mode 100644 index 000000000..62ba62ef2 --- /dev/null +++ b/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.expectf @@ -0,0 +1,10 @@ +%stests%sconstants +%stests%sconstants +%stests%sconstants%sfixtures%sfolder1 +%stests%sconstants%sfixtures%sfolder1 +%stests%sconstants%sfixtures%sfolder2 +%stests%sconstants%sfixtures%sfolder2 +%stests%sconstants%sfixtures%sfolder3 +%stests%sconstants%sfixtures%sfolder3 +%stests%sconstants%sfixtures%sfolder4 +%stests%sconstants%sfixtures%sfolder4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.exp b/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.exp deleted file mode 100644 index 846cf2478..000000000 --- a/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.exp +++ /dev/null @@ -1,238 +0,0 @@ -[^ -]+tests[^ -]+constants\ -[^ -]+tests[^ -]+constants\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder1[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder2[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder3[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder1\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder2\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder3\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder4\ -[^ -]+tests[^ -]+constants[^ -]+fixtures[^ -]+folder4[^ -]+subfolder4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.expectf b/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.expectf new file mode 100644 index 000000000..d1b7f7119 --- /dev/null +++ b/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.expectf @@ -0,0 +1,42 @@ +%stests%sconstants +%stests%sconstants +%stests%sconstants%sfixtures%sfolder1 +%stests%sconstants%sfixtures%sfolder1 +%stests%sconstants%sfixtures%sfolder1%ssubfolder1 +%stests%sconstants%sfixtures%sfolder1%ssubfolder1 +%stests%sconstants%sfixtures%sfolder1%ssubfolder2 +%stests%sconstants%sfixtures%sfolder1%ssubfolder2 +%stests%sconstants%sfixtures%sfolder1%ssubfolder3 +%stests%sconstants%sfixtures%sfolder1%ssubfolder3 +%stests%sconstants%sfixtures%sfolder1%ssubfolder4 +%stests%sconstants%sfixtures%sfolder1%ssubfolder4 +%stests%sconstants%sfixtures%sfolder2 +%stests%sconstants%sfixtures%sfolder2 +%stests%sconstants%sfixtures%sfolder2%ssubfolder1 +%stests%sconstants%sfixtures%sfolder2%ssubfolder1 +%stests%sconstants%sfixtures%sfolder2%ssubfolder2 +%stests%sconstants%sfixtures%sfolder2%ssubfolder2 +%stests%sconstants%sfixtures%sfolder2%ssubfolder3 +%stests%sconstants%sfixtures%sfolder2%ssubfolder3 +%stests%sconstants%sfixtures%sfolder2%ssubfolder4 +%stests%sconstants%sfixtures%sfolder2%ssubfolder4 +%stests%sconstants%sfixtures%sfolder3 +%stests%sconstants%sfixtures%sfolder3 +%stests%sconstants%sfixtures%sfolder3%ssubfolder1 +%stests%sconstants%sfixtures%sfolder3%ssubfolder1 +%stests%sconstants%sfixtures%sfolder3%ssubfolder2 +%stests%sconstants%sfixtures%sfolder3%ssubfolder2 +%stests%sconstants%sfixtures%sfolder3%ssubfolder3 +%stests%sconstants%sfixtures%sfolder3%ssubfolder3 +%stests%sconstants%sfixtures%sfolder3%ssubfolder4 +%stests%sconstants%sfixtures%sfolder3%ssubfolder4 +%stests%sconstants%sfixtures%sfolder4 +%stests%sconstants%sfixtures%sfolder4 +%stests%sconstants%sfixtures%sfolder4%ssubfolder1 +%stests%sconstants%sfixtures%sfolder4%ssubfolder1 +%stests%sconstants%sfixtures%sfolder4%ssubfolder2 +%stests%sconstants%sfixtures%sfolder4%ssubfolder2 +%stests%sconstants%sfixtures%sfolder4%ssubfolder3 +%stests%sconstants%sfixtures%sfolder4%ssubfolder3 +%stests%sconstants%sfixtures%sfolder4%ssubfolder4 +%stests%sconstants%sfixtures%sfolder4%ssubfolder4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.exp b/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.exp deleted file mode 100644 index 54b644740..000000000 --- a/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -[^ -]+tests[^ -]+constants\ -[^ -]+tests[^ -]+constants \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.expectf b/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.expectf new file mode 100644 index 000000000..7d230270a --- /dev/null +++ b/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.expectf @@ -0,0 +1,2 @@ +%stests%sconstants +%stests%sconstants \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.exp b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.expectf b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.exp b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.expectf b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55214.php.exp b/hphp/test/zend/bad/zend-traits/bug55214.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend-traits/bug55214.php.exp rename to hphp/test/zend/bad/zend-traits/bug55214.php.expectf diff --git a/hphp/test/zend/bad/zend-traits/bug55554a.php.exp b/hphp/test/zend/bad/zend-traits/bug55554a.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend-traits/bug55554a.php.exp rename to hphp/test/zend/bad/zend-traits/bug55554a.php.expectf diff --git a/hphp/test/zend/bad/zend-traits/bug55554b.php.exp b/hphp/test/zend/bad/zend-traits/bug55554b.php.exp deleted file mode 100644 index bdbd27fb6..000000000 --- a/hphp/test/zend/bad/zend-traits/bug55554b.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -OverridingIsSilent1\ \_\_construct\ -OverridingIsSilent2\ OverridingIsSilent2\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554b.php.expectf b/hphp/test/zend/bad/zend-traits/bug55554b.php.expectf new file mode 100644 index 000000000..64ab0d4f0 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug55554b.php.expectf @@ -0,0 +1,3 @@ +OverridingIsSilent1 __construct +OverridingIsSilent2 OverridingIsSilent2 +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554d.php.exp b/hphp/test/zend/bad/zend-traits/bug55554d.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/bug55554d.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554d.php.expectf b/hphp/test/zend/bad/zend-traits/bug55554d.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug55554d.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554f.php.exp b/hphp/test/zend/bad/zend-traits/bug55554f.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/bug55554f.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554f.php.expectf b/hphp/test/zend/bad/zend-traits/bug55554f.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug55554f.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554g.php.exp b/hphp/test/zend/bad/zend-traits/bug55554g.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/bug55554g.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554g.php.expectf b/hphp/test/zend/bad/zend-traits/bug55554g.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug55554g.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60217b.php.exp b/hphp/test/zend/bad/zend-traits/bug60217b.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/bug60217b.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60217b.php.expectf b/hphp/test/zend/bad/zend-traits/bug60217b.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug60217b.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60217c.php.exp b/hphp/test/zend/bad/zend-traits/bug60217c.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/bug60217c.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60217c.php.expectf b/hphp/test/zend/bad/zend-traits/bug60217c.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug60217c.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/get_declared_traits_001.php.exp b/hphp/test/zend/bad/zend-traits/get_declared_traits_001.php.exp deleted file mode 100644 index 3026e4d7f..000000000 --- a/hphp/test/zend/bad/zend-traits/get_declared_traits_001.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -array(1) { - [0]=> - string(1) "c" -} diff --git a/hphp/test/zend/bad/zend-traits/get_declared_traits_001.php.expectf b/hphp/test/zend/bad/zend-traits/get_declared_traits_001.php.expectf new file mode 100644 index 000000000..e996f48d5 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/get_declared_traits_001.php.expectf @@ -0,0 +1,4 @@ +array(1) { + [0]=> + string(1) "c" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/get_declared_traits_002.php.exp b/hphp/test/zend/bad/zend-traits/get_declared_traits_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend-traits/get_declared_traits_002.php.exp rename to hphp/test/zend/bad/zend-traits/get_declared_traits_002.php.expectf diff --git a/hphp/test/zend/bad/zend-traits/get_declared_traits_003.php.exp b/hphp/test/zend/bad/zend-traits/get_declared_traits_003.php.exp deleted file mode 100644 index d6b68fad0..000000000 --- a/hphp/test/zend/bad/zend-traits/get_declared_traits_003.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -.+string\(1\)\ \"a\"\ -\ \ \[\d+\]\=\>\ -\ \ string\(1\)\ \"d\"\ -\ \ \[\d+\]\=\>\ -\ \ string\(1\)\ \"e\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(1\)\ \"c\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/get_declared_traits_003.php.expectf b/hphp/test/zend/bad/zend-traits/get_declared_traits_003.php.expectf new file mode 100644 index 000000000..29c748fc2 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/get_declared_traits_003.php.expectf @@ -0,0 +1,10 @@ +%astring(1) "a" + [%d]=> + string(1) "d" + [%d]=> + string(1) "e" +} +array(1) { + [0]=> + string(1) "c" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language008b.php.exp b/hphp/test/zend/bad/zend-traits/language008b.php.exp deleted file mode 100644 index 5878a0ed4..000000000 --- a/hphp/test/zend/bad/zend-traits/language008b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Hello\ World\!Hello\ World\!\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language008b.php.expectf b/hphp/test/zend/bad/zend-traits/language008b.php.expectf new file mode 100644 index 000000000..639044cf4 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/language008b.php.expectf @@ -0,0 +1,2 @@ +Hello World!Hello World! +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language017.php.exp b/hphp/test/zend/bad/zend-traits/language017.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/language017.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language017.php.expectf b/hphp/test/zend/bad/zend-traits/language017.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/language017.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language019.php.exp b/hphp/test/zend/bad/zend-traits/language019.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend-traits/language019.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language019.php.expectf b/hphp/test/zend/bad/zend-traits/language019.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/language019.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property001.php.exp b/hphp/test/zend/bad/zend-traits/property001.php.exp deleted file mode 100644 index 3cbb2c9b3..000000000 --- a/hphp/test/zend/bad/zend-traits/property001.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -PRE\-CLASS\-GUARD\-TraitsTest\ -PRE\-CLASS\-GUARD\-TraitsTest2\ -\ -Strict\ Standards\:\ THello1\ and\ THello2\ define\ the\ same\ property\ \(\$foo\)\ in\ the\ composition\ of\ TraitsTest2\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property001\.php\ on\ line\ \d+\ -bool\(true\)\ -bool\(true\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property001.php.expectf b/hphp/test/zend/bad/zend-traits/property001.php.expectf new file mode 100644 index 000000000..792e0e596 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property001.php.expectf @@ -0,0 +1,6 @@ +PRE-CLASS-GUARD-TraitsTest +PRE-CLASS-GUARD-TraitsTest2 + +Strict Standards: THello1 and THello2 define the same property ($foo) in the composition of TraitsTest2. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property001.php on line %d +bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property005.php.exp b/hphp/test/zend/bad/zend-traits/property005.php.exp deleted file mode 100644 index 43cedf80d..000000000 --- a/hphp/test/zend/bad/zend-traits/property005.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -PRE\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Notice\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ Notice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property005\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property005.php.expectf b/hphp/test/zend/bad/zend-traits/property005.php.expectf new file mode 100644 index 000000000..fb90583ca --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property005.php.expectf @@ -0,0 +1,5 @@ +PRE-CLASS-GUARD + +Strict Standards: Notice and THello1 define the same property ($hello) in the composition of Notice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property005.php on line %d +POST-CLASS-GUARD +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property006.php.exp b/hphp/test/zend/bad/zend-traits/property006.php.exp deleted file mode 100644 index 64de66a99..000000000 --- a/hphp/test/zend/bad/zend-traits/property006.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -PRE\-CLASS\-GUARD\ -POST\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Notice\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ Notice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property006\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property006.php.expectf b/hphp/test/zend/bad/zend-traits/property006.php.expectf new file mode 100644 index 000000000..b0da4866e --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property006.php.expectf @@ -0,0 +1,5 @@ +PRE-CLASS-GUARD +POST-CLASS-GUARD + +Strict Standards: Notice and THello1 define the same property ($hello) in the composition of Notice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property006.php on line %d +POST-CLASS-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property007.php.exp b/hphp/test/zend/bad/zend-traits/property007.php.exp deleted file mode 100644 index 4e2b914bc..000000000 --- a/hphp/test/zend/bad/zend-traits/property007.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -PRE\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Base\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ SameNameInSubClassProducesNotice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property007\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Notice\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ Notice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property007\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property007.php.expectf b/hphp/test/zend/bad/zend-traits/property007.php.expectf new file mode 100644 index 000000000..e0b201d32 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property007.php.expectf @@ -0,0 +1,7 @@ +PRE-CLASS-GUARD + +Strict Standards: Base and THello1 define the same property ($hello) in the composition of SameNameInSubClassProducesNotice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property007.php on line %d +POST-CLASS-GUARD + +Strict Standards: Notice and THello1 define the same property ($hello) in the composition of Notice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property007.php on line %d +POST-CLASS-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property009.php.exp b/hphp/test/zend/bad/zend-traits/property009.php.exp deleted file mode 100644 index f7d78eb47..000000000 --- a/hphp/test/zend/bad/zend-traits/property009.php.exp +++ /dev/null @@ -1,15 +0,0 @@ -Strict\ Standards\:\ BaseWithPropA\ and\ AHelloProperty\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ SubclassA\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property009\.php\ on\ line\ \d+\ -\ -Strict\ Standards\:\ BaseWithTPropB\ and\ AHelloProperty\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ SubclassB\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property009\.php\ on\ line\ \d+\ -object\(SubclassClassicInheritance\)\#1\ \(1\)\ \{\ -\ \ \[\"hello\"\]\=\>\ -\ \ int\(0\)\ -\}\ -object\(SubclassA\)\#2\ \(1\)\ \{\ -\ \ \[\"hello\"\]\=\>\ -\ \ int\(0\)\ -\}\ -object\(SubclassB\)\#3\ \(1\)\ \{\ -\ \ \[\"hello\"\]\=\>\ -\ \ int\(0\)\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property009.php.expectf b/hphp/test/zend/bad/zend-traits/property009.php.expectf new file mode 100644 index 000000000..adf935504 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property009.php.expectf @@ -0,0 +1,15 @@ +Strict Standards: BaseWithPropA and AHelloProperty define the same property ($hello) in the composition of SubclassA. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property009.php on line %d + +Strict Standards: BaseWithTPropB and AHelloProperty define the same property ($hello) in the composition of SubclassB. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend-traits/property009.php on line %d +object(SubclassClassicInheritance)#1 (1) { + ["hello"]=> + int(0) +} +object(SubclassA)#2 (1) { + ["hello"]=> + int(0) +} +object(SubclassB)#3 (1) { + ["hello"]=> + int(0) +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/008.php.exp b/hphp/test/zend/bad/zend/008.php.exp deleted file mode 100644 index 8410efebc..000000000 --- a/hphp/test/zend/bad/zend/008.php.exp +++ /dev/null @@ -1,22 +0,0 @@ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -bool\(true\)\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -int\(1\)\ -int\(2\)\ -int\(3\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/008.php.expectf b/hphp/test/zend/bad/zend/008.php.expectf new file mode 100644 index 000000000..aa6dcabb2 --- /dev/null +++ b/hphp/test/zend/bad/zend/008.php.expectf @@ -0,0 +1,22 @@ +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +bool(true) +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +int(1) +int(2) +int(3) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/009.php.exp b/hphp/test/zend/bad/zend/009.php.exp deleted file mode 100644 index 1fabed563..000000000 --- a/hphp/test/zend/bad/zend/009.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -Strict\ Standards\:\ Non\-static\ method\ foo\:\:bar\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/009\.php\ on\ line\ \d+\ -string\(3\)\ \"foo\"\ -\ -Strict\ Standards\:\ Non\-static\ method\ foo\:\:bar\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/009\.php\ on\ line\ \d+\ -string\(3\)\ \"foo\"\ -string\(3\)\ \"foo\"\ -string\(3\)\ \"foo\"\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -string\(3\)\ \"foo\"\ -string\(4\)\ \"foo2\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/009.php.expectf b/hphp/test/zend/bad/zend/009.php.expectf new file mode 100644 index 000000000..e7b12ec31 --- /dev/null +++ b/hphp/test/zend/bad/zend/009.php.expectf @@ -0,0 +1,14 @@ +Strict Standards: Non-static method foo::bar() should not be called statically in hphp/test/zend/bad/zend/009.php on line %d +string(3) "foo" + +Strict Standards: Non-static method foo::bar() should not be called statically in hphp/test/zend/bad/zend/009.php on line %d +string(3) "foo" +string(3) "foo" +string(3) "foo" +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +string(3) "foo" +string(4) "foo2" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/012.php.exp b/hphp/test/zend/bad/zend/012.php.exp deleted file mode 100644 index 1544fd645..000000000 --- a/hphp/test/zend/bad/zend/012.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -HipHop Warning: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -HipHop Warning: .+ -NULL\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/012.php.expectf b/hphp/test/zend/bad/zend/012.php.expectf new file mode 100644 index 000000000..a86313416 --- /dev/null +++ b/hphp/test/zend/bad/zend/012.php.expectf @@ -0,0 +1,12 @@ +HipHop Warning: %a +NULL +bool(false) +bool(false) +HipHop Warning: %a +NULL +bool(false) +bool(true) +bool(true) +bool(true) +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/013.php.exp b/hphp/test/zend/bad/zend/013.php.exp deleted file mode 100644 index 7ff718fe7..000000000 --- a/hphp/test/zend/bad/zend/013.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -HipHop Warning: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -HipHop Warning: .+ -NULL\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/013.php.expectf b/hphp/test/zend/bad/zend/013.php.expectf new file mode 100644 index 000000000..0c2bd4c18 --- /dev/null +++ b/hphp/test/zend/bad/zend/013.php.expectf @@ -0,0 +1,12 @@ +HipHop Warning: %a +NULL +bool(false) +bool(false) +HipHop Warning: %a +NULL +bool(false) +bool(true) +bool(true) +bool(false) +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/014.php.exp b/hphp/test/zend/bad/zend/014.php.exp deleted file mode 100644 index e351c381a..000000000 --- a/hphp/test/zend/bad/zend/014.php.exp +++ /dev/null @@ -1,34 +0,0 @@ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\ \ \[1\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\}\ -HipHop Warning: .+ -NULL\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\ \ \[1\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\}\ -HipHop Warning: .+ -NULL\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\ \ \[1\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+\"\ -\}\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/014.php.expectf b/hphp/test/zend/bad/zend/014.php.expectf new file mode 100644 index 000000000..4b395b5c5 --- /dev/null +++ b/hphp/test/zend/bad/zend/014.php.expectf @@ -0,0 +1,27 @@ +array(1) { + [0]=> + string(%d) "%s" +} +array(2) { + [0]=> + string(%d) "%s" + [1]=> + string(%d) "%s" +} +HipHop Warning: %a +NULL +array(2) { + [0]=> + string(%d) "%s" + [1]=> + string(%d) "%s" +} +HipHop Warning: %a +NULL +array(2) { + [0]=> + string(%d) "%s" + [1]=> + string(%d) "%s" +} +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/015.php.exp b/hphp/test/zend/bad/zend/015.php.exp deleted file mode 100644 index 49e361da9..000000000 --- a/hphp/test/zend/bad/zend/015.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -HipHop Warning: .+ -NULL\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(true\)\ -\ -Deprecated\:\ error\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ -bool\(true\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/015.php.expectf b/hphp/test/zend/bad/zend/015.php.expectf new file mode 100644 index 000000000..d67ea5aa5 --- /dev/null +++ b/hphp/test/zend/bad/zend/015.php.expectf @@ -0,0 +1,16 @@ +HipHop Warning: %a +NULL +HipHop Notice: %a +bool(true) +HipHop Warning: %a +NULL +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(false) +HipHop Warning: %a +bool(true) + +Deprecated: error in hphp/test/zend/bad/zend/015.php on line %d +bool(true) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/017.php.exp b/hphp/test/zend/bad/zend/017.php.exp deleted file mode 100644 index 5a3c86e1c..000000000 --- a/hphp/test/zend/bad/zend/017.php.exp +++ /dev/null @@ -1,33 +0,0 @@ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -string\(6\)\ \"stream\"\ -string\(7\)\ \"Unknown\"\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -string\(5\)\ \"array\"\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -HipHop Warning: .+ -NULL\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -HipHop Warning: .+ -NULL\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -HipHop Warning: .+ -NULL\ -bool\(false\)\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -string\(5\)\ \"array\"\ -int\(\d+\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/017.php.expectf b/hphp/test/zend/bad/zend/017.php.expectf new file mode 100644 index 000000000..3492d951f --- /dev/null +++ b/hphp/test/zend/bad/zend/017.php.expectf @@ -0,0 +1,33 @@ +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +string(6) "stream" +string(7) "Unknown" +string(5) "array" +int(%d) +string(5) "array" +int(%d) +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +string(5) "array" +string(5) "array" +int(%d) +HipHop Warning: %a +NULL +string(5) "array" +int(%d) +HipHop Warning: %a +NULL +string(5) "array" +int(%d) +HipHop Warning: %a +NULL +bool(false) +string(5) "array" +int(%d) +string(5) "array" +int(%d) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/018.php.exp b/hphp/test/zend/bad/zend/018.php.exp deleted file mode 100644 index cea97cebb..000000000 --- a/hphp/test/zend/bad/zend/018.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -int\(1\)\ -string\(4\)\ \"test\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/018.php.expectf b/hphp/test/zend/bad/zend/018.php.expectf new file mode 100644 index 000000000..0de158402 --- /dev/null +++ b/hphp/test/zend/bad/zend/018.php.expectf @@ -0,0 +1,11 @@ +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +int(1) +string(4) "test" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/019.php.exp b/hphp/test/zend/bad/zend/019.php.exp deleted file mode 100644 index 6666eb468..000000000 --- a/hphp/test/zend/bad/zend/019.php.exp +++ /dev/null @@ -1,861 +0,0 @@ -\*\*\*\ Testing\ unset\(\)\,\ empty\(\)\ \&\ isset\(\)\ with\ scalar\ variables\ \*\*\*\ -\-\-\ Iteration\ 1\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 2\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 3\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 4\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 5\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 6\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 7\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 8\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 9\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 10\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 11\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 12\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 13\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 14\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 15\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 16\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 17\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 18\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 19\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 20\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 21\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 22\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 23\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 24\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 25\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 26\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\-\ Iteration\ 27\ \-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\ -\*\*\*\ Testing\ unset\(\)\,\ empty\(\)\ \&\ isset\(\)\ with\ arrays\ \*\*\*\ -\-\-\-\ Outerloop\ Iteration\ 1\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 2\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 2\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 3\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 3\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 4\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 4\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 5\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 5\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 6\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 6\ \-\-\ -array\(3\)\ \{\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(3\)\ \{\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\}\ -\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 6\ \-\-\ -array\(2\)\ \{\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(2\)\ \{\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\}\ -\-\-\ Innerloop\ Iteration\ 3\ of\ Outerloop\ Iteration\ 6\ \-\-\ -array\(1\)\ \{\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[3\]\=\>\ -\ \ int\(4\)\ -\}\ -\-\-\ Innerloop\ Iteration\ 4\ of\ Outerloop\ Iteration\ 6\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 7\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 7\ \-\-\ -array\(2\)\ \{\ -\ \ \[1\]\=\>\ -\ \ float\(2\.5\)\ -\ \ \[2\]\=\>\ -\ \ float\(5\.6\)\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(2\)\ \{\ -\ \ \[1\]\=\>\ -\ \ float\(2\.5\)\ -\ \ \[2\]\=\>\ -\ \ float\(5\.6\)\ -\}\ -\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 7\ \-\-\ -array\(1\)\ \{\ -\ \ \[2\]\=\>\ -\ \ float\(5\.6\)\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[2\]\=\>\ -\ \ float\(5\.6\)\ -\}\ -\-\-\ Innerloop\ Iteration\ 3\ of\ Outerloop\ Iteration\ 7\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 8\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 8\ \-\-\ -array\(1\)\ \{\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\}\ -\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 8\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 9\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 9\ \-\-\ -array\(1\)\ \{\ -\ \ \[\"Age\"\]\=\>\ -\ \ string\(2\)\ \"30\"\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[\"Age\"\]\=\>\ -\ \ string\(2\)\ \"30\"\ -\}\ -\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 9\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\-\ Outerloop\ Iteration\ 10\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -\-\-\ Innerloop\ Iteration\ 1\ of\ Outerloop\ Iteration\ 10\ \-\-\ -array\(4\)\ \{\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[\"One\"\]\=\>\ -\ \ string\(1\)\ \"1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(4\)\ \{\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[\"One\"\]\=\>\ -\ \ string\(1\)\ \"1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 10\ \-\-\ -array\(3\)\ \{\ -\ \ \[\"One\"\]\=\>\ -\ \ string\(1\)\ \"1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(3\)\ \{\ -\ \ \[\"One\"\]\=\>\ -\ \ string\(1\)\ \"1\"\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -\-\-\ Innerloop\ Iteration\ 3\ of\ Outerloop\ Iteration\ 10\ \-\-\ -array\(2\)\ \{\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(2\)\ \{\ -\ \ \[2\]\=\>\ -\ \ string\(3\)\ \"two\"\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -\-\-\ Innerloop\ Iteration\ 4\ of\ Outerloop\ Iteration\ 10\ \-\-\ -array\(1\)\ \{\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[\"\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -\-\-\ Innerloop\ Iteration\ 5\ of\ Outerloop\ Iteration\ 10\ \-\-\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -array\(0\)\ \{\ -\}\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\ -\*\*\*\ Testing\ unset\(\)\,\ emtpy\(\)\ \&\ isset\(\)\ with\ resource\ variables\ \*\*\*\ -\-\-\ Iteration\ 1\ \-\-\ -resource\(\d+\)\ of\ type\ \(stream\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -resource\(\d+\)\ of\ type\ \(stream\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -\-\-\ Iteration\ 2\ \-\-\ -resource\(\d+\)\ of\ type\ \(stream\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -resource\(\d+\)\ of\ type\ \(stream\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(true\)\ -\ -\*\*\*\ Testing\ unset\(\)\,\ empty\(\)\ \&\ isset\(\)\ with\ objects\ \*\*\*\ -object\(Point\)\#\d+\ \(3\)\ \{\ -\ \ \[\"x\"\]\=\>\ -\ \ int\(30\)\ -\ \ \[\"y\"\]\=\>\ -\ \ int\(40\)\ -\ \ \[\"lable\"\]\=\>\ -\ \ NULL\ -\}\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -HipHop Notice: .+ -bool\(false\)\ -HipHop Notice: .+ -bool\(true\)\ -object\(Point\)\#\d+\ \(3\)\ \{\ -\ \ \[\"x\"\]\=\>\ -\ \ int\(30\)\ -\ \ \[\"y\"\]\=\>\ -\ \ int\(40\)\ -\ \ \[\"lable\"\]\=\>\ -\ \ string\(6\)\ \"Point1\"\ -\}\ -object\(Point\)\#\d+\ \(2\)\ \{\ -\ \ \[\"y\"\]\=\>\ -\ \ int\(40\)\ -\ \ \[\"lable\"\]\=\>\ -\ \ string\(6\)\ \"Point1\"\ -\}\ -bool\(false\)\ -bool\(true\)\ -object\(Point\)\#\d+\ \(0\)\ \{\ -\}\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -HipHop Notice: .+ -NULL\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(5\)\ \"Point\"\ -\ \ \[1\]\=\>\ -\ \ string\(8\)\ \"setLable\"\ -\ \ \[2\]\=\>\ -\ \ string\(9\)\ \"testPoint\"\ -\}\ -object\(Point\)\#\d+\ \(3\)\ \{\ -\ \ \[\"x\"\]\=\>\ -\ \ int\(5\)\ -\ \ \[\"y\"\]\=\>\ -\ \ int\(6\)\ -\ \ \[\"lable\"\]\=\>\ -\ \ NULL\ -\}\ -\ -\*\*\*\ Testing\ possible\ variation\ in\ operation\ for\ isset\(\)\,\ empty\(\)\ \&\ unset\(\)\ \*\*\*\ -\ -\*\*\ Testing\ unset\(\)\ variation\ 1\:\ unset\ on\ static\ variable\ inside\ a\ function\ \*\*\ -value\ of\ static\_var\ before\ unset\:\ 1\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -value\ of\ static\_var\ after\ unset\:\ \ -bool\(false\)\ -bool\(true\)\ -value\ of\ static\_var\ after\ new\ assignment\:\ 20\ -value\ of\ static\_var\ before\ unset\:\ 2\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -value\ of\ static\_var\ after\ unset\:\ \ -bool\(false\)\ -bool\(true\)\ -value\ of\ static\_var\ after\ new\ assignment\:\ 20\ -value\ of\ static\_var\ before\ unset\:\ 3\ -bool\(true\)\ -bool\(false\)\ -HipHop Notice: .+ -value\ of\ static\_var\ after\ unset\:\ \ -bool\(false\)\ -bool\(true\)\ -value\ of\ static\_var\ after\ new\ assignment\:\ 20\ -\ -\*\*\ Testing\ unset\(\)\ variation\ 2\:\ unset\ on\ a\ variable\ passed\ by\ ref\.\ inside\ of\ a\ function\ \*\*\ -string\(5\)\ \"value\"\ -bool\(false\)\ -bool\(true\)\ -string\(5\)\ \"value\"\ -\ -\*\*\ Testing\ unset\(\)\ variation\ 3\:\ unset\ on\ a\ global\ variable\ inside\ of\ a\ function\ \*\*\ -int\(10\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -int\(10\)\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/019.php.expectf b/hphp/test/zend/bad/zend/019.php.expectf new file mode 100644 index 000000000..5f907adb2 --- /dev/null +++ b/hphp/test/zend/bad/zend/019.php.expectf @@ -0,0 +1,861 @@ +*** Testing unset(), empty() & isset() with scalar variables *** +-- Iteration 1 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 2 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 3 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 4 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 5 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 6 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 7 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 8 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 9 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 10 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 11 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 12 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 13 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 14 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 15 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 16 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 17 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 18 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 19 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 20 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 21 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 22 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 23 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 24 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 25 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 26 -- +bool(true) +bool(true) +bool(false) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +-- Iteration 27 -- +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) + +*** Testing unset(), empty() & isset() with arrays *** +--- Outerloop Iteration 1 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(true) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 2 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 2 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 3 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 3 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 4 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 4 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 5 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 5 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 6 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 6 -- +array(3) { + [1]=> + int(2) + [2]=> + int(3) + [3]=> + int(4) +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(3) { + [1]=> + int(2) + [2]=> + int(3) + [3]=> + int(4) +} +-- Innerloop Iteration 2 of Outerloop Iteration 6 -- +array(2) { + [2]=> + int(3) + [3]=> + int(4) +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(2) { + [2]=> + int(3) + [3]=> + int(4) +} +-- Innerloop Iteration 3 of Outerloop Iteration 6 -- +array(1) { + [3]=> + int(4) +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(1) { + [3]=> + int(4) +} +-- Innerloop Iteration 4 of Outerloop Iteration 6 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 7 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 7 -- +array(2) { + [1]=> + float(2.5) + [2]=> + float(5.6) +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(2) { + [1]=> + float(2.5) + [2]=> + float(5.6) +} +-- Innerloop Iteration 2 of Outerloop Iteration 7 -- +array(1) { + [2]=> + float(5.6) +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(1) { + [2]=> + float(5.6) +} +-- Innerloop Iteration 3 of Outerloop Iteration 7 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 8 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 8 -- +array(1) { + [2]=> + string(3) "two" +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(1) { + [2]=> + string(3) "two" +} +-- Innerloop Iteration 2 of Outerloop Iteration 8 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 9 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 9 -- +array(1) { + ["Age"]=> + string(2) "30" +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(1) { + ["Age"]=> + string(2) "30" +} +-- Innerloop Iteration 2 of Outerloop Iteration 9 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) +--- Outerloop Iteration 10 --- +bool(false) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +-- Innerloop Iteration 1 of Outerloop Iteration 10 -- +array(4) { + [1]=> + int(2) + ["One"]=> + string(1) "1" + [2]=> + string(3) "two" + [""]=> + string(0) "" +} +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +array(4) { + [1]=> + int(2) + ["One"]=> + string(1) "1" + [2]=> + string(3) "two" + [""]=> + string(0) "" +} +-- Innerloop Iteration 2 of Outerloop Iteration 10 -- +array(3) { + ["One"]=> + string(1) "1" + [2]=> + string(3) "two" + [""]=> + string(0) "" +} +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +array(3) { + ["One"]=> + string(1) "1" + [2]=> + string(3) "two" + [""]=> + string(0) "" +} +-- Innerloop Iteration 3 of Outerloop Iteration 10 -- +array(2) { + [2]=> + string(3) "two" + [""]=> + string(0) "" +} +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +array(2) { + [2]=> + string(3) "two" + [""]=> + string(0) "" +} +-- Innerloop Iteration 4 of Outerloop Iteration 10 -- +array(1) { + [""]=> + string(0) "" +} +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(true) +array(1) { + [""]=> + string(0) "" +} +-- Innerloop Iteration 5 of Outerloop Iteration 10 -- +array(0) { +} +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +array(0) { +} +HipHop Notice: %a +NULL +bool(false) +bool(false) +bool(true) + +*** Testing unset(), emtpy() & isset() with resource variables *** +-- Iteration 1 -- +resource(%d) of type (stream) +bool(true) +bool(false) +bool(true) +resource(%d) of type (stream) +bool(false) +bool(true) +bool(false) +bool(false) +HipHop Notice: %a +NULL +-- Iteration 2 -- +resource(%d) of type (stream) +bool(true) +bool(false) +bool(true) +resource(%d) of type (stream) +bool(false) +bool(true) +bool(false) +bool(false) +HipHop Notice: %a +NULL +HipHop Notice: %a +NULL +bool(false) +bool(true) + +*** Testing unset(), empty() & isset() with objects *** +object(Point)#%d (3) { + ["x"]=> + int(30) + ["y"]=> + int(40) + ["lable"]=> + NULL +} +bool(true) +bool(false) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +HipHop Notice: %a +bool(false) +HipHop Notice: %a +bool(true) +object(Point)#%d (3) { + ["x"]=> + int(30) + ["y"]=> + int(40) + ["lable"]=> + string(6) "Point1" +} +object(Point)#%d (2) { + ["y"]=> + int(40) + ["lable"]=> + string(6) "Point1" +} +bool(false) +bool(true) +object(Point)#%d (0) { +} +bool(true) +bool(false) +bool(false) +bool(true) +HipHop Notice: %a +NULL +bool(false) +bool(true) +bool(false) +bool(true) +array(3) { + [0]=> + string(5) "Point" + [1]=> + string(8) "setLable" + [2]=> + string(9) "testPoint" +} +object(Point)#%d (3) { + ["x"]=> + int(5) + ["y"]=> + int(6) + ["lable"]=> + NULL +} + +*** Testing possible variation in operation for isset(), empty() & unset() *** + +** Testing unset() variation 1: unset on static variable inside a function ** +value of static_var before unset: 1 +bool(true) +bool(false) +HipHop Notice: %a +value of static_var after unset: +bool(false) +bool(true) +value of static_var after new assignment: 20 +value of static_var before unset: 2 +bool(true) +bool(false) +HipHop Notice: %a +value of static_var after unset: +bool(false) +bool(true) +value of static_var after new assignment: 20 +value of static_var before unset: 3 +bool(true) +bool(false) +HipHop Notice: %a +value of static_var after unset: +bool(false) +bool(true) +value of static_var after new assignment: 20 + +** Testing unset() variation 2: unset on a variable passed by ref. inside of a function ** +string(5) "value" +bool(false) +bool(true) +string(5) "value" + +** Testing unset() variation 3: unset on a global variable inside of a function ** +int(10) +bool(true) +bool(false) +bool(false) +bool(true) +int(10) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/020.php.exp b/hphp/test/zend/bad/zend/020.php.exp deleted file mode 100644 index 5a82d8449..000000000 --- a/hphp/test/zend/bad/zend/020.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -bool\(false\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/020.php.expectf b/hphp/test/zend/bad/zend/020.php.expectf new file mode 100644 index 000000000..2b85b487d --- /dev/null +++ b/hphp/test/zend/bad/zend/020.php.expectf @@ -0,0 +1,9 @@ +HipHop Warning: %a +NULL +HipHop Warning: %a +bool(false) +HipHop Warning: %a +NULL +HipHop Warning: %a +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/024.php.exp b/hphp/test/zend/bad/zend/024.php.exp deleted file mode 100644 index 54ce097dd..000000000 --- a/hphp/test/zend/bad/zend/024.php.exp +++ /dev/null @@ -1,22 +0,0 @@ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -int\(1\)\ -HipHop Notice: .+ -HipHop Notice: .+ -int\(0\)\ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -int\(1\)\ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/024.php.expectf b/hphp/test/zend/bad/zend/024.php.expectf new file mode 100644 index 000000000..0f57c59c2 --- /dev/null +++ b/hphp/test/zend/bad/zend/024.php.expectf @@ -0,0 +1,22 @@ +HipHop Notice: %a +NULL +HipHop Notice: %a +HipHop Notice: %a +NULL +HipHop Notice: %a +int(1) +HipHop Notice: %a +HipHop Notice: %a +int(0) +HipHop Notice: %a +NULL +HipHop Notice: %a +int(1) +HipHop Notice: %a +NULL +HipHop Notice: %a +NULL +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/026.php.exp b/hphp/test/zend/bad/zend/026.php.exp deleted file mode 100644 index 73c7279e1..000000000 --- a/hphp/test/zend/bad/zend/026.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Notice: .+ -ok\ -HipHop Warning: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/026.php.expectf b/hphp/test/zend/bad/zend/026.php.expectf new file mode 100644 index 000000000..00904afa7 --- /dev/null +++ b/hphp/test/zend/bad/zend/026.php.expectf @@ -0,0 +1,4 @@ +HipHop Notice: %a +ok +HipHop Warning: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/030.php.exp b/hphp/test/zend/bad/zend/030.php.exp deleted file mode 100644 index 47a82457f..000000000 --- a/hphp/test/zend/bad/zend/030.php.exp +++ /dev/null @@ -1,39 +0,0 @@ -object\(Exception\)\#\d+\ \(7\)\ \{\ -\ \ \[\"message\"\:protected\]\=\>\ -\ \ string\(3\)\ \"foo\"\ -\ \ \[\"string\"\:\"Exception\"\:private\]\=\>\ -\ \ string\(0\)\ \"\"\ -\ \ \[\"code\"\:protected\]\=\>\ -\ \ int\(0\)\ -\ \ \[\"file\"\:protected\]\=\>\ -\ \ string\(\d+\)\ \"[^ -]+030\.php\"\ -\ \ \[\"line\"\:protected\]\=\>\ -\ \ int\(\d+\)\ -\ \ \[\"trace\"\:\"Exception\"\:private\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ array\(6\)\ \{\ -\ \ \ \ \ \ \[\"file\"\]\=\>\ -\ \ \ \ \ \ string\(\d+\)\ \"[^ -]+030\.php\"\ -\ \ \ \ \ \ \[\"line\"\]\=\>\ -\ \ \ \ \ \ int\(\d+\)\ -\ \ \ \ \ \ \[\"function\"\]\=\>\ -\ \ \ \ \ \ string\(3\)\ \"bar\"\ -\ \ \ \ \ \ \[\"class\"\]\=\>\ -\ \ \ \ \ \ string\(3\)\ \"foo\"\ -\ \ \ \ \ \ \[\"type\"\]\=\>\ -\ \ \ \ \ \ string\(2\)\ \"\-\>\"\ -\ \ \ \ \ \ \[\"args\"\]\=\>\ -\ \ \ \ \ \ array\(0\)\ \{\ -\ \ \ \ \ \ \}\ -\ \ \ \ \}\ -\ \ \}\ -\ \ \[\"previous\"\:\"Exception\"\:private\]\=\>\ -\ \ NULL\ -\}\ -\'test\'\ \=\>\ \'0\'\ -\'test\_2\'\ \=\>\ \'1\'\ -\'test\_3\'\ \=\>\ \'2\'\ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/030.php.expectf b/hphp/test/zend/bad/zend/030.php.expectf new file mode 100644 index 000000000..efa5f165c --- /dev/null +++ b/hphp/test/zend/bad/zend/030.php.expectf @@ -0,0 +1,37 @@ +object(Exception)#%d (7) { + ["message":protected]=> + string(3) "foo" + ["string":"Exception":private]=> + string(0) "" + ["code":protected]=> + int(0) + ["file":protected]=> + string(%d) "%s030.php" + ["line":protected]=> + int(%d) + ["trace":"Exception":private]=> + array(1) { + [0]=> + array(6) { + ["file"]=> + string(%d) "%s030.php" + ["line"]=> + int(%d) + ["function"]=> + string(3) "bar" + ["class"]=> + string(3) "foo" + ["type"]=> + string(2) "->" + ["args"]=> + array(0) { + } + } + } + ["previous":"Exception":private]=> + NULL +} +'test' => '0' +'test_2' => '1' +'test_3' => '2' +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/031.php.exp b/hphp/test/zend/bad/zend/031.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/031.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/031.php.expectf b/hphp/test/zend/bad/zend/031.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/031.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/033.php.exp b/hphp/test/zend/bad/zend/033.php.exp deleted file mode 100644 index 28c3f444f..000000000 --- a/hphp/test/zend/bad/zend/033.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/033.php.expectf b/hphp/test/zend/bad/zend/033.php.expectf new file mode 100644 index 000000000..59902bc05 --- /dev/null +++ b/hphp/test/zend/bad/zend/033.php.expectf @@ -0,0 +1,6 @@ +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/037.php.exp b/hphp/test/zend/bad/zend/037.php.exp deleted file mode 100644 index 87732005d..000000000 --- a/hphp/test/zend/bad/zend/037.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -int\(1\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/037.php.expectf b/hphp/test/zend/bad/zend/037.php.expectf new file mode 100644 index 000000000..4b24928f0 --- /dev/null +++ b/hphp/test/zend/bad/zend/037.php.expectf @@ -0,0 +1,2 @@ +int(1) +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/abstract-static.php.exp b/hphp/test/zend/bad/zend/abstract-static.php.exp deleted file mode 100644 index 2a2969be6..000000000 --- a/hphp/test/zend/bad/zend/abstract-static.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Strict\ Standards\:\ Static\ function\ TestClass\:\:getName\(\)\ should\ not\ be\ abstract\ in\ [^ -]+abstract\-static\.php\ on\ line\ \d+\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/abstract-static.php.expectf b/hphp/test/zend/bad/zend/abstract-static.php.expectf new file mode 100644 index 000000000..6d42dc2a8 --- /dev/null +++ b/hphp/test/zend/bad/zend/abstract-static.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Static function TestClass::getName() should not be abstract in %sabstract-static.php on line %d +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_001.php.exp b/hphp/test/zend/bad/zend/access_modifiers_001.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/access_modifiers_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_001.php.expectf b/hphp/test/zend/bad/zend/access_modifiers_001.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/access_modifiers_001.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_003.php.exp b/hphp/test/zend/bad/zend/access_modifiers_003.php.exp deleted file mode 100644 index 5ae2b8bfb..000000000 --- a/hphp/test/zend/bad/zend/access_modifiers_003.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,[^ -]+expecting\ [^ -]+\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_003.php.expectf b/hphp/test/zend/bad/zend/access_modifiers_003.php.expectf new file mode 100644 index 000000000..ed48066a9 --- /dev/null +++ b/hphp/test/zend/bad/zend/access_modifiers_003.php.expectf @@ -0,0 +1 @@ +Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/zend/access_modifiers_003.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_005.php.exp b/hphp/test/zend/bad/zend/access_modifiers_005.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/access_modifiers_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_005.php.expectf b/hphp/test/zend/bad/zend/access_modifiers_005.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/access_modifiers_005.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_006.php.exp b/hphp/test/zend/bad/zend/access_modifiers_006.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/access_modifiers_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_006.php.expectf b/hphp/test/zend/bad/zend/access_modifiers_006.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/access_modifiers_006.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_008.php.exp b/hphp/test/zend/bad/zend/access_modifiers_008.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/access_modifiers_008.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_008.php.expectf b/hphp/test/zend/bad/zend/access_modifiers_008.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/access_modifiers_008.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_009.php.exp b/hphp/test/zend/bad/zend/access_modifiers_009.php.exp deleted file mode 100644 index 69b22d2cd..000000000 --- a/hphp/test/zend/bad/zend/access_modifiers_009.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -bool\(false\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_009.php.expectf b/hphp/test/zend/bad/zend/access_modifiers_009.php.expectf new file mode 100644 index 000000000..08b4ecb30 --- /dev/null +++ b/hphp/test/zend/bad/zend/access_modifiers_009.php.expectf @@ -0,0 +1,2 @@ +bool(false) +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/add_002.php.exp b/hphp/test/zend/bad/zend/add_002.php.exp deleted file mode 100644 index 5dc7ad73c..000000000 --- a/hphp/test/zend/bad/zend/add_002.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/add_002.php.expectf b/hphp/test/zend/bad/zend/add_002.php.expectf new file mode 100644 index 000000000..aaaa48bec --- /dev/null +++ b/hphp/test/zend/bad/zend/add_002.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/add_003.php.exp b/hphp/test/zend/bad/zend/add_003.php.exp deleted file mode 100644 index 5dc7ad73c..000000000 --- a/hphp/test/zend/bad/zend/add_003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/add_003.php.expectf b/hphp/test/zend/bad/zend/add_003.php.expectf new file mode 100644 index 000000000..aaaa48bec --- /dev/null +++ b/hphp/test/zend/bad/zend/add_003.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_001.php.exp b/hphp/test/zend/bad/zend/argument_restriction_001.php.exp deleted file mode 100644 index 9f154cb71..000000000 --- a/hphp/test/zend/bad/zend/argument_restriction_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ Sub\:\:test\(\)\ should\ be\ compatible\ with\ \&\ Base\:\:test\(\$foo\,\ array\ \$bar\,\ \$option\ \=\ NULL\,\ \$extra\ \=\ \'llllllllll\.\.\.\'\)\ in\ [^ -]+argument\_restriction\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_001.php.expectf b/hphp/test/zend/bad/zend/argument_restriction_001.php.expectf new file mode 100644 index 000000000..3588bd24d --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_001.php.expectf @@ -0,0 +1 @@ +Strict Standards: Declaration of Sub::test() should be compatible with & Base::test($foo, array $bar, $option = NULL, $extra = 'llllllllll...') in %sargument_restriction_001.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_002.php.exp b/hphp/test/zend/bad/zend/argument_restriction_002.php.exp deleted file mode 100644 index d8d5f0dff..000000000 --- a/hphp/test/zend/bad/zend/argument_restriction_002.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ Sub\:\:test\(\)\ should\ be\ compatible\ with\ Base\:\:test\(\$foo\,\ array\ \&\$bar\,\ \$option\ \=\ NULL\,\ \$extra\ \=\ 3\.1415926535898\)\ in\ [^ -]+argument\_restriction\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_002.php.expectf b/hphp/test/zend/bad/zend/argument_restriction_002.php.expectf new file mode 100644 index 000000000..6e17a3a63 --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_002.php.expectf @@ -0,0 +1 @@ +Strict Standards: Declaration of Sub::test() should be compatible with Base::test($foo, array &$bar, $option = NULL, $extra = 3.1415926535898) in %sargument_restriction_002.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_003.php.exp b/hphp/test/zend/bad/zend/argument_restriction_003.php.exp deleted file mode 100644 index 3d53e5bff..000000000 --- a/hphp/test/zend/bad/zend/argument_restriction_003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ Sub\:\:test\(\)\ should\ be\ compatible\ with\ Base\:\:test\(Foo\ \$foo\,\ array\ \$bar\,\ \$option\ \=\ NULL\,\ \$extra\ \=\ \'llllllllll\.\.\.\'\)\ in\ [^ -]+argument\_restriction\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_003.php.expectf b/hphp/test/zend/bad/zend/argument_restriction_003.php.expectf new file mode 100644 index 000000000..7ad67538f --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_003.php.expectf @@ -0,0 +1 @@ +Strict Standards: Declaration of Sub::test() should be compatible with Base::test(Foo $foo, array $bar, $option = NULL, $extra = 'llllllllll...') in %sargument_restriction_003.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_006.php.exp b/hphp/test/zend/bad/zend/argument_restriction_006.php.exp deleted file mode 100644 index 15fe6a81a..000000000 --- a/hphp/test/zend/bad/zend/argument_restriction_006.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ Sub\:\:test\(\)\ should\ be\ compatible\ with\ Base\:\:test\(\$foo\,\ \$extra\ \=\ Array\)\ in\ [^ -]+argument\_restriction\_006\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/argument_restriction_006.php.expectf b/hphp/test/zend/bad/zend/argument_restriction_006.php.expectf new file mode 100644 index 000000000..24063e2ab --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_006.php.expectf @@ -0,0 +1 @@ +Strict Standards: Declaration of Sub::test() should be compatible with Base::test($foo, $extra = Array) in %sargument_restriction_006.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/array_type_hint_001.php.exp b/hphp/test/zend/bad/zend/array_type_hint_001.php.exp deleted file mode 100644 index 0fe44706f..000000000 --- a/hphp/test/zend/bad/zend/array_type_hint_001.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -3\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ foo\(\)\ must\ be\ of\ the\ type\ array\,\ integer\ given\,\ called\ in\ [^ -]+array\_type\_hint\_001\.php\ on\ line\ 7\ and\ defined\ in\ [^ -]+array\_type\_hint\_001\.php\ on\ line\ 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/array_type_hint_001.php.expectf b/hphp/test/zend/bad/zend/array_type_hint_001.php.expectf new file mode 100644 index 000000000..76783f833 --- /dev/null +++ b/hphp/test/zend/bad/zend/array_type_hint_001.php.expectf @@ -0,0 +1,3 @@ +3 + +Catchable fatal error: Argument 1 passed to foo() must be of the type array, integer given, called in %sarray_type_hint_001.php on line 7 and defined in %sarray_type_hint_001.php on line 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/assign_to_var_003.php.exp b/hphp/test/zend/bad/zend/assign_to_var_003.php.exp deleted file mode 100644 index 593af825d..000000000 --- a/hphp/test/zend/bad/zend/assign_to_var_003.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -NULL\ -NULL\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/assign_to_var_003.php.expectf b/hphp/test/zend/bad/zend/assign_to_var_003.php.expectf new file mode 100644 index 000000000..1756b8168 --- /dev/null +++ b/hphp/test/zend/bad/zend/assign_to_var_003.php.expectf @@ -0,0 +1,3 @@ +NULL +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug21478.php.exp b/hphp/test/zend/bad/zend/bug21478.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug21478.php.exp rename to hphp/test/zend/bad/zend/bug21478.php.expectf diff --git a/hphp/test/zend/bad/zend/bug26166.php.exp b/hphp/test/zend/bad/zend/bug26166.php.exp deleted file mode 100644 index b3f10d9df..000000000 --- a/hphp/test/zend/bad/zend/bug26166.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Hello\ World\!\ -\=\=\=NONE\=\=\=\ -string\(52\)\ \"Method\ None\:\:\_\_toString\(\)\ must\ return\ a\ string\ value\"\ -\=\=\=THROW\=\=\=\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug26166.php.expectf b/hphp/test/zend/bad/zend/bug26166.php.expectf new file mode 100644 index 000000000..7b6853daa --- /dev/null +++ b/hphp/test/zend/bad/zend/bug26166.php.expectf @@ -0,0 +1,5 @@ +Hello World! +===NONE=== +string(52) "Method None::__toString() must return a string value" +===THROW=== +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug26229.php.exp b/hphp/test/zend/bad/zend/bug26229.php.exp deleted file mode 100644 index 01c88d588..000000000 --- a/hphp/test/zend/bad/zend/bug26229.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Objects\ returned\ by\ array\_iterator\:\:getIterator\(\)\ must\ be\ traversable\ or\ implement\ interface\ Iterator\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug26229.php.expectf b/hphp/test/zend/bad/zend/bug26229.php.expectf new file mode 100644 index 000000000..d648d2be3 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug26229.php.expectf @@ -0,0 +1,2 @@ +Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterator +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug26697.php.exp b/hphp/test/zend/bad/zend/bug26697.php.exp deleted file mode 100644 index 57df7b78e..000000000 --- a/hphp/test/zend/bad/zend/bug26697.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -\_\_autoload\(NotExistingClass\)\ -bool\(false\)\ -\_\_autoload\(NotExistingClass\)\,\ done\ -bool\(false\)\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug26697.php.expectf b/hphp/test/zend/bad/zend/bug26697.php.expectf new file mode 100644 index 000000000..3c4dd1f7f --- /dev/null +++ b/hphp/test/zend/bad/zend/bug26697.php.expectf @@ -0,0 +1,5 @@ +__autoload(NotExistingClass) +bool(false) +__autoload(NotExistingClass), done +bool(false) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug27798.php.exp b/hphp/test/zend/bad/zend/bug27798.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug27798.php.exp rename to hphp/test/zend/bad/zend/bug27798.php.expectf diff --git a/hphp/test/zend/bad/zend/bug28444.php.exp b/hphp/test/zend/bad/zend/bug28444.php.exp deleted file mode 100644 index 8a482165e..000000000 --- a/hphp/test/zend/bad/zend/bug28444.php.exp +++ /dev/null @@ -1,23 +0,0 @@ -object\(Object\)\#\d+\ \(1\)\ \{\ -\ \ \[\"x\"\]\=\>\ -\ \ int\(2\)\ -\}\ -int\(2\)\ -int\(3\)\ -Overloaded\:\:\_\_set\(y\,3\)\ -int\(3\)\ -Overloaded\:\:\_\_get\(y\)\ -int\(3\)\ -string\(55\)\ \"Object\ of\ class\ Object\ could\ not\ be\ converted\ to\ string\"\ -Overloaded\:\:\_\_set\(z\,\)\ -object\(Object\)\#\d+\ \(1\)\ \{\ -\ \ \[\"x\"\]\=\>\ -\ \ int\(4\)\ -\}\ -Overloaded\:\:\_\_get\(z\)\ -int\(4\)\ -Overloaded\:\:\_\_get\(z\)\ -int\(5\)\ -Overloaded\:\:\_\_get\(z\)\ -int\(6\)\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug28444.php.expectf b/hphp/test/zend/bad/zend/bug28444.php.expectf new file mode 100644 index 000000000..69e153837 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug28444.php.expectf @@ -0,0 +1,23 @@ +object(Object)#%d (1) { + ["x"]=> + int(2) +} +int(2) +int(3) +Overloaded::__set(y,3) +int(3) +Overloaded::__get(y) +int(3) +string(55) "Object of class Object could not be converted to string" +Overloaded::__set(z,) +object(Object)#%d (1) { + ["x"]=> + int(4) +} +Overloaded::__get(z) +int(4) +Overloaded::__get(z) +int(5) +Overloaded::__get(z) +int(6) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug29689.php.exp b/hphp/test/zend/bad/zend/bug29689.php.exp deleted file mode 100644 index 88af1ce88..000000000 --- a/hphp/test/zend/bad/zend/bug29689.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -foo\:\ foo\ foo2\ -bar\:\ bar\ \ -HipHop Notice: .+ -\ -\-\-\-baz\-\-\ -foo\:\ foo\ foo2\ -bar\:\ baz\ baz2\ -\-\-\-baz2\-\-\ -foo\:\ foo\ foo2\ -bar2\:\ baz2\ baz22 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug29689.php.expectf b/hphp/test/zend/bad/zend/bug29689.php.expectf new file mode 100644 index 000000000..27f6b4bc0 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug29689.php.expectf @@ -0,0 +1,10 @@ +foo: foo foo2 +bar: bar +HipHop Notice: %a + +---baz-- +foo: foo foo2 +bar: baz baz2 +---baz2-- +foo: foo foo2 +bar2: baz2 baz22 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug29890.php.exp b/hphp/test/zend/bad/zend/bug29890.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug29890.php.exp rename to hphp/test/zend/bad/zend/bug29890.php.expectf diff --git a/hphp/test/zend/bad/zend/bug29896.php.exp b/hphp/test/zend/bad/zend/bug29896.php.exp deleted file mode 100644 index 2cb419e1a..000000000 --- a/hphp/test/zend/bad/zend/bug29896.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -\#0\ \ userErrorHandler\(8\,\ Undefined\ variable\:\ b\,\ [^ -]+bug29896\.php\,\ 11\,\ Array\ \(\[A1\]\ \=\>\ Test1\)\)\ called\ at\ \[[^ -]+bug29896\.php\:11\]\ -\#1\ \ GenerateError1\(Test1\)\ called\ at\ \[[^ -]+bug29896\.php\:16\]\ -\#2\ \ GenerateError2\(Test2\)\ called\ at\ \[[^ -]+bug29896\.php\:19\] \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug29896.php.expectf b/hphp/test/zend/bad/zend/bug29896.php.expectf new file mode 100644 index 000000000..86dc81040 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug29896.php.expectf @@ -0,0 +1,3 @@ +#0 userErrorHandler(8, Undefined variable: b, %sbug29896.php, 11, Array ([A1] => Test1)) called at [%sbug29896.php:11] +#1 GenerateError1(Test1) called at [%sbug29896.php:16] +#2 GenerateError2(Test2) called at [%sbug29896.php:19] \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug30791.php.exp b/hphp/test/zend/bad/zend/bug30791.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug30791.php.exp rename to hphp/test/zend/bad/zend/bug30791.php.expectf diff --git a/hphp/test/zend/bad/zend/bug30828.php.exp b/hphp/test/zend/bad/zend/bug30828.php.exp deleted file mode 100644 index 12a55a062..000000000 --- a/hphp/test/zend/bad/zend/bug30828.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -\#0\ \ A\-\>\_\_construct\(\)\ called\ at\ \[[^ -]+bug30828\.php\:30\]\ -\#1\ \ B\-\>\_\_construct\(\)\ called\ at\ \[[^ -]+bug30828\.php\:42\]\ -A\-\>\_\_construct\ -B\-\>\_\_construct\ -\#0\ \ A\-\>foo\(\)\ called\ at\ \[[^ -]+bug30828\.php\:34\]\ -\#1\ \ B\-\>foo\(\)\ called\ at\ \[[^ -]+bug30828\.php\:43\]\ -A\-\>foo\ -B\-\>foo\ -\#0\ \ A\:\:bar\(\)\ called\ at\ \[[^ -]+bug30828\.php\:38\]\ -\#1\ \ B\:\:bar\(\)\ called\ at\ \[[^ -]+bug30828\.php\:44\]\ -A\:\:bar\ -B\:\:bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug30998.php.exp b/hphp/test/zend/bad/zend/bug30998.php.exp deleted file mode 100644 index f19d096ec..000000000 --- a/hphp/test/zend/bad/zend/bug30998.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -fopen\(\/tmp\/blah\)\:\ failed\ to\ open\ stream\:\ No\ such\ file\ or\ directory\ \(2\)\ in\ [^ -]+\:\d+\ -HipHop Warning: .+ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug30998.php.expectf b/hphp/test/zend/bad/zend/bug30998.php.expectf new file mode 100644 index 000000000..f97b241ba --- /dev/null +++ b/hphp/test/zend/bad/zend/bug30998.php.expectf @@ -0,0 +1,3 @@ +fopen(/tmp/blah): failed to open stream: %s (2) in %s:%d +HipHop Warning: %a +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug31098.php.exp b/hphp/test/zend/bad/zend/bug31098.php.exp deleted file mode 100644 index a80e1bfbf..000000000 --- a/hphp/test/zend/bad/zend/bug31098.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -ok\ -ok\ -ok\ -ok\ -ok\ -ok\ -ok\ -HipHop Notice: .+ -ok\ -HipHop Warning: .+ -ok\ -ok\ -HipHop Warning: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug31098.php.expectf b/hphp/test/zend/bad/zend/bug31098.php.expectf new file mode 100644 index 000000000..70b52f469 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug31098.php.expectf @@ -0,0 +1,20 @@ +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +ok +ok +ok +ok +ok +ok +ok +HipHop Notice: %a +ok +HipHop Warning: %a +ok +ok +HipHop Warning: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug31102.php.exp b/hphp/test/zend/bad/zend/bug31102.php.exp deleted file mode 100644 index aa96d9cc4..000000000 --- a/hphp/test/zend/bad/zend/bug31102.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -__autoload(Test1,1) -Caught: Test1::__construct -__autoload(Test2,2) -Caught: __autoload -__autoload(Test3,3) -HipHop Fatal error: Undefined class: Test3 diff --git a/hphp/test/zend/bad/zend/bug32660.php.exp b/hphp/test/zend/bad/zend/bug32660.php.exp deleted file mode 100644 index 45793da6e..000000000 --- a/hphp/test/zend/bad/zend/bug32660.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -HipHop Notice: .+ -A\ Object\ -\(\ -\ \ \ \ \[q\]\ \=\>\ 3\ -\)\ -HipHop Notice: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug32660.php.expectf b/hphp/test/zend/bad/zend/bug32660.php.expectf new file mode 100644 index 000000000..35094e5c7 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug32660.php.expectf @@ -0,0 +1,7 @@ +HipHop Notice: %a +A Object +( + [q] => 3 +) +HipHop Notice: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug32674.php.exp b/hphp/test/zend/bad/zend/bug32674.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug32674.php.exp rename to hphp/test/zend/bad/zend/bug32674.php.expectf diff --git a/hphp/test/zend/bad/zend/bug34064.php.exp b/hphp/test/zend/bad/zend/bug34064.php.exp deleted file mode 100644 index 37a959723..000000000 --- a/hphp/test/zend/bad/zend/bug34064.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(2\)\ \"ok\"\ -\}\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug34064.php.expectf b/hphp/test/zend/bad/zend/bug34064.php.expectf new file mode 100644 index 000000000..93014e112 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug34064.php.expectf @@ -0,0 +1,5 @@ +array(1) { + [0]=> + string(2) "ok" +} +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug34199.php.exp b/hphp/test/zend/bad/zend/bug34199.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug34199.php.exp rename to hphp/test/zend/bad/zend/bug34199.php.expectf diff --git a/hphp/test/zend/bad/zend/bug35163.php.exp b/hphp/test/zend/bad/zend/bug35163.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug35163.php.exp rename to hphp/test/zend/bad/zend/bug35163.php.expectf diff --git a/hphp/test/zend/bad/zend/bug35239.php.exp b/hphp/test/zend/bad/zend/bug35239.php.exp deleted file mode 100644 index 0737821f0..000000000 --- a/hphp/test/zend/bad/zend/bug35239.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"x0\"\]\=\>\ -\ \ \&object\(stdClass\)\#\d+\ \(3\)\ \{\ -\ \ \ \ \[\"y0\"\]\=\>\ -\ \ \ \ string\(1\)\ \"b\"\ -\ \ \ \ \[\"y1\"\]\=\>\ -\ \ \ \ \*RECURSION\*\ -\ \ \ \ \[\"y2\"\]\=\>\ -\ \ \ \ \*RECURSION\*\ -\ \ \}\ -\}\ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug35239.php.expectf b/hphp/test/zend/bad/zend/bug35239.php.expectf new file mode 100644 index 000000000..a706e2e28 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug35239.php.expectf @@ -0,0 +1,12 @@ +object(stdClass)#%d (1) { + ["x0"]=> + &object(stdClass)#%d (3) { + ["y0"]=> + string(1) "b" + ["y1"]=> + *RECURSION* + ["y2"]=> + *RECURSION* + } +} +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug35437.php.exp b/hphp/test/zend/bad/zend/bug35437.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug35437.php.exp rename to hphp/test/zend/bad/zend/bug35437.php.expectf diff --git a/hphp/test/zend/bad/zend/bug36214.php.exp b/hphp/test/zend/bad/zend/bug36214.php.exp deleted file mode 100644 index a91878495..000000000 --- a/hphp/test/zend/bad/zend/bug36214.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\}\ -object\(ArrayObject\)\#\d+\ \(1\)\ \{\ -\ \ \[\"storage\"\:\"ArrayObject\"\:private\]\=\>\ -\ \ array\(2\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \ \ \[1\]\=\>\ -\ \ \ \ int\(2\)\ -\ \ \}\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36214.php.expectf b/hphp/test/zend/bad/zend/bug36214.php.expectf new file mode 100644 index 000000000..8aabbcf86 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug36214.php.expectf @@ -0,0 +1,21 @@ +array(2) { + [0]=> + int(1) + [1]=> + int(2) +} +array(2) { + [0]=> + int(1) + [1]=> + int(2) +} +object(ArrayObject)#%d (1) { + ["storage":"ArrayObject":private]=> + array(2) { + [0]=> + int(1) + [1]=> + int(2) + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36268.php.exp b/hphp/test/zend/bad/zend/bug36268.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug36268.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36268.php.expectf b/hphp/test/zend/bad/zend/bug36268.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug36268.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36303.php.exp b/hphp/test/zend/bad/zend/bug36303.php.exp deleted file mode 100644 index b5eba7ca0..000000000 --- a/hphp/test/zend/bad/zend/bug36303.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36303.php.expectf b/hphp/test/zend/bad/zend/bug36303.php.expectf new file mode 100644 index 000000000..a499ec225 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug36303.php.expectf @@ -0,0 +1,3 @@ +HipHop Warning: %a +HipHop Warning: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36513.php.exp b/hphp/test/zend/bad/zend/bug36513.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug36513.php.exp rename to hphp/test/zend/bad/zend/bug36513.php.expectf diff --git a/hphp/test/zend/bad/zend/bug36759.php.exp b/hphp/test/zend/bad/zend/bug36759.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug36759.php.exp rename to hphp/test/zend/bad/zend/bug36759.php.expectf diff --git a/hphp/test/zend/good/zend/bug37251.php b/hphp/test/zend/bad/zend/bug37251.php similarity index 100% rename from hphp/test/zend/good/zend/bug37251.php rename to hphp/test/zend/bad/zend/bug37251.php diff --git a/hphp/test/zend/bad/zend/bug37251.php.expectf b/hphp/test/zend/bad/zend/bug37251.php.expectf new file mode 100644 index 000000000..a0aba9318 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug37251.php.expectf @@ -0,0 +1 @@ +OK \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug37632.php.exp b/hphp/test/zend/bad/zend/bug37632.php.exp deleted file mode 100644 index 1689aa2e6..000000000 --- a/hphp/test/zend/bad/zend/bug37632.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -B1\:\:doTest\ -C1\:\:test\ -B2\:\:doTest\ -C2\:\:test\ -B4\:\:doTest\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug37632.php.expectf b/hphp/test/zend/bad/zend/bug37632.php.expectf new file mode 100644 index 000000000..d3378597f --- /dev/null +++ b/hphp/test/zend/bad/zend/bug37632.php.expectf @@ -0,0 +1,6 @@ +B1::doTest +C1::test +B2::doTest +C2::test +B4::doTest +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug37667.php.exp b/hphp/test/zend/bad/zend/bug37667.php.exp deleted file mode 100644 index 082645381..000000000 --- a/hphp/test/zend/bad/zend/bug37667.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -string\(3\)\ \"bar\"\ -HipHop Notice: .+ -NULL\ -object\(Test\)\#\d+\ \(1\)\ \{\ -\ \ \[\"property\"\:protected\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[\"foo\"\]\=\>\ -\ \ \ \ string\(3\)\ \"bar\"\ -\ \ \}\ -\}\ -HipHop Notice: .+ -HipHop Notice: .+ -object\(Test\)\#\d+\ \(1\)\ \{\ -\ \ \[\"property\"\:protected\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[\"foo\"\]\=\>\ -\ \ \ \ string\(3\)\ \"bar\"\ -\ \ \}\ -\}\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug37667.php.expectf b/hphp/test/zend/bad/zend/bug37667.php.expectf new file mode 100644 index 000000000..e89befb21 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug37667.php.expectf @@ -0,0 +1,20 @@ +string(3) "bar" +HipHop Notice: %a +NULL +object(Test)#%d (1) { + ["property":protected]=> + array(1) { + ["foo"]=> + string(3) "bar" + } +} +HipHop Notice: %a +HipHop Notice: %a +object(Test)#%d (1) { + ["property":protected]=> + array(1) { + ["foo"]=> + string(3) "bar" + } +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug37811.php.exp b/hphp/test/zend/bad/zend/bug37811.php.exp deleted file mode 100644 index ce27c3c4d..000000000 --- a/hphp/test/zend/bad/zend/bug37811.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -string\(3\)\ \"Foo\"\ -HipHop Warning: .+ -HipHop Notice: .+ -string\(3\)\ \"Baz\"\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug37811.php.expectf b/hphp/test/zend/bad/zend/bug37811.php.expectf new file mode 100644 index 000000000..312000df0 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug37811.php.expectf @@ -0,0 +1,5 @@ +string(3) "Foo" +HipHop Warning: %a +HipHop Notice: %a +string(3) "Baz" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38047.php.exp b/hphp/test/zend/bad/zend/bug38047.php.exp deleted file mode 100644 index 61b3183f3..000000000 --- a/hphp/test/zend/bad/zend/bug38047.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -Non\-static\ method\ A\:\:A\_ftk\(\)\ should\ not\ be\ called\ statically\ -1\ [^ -]+bug38047\.php\:13\ get\_error\_context\(\)\ -2\ [^ -]+bug38047\.php\:36\ kalus\_error\_handler\(\)\ -3\ [^ -]+bug38047\.php\:36\ A\_ftk\(\)\ -\ -Missing\ argument\ 1\ for\ A\:\:A\_ftk\(\)\,\ called\ in\ [^ -]+bug38047\.php\ on\ line\ 36\ and\ defined\ -1\ [^ -]+bug38047\.php\:13\ get\_error\_context\(\)\ -2\ [^ -]+bug38047\.php\:7\ kalus\_error\_handler\(\)\ -3\ [^ -]+bug38047\.php\:36\ A\_ftk\(\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38047.php.expectf b/hphp/test/zend/bad/zend/bug38047.php.expectf new file mode 100644 index 000000000..e8d95828a --- /dev/null +++ b/hphp/test/zend/bad/zend/bug38047.php.expectf @@ -0,0 +1,9 @@ +Non-static method A::A_ftk() should not be called statically +1 %sbug38047.php:13 get_error_context() +2 %sbug38047.php:36 kalus_error_handler() +3 %sbug38047.php:36 A_ftk() + +Missing argument 1 for A::A_ftk(), called in %sbug38047.php on line 36 and defined +1 %sbug38047.php:13 get_error_context() +2 %sbug38047.php:7 kalus_error_handler() +3 %sbug38047.php:36 A_ftk() \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38461.php.exp b/hphp/test/zend/bad/zend/bug38461.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug38461.php.exp rename to hphp/test/zend/bad/zend/bug38461.php.expectf diff --git a/hphp/test/zend/bad/zend/bug38624.php.exp b/hphp/test/zend/bad/zend/bug38624.php.exp deleted file mode 100644 index 37fc520f6..000000000 --- a/hphp/test/zend/bad/zend/bug38624.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+\(\d+\)\:\ impl\-\>\_\_get\(\'counter\'\)\ -\#1\ [^ -]+\(\d+\)\:\ impl\-\>\_\_construct\(\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/zend\/bug38624\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38624.php.expectf b/hphp/test/zend/bad/zend/bug38624.php.expectf new file mode 100644 index 000000000..712feb91d --- /dev/null +++ b/hphp/test/zend/bad/zend/bug38624.php.expectf @@ -0,0 +1,6 @@ +HipHop Fatal error: %a +Stack trace: +#0 %s(%d): impl->__get('counter') +#1 %s(%d): impl->__construct() +#2 {main} + thrown in hphp/test/zend/bad/zend/bug38624.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38772.php.exp b/hphp/test/zend/bad/zend/bug38772.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug38772.php.exp rename to hphp/test/zend/bad/zend/bug38772.php.expectf diff --git a/hphp/test/zend/bad/zend/bug38779.php.exp b/hphp/test/zend/bad/zend/bug38779.php.exp deleted file mode 100644 index e9cca6a2b..000000000 --- a/hphp/test/zend/bad/zend/bug38779.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Parse\ error\:\ [^ -]+\ error[^ -]+in\ Loader\:\/\/qqq\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38779.php.expectf b/hphp/test/zend/bad/zend/bug38779.php.expectf new file mode 100644 index 000000000..578b950e3 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug38779.php.expectf @@ -0,0 +1 @@ +Parse error: %s error%sin Loader://qqq.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38779_1.php.exp b/hphp/test/zend/bad/zend/bug38779_1.php.exp deleted file mode 100644 index bc35ee34b..000000000 --- a/hphp/test/zend/bad/zend/bug38779_1.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Parse\ error\:\ [^ -]+\ error[^ -]+in\ hphp\/test\/zend\/bad\/zend\/bug38779\_1\.php\ on\ line\ \d+\ -string\(6\)\ \"flush\!\"\ -string\(6\)\ \"close\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38779_1.php.expectf b/hphp/test/zend/bad/zend/bug38779_1.php.expectf new file mode 100644 index 000000000..e55cb93bc --- /dev/null +++ b/hphp/test/zend/bad/zend/bug38779_1.php.expectf @@ -0,0 +1,3 @@ +Parse error: %s error%sin hphp/test/zend/bad/zend/bug38779_1.php on line %d +string(6) "flush!" +string(6) "close!" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39003.php.exp b/hphp/test/zend/bad/zend/bug39003.php.exp deleted file mode 100644 index 314d65057..000000000 --- a/hphp/test/zend/bad/zend/bug39003.php.exp +++ /dev/null @@ -1 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ test\(\)\ must\ be\ an\ instance\ of\ OtherClassName\,\ instance\ of\ ClassName\ given\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/bug39003\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/bug39003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39003.php.expectf b/hphp/test/zend/bad/zend/bug39003.php.expectf new file mode 100644 index 000000000..6e1c32f12 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39003.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to test() must be an instance of OtherClassName, instance of ClassName given, called in hphp/test/zend/bad/zend/bug39003.php on line %d and defined in hphp/test/zend/bad/zend/bug39003.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39018.php.exp b/hphp/test/zend/bad/zend/bug39018.php.exp deleted file mode 100644 index ce7a2ae97..000000000 --- a/hphp/test/zend/bad/zend/bug39018.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -b\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39018.php.expectf b/hphp/test/zend/bad/zend/bug39018.php.expectf new file mode 100644 index 000000000..e16ba870a --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39018.php.expectf @@ -0,0 +1,21 @@ +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +b +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39036.php.exp b/hphp/test/zend/bad/zend/bug39036.php.exp deleted file mode 100644 index fab74cccf..000000000 --- a/hphp/test/zend/bad/zend/bug39036.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: .+ -NULL\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39036.php.expectf b/hphp/test/zend/bad/zend/bug39036.php.expectf new file mode 100644 index 000000000..5bc7b338a --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39036.php.expectf @@ -0,0 +1,3 @@ +HipHop Notice: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39127.php.exp b/hphp/test/zend/bad/zend/bug39127.php.exp deleted file mode 100644 index 07016487b..000000000 --- a/hphp/test/zend/bad/zend/bug39127.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -string\(13\)\ \"a\:\:a\(\)\ called\"\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39127.php.expectf b/hphp/test/zend/bad/zend/bug39127.php.expectf new file mode 100644 index 000000000..04720919a --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39127.php.expectf @@ -0,0 +1,5 @@ +string(13) "a::a() called" +bool(true) +bool(false) +bool(false) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39304.php.exp b/hphp/test/zend/bad/zend/bug39304.php.exp deleted file mode 100644 index cf8b34136..000000000 --- a/hphp/test/zend/bad/zend/bug39304.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -I\ am\ alive \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39304.php.expectf b/hphp/test/zend/bad/zend/bug39304.php.expectf new file mode 100644 index 000000000..0e028007d --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39304.php.expectf @@ -0,0 +1,4 @@ +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +I am alive \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39304_2_4.php.exp b/hphp/test/zend/bad/zend/bug39304_2_4.php.exp deleted file mode 100644 index 5ae2bf2d8..000000000 --- a/hphp/test/zend/bad/zend/bug39304_2_4.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -string\(0\)\ \"\"\ -string\(0\)\ \"\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39304_2_4.php.expectf b/hphp/test/zend/bad/zend/bug39304_2_4.php.expectf new file mode 100644 index 000000000..933d3577c --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39304_2_4.php.expectf @@ -0,0 +1,5 @@ +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +string(0) "" +string(0) "" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39542.php.exp b/hphp/test/zend/bad/zend/bug39542.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug39542.php.exp rename to hphp/test/zend/bad/zend/bug39542.php.expectf diff --git a/hphp/test/zend/bad/zend/bug39775.php.exp b/hphp/test/zend/bad/zend/bug39775.php.exp deleted file mode 100644 index e5f2e8563..000000000 --- a/hphp/test/zend/bad/zend/bug39775.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Notice: .+ -Array\ -\(\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39775.php.expectf b/hphp/test/zend/bad/zend/bug39775.php.expectf new file mode 100644 index 000000000..004bd20a9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39775.php.expectf @@ -0,0 +1,4 @@ +HipHop Notice: %a +Array +( +) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40236.php.exp b/hphp/test/zend/bad/zend/bug40236.php.exp deleted file mode 100644 index 98851952c..000000000 --- a/hphp/test/zend/bad/zend/bug40236.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Interactive\ [^ -]+\ -\ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40236.php.expectf b/hphp/test/zend/bad/zend/bug40236.php.expectf new file mode 100644 index 000000000..fc52c9c16 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug40236.php.expectf @@ -0,0 +1,3 @@ +Interactive %s + +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40509.php.exp b/hphp/test/zend/bad/zend/bug40509.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug40509.php.exp rename to hphp/test/zend/bad/zend/bug40509.php.expectf diff --git a/hphp/test/zend/bad/zend/bug40621.php.exp b/hphp/test/zend/bad/zend/bug40621.php.exp deleted file mode 100644 index de3d42277..000000000 --- a/hphp/test/zend/bad/zend/bug40621.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Non\-static\ method\ Foo\:\:get\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/bug40621\.php\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40621.php.expectf b/hphp/test/zend/bad/zend/bug40621.php.expectf new file mode 100644 index 000000000..6ad69426d --- /dev/null +++ b/hphp/test/zend/bad/zend/bug40621.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Non-static method Foo::get() should not be called statically in hphp/test/zend/bad/zend/bug40621.php on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40705.php.exp b/hphp/test/zend/bad/zend/bug40705.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug40705.php.exp rename to hphp/test/zend/bad/zend/bug40705.php.expectf diff --git a/hphp/test/zend/bad/zend/bug40784.php.exp b/hphp/test/zend/bad/zend/bug40784.php.exp deleted file mode 100644 index 447f1cfe0..000000000 --- a/hphp/test/zend/bad/zend/bug40784.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -I\'m\ A\ -I\'m\ A\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40784.php.expectf b/hphp/test/zend/bad/zend/bug40784.php.expectf new file mode 100644 index 000000000..bfbc1d184 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug40784.php.expectf @@ -0,0 +1,3 @@ +I'm A +I'm A +Done \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug40815.php b/hphp/test/zend/bad/zend/bug40815.php similarity index 100% rename from hphp/test/zend/good/zend/bug40815.php rename to hphp/test/zend/bad/zend/bug40815.php diff --git a/hphp/test/zend/bad/zend/ns_009.php.exp b/hphp/test/zend/bad/zend/bug40815.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_009.php.exp rename to hphp/test/zend/bad/zend/bug40815.php.expectf diff --git a/hphp/test/zend/bad/zend/bug41209.php.exp b/hphp/test/zend/bad/zend/bug41209.php.exp deleted file mode 100644 index 477cebd85..000000000 --- a/hphp/test/zend/bad/zend/bug41209.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+\(\d+\)\:\ env\:\:errorHandler\(8\,\ \'[^ -]+\'\,\ \'[^ -]+\'\,\ 34\,\ Array\)\ -\#1\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/zend\/bug41209\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41209.php.expectf b/hphp/test/zend/bad/zend/bug41209.php.expectf new file mode 100644 index 000000000..8cd47678f --- /dev/null +++ b/hphp/test/zend/bad/zend/bug41209.php.expectf @@ -0,0 +1,5 @@ +HipHop Fatal error: %a +Stack trace: +#0 %s(%d): env::errorHandler(8, '%s', '%s', 34, Array) +#1 {main} + thrown in hphp/test/zend/bad/zend/bug41209.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41421.php.exp b/hphp/test/zend/bad/zend/bug41421.php.exp deleted file mode 100644 index a24c0b364..000000000 --- a/hphp/test/zend/bad/zend/bug41421.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -HipHop Warning: .+ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \[internal\ function\]\:\ wrapper\-\>stream\_eof\(\)\ -\#1\ [^ -]+\(\d+\)\:\ feof\(Resource\ id\ \#6\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/zend\/bug41421\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41421.php.expectf b/hphp/test/zend/bad/zend/bug41421.php.expectf new file mode 100644 index 000000000..bff25f407 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug41421.php.expectf @@ -0,0 +1,7 @@ +HipHop Warning: %a +HipHop Fatal error: %a +Stack trace: +#0 [internal function]: wrapper->stream_eof() +#1 %s(%d): feof(Resource id #6) +#2 {main} + thrown in hphp/test/zend/bad/zend/bug41421.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41633_3.php.exp b/hphp/test/zend/bad/zend/bug41633_3.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug41633_3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41633_3.php.expectf b/hphp/test/zend/bad/zend/bug41633_3.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug41633_3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42802.php.exp b/hphp/test/zend/bad/zend/bug42802.php.exp deleted file mode 100644 index 381df0709..000000000 --- a/hphp/test/zend/bad/zend/bug42802.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -ok\ -ok\ -ok\ -ok\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ foo\\test5\(\)\ must\ be\ an\ instance\ of\ bar\,\ instance\ of\ foo\\bar\ given\,\ called\ in\ [^ -]+bug42802\.php\ on\ line\ \d+\ and\ defined\ in\ [^ -]+bug42802\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42802.php.expectf b/hphp/test/zend/bad/zend/bug42802.php.expectf new file mode 100644 index 000000000..39d5edbd6 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug42802.php.expectf @@ -0,0 +1,6 @@ +ok +ok +ok +ok + +Catchable fatal error: Argument 1 passed to foo\test5() must be an instance of bar, instance of foo\bar given, called in %sbug42802.php on line %d and defined in %sbug42802.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42819.php.exp b/hphp/test/zend/bad/zend/bug42819.php.exp deleted file mode 100644 index b0051c443..000000000 --- a/hphp/test/zend/bad/zend/bug42819.php.exp +++ /dev/null @@ -1,157 +0,0 @@ -first\ -foo\\C\ -foo\\foo\\C\ -foo\\foo\\foo\:\:C\ -foo\\foo\:\:C\ -foo\\foo\:\:C\ -1\ -1\ -second\ -foo\\C\ -foo\\foo\\C\ -foo\\foo\\foo\:\:C\ -foo\\C\ -foo\\foo\:\:C\ -1\ -1\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[12\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[32\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[22\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 0\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[12\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[32\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[22\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 11\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[12\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[32\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[22\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 12\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[12\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[32\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[22\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[12\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[32\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[11\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[22\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 1\ -\)\ -Array\ -\(\ -\ \ \ \ \[1\]\ \=\>\ 1\ -\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42819.php.expectf b/hphp/test/zend/bad/zend/bug42819.php.expectf new file mode 100644 index 000000000..8bd9d9b96 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug42819.php.expectf @@ -0,0 +1,157 @@ +first +foo\C +foo\foo\C +foo\foo\foo::C +foo\foo::C +foo\foo::C +1 +1 +second +foo\C +foo\foo\C +foo\foo\foo::C +foo\C +foo\foo::C +1 +1 +Array +( + [11] => 0 +) +Array +( + [12] => 0 +) +Array +( + [32] => 0 +) +Array +( + [11] => 0 +) +Array +( + [22] => 0 +) +Array +( + [1] => 0 +) +Array +( + [1] => 0 +) +Array +( + [11] => 11 +) +Array +( + [12] => 11 +) +Array +( + [32] => 11 +) +Array +( + [11] => 11 +) +Array +( + [22] => 11 +) +Array +( + [1] => 11 +) +Array +( + [1] => 11 +) +Array +( + [11] => 12 +) +Array +( + [12] => 12 +) +Array +( + [32] => 12 +) +Array +( + [11] => 12 +) +Array +( + [22] => 12 +) +Array +( + [1] => 12 +) +Array +( + [1] => 12 +) +Array +( + [11] => 1 +) +Array +( + [12] => 1 +) +Array +( + [32] => 1 +) +Array +( + [11] => 1 +) +Array +( + [22] => 1 +) +Array +( + [1] => 1 +) +Array +( + [1] => 1 +) +Array +( + [11] => 1 +) +Array +( + [12] => 1 +) +Array +( + [32] => 1 +) +Array +( + [11] => 1 +) +Array +( + [22] => 1 +) +Array +( + [1] => 1 +) +Array +( + [1] => 1 +) +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42820.php.exp b/hphp/test/zend/bad/zend/bug42820.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug42820.php.exp rename to hphp/test/zend/bad/zend/bug42820.php.expectf diff --git a/hphp/test/zend/bad/zend/bug42859.php.exp b/hphp/test/zend/bad/zend/bug42859.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug42859.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42859.php.expectf b/hphp/test/zend/bad/zend/bug42859.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug42859.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43175.php.exp b/hphp/test/zend/bad/zend/bug43175.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug43175.php.exp rename to hphp/test/zend/bad/zend/bug43175.php.expectf diff --git a/hphp/test/zend/bad/zend/bug43200.php.exp b/hphp/test/zend/bad/zend/bug43200.php.exp deleted file mode 100644 index 39b9549cd..000000000 --- a/hphp/test/zend/bad/zend/bug43200.php.exp +++ /dev/null @@ -1,28 +0,0 @@ -Class\ \[\ \\ class\ x\ extends\ c\ implements\ a\,\ b\ \]\ \{\ -\ \ \@\@\ [^ -]+\ 15\-17\ -\ -\ \ \-\ Constants\ \[0\]\ \{\ -\ \ \}\ -\ -\ \ \-\ Static\ properties\ \[0\]\ \{\ -\ \ \}\ -\ -\ \ \-\ Static\ methods\ \[0\]\ \{\ -\ \ \}\ -\ -\ \ \-\ Properties\ \[0\]\ \{\ -\ \ \}\ -\ -\ \ \-\ Methods\ \[2\]\ \{\ -\ \ \ \ Method\ \[\ \\ public\ method\ foo\ \]\ \{\ -\ \ \ \ \ \ \@\@\ [^ -]+\ 16\ \-\ 16\ -\ \ \ \ \}\ -\ -\ \ \ \ Method\ \[\ \\ public\ method\ bar\ \]\ \{\ -\ \ \ \ \ \ \@\@\ [^ -]+\ 12\ \-\ 12\ -\ \ \ \ \}\ -\ \ \}\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43200.php.expectf b/hphp/test/zend/bad/zend/bug43200.php.expectf new file mode 100644 index 000000000..825f30e45 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43200.php.expectf @@ -0,0 +1,25 @@ +Class [ class x extends c implements a, b ] { + @@ %s 15-17 + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method foo ] { + @@ %s 16 - 16 + } + + Method [ public method bar ] { + @@ %s 12 - 12 + } + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43201.php.exp b/hphp/test/zend/bad/zend/bug43201.php.exp deleted file mode 100644 index 2e87fbceb..000000000 --- a/hphp/test/zend/bad/zend/bug43201.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43201.php.expectf b/hphp/test/zend/bad/zend/bug43201.php.expectf new file mode 100644 index 000000000..e75af8147 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43201.php.expectf @@ -0,0 +1,16 @@ +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43332_1.php.exp b/hphp/test/zend/bad/zend/bug43332_1.php.exp deleted file mode 100644 index 9e29d0fcc..000000000 --- a/hphp/test/zend/bad/zend/bug43332_1.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ foobar\\foo\:\:bar\(\)\ must\ be\ an\ instance\ of\ foobar\\foo\,\ instance\ of\ stdClass\ given\,\ called\ in\ [^ -]+bug43332\_1\.php\ on\ line\ 10\ and\ defined\ in\ [^ -]+bug43332\_1\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43332_1.php.expectf b/hphp/test/zend/bad/zend/bug43332_1.php.expectf new file mode 100644 index 000000000..2bde78f73 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43332_1.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to foobar\foo::bar() must be an instance of foobar\foo, instance of stdClass given, called in %sbug43332_1.php on line 10 and defined in %sbug43332_1.php on line 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43343.php.exp b/hphp/test/zend/bad/zend/bug43343.php.exp deleted file mode 100644 index ece03dd08..000000000 --- a/hphp/test/zend/bad/zend/bug43343.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -Parse\ error\:\ [^ -]+\ error[^ -]+expecting[^ -]+T\_NS\_SEPARATOR[^ -]+in\ [^ -]+bug43343\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43343.php.expectf b/hphp/test/zend/bad/zend/bug43343.php.expectf new file mode 100644 index 000000000..edd0b695e --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43343.php.expectf @@ -0,0 +1 @@ +Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_1.php.exp b/hphp/test/zend/bad/zend/bug43344_1.php.exp deleted file mode 100644 index 36ddf0d3c..000000000 --- a/hphp/test/zend/bad/zend/bug43344_1.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -HipHop Notice: .+ -bar\ -HipHop Notice: .+ -bar\ -HipHop Notice: .+ -bar\ -HipHop Notice: .+ -bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_1.php.expectf b/hphp/test/zend/bad/zend/bug43344_1.php.expectf new file mode 100644 index 000000000..3d76e8d71 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43344_1.php.expectf @@ -0,0 +1,8 @@ +HipHop Notice: %a +bar +HipHop Notice: %a +bar +HipHop Notice: %a +bar +HipHop Notice: %a +bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_10.php.exp b/hphp/test/zend/bad/zend/bug43344_10.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug43344_10.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_10.php.expectf b/hphp/test/zend/bad/zend/bug43344_10.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43344_10.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_11.php.exp b/hphp/test/zend/bad/zend/bug43344_11.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug43344_11.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_11.php.expectf b/hphp/test/zend/bad/zend/bug43344_11.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43344_11.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_12.php.exp b/hphp/test/zend/bad/zend/bug43344_12.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug43344_12.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_12.php.expectf b/hphp/test/zend/bad/zend/bug43344_12.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43344_12.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_13.php.exp b/hphp/test/zend/bad/zend/bug43344_13.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug43344_13.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_13.php.expectf b/hphp/test/zend/bad/zend/bug43344_13.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43344_13.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_6.php.exp b/hphp/test/zend/bad/zend/bug43344_6.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug43344_6.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_6.php.expectf b/hphp/test/zend/bad/zend/bug43344_6.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43344_6.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43450.php.exp b/hphp/test/zend/bad/zend/bug43450.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug43450.php.exp rename to hphp/test/zend/bad/zend/bug43450.php.expectf diff --git a/hphp/test/zend/bad/zend/bug43651.php.exp b/hphp/test/zend/bad/zend/bug43651.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug43651.php.exp rename to hphp/test/zend/bad/zend/bug43651.php.expectf diff --git a/hphp/test/zend/bad/zend/bug43703.php.exp b/hphp/test/zend/bad/zend/bug43703.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug43703.php.exp rename to hphp/test/zend/bad/zend/bug43703.php.expectf diff --git a/hphp/test/zend/bad/zend/bug43918.php.exp b/hphp/test/zend/bad/zend/bug43918.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug43918.php.exp rename to hphp/test/zend/bad/zend/bug43918.php.expectf diff --git a/hphp/test/zend/bad/zend/bug44653.php.exp b/hphp/test/zend/bad/zend/bug44653.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug44653.php.exp rename to hphp/test/zend/bad/zend/bug44653.php.expectf diff --git a/hphp/test/zend/bad/zend/bug44660.php.exp b/hphp/test/zend/bad/zend/bug44660.php.exp deleted file mode 100644 index 01519d0e0..000000000 --- a/hphp/test/zend/bad/zend/bug44660.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -\-\-\>\ read\ access\:\ \ -HipHop Notice: .+ -\ -\-\-\>\ direct\ assignment\:\ \ -HipHop Warning: .+ -\ -\-\-\>\ increment\:\ \ -HipHop Warning: .+ -\ -\-\-\>\ reference\ assignment\:\ -HipHop Warning: .+ -\ -\-\-\>\ reference\ assignment\:\ -HipHop Warning: .+ -\ -\-\-\>\ indexed\ assignment\:\ -HipHop Warning: .+ -\ -\-\-\>\ Confirm\ assignments\ have\ had\ no\ impact\:\ -bool\(true\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44660.php.expectf b/hphp/test/zend/bad/zend/bug44660.php.expectf new file mode 100644 index 000000000..8e8844ae1 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug44660.php.expectf @@ -0,0 +1,20 @@ +--> read access: +HipHop Notice: %a + +--> direct assignment: +HipHop Warning: %a + +--> increment: +HipHop Warning: %a + +--> reference assignment: +HipHop Warning: %a + +--> reference assignment: +HipHop Warning: %a + +--> indexed assignment: +HipHop Warning: %a + +--> Confirm assignments have had no impact: +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44827.php.exp b/hphp/test/zend/bad/zend/bug44827.php.exp deleted file mode 100644 index 43668efd4..000000000 --- a/hphp/test/zend/bad/zend/bug44827.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44827.php.expectf b/hphp/test/zend/bad/zend/bug44827.php.expectf new file mode 100644 index 000000000..55529a618 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug44827.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44899.php.exp b/hphp/test/zend/bad/zend/bug44899.php.exp deleted file mode 100644 index ff0ad5485..000000000 --- a/hphp/test/zend/bad/zend/bug44899.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -isset\ -empty\ -HipHop Notice: .+ -empty \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44899.php.expectf b/hphp/test/zend/bad/zend/bug44899.php.expectf new file mode 100644 index 000000000..2612f29fe --- /dev/null +++ b/hphp/test/zend/bad/zend/bug44899.php.expectf @@ -0,0 +1,4 @@ +isset +empty +HipHop Notice: %a +empty \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug45147.php b/hphp/test/zend/bad/zend/bug45147.php similarity index 100% rename from hphp/test/zend/good/zend/bug45147.php rename to hphp/test/zend/bad/zend/bug45147.php diff --git a/hphp/test/zend/bad/zend/bug45147.php.expectf b/hphp/test/zend/bad/zend/bug45147.php.expectf new file mode 100644 index 000000000..4287ca861 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug45147.php.expectf @@ -0,0 +1 @@ +# \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45178.php.exp b/hphp/test/zend/bad/zend/bug45178.php.exp deleted file mode 100644 index da08cc6cb..000000000 --- a/hphp/test/zend/bad/zend/bug45178.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -Deprecated\:\ Assigning\ the\ return\ value\ of\ new\ by\ reference\ is\ deprecated\ in\ [^ -]+bug45178\.php\ on\ line\ 7\ -\ -Deprecated\:\ Assigning\ the\ return\ value\ of\ new\ by\ reference\ is\ deprecated\ in\ [^ -]+bug45178\.php\ on\ line\ 15\ -object\(Bar\)\#\d+\ \(1\)\ \{\ -\ \ \[\"\_rme2\"\]\=\>\ -\ \ int\(0\)\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45178.php.expectf b/hphp/test/zend/bad/zend/bug45178.php.expectf new file mode 100644 index 000000000..30c0b16dc --- /dev/null +++ b/hphp/test/zend/bad/zend/bug45178.php.expectf @@ -0,0 +1,7 @@ +Deprecated: Assigning the return value of new by reference is deprecated in %sbug45178.php on line 7 + +Deprecated: Assigning the return value of new by reference is deprecated in %sbug45178.php on line 15 +object(Bar)#%d (1) { + ["_rme2"]=> + int(0) +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45805.php.exp b/hphp/test/zend/bad/zend/bug45805.php.exp deleted file mode 100644 index 9c7607393..000000000 --- a/hphp/test/zend/bad/zend/bug45805.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+bug45805\.php\(\d+\)\:\ PHPUnit\_Util\_ErrorHandler\:\:handleError\(2048\,\ \'Only\ variables\ \.\.\.\'\,\ \'[^ -]+\'\,\ \d+\,\ Array\)\ -\#1\ \[internal\ function\]\:\ B\-\>foo\(\)\ -\#2\ [^ -]+bug45805\.php\(\d+\)\:\ ReflectionMethod\-\>invoke\(Object\(B\)\)\ -\#3\ [^ -]+bug45805\.php\(\d+\)\:\ B\-\>bar\(\)\ -\#4\ \{main\}\ -\ \ thrown\ in\ [^ -]+bug45805\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45805.php.expectf b/hphp/test/zend/bad/zend/bug45805.php.expectf new file mode 100644 index 000000000..a9183ee34 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug45805.php.expectf @@ -0,0 +1,8 @@ +HipHop Fatal error: %a +Stack trace: +#0 %sbug45805.php(%d): PHPUnit_Util_ErrorHandler::handleError(2048, 'Only variables ...', '%s', %d, Array) +#1 [internal function]: B->foo() +#2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B)) +#3 %sbug45805.php(%d): B->bar() +#4 {main} + thrown in %sbug45805.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45862.php.exp b/hphp/test/zend/bad/zend/bug45862.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug45862.php.exp rename to hphp/test/zend/bad/zend/bug45862.php.expectf diff --git a/hphp/test/zend/bad/zend/bug46238.php.exp b/hphp/test/zend/bad/zend/bug46238.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug46238.php.exp rename to hphp/test/zend/bad/zend/bug46238.php.expectf diff --git a/hphp/test/zend/bad/zend/bug46304.php.exp b/hphp/test/zend/bad/zend/bug46304.php.exp deleted file mode 100644 index f110647c1..000000000 --- a/hphp/test/zend/bad/zend/bug46304.php.exp +++ /dev/null @@ -1,22 +0,0 @@ -value1\ -value1\ -value1\ -value2\ -value2\ -value2\ -value3\ -value3\ -value3\ -value4\ -value4\ -value4\ -value4\ -value5\ -value5\ -value5\ -value5\ -value6\ -value6\ -value6\ -value6\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46304.php.expectf b/hphp/test/zend/bad/zend/bug46304.php.expectf new file mode 100644 index 000000000..4edbceb8e --- /dev/null +++ b/hphp/test/zend/bad/zend/bug46304.php.expectf @@ -0,0 +1,22 @@ +value1 +value1 +value1 +value2 +value2 +value2 +value3 +value3 +value3 +value4 +value4 +value4 +value4 +value5 +value5 +value5 +value5 +value6 +value6 +value6 +value6 +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46665.php.exp b/hphp/test/zend/bad/zend/bug46665.php.exp deleted file mode 100644 index d32a1e014..000000000 --- a/hphp/test/zend/bad/zend/bug46665.php.exp +++ /dev/null @@ -1 +0,0 @@ -string\(11\)\ \"Foo\\Bar\\Baz\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46665.php.expectf b/hphp/test/zend/bad/zend/bug46665.php.expectf new file mode 100644 index 000000000..d61653389 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug46665.php.expectf @@ -0,0 +1 @@ +%string|unicode%(11) "Foo\Bar\Baz" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46701.php.exp b/hphp/test/zend/bad/zend/bug46701.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug46701.php.exp rename to hphp/test/zend/bad/zend/bug46701.php.expectf diff --git a/hphp/test/zend/bad/zend/bug46813.php.exp b/hphp/test/zend/bad/zend/bug46813.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug46813.php.exp rename to hphp/test/zend/bad/zend/bug46813.php.expectf diff --git a/hphp/test/zend/bad/zend/bug47054.php.exp b/hphp/test/zend/bad/zend/bug47054.php.exp deleted file mode 100644 index c3ff9cdba..000000000 --- a/hphp/test/zend/bad/zend/bug47054.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -Called\ class\:\ D\ -Called\ class\:\ C\ -Called\ class\:\ C\ -HipHop Warning: .+ -\ -Strict\ Standards\:\ Non\-static\ method\ D\:\:m\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/bug47054\.php\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47054.php.expectf b/hphp/test/zend/bad/zend/bug47054.php.expectf new file mode 100644 index 000000000..5d304cfa7 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug47054.php.expectf @@ -0,0 +1,7 @@ +Called class: D +Called class: C +Called class: C +HipHop Warning: %a + +Strict Standards: Non-static method D::m() should not be called statically in hphp/test/zend/bad/zend/bug47054.php on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47109.php.exp b/hphp/test/zend/bad/zend/bug47109.php.exp deleted file mode 100644 index e32eeb56f..000000000 --- a/hphp/test/zend/bad/zend/bug47109.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47109.php.expectf b/hphp/test/zend/bad/zend/bug47109.php.expectf new file mode 100644 index 000000000..1afcacf2e --- /dev/null +++ b/hphp/test/zend/bad/zend/bug47109.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +HipHop Notice: %a \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug47343.php b/hphp/test/zend/bad/zend/bug47343.php similarity index 100% rename from hphp/test/zend/good/zend/bug47343.php rename to hphp/test/zend/bad/zend/bug47343.php diff --git a/hphp/test/zend/bad/zend/bug54624.php.exp b/hphp/test/zend/bad/zend/bug47343.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug54624.php.exp rename to hphp/test/zend/bad/zend/bug47343.php.expectf diff --git a/hphp/test/zend/bad/zend/bug47516.php.exp b/hphp/test/zend/bad/zend/bug47516.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug47516.php.exp rename to hphp/test/zend/bad/zend/bug47516.php.expectf diff --git a/hphp/test/zend/bad/zend/bug47593.php.exp b/hphp/test/zend/bad/zend/bug47593.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug47593.php.exp rename to hphp/test/zend/bad/zend/bug47593.php.expectf diff --git a/hphp/test/zend/bad/zend/bug47699.php.exp b/hphp/test/zend/bad/zend/bug47699.php.exp deleted file mode 100644 index 958d63ddd..000000000 --- a/hphp/test/zend/bad/zend/bug47699.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -BB\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47699.php.expectf b/hphp/test/zend/bad/zend/bug47699.php.expectf new file mode 100644 index 000000000..dcb8889a0 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug47699.php.expectf @@ -0,0 +1,2 @@ +BB +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47714.php.exp b/hphp/test/zend/bad/zend/bug47714.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug47714.php.exp rename to hphp/test/zend/bad/zend/bug47714.php.expectf diff --git a/hphp/test/zend/bad/zend/bug48228.php.exp b/hphp/test/zend/bad/zend/bug48228.php.exp deleted file mode 100644 index e93b7fd3e..000000000 --- a/hphp/test/zend/bad/zend/bug48228.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+\(\d+\)\:\ do\_throw\(\)\ -\#1\ [^ -]+\(\d+\)\:\ aa\-\>dosome\(\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ [^ -]+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48228.php.expectf b/hphp/test/zend/bad/zend/bug48228.php.expectf new file mode 100644 index 000000000..fdbe0991c --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48228.php.expectf @@ -0,0 +1,6 @@ +HipHop Fatal error: %a +Stack trace: +#0 %s(%d): do_throw() +#1 %s(%d): aa->dosome() +#2 {main} + thrown in %s \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48248.php.exp b/hphp/test/zend/bad/zend/bug48248.php.exp deleted file mode 100644 index 2828788f0..000000000 --- a/hphp/test/zend/bad/zend/bug48248.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48248.php.expectf b/hphp/test/zend/bad/zend/bug48248.php.expectf new file mode 100644 index 000000000..2766af0ff --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48248.php.expectf @@ -0,0 +1,3 @@ +HipHop Notice: %a +HipHop Notice: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48408.php.exp b/hphp/test/zend/bad/zend/bug48408.php.exp deleted file mode 100644 index e62150d5c..000000000 --- a/hphp/test/zend/bad/zend/bug48408.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+\(\d+\)\:\ C\-\>generate\(0\)\ -\#1\ \{main\}\ -\ \ thrown\ in\ [^ -]+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48408.php.expectf b/hphp/test/zend/bad/zend/bug48408.php.expectf new file mode 100644 index 000000000..aba7721f9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48408.php.expectf @@ -0,0 +1,5 @@ +HipHop Fatal error: %a +Stack trace: +#0 %s(%d): C->generate(0) +#1 {main} + thrown in %s \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48533.php.exp b/hphp/test/zend/bad/zend/bug48533.php.exp deleted file mode 100644 index 5ca623294..000000000 --- a/hphp/test/zend/bad/zend/bug48533.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -string\(9\)\ \"\_\_call\:\:a\"\ -int\(2\)\ -string\(9\)\ \"\_\_call\:\:c\"\ -string\(15\)\ \"\_\_callStatic\:\:a\"\ -\ -Strict\ Standards\:\ Non\-static\ method\ foo\:\:b\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/bug48533\.php\ on\ line\ \d+\ -int\(2\)\ -string\(15\)\ \"\_\_callStatic\:\:c\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48533.php.expectf b/hphp/test/zend/bad/zend/bug48533.php.expectf new file mode 100644 index 000000000..9aff227c8 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48533.php.expectf @@ -0,0 +1,8 @@ +%unicode|string%(9) "__call::a" +int(2) +%unicode|string%(9) "__call::c" +%unicode|string%(15) "__callStatic::a" + +Strict Standards: Non-static method foo::b() should not be called statically in hphp/test/zend/bad/zend/bug48533.php on line %d +int(2) +%unicode|string%(15) "__callStatic::c" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48667_1.php.exp b/hphp/test/zend/bad/zend/bug48667_1.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug48667_1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48667_1.php.expectf b/hphp/test/zend/bad/zend/bug48667_1.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48667_1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48667_2.php.exp b/hphp/test/zend/bad/zend/bug48667_2.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug48667_2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48667_2.php.expectf b/hphp/test/zend/bad/zend/bug48667_2.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48667_2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48693.php.exp b/hphp/test/zend/bad/zend/bug48693.php.exp deleted file mode 100644 index c2c27b636..000000000 --- a/hphp/test/zend/bad/zend/bug48693.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ [^ -]+\(\d+\)\ \:\ runtime\-created\ function\ on\ line\ 1\ -\ -Parse\ error\:\ [^ -]+\ [^ -]+\(\d+\)\ \:\ runtime\-created\ function\ on\ line\ 1\ -bool\(false\)\ -int\(2\)\ -bool\(false\)\ -int\(3\)\ -bool\(true\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48693.php.expectf b/hphp/test/zend/bad/zend/bug48693.php.expectf new file mode 100644 index 000000000..44548b835 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48693.php.expectf @@ -0,0 +1,8 @@ +Parse error: %s in %s(%d) : runtime-created function on line 1 + +Parse error: %s %s(%d) : runtime-created function on line 1 +bool(false) +int(2) +bool(false) +int(3) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48770.php.exp b/hphp/test/zend/bad/zend/bug48770.php.exp deleted file mode 100644 index da38eb8a9..000000000 --- a/hphp/test/zend/bad/zend/bug48770.php.exp +++ /dev/null @@ -1 +0,0 @@ -string\(26\)\ \"A\:\:func\:\ This\ should\ work\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48770.php.expectf b/hphp/test/zend/bad/zend/bug48770.php.expectf new file mode 100644 index 000000000..ab3bdde78 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48770.php.expectf @@ -0,0 +1 @@ +%unicode|string%(26) "A::func: This should work!" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48770_2.php.exp b/hphp/test/zend/bad/zend/bug48770_2.php.exp deleted file mode 100644 index 16c4eb542..000000000 --- a/hphp/test/zend/bad/zend/bug48770_2.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -string\(27\)\ \"A\:\:func2\:\ This\ should\ work\!\"\ -string\(27\)\ \"A\:\:func3\:\ This\ should\ work\!\"\ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48770_2.php.expectf b/hphp/test/zend/bad/zend/bug48770_2.php.expectf new file mode 100644 index 000000000..46ddceb77 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48770_2.php.expectf @@ -0,0 +1,4 @@ +%unicode|string%(27) "A::func2: This should work!" +%unicode|string%(27) "A::func3: This should work!" +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48912.php.exp b/hphp/test/zend/bad/zend/bug48912.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug48912.php.exp rename to hphp/test/zend/bad/zend/bug48912.php.expectf diff --git a/hphp/test/zend/bad/zend/bug48930.php.exp b/hphp/test/zend/bad/zend/bug48930.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug48930.php.exp rename to hphp/test/zend/bad/zend/bug48930.php.expectf diff --git a/hphp/test/zend/bad/zend/bug49908.php.exp b/hphp/test/zend/bad/zend/bug49908.php.exp deleted file mode 100644 index 70df44cb5..000000000 --- a/hphp/test/zend/bad/zend/bug49908.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -string\(3\)\ \"Foo\"\ -string\(3\)\ \"Bar\"\ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+\(7\)\:\ \_\_autoload\(\'Bar\'\)\ -\#1\ [^ -]+\(13\)\:\ \_\_autoload\(\'Foo\'\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/zend\/bug49908\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug49908.php.expectf b/hphp/test/zend/bad/zend/bug49908.php.expectf new file mode 100644 index 000000000..291383bb1 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug49908.php.expectf @@ -0,0 +1,8 @@ +%unicode|string%(3) "Foo" +%unicode|string%(3) "Bar" +HipHop Fatal error: %a +Stack trace: +#0 %s(7): __autoload('Bar') +#1 %s(13): __autoload('Foo') +#2 {main} + thrown in hphp/test/zend/bad/zend/bug49908.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50005.php.exp b/hphp/test/zend/bad/zend/bug50005.php.exp deleted file mode 100644 index f74f051ab..000000000 --- a/hphp/test/zend/bad/zend/bug50005.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \{main\}\ -\ \ thrown\ in\ Unknown\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50005.php.expectf b/hphp/test/zend/bad/zend/bug50005.php.expectf new file mode 100644 index 000000000..ad89a1107 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug50005.php.expectf @@ -0,0 +1,4 @@ +HipHop Fatal error: %a +Stack trace: +#0 {main} + thrown in Unknown on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50146.php.exp b/hphp/test/zend/bad/zend/bug50146.php.exp deleted file mode 100644 index da897c6a0..000000000 --- a/hphp/test/zend/bad/zend/bug50146.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -bool\(false\)\ -bool\(false\)\ -\ -Catchable\ fatal\ error\:\ Closure\ object\ cannot\ have\ properties\ in\ hphp\/test\/zend\/bad\/zend\/bug50146\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50146.php.expectf b/hphp/test/zend/bad/zend/bug50146.php.expectf new file mode 100644 index 000000000..a3c9cf9b9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug50146.php.expectf @@ -0,0 +1,4 @@ +bool(false) +bool(false) + +Catchable fatal error: Closure object cannot have properties in hphp/test/zend/bad/zend/bug50146.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50383.php.exp b/hphp/test/zend/bad/zend/bug50383.php.exp deleted file mode 100644 index 6abd389ec..000000000 --- a/hphp/test/zend/bad/zend/bug50383.php.exp +++ /dev/null @@ -1,98 +0,0 @@ -Missing\ static\ method\ \'ThrowException\'\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 13\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ \_\_callStatic\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ myClass\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ ThrowException\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 13\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ ThrowException\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ myClass\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 21\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ thrower\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -Missing\ method\ \'foo\'\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 17\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ \_\_call\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ myClass\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 17\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ myClass\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 28\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ thrower2\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50383.php.expectf b/hphp/test/zend/bad/zend/bug50383.php.expectf new file mode 100644 index 000000000..0c210f08d --- /dev/null +++ b/hphp/test/zend/bad/zend/bug50383.php.expectf @@ -0,0 +1,92 @@ +Missing static method 'ThrowException' +Array +( + [0] => Array + ( + [file] => %s + [line] => 13 + [function] => __callStatic + [class] => myClass + [type] => :: + [args] => Array + ( + [0] => ThrowException + [1] => Array + ( + ) + + ) + + ) + + [1] => Array + ( + [file] => %s + [line] => 13 + [function] => ThrowException + [class] => myClass + [type] => :: + [args] => Array + ( + ) + + ) + + [2] => Array + ( + [file] => %s + [line] => 21 + [function] => thrower + [args] => Array + ( + ) + + ) + +) +Missing method 'foo' +Array +( + [0] => Array + ( + [file] => %s + [line] => 17 + [function] => __call + [class] => myClass + [type] => -> + [args] => Array + ( + [0] => foo + [1] => Array + ( + ) + + ) + + ) + + [1] => Array + ( + [file] => %s + [line] => 17 + [function] => foo + [class] => myClass + [type] => -> + [args] => Array + ( + ) + + ) + + [2] => Array + ( + [file] => %s + [line] => 28 + [function] => thrower2 + [args] => Array + ( + ) + + ) + +) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug50810.php.exp b/hphp/test/zend/bad/zend/bug50810.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug50810.php.exp rename to hphp/test/zend/bad/zend/bug50810.php.expectf diff --git a/hphp/test/zend/bad/zend/bug51421.php.exp b/hphp/test/zend/bad/zend/bug51421.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/bug51421.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug51421.php.expectf b/hphp/test/zend/bad/zend/bug51421.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug51421.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52041.php.exp b/hphp/test/zend/bad/zend/bug52041.php.exp deleted file mode 100644 index 41ac8124c..000000000 --- a/hphp/test/zend/bad/zend/bug52041.php.exp +++ /dev/null @@ -1,26 +0,0 @@ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52041.php.expectf b/hphp/test/zend/bad/zend/bug52041.php.expectf new file mode 100644 index 000000000..e832655d4 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52041.php.expectf @@ -0,0 +1,26 @@ +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52051.php.exp b/hphp/test/zend/bad/zend/bug52051.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug52051.php.exp rename to hphp/test/zend/bad/zend/bug52051.php.expectf diff --git a/hphp/test/zend/bad/zend/bug52160.php.exp b/hphp/test/zend/bad/zend/bug52160.php.exp deleted file mode 100644 index a52167254..000000000 --- a/hphp/test/zend/bad/zend/bug52160.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Redefining\ already\ defined\ constructor\ for\ class\ foo\ in\ hphp\/test\/zend\/bad\/zend\/bug52160\.php\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52160.php.expectf b/hphp/test/zend/bad/zend/bug52160.php.expectf new file mode 100644 index 000000000..20e9ba9c7 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52160.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Redefining already defined constructor for class foo in hphp/test/zend/bad/zend/bug52160.php on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52193.php.exp b/hphp/test/zend/bad/zend/bug52193.php.exp deleted file mode 100644 index 488e03a1e..000000000 --- a/hphp/test/zend/bad/zend/bug52193.php.exp +++ /dev/null @@ -1,51 +0,0 @@ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\}\ -array\(0\)\ \{\ -\}\ -array\(0\)\ \{\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(0\)\ \{\ -\ \ \}\ -\}\ -int\(2\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"static\"\]\=\>\ -\ \ \ \ array\(1\)\ \{\ -\ \ \ \ \ \ \[\"h\"\]\=\>\ -\ \ \ \ \ \ \&array\(1\)\ \{\ -\ \ \ \ \ \ \ \ \[0\]\=\>\ -\ \ \ \ \ \ \ \ object\(Closure\)\#\d+\ \(0\)\ \{\ -\ \ \ \ \ \ \ \ \}\ -\ \ \ \ \ \ \}\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \[\"static\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[\"h\"\]\=\>\ -\ \ \ \ \&array\(1\)\ \{\ -\ \ \ \ \ \ \[0\]\=\>\ -\ \ \ \ \ \ object\(Closure\)\#\d+\ \(0\)\ \{\ -\ \ \ \ \ \ \}\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(0\)\ \{\ -\ \ \}\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(0\)\ \{\ -\ \ \}\ -\ \ \[1\]\=\>\ -\ \ int\(5\)\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52193.php.expectf b/hphp/test/zend/bad/zend/bug52193.php.expectf new file mode 100644 index 000000000..c37aa9815 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52193.php.expectf @@ -0,0 +1,51 @@ +array(1) { + [0]=> + int(1) +} +array(0) { +} +array(0) { +} +array(1) { + [0]=> + object(Closure)#%d (0) { + } +} +int(2) +array(1) { + [0]=> + object(Closure)#%d (1) { + ["static"]=> + array(1) { + ["h"]=> + &array(1) { + [0]=> + object(Closure)#%d (0) { + } + } + } + } +} +object(Closure)#%d (1) { + ["static"]=> + array(1) { + ["h"]=> + &array(1) { + [0]=> + object(Closure)#%d (0) { + } + } + } +} +array(1) { + [0]=> + object(Closure)#%d (0) { + } +} +array(2) { + [0]=> + object(Closure)#%d (0) { + } + [1]=> + int(5) +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52237.php.exp b/hphp/test/zend/bad/zend/bug52237.php.exp deleted file mode 100644 index 1f3514a20..000000000 --- a/hphp/test/zend/bad/zend/bug52237.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -string\(4\)\ \"test\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52237.php.expectf b/hphp/test/zend/bad/zend/bug52237.php.expectf new file mode 100644 index 000000000..da3e262e9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52237.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +string(4) "test" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52361.php.exp b/hphp/test/zend/bad/zend/bug52361.php.exp deleted file mode 100644 index 0bf05ae37..000000000 --- a/hphp/test/zend/bad/zend/bug52361.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -1\.\ exception\ \'Exception\'\ with\ message\ \'aaa\'\ in\ [^ -]+bug52361\.php\:5\ -Stack\ trace\:\ -\#0\ [^ -]+bug52361\.php\(16\)\:\ aaa\-\>\_\_destruct\(\)\ -\#1\ [^ -]+bug52361\.php\(16\)\:\ bbb\(\)\ -\#2\ \{main\}\ -2\.\ exception\ \'Exception\'\ with\ message\ \'bbb\'\ in\ [^ -]+bug52361\.php\:13\ -Stack\ trace\:\ -\#0\ [^ -]+bug52361\.php\(16\)\:\ bbb\(\)\ -\#1\ \{main\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52361.php.expectf b/hphp/test/zend/bad/zend/bug52361.php.expectf new file mode 100644 index 000000000..439f5f798 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52361.php.expectf @@ -0,0 +1,9 @@ +1. exception 'Exception' with message 'aaa' in %sbug52361.php:5 +Stack trace: +#0 %sbug52361.php(16): aaa->__destruct() +#1 %sbug52361.php(16): bbb() +#2 {main} +2. exception 'Exception' with message 'bbb' in %sbug52361.php:13 +Stack trace: +#0 %sbug52361.php(16): bbb() +#1 {main} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52879.php.exp b/hphp/test/zend/bad/zend/bug52879.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug52879.php.exp rename to hphp/test/zend/bad/zend/bug52879.php.expectf diff --git a/hphp/test/zend/good/zend/bug52939.php b/hphp/test/zend/bad/zend/bug52939.php similarity index 100% rename from hphp/test/zend/good/zend/bug52939.php rename to hphp/test/zend/bad/zend/bug52939.php diff --git a/hphp/test/zend/bad/zend/bug52939.php.expectf b/hphp/test/zend/bad/zend/bug52939.php.expectf new file mode 100644 index 000000000..3632a0815 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52939.php.expectf @@ -0,0 +1,21 @@ +bool(true) +array(2) { + ["row2"]=> + int(1) + ["row1"]=> + int(2) +} +bool(true) +array(2) { + ["row2"]=> + int(1) + ["row1"]=> + int(2) +} +bool(true) +array(2) { + ["row1"]=> + int(2) + ["row2"]=> + int(1) +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug53305.php.exp b/hphp/test/zend/bad/zend/bug53305.php.exp deleted file mode 100644 index 73172ee85..000000000 --- a/hphp/test/zend/bad/zend/bug53305.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: .+ -int\(1\)\ -int\(4\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug53305.php.expectf b/hphp/test/zend/bad/zend/bug53305.php.expectf new file mode 100644 index 000000000..1af769168 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug53305.php.expectf @@ -0,0 +1,3 @@ +HipHop Notice: %a +int(1) +int(4) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug53511.php.exp b/hphp/test/zend/bad/zend/bug53511.php.exp deleted file mode 100644 index 0e478e219..000000000 --- a/hphp/test/zend/bad/zend/bug53511.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+bug53511\.php\(17\)\:\ test\(\)\ -\#1\ \{main\}\ -\ -Next\ exception\ \'Exception\'\ with\ message\ \'ops\ 1\'\ in\ [^ -]+bug53511\.php\:4\ -Stack\ trace\:\ -\#0\ [^ -]+bug53511\.php\(12\)\:\ Foo\-\>\_\_destruct\(\)\ -\#1\ [^ -]+bug53511\.php\(17\)\:\ test\(\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ [^ -]+bug53511\.php\ on\ line\ 4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug53511.php.expectf b/hphp/test/zend/bad/zend/bug53511.php.expectf new file mode 100644 index 000000000..1fe0f7945 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug53511.php.expectf @@ -0,0 +1,11 @@ +HipHop Fatal error: %a +Stack trace: +#0 %sbug53511.php(17): test() +#1 {main} + +Next exception 'Exception' with message 'ops 1' in %sbug53511.php:4 +Stack trace: +#0 %sbug53511.php(12): Foo->__destruct() +#1 %sbug53511.php(17): test() +#2 {main} + thrown in %sbug53511.php on line 4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug53629.php.exp b/hphp/test/zend/bad/zend/bug53629.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug53629.php.exp rename to hphp/test/zend/bad/zend/bug53629.php.expectf diff --git a/hphp/test/zend/bad/zend/bug54013.php.exp b/hphp/test/zend/bad/zend/bug54013.php.exp deleted file mode 100644 index 5174dce92..000000000 --- a/hphp/test/zend/bad/zend/bug54013.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object\(ReflectionParameter\)\#\d+\ \(1\)\ \{\ -\ \ \[\"name\"\]\=\>\ -\ \ string\(8\)\ \"aaaaaaaa\"\ -\}\ -object\(ReflectionParameter\)\#\d+\ \(1\)\ \{\ -\ \ \[\"name\"\]\=\>\ -\ \ string\(8\)\ \"aaaaaaaa\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54013.php.expectf b/hphp/test/zend/bad/zend/bug54013.php.expectf new file mode 100644 index 000000000..7c10a190c --- /dev/null +++ b/hphp/test/zend/bad/zend/bug54013.php.expectf @@ -0,0 +1,8 @@ +object(ReflectionParameter)#%d (1) { + ["name"]=> + string(8) "aaaaaaaa" +} +object(ReflectionParameter)#%d (1) { + ["name"]=> + string(8) "aaaaaaaa" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54262.php.exp b/hphp/test/zend/bad/zend/bug54262.php.exp deleted file mode 100644 index 677dabd14..000000000 --- a/hphp/test/zend/bad/zend/bug54262.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -bool\(false\)\ -HipHop Warning: .+ -HipHop Warning: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54262.php.expectf b/hphp/test/zend/bad/zend/bug54262.php.expectf new file mode 100644 index 000000000..a3a5e3f61 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug54262.php.expectf @@ -0,0 +1,4 @@ +bool(false) +HipHop Warning: %a +HipHop Warning: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54265.php.exp b/hphp/test/zend/bad/zend/bug54265.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug54265.php.exp rename to hphp/test/zend/bad/zend/bug54265.php.expectf diff --git a/hphp/test/zend/bad/zend/bug54305.php.exp b/hphp/test/zend/bad/zend/bug54305.php.exp deleted file mode 100644 index 358e700f0..000000000 --- a/hphp/test/zend/bad/zend/bug54305.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -Method\ \[\ \\ public\ method\ methodWithArgs\ \]\ \{\ -\ \ \@\@\ [^ -]+bug54305\.php\ \d+\ \-\ \d+\ -\ -\ \ \-\ Parameters\ \[2\]\ \{\ -\ \ \ \ Parameter\ \#0\ \[\ \\ \$a\ \]\ -\ \ \ \ Parameter\ \#1\ \[\ \\ \$b\ \]\ -\ \ \}\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54305.php.expectf b/hphp/test/zend/bad/zend/bug54305.php.expectf new file mode 100644 index 000000000..e8cfdc522 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug54305.php.expectf @@ -0,0 +1,8 @@ +Method [ public method methodWithArgs ] { + @@ %sbug54305.php %d - %d + + - Parameters [2] { + Parameter #0 [ $a ] + Parameter #1 [ $b ] + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54547.php.exp b/hphp/test/zend/bad/zend/bug54547.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug54547.php.exp rename to hphp/test/zend/bad/zend/bug54547.php.expectf diff --git a/hphp/test/zend/bad/zend/bug54804.php.exp b/hphp/test/zend/bad/zend/bug54624.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug54804.php.exp rename to hphp/test/zend/bad/zend/bug54624.php.expectf diff --git a/hphp/test/zend/good/zend-traits/bug55355.php.exp b/hphp/test/zend/bad/zend/bug54804.php.expectf similarity index 100% rename from hphp/test/zend/good/zend-traits/bug55355.php.exp rename to hphp/test/zend/bad/zend/bug54804.php.expectf diff --git a/hphp/test/zend/bad/zend/bug55086.php.exp b/hphp/test/zend/bad/zend/bug55086.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug55086.php.exp rename to hphp/test/zend/bad/zend/bug55086.php.expectf diff --git a/hphp/test/zend/bad/zend/bug55156.php.exp b/hphp/test/zend/bad/zend/bug55156.php.exp deleted file mode 100644 index 89bf77347..000000000 --- a/hphp/test/zend/bad/zend/bug55156.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -bool\(false\)\ -string\(12\)\ \"\/\*\*\ test1\ \*\/\"\ -string\(12\)\ \"\/\*\*\ test2\ \*\/\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55156.php.expectf b/hphp/test/zend/bad/zend/bug55156.php.expectf new file mode 100644 index 000000000..940b07e20 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug55156.php.expectf @@ -0,0 +1,3 @@ +bool(false) +string(12) "/** test1 */" +string(12) "/** test2 */" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55247.php.exp b/hphp/test/zend/bad/zend/bug55247.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug55247.php.exp rename to hphp/test/zend/bad/zend/bug55247.php.expectf diff --git a/hphp/test/zend/bad/zend/bug55705.php.exp b/hphp/test/zend/bad/zend/bug55705.php.exp deleted file mode 100644 index c20653806..000000000 --- a/hphp/test/zend/bad/zend/bug55705.php.exp +++ /dev/null @@ -1 +0,0 @@ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ f\(\)\ must\ be\ callable\,\ none\ given\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/bug55705\.php\ on\ line\ 3\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/bug55705\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55705.php.expectf b/hphp/test/zend/bad/zend/bug55705.php.expectf new file mode 100644 index 000000000..84ab28484 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug55705.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Argument 1 passed to f() must be callable, none given, called in hphp/test/zend/bad/zend/bug55705.php on line 3 and defined in hphp/test/zend/bad/zend/bug55705.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60138.php.exp b/hphp/test/zend/bad/zend/bug60138.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug60138.php.exp rename to hphp/test/zend/bad/zend/bug60138.php.expectf diff --git a/hphp/test/zend/bad/zend/bug60350.php.exp b/hphp/test/zend/bad/zend/bug60350.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug60350.php.exp rename to hphp/test/zend/bad/zend/bug60350.php.expectf diff --git a/hphp/test/zend/bad/zend/bug60362.php.exp b/hphp/test/zend/bad/zend/bug60362.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug60362.php.exp rename to hphp/test/zend/bad/zend/bug60362.php.expectf diff --git a/hphp/test/zend/bad/zend/bug60536_002.php.exp b/hphp/test/zend/bad/zend/bug60536_002.php.exp deleted file mode 100644 index 8660d94aa..000000000 --- a/hphp/test/zend/bad/zend/bug60536_002.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -PRE\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Notice\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ Notice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\/bug60536\_002\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60536_002.php.expectf b/hphp/test/zend/bad/zend/bug60536_002.php.expectf new file mode 100644 index 000000000..30d681b45 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60536_002.php.expectf @@ -0,0 +1,5 @@ +PRE-CLASS-GUARD + +Strict Standards: Notice and THello1 define the same property ($hello) in the composition of Notice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend/bug60536_002.php on line %d +POST-CLASS-GUARD +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60536_004.php.exp b/hphp/test/zend/bad/zend/bug60536_004.php.exp deleted file mode 100644 index f01006a3a..000000000 --- a/hphp/test/zend/bad/zend/bug60536_004.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -PRE\-CLASS\-GUARD\ -POST\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Notice\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ Notice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ [^ -]+bug60536\_004\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60536_004.php.expectf b/hphp/test/zend/bad/zend/bug60536_004.php.expectf new file mode 100644 index 000000000..d9b968205 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60536_004.php.expectf @@ -0,0 +1,5 @@ +PRE-CLASS-GUARD +POST-CLASS-GUARD + +Strict Standards: Notice and THello1 define the same property ($hello) in the composition of Notice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in %sbug60536_004.php on line %d +POST-CLASS-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60536_005.php.exp b/hphp/test/zend/bad/zend/bug60536_005.php.exp deleted file mode 100644 index eb00c6441..000000000 --- a/hphp/test/zend/bad/zend/bug60536_005.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -PRE\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Base\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ SameNameInSubClassProducesNotice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\/bug60536\_005\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD\ -\ -Strict\ Standards\:\ Notice\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ Notice\.\ This\ might\ be\ incompatible\,\ to\ improve\ maintainability\ consider\ using\ accessor\ methods\ in\ traits\ instead\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\/bug60536\_005\.php\ on\ line\ \d+\ -POST\-CLASS\-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60536_005.php.expectf b/hphp/test/zend/bad/zend/bug60536_005.php.expectf new file mode 100644 index 000000000..dc6f70379 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60536_005.php.expectf @@ -0,0 +1,7 @@ +PRE-CLASS-GUARD + +Strict Standards: Base and THello1 define the same property ($hello) in the composition of SameNameInSubClassProducesNotice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend/bug60536_005.php on line %d +POST-CLASS-GUARD + +Strict Standards: Notice and THello1 define the same property ($hello) in the composition of Notice. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in hphp/test/zend/bad/zend/bug60536_005.php on line %d +POST-CLASS-GUARD2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60573.php.exp b/hphp/test/zend/bad/zend/bug60573.php.exp deleted file mode 100644 index 282a9ae53..000000000 --- a/hphp/test/zend/bad/zend/bug60573.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ Bar4\:\:setSelf\(\)\ should\ be\ compatible\ with\ Foo4\:\:setSelf\(Foo4\ \$s\)\ in\ [^ -]+bug60573\.php\ on\ line\ \d+\ -\ -Strict\ Standards\:\ Declaration\ of\ Bar5\:\:setSelf\(\)\ should\ be\ compatible\ with\ Foo5\:\:setSelf\(Base\ \$s\)\ in\ [^ -]+bug60573\.php\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60573.php.expectf b/hphp/test/zend/bad/zend/bug60573.php.expectf new file mode 100644 index 000000000..b9b5e1cb9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60573.php.expectf @@ -0,0 +1,4 @@ +Strict Standards: Declaration of Bar4::setSelf() should be compatible with Foo4::setSelf(Foo4 $s) in %sbug60573.php on line %d + +Strict Standards: Declaration of Bar5::setSelf() should be compatible with Foo5::setSelf(Base $s) in %sbug60573.php on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug60771.php b/hphp/test/zend/bad/zend/bug60771.php similarity index 100% rename from hphp/test/zend/good/zend/bug60771.php rename to hphp/test/zend/bad/zend/bug60771.php diff --git a/hphp/test/zend/bad/zend/bug60771.php.expectf b/hphp/test/zend/bad/zend/bug60771.php.expectf new file mode 100644 index 000000000..70b159e75 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60771.php.expectf @@ -0,0 +1 @@ +passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, passed, \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60825.php.exp b/hphp/test/zend/bad/zend/bug60825.php.exp deleted file mode 100644 index 7221475cd..000000000 --- a/hphp/test/zend/bad/zend/bug60825.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -string\(\d+\)\ \"[^ -]+bug60825\.php\"\ refcount\(2\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60825.php.expectf b/hphp/test/zend/bad/zend/bug60825.php.expectf new file mode 100644 index 000000000..45fd709f6 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60825.php.expectf @@ -0,0 +1 @@ +string(%d) "%sbug60825.php" refcount(2) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60909_1.php.exp b/hphp/test/zend/bad/zend/bug60909_1.php.exp deleted file mode 100644 index 3dcb6e9d8..000000000 --- a/hphp/test/zend/bad/zend/bug60909_1.php.exp +++ /dev/null @@ -1,15 +0,0 @@ -error\(require\(notfound\.php\)\:\ failed\ to\ open\ stream\:\ No\ such\ file\ or\ directory\)\ -HipHop Warning: .+ -Stack\ trace\:\ -\#0\ [^ -]+bug60909\_1\.php\(8\)\:\ \{closure\}\(2\,\ \'require\(notfoun\.\.\.\'\,\ \'[^ -]+\'\,\ 8\,\ Array\)\ -\#1\ [^ -]+bug60909\_1\.php\(8\)\:\ require\(\)\ -\#2\ \{main\}\ -\ \ thrown\ in\ [^ -]+bug60909\_1\.php\ on\ line\ 5\ -HipHop Fatal error: .+ -\ -\ -\!\!\!shutdown\!\!\! \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60909_1.php.expectf b/hphp/test/zend/bad/zend/bug60909_1.php.expectf new file mode 100644 index 000000000..fbde2b144 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60909_1.php.expectf @@ -0,0 +1,11 @@ +error(require(notfound.php): failed to open stream: %s) +HipHop Warning: %a +Stack trace: +#0 %sbug60909_1.php(8): {closure}(2, 'require(notfoun...', '%s', 8, Array) +#1 %sbug60909_1.php(8): require() +#2 {main} + thrown in %sbug60909_1.php on line 5 +HipHop Fatal error: %a + + +!!!shutdown!!! \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug60909_2.php b/hphp/test/zend/bad/zend/bug60909_2.php similarity index 100% rename from hphp/test/zend/good/zend/bug60909_2.php rename to hphp/test/zend/bad/zend/bug60909_2.php diff --git a/hphp/test/zend/bad/zend/bug60909_2.php.expectf b/hphp/test/zend/bad/zend/bug60909_2.php.expectf new file mode 100644 index 000000000..b0d836b83 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60909_2.php.expectf @@ -0,0 +1,4 @@ +HipHop Fatal error: %a + + +!!!shutdown!!! \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60978.php.exp b/hphp/test/zend/bad/zend/bug60978.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug60978.php.exp rename to hphp/test/zend/bad/zend/bug60978.php.expectf diff --git a/hphp/test/zend/bad/zend/bug61011.php.exp b/hphp/test/zend/bad/zend/bug61011.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug61011.php.exp rename to hphp/test/zend/bad/zend/bug61011.php.expectf diff --git a/hphp/test/zend/bad/zend/bug61087.php.exp b/hphp/test/zend/bad/zend/bug61087.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/bug61087.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61087.php.expectf b/hphp/test/zend/bad/zend/bug61087.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug61087.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61225.php.exp b/hphp/test/zend/bad/zend/bug61225.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug61225.php.exp rename to hphp/test/zend/bad/zend/bug61225.php.expectf diff --git a/hphp/test/zend/bad/zend/bug61767.php.exp b/hphp/test/zend/bad/zend/bug61767.php.exp deleted file mode 100644 index da15e7872..000000000 --- a/hphp/test/zend/bad/zend/bug61767.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -Error\ handler\ called\ \(Undefined\ variable\:\ undefined\)\ -HipHop Warning: .+ -Stack\ trace\:\ -\#0\ [^ -]+bug61767\.php\(13\)\:\ \{closure\}\(8\,\ \'Undefined\ varia\.\.\.\'\,\ \'[^ -]+\'\,\ 13\,\ Array\)\ -\#1\ \{main\}\ -\ \ thrown\ in\ [^ -]+bug61767\.php\ on\ line\ 13\ -HipHop Fatal error: .+ -Shutting\ down\ -Array\ -\(\ -\ \ \ \ \[type\]\ \=\>\ 1\ -\ \ \ \ \[message\]\ \=\>\ Call\ to\ a\ member\ function\ foo\(\)\ on\ a\ non\-object\ -\ \ \ \ \[file\]\ \=\>\ [^ -]+bug61767\.php\ -\ \ \ \ \[line\]\ \=\>\ 13\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61767.php.expectf b/hphp/test/zend/bad/zend/bug61767.php.expectf new file mode 100644 index 000000000..8bec1e18c --- /dev/null +++ b/hphp/test/zend/bad/zend/bug61767.php.expectf @@ -0,0 +1,15 @@ +Error handler called (Undefined variable: undefined) +HipHop Warning: %a +Stack trace: +#0 %sbug61767.php(13): {closure}(8, 'Undefined varia...', '%s', 13, Array) +#1 {main} + thrown in %sbug61767.php on line 13 +HipHop Fatal error: %a +Shutting down +Array +( + [type] => 1 + [message] => Call to a member function foo() on a non-object + [file] => %sbug61767.php + [line] => 13 +) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug62097.php.exp b/hphp/test/zend/bad/zend/bug62097.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug62097.php.exp rename to hphp/test/zend/bad/zend/bug62097.php.expectf diff --git a/hphp/test/zend/bad/zend/bug62358.php.exp b/hphp/test/zend/bad/zend/bug62358.php.exp deleted file mode 100644 index b4dab4e40..000000000 --- a/hphp/test/zend/bad/zend/bug62358.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Declaration\ of\ B\:\:foo\(\)\ should\ be\ compatible\ with\ A\:\:foo\(\)\ in\ [^ -]+bug62358\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug62358.php.expectf b/hphp/test/zend/bad/zend/bug62358.php.expectf new file mode 100644 index 000000000..60f1bde4f --- /dev/null +++ b/hphp/test/zend/bad/zend/bug62358.php.expectf @@ -0,0 +1 @@ +Strict Standards: Declaration of B::foo() should be compatible with A::foo() in %sbug62358.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug62680.php.exp b/hphp/test/zend/bad/zend/bug62680.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug62680.php.exp rename to hphp/test/zend/bad/zend/bug62680.php.expectf diff --git a/hphp/test/zend/bad/zend/bug62892.php.exp b/hphp/test/zend/bad/zend/bug62892.php.exp deleted file mode 100644 index 123ac678e..000000000 --- a/hphp/test/zend/bad/zend/bug62892.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -array\(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug62892.php.expectf b/hphp/test/zend/bad/zend/bug62892.php.expectf new file mode 100644 index 000000000..82beeb215 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug62892.php.expectf @@ -0,0 +1,2 @@ +array(0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63111.php.exp b/hphp/test/zend/bad/zend/bug63111.php.exp deleted file mode 100644 index 3e4eadf5a..000000000 --- a/hphp/test/zend/bad/zend/bug63111.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -Strict\ Standards\:\ Static\ function\ Foo\:\:bar\(\)\ should\ not\ be\ abstract\ in\ [^ -]+bug63111\.php\ on\ line\ 3\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -ok\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63111.php.expectf b/hphp/test/zend/bad/zend/bug63111.php.expectf new file mode 100644 index 000000000..0de7fc5ce --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63111.php.expectf @@ -0,0 +1,9 @@ +Strict Standards: Static function Foo::bar() should not be abstract in %sbug63111.php on line 3 +bool(false) +bool(false) +bool(false) +bool(false) +bool(true) +bool(true) +ok +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63336.php.exp b/hphp/test/zend/bad/zend/bug63336.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/bug63336.php.exp rename to hphp/test/zend/bad/zend/bug63336.php.expectf diff --git a/hphp/test/zend/bad/zend/bug63762.php.exp b/hphp/test/zend/bad/zend/bug63762.php.exp deleted file mode 100644 index 136dc99b2..000000000 --- a/hphp/test/zend/bad/zend/bug63762.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -Array\ of\ NULL\:\ -HipHop Warning: .+ -string\(9\)\ \"\#0\ \{main\}\"\ -\ -Array\ of\ empty\ array\:\ -string\(36\)\ \"\#0\ \[internal\ function\]\:\ \(\)\ -\#1\ \{main\}\"\ -\ -Array\ of\ array\ of\ NULL\ values\:\ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -string\(60\)\ \"\#0\ \[unknown\ function\]\[unknown\]\[unknown\]\[unknown\]\(\)\ -\#1\ \{main\}\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63762.php.expectf b/hphp/test/zend/bad/zend/bug63762.php.expectf new file mode 100644 index 000000000..ba24e9b9b --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63762.php.expectf @@ -0,0 +1,16 @@ +Array of NULL: +HipHop Warning: %a +string(9) "#0 {main}" + +Array of empty array: +string(36) "#0 [internal function]: () +#1 {main}" + +Array of array of NULL values: +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +string(60) "#0 [unknown function][unknown][unknown][unknown]() +#1 {main}" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63882.php b/hphp/test/zend/bad/zend/bug63882.php new file mode 100644 index 000000000..5938f25d9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63882.php @@ -0,0 +1,10 @@ +x = $testobj1; +$testobj2->x = $testobj2; + +var_dump($testobj1 == $testobj2); +?> \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63882.php.expectf b/hphp/test/zend/bad/zend/bug63882.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63882.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63982.php b/hphp/test/zend/bad/zend/bug63982.php new file mode 100644 index 000000000..e4c4570b0 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63982.php @@ -0,0 +1,9 @@ +protectedProperty)); +var_dump(isset($test->protectedProperty->foo)); \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63982.php.expectf b/hphp/test/zend/bad/zend/bug63982.php.expectf new file mode 100644 index 000000000..1f7ce4c1e --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63982.php.expectf @@ -0,0 +1,2 @@ +bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug_debug_backtrace.php.exp b/hphp/test/zend/bad/zend/bug_debug_backtrace.php.exp deleted file mode 100644 index b3d7f331b..000000000 --- a/hphp/test/zend/bad/zend/bug_debug_backtrace.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -\#0\ \ boo\(\)\ called\ at\ \[[^ -]+\:\d+\]\ -\#1\ \ bar\(\)\ called\ at\ \[[^ -]+\:\d+\]\ -\#2\ \ foo\(\)\ called\ at\ \[[^ -]+\(\d+\)\ \:\ eval\(\)\'d\ code\:1\]\ -\#3\ \ eval\(\)\ called\ at\ \[[^ -]+\:\d+\]\ -Done\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug_debug_backtrace.php.expectf b/hphp/test/zend/bad/zend/bug_debug_backtrace.php.expectf new file mode 100644 index 000000000..aebd27de9 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug_debug_backtrace.php.expectf @@ -0,0 +1,6 @@ +#0 boo() called at [%s:%d] +#1 bar() called at [%s:%d] +#2 foo() called at [%s(%d) : eval()'d code:1] +#3 eval() called at [%s:%d] +Done +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_static_006.php.exp b/hphp/test/zend/bad/zend/call_static_006.php.exp deleted file mode 100644 index 46001ea0d..000000000 --- a/hphp/test/zend/bad/zend/call_static_006.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -Strict\ Standards\:\ Non\-static\ method\ foo\:\:aa\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/call\_static\_006\.php\ on\ line\ \d+\ -ok\ -\ -Strict\ Standards\:\ Non\-static\ method\ foo\:\:aa\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/call\_static\_006\.php\ on\ line\ \d+\ -ok\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_static_006.php.expectf b/hphp/test/zend/bad/zend/call_static_006.php.expectf new file mode 100644 index 000000000..0e4a5848f --- /dev/null +++ b/hphp/test/zend/bad/zend/call_static_006.php.expectf @@ -0,0 +1,6 @@ +Strict Standards: Non-static method foo::aa() should not be called statically in hphp/test/zend/bad/zend/call_static_006.php on line %d +ok + +Strict Standards: Non-static method foo::aa() should not be called statically in hphp/test/zend/bad/zend/call_static_006.php on line %d +ok +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_001.php.exp b/hphp/test/zend/bad/zend/call_user_func_001.php.exp deleted file mode 100644 index a462d983f..000000000 --- a/hphp/test/zend/bad/zend/call_user_func_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -string\(6\)\ \"foobar\"\ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_001.php.expectf b/hphp/test/zend/bad/zend/call_user_func_001.php.expectf new file mode 100644 index 000000000..ed51fbc35 --- /dev/null +++ b/hphp/test/zend/bad/zend/call_user_func_001.php.expectf @@ -0,0 +1,3 @@ +%string|unicode%(6) "foobar" +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_002.php.exp b/hphp/test/zend/bad/zend/call_user_func_002.php.exp deleted file mode 100644 index 8d3d5a1cb..000000000 --- a/hphp/test/zend/bad/zend/call_user_func_002.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -string\(3\)\ \"foo\"\ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Notice: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_002.php.expectf b/hphp/test/zend/bad/zend/call_user_func_002.php.expectf new file mode 100644 index 000000000..8631ba029 --- /dev/null +++ b/hphp/test/zend/bad/zend/call_user_func_002.php.expectf @@ -0,0 +1,7 @@ +%unicode|string%(3) "foo" +HipHop Warning: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a +HipHop Notice: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_003.php.exp b/hphp/test/zend/bad/zend/call_user_func_003.php.exp deleted file mode 100644 index dd40369b2..000000000 --- a/hphp/test/zend/bad/zend/call_user_func_003.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -string\(3\)\ \"OK\!\"\ -object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \[\"static\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[\"instance\"\]\=\>\ -\ \ \ \ object\(Closure\)\#\d+\ \(0\)\ \{\ -\ \ \ \ \}\ -\ \ \}\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_003.php.expectf b/hphp/test/zend/bad/zend/call_user_func_003.php.expectf new file mode 100644 index 000000000..dad4b52b2 --- /dev/null +++ b/hphp/test/zend/bad/zend/call_user_func_003.php.expectf @@ -0,0 +1,9 @@ +%unicode|string%(3) "OK!" +object(Closure)#%d (1) { + [%u|b%"static"]=> + array(1) { + [%u|b%"instance"]=> + object(Closure)#%d (0) { + } + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_004.php.exp b/hphp/test/zend/bad/zend/call_user_func_004.php.exp deleted file mode 100644 index f02e9af40..000000000 --- a/hphp/test/zend/bad/zend/call_user_func_004.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ non\-static\ method\ foo\:\:teste\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_004\.php\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_004.php.expectf b/hphp/test/zend/bad/zend/call_user_func_004.php.expectf new file mode 100644 index 000000000..47a11e628 --- /dev/null +++ b/hphp/test/zend/bad/zend/call_user_func_004.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method foo::teste() should not be called statically in hphp/test/zend/bad/zend/call_user_func_004.php on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_005.php.exp b/hphp/test/zend/bad/zend/call_user_func_005.php.exp deleted file mode 100644 index 082250a0a..000000000 --- a/hphp/test/zend/bad/zend/call_user_func_005.php.exp +++ /dev/null @@ -1,15 +0,0 @@ -Strict\ Standards\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ non\-static\ method\ foo\:\:teste\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_005\.php\ on\ line\ \d+\ -string\(1\)\ \"x\"\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"parameter\"\]\=\>\ -\ \ \ \ array\(2\)\ \{\ -\ \ \ \ \ \ \[\"\$a\"\]\=\>\ -\ \ \ \ \ \ string\(10\)\ \"\\"\ -\ \ \ \ \ \ \[\"\$b\"\]\=\>\ -\ \ \ \ \ \ string\(10\)\ \"\\"\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -int\(1\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_user_func_005.php.expectf b/hphp/test/zend/bad/zend/call_user_func_005.php.expectf new file mode 100644 index 000000000..ade5d6aa0 --- /dev/null +++ b/hphp/test/zend/bad/zend/call_user_func_005.php.expectf @@ -0,0 +1,15 @@ +Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method foo::teste() should not be called statically in hphp/test/zend/bad/zend/call_user_func_005.php on line %d +%string|unicode%(1) "x" +array(1) { + [0]=> + object(Closure)#%d (1) { + ["parameter"]=> + array(2) { + ["$a"]=> + string(10) "" + ["$b"]=> + string(10) "" + } + } +} +int(1) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/call_with_refs.php.exp b/hphp/test/zend/bad/zend/call_with_refs.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/call_with_refs.php.exp rename to hphp/test/zend/bad/zend/call_with_refs.php.expectf diff --git a/hphp/test/zend/bad/zend/callable_type_hint_001.php.exp b/hphp/test/zend/bad/zend/callable_type_hint_001.php.exp deleted file mode 100644 index 7d05e514d..000000000 --- a/hphp/test/zend/bad/zend/callable_type_hint_001.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -string\(6\)\ \"strpos\"\ -string\(3\)\ \"foo\"\ -\ -Strict\ Standards\:\ Non\-static\ method\ bar\:\:baz\(\)\ should\ not\ be\ called\ statically\ in\ [^ -]+callable\_type\_hint\_001\.php\ on\ line\ \d+\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"bar\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"baz\"\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(3\)\ \"bar\"\ -\ \ \[1\]\=\>\ -\ \ string\(3\)\ \"foo\"\ -\}\ -object\(Closure\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/callable_type_hint_001.php.expectf b/hphp/test/zend/bad/zend/callable_type_hint_001.php.expectf new file mode 100644 index 000000000..6e2168023 --- /dev/null +++ b/hphp/test/zend/bad/zend/callable_type_hint_001.php.expectf @@ -0,0 +1,18 @@ +string(6) "strpos" +string(3) "foo" + +Strict Standards: Non-static method bar::baz() should not be called statically in %scallable_type_hint_001.php on line %d +array(2) { + [0]=> + string(3) "bar" + [1]=> + string(3) "baz" +} +array(2) { + [0]=> + string(3) "bar" + [1]=> + string(3) "foo" +} +object(Closure)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/callable_type_hint_002.php.exp b/hphp/test/zend/bad/zend/callable_type_hint_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/callable_type_hint_002.php.exp rename to hphp/test/zend/bad/zend/callable_type_hint_002.php.expectf diff --git a/hphp/test/zend/bad/zend/callable_type_hint_003.php.exp b/hphp/test/zend/bad/zend/callable_type_hint_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/callable_type_hint_003.php.exp rename to hphp/test/zend/bad/zend/callable_type_hint_003.php.expectf diff --git a/hphp/test/zend/bad/zend/cast_to_array.php.exp b/hphp/test/zend/bad/zend/cast_to_array.php.exp deleted file mode 100644 index 37185dc80..000000000 --- a/hphp/test/zend/bad/zend/cast_to_array.php.exp +++ /dev/null @@ -1,57 +0,0 @@ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(6\)\ \"string\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(1\)\ \"\000\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(7\)\ \"8754456\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(9876545\)\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ float\(0\.1\)\ -\}\ -array\(0\)\ \{\ -\}\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ bool\(false\)\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ bool\(true\)\ -\}\ -array\(0\)\ \{\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ resource\(\d+\)\ of\ type\ \(stream\)\ -\}\ -array\(3\)\ \{\ -\ \ \[\"\000test\000var1\"\]\=\>\ -\ \ int\(1\)\ -\ \ \[\"var2\"\]\=\>\ -\ \ int\(2\)\ -\ \ \[\"\000\*\000var3\"\]\=\>\ -\ \ int\(3\)\ -\}\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/cast_to_array.php.expectf b/hphp/test/zend/bad/zend/cast_to_array.php.expectf new file mode 100644 index 000000000..8d3a38027 Binary files /dev/null and b/hphp/test/zend/bad/zend/cast_to_array.php.expectf differ diff --git a/hphp/test/zend/bad/zend/cast_to_object.php.exp b/hphp/test/zend/bad/zend/cast_to_object.php.exp deleted file mode 100644 index 077c0d4dd..000000000 --- a/hphp/test/zend/bad/zend/cast_to_object.php.exp +++ /dev/null @@ -1,51 +0,0 @@ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(6\)\ \"string\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(7\)\ \"8754456\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(1\)\ \"\000\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ int\(9876545\)\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ float\(0\.1\)\ -\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -object\(stdClass\)\#\d+\ \(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ bool\(false\)\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ bool\(true\)\ -\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ resource\(\d+\)\ of\ type\ \(stream\)\ -\}\ -object\(test\)\#\d+\ \(0\)\ \{\ -\}\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/cast_to_object.php.expectf b/hphp/test/zend/bad/zend/cast_to_object.php.expectf new file mode 100644 index 000000000..f49c8e86f Binary files /dev/null and b/hphp/test/zend/bad/zend/cast_to_object.php.expectf differ diff --git a/hphp/test/zend/bad/zend/cast_to_string.php.exp b/hphp/test/zend/bad/zend/cast_to_string.php.exp deleted file mode 100644 index 1588bed3b..000000000 --- a/hphp/test/zend/bad/zend/cast_to_string.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -string\(6\)\ \"string\"\ -string\(7\)\ \"8754456\"\ -string\(0\)\ \"\"\ -string\(1\)\ \"\000\"\ -string\(7\)\ \"9876545\"\ -string\(3\)\ \"0\.1\"\ -HipHop Notice: .+ -string\(5\)\ \"Array\"\ -HipHop Notice: .+ -string\(5\)\ \"Array\"\ -string\(0\)\ \"\"\ -string\(1\)\ \"1\"\ -string\(0\)\ \"\"\ -string\(\d+\)\ \"Resource\ id\ \#\d+\"\ -string\(2\)\ \"10\"\ -Done diff --git a/hphp/test/zend/bad/zend/cast_to_string.php.expectf b/hphp/test/zend/bad/zend/cast_to_string.php.expectf new file mode 100644 index 000000000..0c1841d6f Binary files /dev/null and b/hphp/test/zend/bad/zend/cast_to_string.php.expectf differ diff --git a/hphp/test/zend/bad/zend/class_alias_001.php.exp b/hphp/test/zend/bad/zend/class_alias_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/class_alias_001.php.exp rename to hphp/test/zend/bad/zend/class_alias_001.php.expectf diff --git a/hphp/test/zend/bad/zend/class_alias_002.php.exp b/hphp/test/zend/bad/zend/class_alias_002.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/class_alias_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_002.php.expectf b/hphp/test/zend/bad/zend/class_alias_002.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_002.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_003.php.exp b/hphp/test/zend/bad/zend/class_alias_003.php.exp deleted file mode 100644 index 363dd74b8..000000000 --- a/hphp/test/zend/bad/zend/class_alias_003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -object\(foo\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_003.php.expectf b/hphp/test/zend/bad/zend/class_alias_003.php.expectf new file mode 100644 index 000000000..d4b595fbc --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_003.php.expectf @@ -0,0 +1,2 @@ +object(foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_004.php.exp b/hphp/test/zend/bad/zend/class_alias_004.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/class_alias_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_004.php.expectf b/hphp/test/zend/bad/zend/class_alias_004.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_004.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_005.php.exp b/hphp/test/zend/bad/zend/class_alias_005.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/class_alias_005.php.exp rename to hphp/test/zend/bad/zend/class_alias_005.php.expectf diff --git a/hphp/test/zend/bad/zend/class_alias_006.php.exp b/hphp/test/zend/bad/zend/class_alias_006.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/class_alias_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_006.php.expectf b/hphp/test/zend/bad/zend/class_alias_006.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_006.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_007.php.exp b/hphp/test/zend/bad/zend/class_alias_007.php.exp deleted file mode 100644 index ea18a6453..000000000 --- a/hphp/test/zend/bad/zend/class_alias_007.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_007.php.expectf b/hphp/test/zend/bad/zend/class_alias_007.php.expectf new file mode 100644 index 000000000..3833c2e80 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_007.php.expectf @@ -0,0 +1,4 @@ +object(foo)#%d (0) { +} +object(foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_010.php.exp b/hphp/test/zend/bad/zend/class_alias_010.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/class_alias_010.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_010.php.expectf b/hphp/test/zend/bad/zend/class_alias_010.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_010.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_011.php.exp b/hphp/test/zend/bad/zend/class_alias_011.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/class_alias_011.php.exp rename to hphp/test/zend/bad/zend/class_alias_011.php.expectf diff --git a/hphp/test/zend/bad/zend/class_alias_012.php.exp b/hphp/test/zend/bad/zend/class_alias_012.php.exp deleted file mode 100644 index a4cec3976..000000000 --- a/hphp/test/zend/bad/zend/class_alias_012.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object\(test\\baz\\foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(test\\baz\\foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(test\\baz\\foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(test\\baz\\foo\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_012.php.expectf b/hphp/test/zend/bad/zend/class_alias_012.php.expectf new file mode 100644 index 000000000..c61a6b8d1 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_012.php.expectf @@ -0,0 +1,8 @@ +object(test\baz\foo)#%d (0) { +} +object(test\baz\foo)#%d (0) { +} +object(test\baz\foo)#%d (0) { +} +object(test\baz\foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_013.php.exp b/hphp/test/zend/bad/zend/class_alias_013.php.exp deleted file mode 100644 index 568fdca02..000000000 --- a/hphp/test/zend/bad/zend/class_alias_013.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -object\(test\\baz\\foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(test\\baz\\foo\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_013.php.expectf b/hphp/test/zend/bad/zend/class_alias_013.php.expectf new file mode 100644 index 000000000..deab826b3 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_013.php.expectf @@ -0,0 +1,4 @@ +object(test\baz\foo)#%d (0) { +} +object(test\baz\foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_014.php.exp b/hphp/test/zend/bad/zend/class_alias_014.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/class_alias_014.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_014.php.expectf b/hphp/test/zend/bad/zend/class_alias_014.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_014.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_015.php.exp b/hphp/test/zend/bad/zend/class_alias_015.php.exp deleted file mode 100644 index 3d2a4b2dd..000000000 --- a/hphp/test/zend/bad/zend/class_alias_015.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -object\(foo\\bar\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_015.php.expectf b/hphp/test/zend/bad/zend/class_alias_015.php.expectf new file mode 100644 index 000000000..a3f8dda18 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_015.php.expectf @@ -0,0 +1,2 @@ +object(foo\bar)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_016.php.exp b/hphp/test/zend/bad/zend/class_alias_016.php.exp deleted file mode 100644 index be00e94d9..000000000 --- a/hphp/test/zend/bad/zend/class_alias_016.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -object\(foo\\bar\)\#\d+\ \(0\)\ \{\ -\}\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_016.php.expectf b/hphp/test/zend/bad/zend/class_alias_016.php.expectf new file mode 100644 index 000000000..4d2e85474 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_016.php.expectf @@ -0,0 +1,3 @@ +object(foo\bar)#%d (0) { +} +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_017.php.exp b/hphp/test/zend/bad/zend/class_alias_017.php.exp deleted file mode 100644 index b158fb5ab..000000000 --- a/hphp/test/zend/bad/zend/class_alias_017.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -foo\ -baz\ -foo\ -foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_017.php.expectf b/hphp/test/zend/bad/zend/class_alias_017.php.expectf new file mode 100644 index 000000000..9c05e250b --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_017.php.expectf @@ -0,0 +1,4 @@ +foo +baz +foo +foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_018.php.exp b/hphp/test/zend/bad/zend/class_alias_018.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/class_alias_018.php.exp rename to hphp/test/zend/bad/zend/class_alias_018.php.expectf diff --git a/hphp/test/zend/bad/zend/class_alias_019.php.exp b/hphp/test/zend/bad/zend/class_alias_019.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/class_alias_019.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_019.php.expectf b/hphp/test/zend/bad/zend/class_alias_019.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_019.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_020.php.exp b/hphp/test/zend/bad/zend/class_alias_020.php.exp deleted file mode 100644 index 649017536..000000000 --- a/hphp/test/zend/bad/zend/class_alias_020.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -object\(foo\\foo\)\#1\ \(0\)\ \{\ -\}\ -object\(foo\\bar\\foo\)\#2\ \(0\)\ \{\ -\}\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_020.php.expectf b/hphp/test/zend/bad/zend/class_alias_020.php.expectf new file mode 100644 index 000000000..99e88b46f --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_020.php.expectf @@ -0,0 +1,5 @@ +object(foo\foo)#1 (0) { +} +object(foo\bar\foo)#2 (0) { +} +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_021.php.exp b/hphp/test/zend/bad/zend/class_alias_021.php.exp deleted file mode 100644 index 710e5b48d..000000000 --- a/hphp/test/zend/bad/zend/class_alias_021.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -object\(foo\\bar\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\\bar\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\\bar\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_021.php.expectf b/hphp/test/zend/bad/zend/class_alias_021.php.expectf new file mode 100644 index 000000000..228d410e3 --- /dev/null +++ b/hphp/test/zend/bad/zend/class_alias_021.php.expectf @@ -0,0 +1,6 @@ +object(foo\bar)#%d (0) { +} +object(foo\bar)#%d (0) { +} +object(foo\bar)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_constants_004.php.exp b/hphp/test/zend/bad/zend/class_constants_004.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/class_constants_004.php.exp rename to hphp/test/zend/bad/zend/class_constants_004.php.expectf diff --git a/hphp/test/zend/bad/zend/class_exists_001.php.exp b/hphp/test/zend/bad/zend/class_exists_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/class_exists_001.php.exp rename to hphp/test/zend/bad/zend/class_exists_001.php.expectf diff --git a/hphp/test/zend/bad/zend/class_exists_002.php.exp b/hphp/test/zend/bad/zend/class_exists_002.php.exp deleted file mode 100644 index f7397a837..000000000 --- a/hphp/test/zend/bad/zend/class_exists_002.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Warning: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_exists_002.php.expectf b/hphp/test/zend/bad/zend/class_exists_002.php.expectf new file mode 100644 index 000000000..f72fee83c --- /dev/null +++ b/hphp/test/zend/bad/zend/class_exists_002.php.expectf @@ -0,0 +1,7 @@ +bool(false) +bool(false) +bool(true) +bool(false) +bool(false) +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_005.php.exp b/hphp/test/zend/bad/zend/closure_005.php.exp deleted file mode 100644 index e24b9e753..000000000 --- a/hphp/test/zend/bad/zend/closure_005.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -3\ -3\ -5\ -5\ -7\ -7\ -Destroyed\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_005.php.expectf b/hphp/test/zend/bad/zend/closure_005.php.expectf new file mode 100644 index 000000000..a9e0cd167 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_005.php.expectf @@ -0,0 +1,8 @@ +3 +3 +5 +5 +7 +7 +Destroyed +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_015.php.exp b/hphp/test/zend/bad/zend/closure_015.php.exp deleted file mode 100644 index 14c611198..000000000 --- a/hphp/test/zend/bad/zend/closure_015.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Error\:\ Object\ of\ class\ Closure\ could\ not\ be\ converted\ to\ string\ at\ [^ -]+closure\_015\.php\(8\)\ -\ -Error\:\ Object\ of\ class\ Closure\ could\ not\ be\ converted\ to\ string\ at\ [^ -]+closure\_015\.php\(10\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_015.php.expectf b/hphp/test/zend/bad/zend/closure_015.php.expectf new file mode 100644 index 000000000..5f4eb1f14 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_015.php.expectf @@ -0,0 +1,3 @@ +Error: Object of class Closure could not be converted to string at %sclosure_015.php(8) + +Error: Object of class Closure could not be converted to string at %sclosure_015.php(10) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_016.php.exp b/hphp/test/zend/bad/zend/closure_016.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/closure_016.php.exp rename to hphp/test/zend/bad/zend/closure_016.php.expectf diff --git a/hphp/test/zend/bad/zend/closure_017.php.exp b/hphp/test/zend/bad/zend/closure_017.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/closure_017.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_017.php.expectf b/hphp/test/zend/bad/zend/closure_017.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_017.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_020.php.exp b/hphp/test/zend/bad/zend/closure_020.php.exp deleted file mode 100644 index cd98a0827..000000000 --- a/hphp/test/zend/bad/zend/closure_020.php.exp +++ /dev/null @@ -1,17 +0,0 @@ -object\(foo\)\#\d+\ \(2\)\ \{\ -\ \ \[\"test\"\:\"foo\"\:private\]\=\>\ -\ \ int\(3\)\ -\ \ \[\"a\"\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(2\)\ \{\ -\ \ \ \ \[\"static\"\]\=\>\ -\ \ \ \ array\(1\)\ \{\ -\ \ \ \ \ \ \[\"a\"\]\=\>\ -\ \ \ \ \ \ \*RECURSION\*\ -\ \ \ \ \}\ -\ \ \ \ \[\"this\"\]\=\>\ -\ \ \ \ \*RECURSION\*\ -\ \ \}\ -\}\ -bool\(true\)\ -bool\(true\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_020.php.expectf b/hphp/test/zend/bad/zend/closure_020.php.expectf new file mode 100644 index 000000000..0eca2c303 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_020.php.expectf @@ -0,0 +1,17 @@ +object(foo)#%d (2) { + ["test":"foo":private]=> + int(3) + ["a"]=> + object(Closure)#%d (2) { + ["static"]=> + array(1) { + ["a"]=> + *RECURSION* + } + ["this"]=> + *RECURSION* + } +} +bool(true) +bool(true) +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_022.php.exp b/hphp/test/zend/bad/zend/closure_022.php.exp deleted file mode 100644 index c55167cd3..000000000 --- a/hphp/test/zend/bad/zend/closure_022.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Catchable\ fatal\ error\:\ Closure\ object\ cannot\ have\ properties\ in\ [^ -]+closure\_022\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_022.php.expectf b/hphp/test/zend/bad/zend/closure_022.php.expectf new file mode 100644 index 000000000..68c8be2a1 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_022.php.expectf @@ -0,0 +1 @@ +Catchable fatal error: Closure object cannot have properties in %sclosure_022.php on line 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_026.php.exp b/hphp/test/zend/bad/zend/closure_026.php.exp deleted file mode 100644 index 9d2c3199a..000000000 --- a/hphp/test/zend/bad/zend/closure_026.php.exp +++ /dev/null @@ -1,24 +0,0 @@ -object\(foo\)\#\d+\ \(1\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \ \ \[\"this\"\]\=\>\ -\ \ \ \ \ \ \*RECURSION\*\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -int\(1\)\ -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\ -string\(1\)\ \"a\"\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \[\"this\"\]\=\>\ -\ \ \ \ object\(foo\)\#\d+\ \(1\)\ \{\ -\ \ \ \ \ \ \[\"a\"\]\=\>\ -\ \ \ \ \ \ \*RECURSION\*\ -\ \ \ \ \}\ -\ \ \}\ -\}\ -int\(1\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_026.php.expectf b/hphp/test/zend/bad/zend/closure_026.php.expectf new file mode 100644 index 000000000..48a827c48 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_026.php.expectf @@ -0,0 +1,24 @@ +object(foo)#%d (1) { + ["a"]=> + array(1) { + [0]=> + object(Closure)#%d (1) { + ["this"]=> + *RECURSION* + } + } +} +int(1) +-------------- +string(1) "a" +array(1) { + [0]=> + object(Closure)#%d (1) { + ["this"]=> + object(foo)#%d (1) { + ["a"]=> + *RECURSION* + } + } +} +int(1) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_027.php.exp b/hphp/test/zend/bad/zend/closure_027.php.exp deleted file mode 100644 index 8bd413ffb..000000000 --- a/hphp/test/zend/bad/zend/closure_027.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -NULL\ -HipHop Notice: .+ -HipHop Warning: .+ -NULL\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ test\(\)\ must\ be\ an\ instance\ of\ Closure\,\ instance\ of\ stdClass\ given\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/closure\_027\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/closure\_027\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_027.php.expectf b/hphp/test/zend/bad/zend/closure_027.php.expectf new file mode 100644 index 000000000..ef7ddb176 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_027.php.expectf @@ -0,0 +1,8 @@ +object(stdClass)#%d (0) { +} +NULL +HipHop Notice: %a +HipHop Warning: %a +NULL + +Catchable fatal error: Argument 1 passed to test() must be an instance of Closure, instance of stdClass given, called in hphp/test/zend/bad/zend/closure_027.php on line %d and defined in hphp/test/zend/bad/zend/closure_027.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_031.php.exp b/hphp/test/zend/bad/zend/closure_031.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/closure_031.php.exp rename to hphp/test/zend/bad/zend/closure_031.php.expectf diff --git a/hphp/test/zend/bad/zend/closure_032.php.exp b/hphp/test/zend/bad/zend/closure_032.php.exp deleted file mode 100644 index 498f3c46e..000000000 --- a/hphp/test/zend/bad/zend/closure_032.php.exp +++ /dev/null @@ -1,59 +0,0 @@ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ \{closure\}\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ 23\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\#0\ \ \{closure\}\(23\)\ called\ at\ \[[^ -]+\:\d+\]\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ \{closure\}\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ 23\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ test\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ Closure\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[parameter\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[\$param\]\ \=\>\ \\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\#0\ \ \{closure\}\(23\)\ called\ at\ \[[^ -]+\:\d+\]\ -\#1\ \ test\(Closure\ Object\ \(\)\)\ called\ at\ \[[^ -]+\:\d+\] \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_032.php.expectf b/hphp/test/zend/bad/zend/closure_032.php.expectf new file mode 100644 index 000000000..c8c7f73ef --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_032.php.expectf @@ -0,0 +1,53 @@ +Array +( + [0] => Array + ( + [file] => %s + [line] => %d + [function] => {closure} + [args] => Array + ( + [0] => 23 + ) + + ) + +) +#0 {closure}(23) called at [%s:%d] +Array +( + [0] => Array + ( + [file] => %s + [line] => %d + [function] => {closure} + [args] => Array + ( + [0] => 23 + ) + + ) + + [1] => Array + ( + [file] => %s + [line] => %d + [function] => test + [args] => Array + ( + [0] => Closure Object + ( + [parameter] => Array + ( + [$param] => + ) + + ) + + ) + + ) + +) +#0 {closure}(23) called at [%s:%d] +#1 test(Closure Object ()) called at [%s:%d] \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_033.php.exp b/hphp/test/zend/bad/zend/closure_033.php.exp deleted file mode 100644 index eec985f32..000000000 --- a/hphp/test/zend/bad/zend/closure_033.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Test\:\:\{closure\}\(\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_033.php.expectf b/hphp/test/zend/bad/zend/closure_033.php.expectf new file mode 100644 index 000000000..aa451a735 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_033.php.expectf @@ -0,0 +1,2 @@ +Test::{closure}() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_034.php.exp b/hphp/test/zend/bad/zend/closure_034.php.exp deleted file mode 100644 index 79515b360..000000000 --- a/hphp/test/zend/bad/zend/closure_034.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \[\"static\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[\"a\"\]\=\>\ -\ \ \ \ \*RECURSION\*\ -\ \ \}\ -\}\ -\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_034.php.expectf b/hphp/test/zend/bad/zend/closure_034.php.expectf new file mode 100644 index 000000000..38ad46eae --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_034.php.expectf @@ -0,0 +1,8 @@ +object(Closure)#%d (1) { + ["static"]=> + array(1) { + ["a"]=> + *RECURSION* + } +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_035.php.exp b/hphp/test/zend/bad/zend/closure_035.php.exp deleted file mode 100644 index 018055935..000000000 --- a/hphp/test/zend/bad/zend/closure_035.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object\(Closure\)\#\d+\ \(1\)\ \{\ -\ \ \[\"static\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[\"x\"\]\=\>\ -\ \ \ \ \*RECURSION\*\ -\ \ \}\ -\}\ -int\(1\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_035.php.expectf b/hphp/test/zend/bad/zend/closure_035.php.expectf new file mode 100644 index 000000000..6af63a6bf --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_035.php.expectf @@ -0,0 +1,8 @@ +object(Closure)#%d (1) { + ["static"]=> + array(1) { + ["x"]=> + *RECURSION* + } +} +int(1) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_036.php.exp b/hphp/test/zend/bad/zend/closure_036.php.exp deleted file mode 100644 index ebf7f8a36..000000000 --- a/hphp/test/zend/bad/zend/closure_036.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int\(1\)\ -int\(11\)\ -int\(12\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_036.php.expectf b/hphp/test/zend/bad/zend/closure_036.php.expectf new file mode 100644 index 000000000..e89bf76b5 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_036.php.expectf @@ -0,0 +1,3 @@ +int(1) +int(11) +int(12) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_038.php.exp b/hphp/test/zend/bad/zend/closure_038.php.exp deleted file mode 100644 index 764415148..000000000 --- a/hphp/test/zend/bad/zend/closure_038.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -int\(1\)\ -Testing\ with\ scope\ given\ as\ object\ -int\(21\)\ -int\(22\)\ -Testing\ with\ scope\ as\ string\ -int\(23\)\ -int\(24\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_038.php.expectf b/hphp/test/zend/bad/zend/closure_038.php.expectf new file mode 100644 index 000000000..2fd3ef4c0 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_038.php.expectf @@ -0,0 +1,8 @@ +int(1) +Testing with scope given as object +int(21) +int(22) +Testing with scope as string +int(23) +int(24) +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_039.php.exp b/hphp/test/zend/bad/zend/closure_039.php.exp deleted file mode 100644 index 186c41c6c..000000000 --- a/hphp/test/zend/bad/zend/closure_039.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -int\(\-4\)\ -Testing\ with\ scope\ given\ as\ object\ -int\(21\)\ -int\(22\)\ -Testing\ with\ scope\ as\ string\ -int\(23\)\ -int\(24\)\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_039.php.expectf b/hphp/test/zend/bad/zend/closure_039.php.expectf new file mode 100644 index 000000000..507665681 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_039.php.expectf @@ -0,0 +1,8 @@ +int(-4) +Testing with scope given as object +int(21) +int(22) +Testing with scope as string +int(23) +int(24) +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_040.php.exp b/hphp/test/zend/bad/zend/closure_040.php.exp deleted file mode 100644 index 1708cac77..000000000 --- a/hphp/test/zend/bad/zend/closure_040.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -HipHop Notice: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_040.php.expectf b/hphp/test/zend/bad/zend/closure_040.php.expectf new file mode 100644 index 000000000..301121e62 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_040.php.expectf @@ -0,0 +1,6 @@ +HipHop Notice: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_041.php.exp b/hphp/test/zend/bad/zend/closure_041.php.exp deleted file mode 100644 index 73ae17527..000000000 --- a/hphp/test/zend/bad/zend/closure_041.php.exp +++ /dev/null @@ -1,36 +0,0 @@ -Before\ binding\ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ A\ -After\ binding\,\ no\ instance\ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ no\ -HipHop Warning: .+ -After\ binding\,\ with\ same\-class\ instance\ for\ the\ bound\ ones\ -HipHop Warning: .+ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ A\ \(should\ be\ scoped\ to\ dummy\ class\)\ -HipHop Warning: .+ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ no\ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ A\ -After\ binding\,\ with\ different\ instance\ for\ the\ bound\ ones\ -scoped\ to\ A\:\ bool\(false\)\ -bound\:\ B\ \(should\ be\ scoped\ to\ dummy\ class\)\ -scoped\ to\ A\:\ bool\(true\)\ -bound\:\ B\ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_041.php.expectf b/hphp/test/zend/bad/zend/closure_041.php.expectf new file mode 100644 index 000000000..058ce1cac --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_041.php.expectf @@ -0,0 +1,36 @@ +Before binding +scoped to A: bool(false) +bound: no +scoped to A: bool(false) +bound: no +scoped to A: bool(true) +bound: no +scoped to A: bool(true) +bound: A +After binding, no instance +scoped to A: bool(false) +bound: no +scoped to A: bool(false) +bound: no +scoped to A: bool(true) +bound: no +scoped to A: bool(true) +bound: no +HipHop Warning: %a +After binding, with same-class instance for the bound ones +HipHop Warning: %a +scoped to A: bool(false) +bound: no +scoped to A: bool(false) +bound: A (should be scoped to dummy class) +HipHop Warning: %a +scoped to A: bool(true) +bound: no +scoped to A: bool(true) +bound: A +After binding, with different instance for the bound ones +scoped to A: bool(false) +bound: B (should be scoped to dummy class) +scoped to A: bool(true) +bound: B +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_042.php.exp b/hphp/test/zend/bad/zend/closure_042.php.exp deleted file mode 100644 index 589af9761..000000000 --- a/hphp/test/zend/bad/zend/closure_042.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -string\(7\)\ \"Closure\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -string\(7\)\ \"Closure\"\ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_042.php.expectf b/hphp/test/zend/bad/zend/closure_042.php.expectf new file mode 100644 index 000000000..334f46ff6 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_042.php.expectf @@ -0,0 +1,7 @@ +object(stdClass)#%d (0) { +} +string(7) "Closure" +object(stdClass)#%d (0) { +} +string(7) "Closure" +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_043.php.exp b/hphp/test/zend/bad/zend/closure_043.php.exp deleted file mode 100644 index 88b40ae33..000000000 --- a/hphp/test/zend/bad/zend/closure_043.php.exp +++ /dev/null @@ -1,40 +0,0 @@ -Before\ binding\ -bool\(false\)\ -bool\(false\)\ -\ -bool\(true\)\ -bool\(false\)\ -\ -After\ binding\,\ null\ scope\,\ no\ instance\ -bool\(false\)\ -bool\(false\)\ -\ -bool\(false\)\ -bool\(false\)\ -\ -After\ binding\,\ null\ scope\,\ with\ instance\ -HipHop Warning: .+ -bool\(false\)\ -bool\(false\)\ -\ -HipHop Warning: .+ -bool\(false\)\ -bool\(false\)\ -\ -After\ binding\,\ with\ scope\,\ no\ instance\ -bool\(true\)\ -bool\(false\)\ -\ -bool\(true\)\ -bool\(false\)\ -\ -After\ binding\,\ with\ scope\,\ with\ instance\ -HipHop Warning: .+ -bool\(true\)\ -bool\(false\)\ -\ -HipHop Warning: .+ -bool\(true\)\ -bool\(false\)\ -\ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_043.php.expectf b/hphp/test/zend/bad/zend/closure_043.php.expectf new file mode 100644 index 000000000..7a1dcf456 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_043.php.expectf @@ -0,0 +1,40 @@ +Before binding +bool(false) +bool(false) + +bool(true) +bool(false) + +After binding, null scope, no instance +bool(false) +bool(false) + +bool(false) +bool(false) + +After binding, null scope, with instance +HipHop Warning: %a +bool(false) +bool(false) + +HipHop Warning: %a +bool(false) +bool(false) + +After binding, with scope, no instance +bool(true) +bool(false) + +bool(true) +bool(false) + +After binding, with scope, with instance +HipHop Warning: %a +bool(true) +bool(false) + +HipHop Warning: %a +bool(true) +bool(false) + +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_044.php.exp b/hphp/test/zend/bad/zend/closure_044.php.exp deleted file mode 100644 index f5d6b02cc..000000000 --- a/hphp/test/zend/bad/zend/closure_044.php.exp +++ /dev/null @@ -1,36 +0,0 @@ -Before\ binding\ -bool\(false\)\ -bool\(false\)\ -\ -bool\(true\)\ -bool\(true\)\ -\ -After\ binding\,\ null\ scope\,\ no\ instance\ -bool\(false\)\ -bool\(false\)\ -\ -bool\(false\)\ -bool\(false\)\ -\ -After\ binding\,\ null\ scope\,\ with\ instance\ -bool\(false\)\ -bool\(true\)\ -\ -bool\(false\)\ -bool\(true\)\ -\ -After\ binding\,\ with\ scope\,\ no\ instance\ -bool\(true\)\ -bool\(false\)\ -\ -bool\(true\)\ -bool\(false\)\ -\ -After\ binding\,\ with\ scope\,\ with\ instance\ -bool\(true\)\ -bool\(true\)\ -\ -bool\(true\)\ -bool\(true\)\ -\ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_044.php.expectf b/hphp/test/zend/bad/zend/closure_044.php.expectf new file mode 100644 index 000000000..c4740f3b7 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_044.php.expectf @@ -0,0 +1,36 @@ +Before binding +bool(false) +bool(false) + +bool(true) +bool(true) + +After binding, null scope, no instance +bool(false) +bool(false) + +bool(false) +bool(false) + +After binding, null scope, with instance +bool(false) +bool(true) + +bool(false) +bool(true) + +After binding, with scope, no instance +bool(true) +bool(false) + +bool(true) +bool(false) + +After binding, with scope, with instance +bool(true) +bool(true) + +bool(true) +bool(true) + +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_045.php.exp b/hphp/test/zend/bad/zend/closure_045.php.exp deleted file mode 100644 index c31491df2..000000000 --- a/hphp/test/zend/bad/zend/closure_045.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_045.php.expectf b/hphp/test/zend/bad/zend/closure_045.php.expectf new file mode 100644 index 000000000..354edaff8 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_045.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_046.php.exp b/hphp/test/zend/bad/zend/closure_046.php.exp deleted file mode 100644 index 7ec1f9bbd..000000000 --- a/hphp/test/zend/bad/zend/closure_046.php.exp +++ /dev/null @@ -1,27 +0,0 @@ -Before\ binding\ -bool\(false\)\ -bool\(false\)\ -\ -bool\(true\)\ -bool\(true\)\ -\ -After\ binding\,\ no\ instance\ -bool\(false\)\ -bool\(false\)\ -\ -bool\(true\)\ -bool\(false\)\ -\ -HipHop Warning: .+ -After\ binding\,\ with\ same\-class\ instance\ for\ the\ bound\ one\ -bool\(false\)\ -bool\(true\)\ -\ -bool\(true\)\ -bool\(true\)\ -\ -After\ binding\,\ with\ different\ instance\ for\ the\ bound\ one\ -bool\(true\)\ -bool\(true\)\ -\ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_046.php.expectf b/hphp/test/zend/bad/zend/closure_046.php.expectf new file mode 100644 index 000000000..d60d9cd0c --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_046.php.expectf @@ -0,0 +1,27 @@ +Before binding +bool(false) +bool(false) + +bool(true) +bool(true) + +After binding, no instance +bool(false) +bool(false) + +bool(true) +bool(false) + +HipHop Warning: %a +After binding, with same-class instance for the bound one +bool(false) +bool(true) + +bool(true) +bool(true) + +After binding, with different instance for the bound one +bool(true) +bool(true) + +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_001.php.exp b/hphp/test/zend/bad/zend/compare_001.php.exp deleted file mode 100644 index c754d4fb2..000000000 --- a/hphp/test/zend/bad/zend/compare_001.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \=\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ int\(\-2147483648\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(11\)\ \"\-2147483648\"\ -string\(0\)\ \"\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \=\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \!\=\ int\(1\)\ -string\(0\)\ \"\"\ \!\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \=\=\ int\(0\)\ -string\(0\)\ \"\"\ \!\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \!\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \=\=\ NULL\ -string\(0\)\ \"\"\ \!\=\ bool\(true\)\ -string\(0\)\ \"\"\ \=\=\ bool\(false\)\ -string\(0\)\ \"\"\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ int\(\-2147483648\)\ -string\(0\)\ \"\"\ \!\=\ string\(11\)\ \"\-2147483648\"\ -int\(1\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \!\=\ string\(0\)\ \"\"\ -int\(1\)\ \=\=\ int\(1\)\ -int\(1\)\ \!\=\ float\(2\.5\)\ -int\(1\)\ \!\=\ int\(0\)\ -int\(1\)\ \!\=\ string\(6\)\ \"string\"\ -int\(1\)\ \!\=\ string\(3\)\ \"123\"\ -int\(1\)\ \!\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \!\=\ NULL\ -int\(1\)\ \=\=\ bool\(true\)\ -int\(1\)\ \!\=\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(1\)\ \!\=\ array\(0\)\ \{\}\ -int\(1\)\ \!\=\ int\(\-2147483648\)\ -int\(1\)\ \!\=\ string\(11\)\ \"\-2147483648\"\ -float\(2\.5\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \!\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \!\=\ int\(1\)\ -float\(2\.5\)\ \=\=\ float\(2\.5\)\ -float\(2\.5\)\ \!\=\ int\(0\)\ -float\(2\.5\)\ \!\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \!\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \=\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \!\=\ NULL\ -float\(2\.5\)\ \=\=\ bool\(true\)\ -float\(2\.5\)\ \!\=\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -float\(2\.5\)\ \!\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \!\=\ int\(\-2147483648\)\ -float\(2\.5\)\ \!\=\ string\(11\)\ \"\-2147483648\"\ -int\(0\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \=\=\ string\(0\)\ \"\"\ -int\(0\)\ \!\=\ int\(1\)\ -int\(0\)\ \!\=\ float\(2\.5\)\ -int\(0\)\ \=\=\ int\(0\)\ -int\(0\)\ \=\=\ string\(6\)\ \"string\"\ -int\(0\)\ \!\=\ string\(3\)\ \"123\"\ -int\(0\)\ \!\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \=\=\ NULL\ -int\(0\)\ \!\=\ bool\(true\)\ -int\(0\)\ \=\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(0\)\ \!\=\ array\(0\)\ \{\}\ -int\(0\)\ \!\=\ int\(\-2147483648\)\ -int\(0\)\ \!\=\ string\(11\)\ \"\-2147483648\"\ -string\(6\)\ \"string\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \!\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \!\=\ int\(1\)\ -string\(6\)\ \"string\"\ \!\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \=\=\ int\(0\)\ -string\(6\)\ \"string\"\ \=\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \!\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \!\=\ NULL\ -string\(6\)\ \"string\"\ \=\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \!\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ int\(\-2147483648\)\ -string\(6\)\ \"string\"\ \!\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"123\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \!\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \!\=\ int\(1\)\ -string\(3\)\ \"123\"\ \!\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \!\=\ int\(0\)\ -string\(3\)\ \"123\"\ \!\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \=\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \!\=\ NULL\ -string\(3\)\ \"123\"\ \=\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \!\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ int\(\-2147483648\)\ -string\(3\)\ \"123\"\ \!\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"2\.5\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \!\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \=\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \!\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \=\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \!\=\ NULL\ -string\(3\)\ \"2\.5\"\ \=\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \!\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ int\(\-2147483648\)\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(11\)\ \"\-2147483648\"\ -NULL\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \=\=\ string\(0\)\ \"\"\ -NULL\ \!\=\ int\(1\)\ -NULL\ \!\=\ float\(2\.5\)\ -NULL\ \=\=\ int\(0\)\ -NULL\ \!\=\ string\(6\)\ \"string\"\ -NULL\ \!\=\ string\(3\)\ \"123\"\ -NULL\ \!\=\ string\(3\)\ \"2\.5\"\ -NULL\ \=\=\ NULL\ -NULL\ \!\=\ bool\(true\)\ -NULL\ \=\=\ bool\(false\)\ -NULL\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -NULL\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -NULL\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -NULL\ \=\=\ array\(0\)\ \{\}\ -NULL\ \!\=\ int\(\-2147483648\)\ -NULL\ \!\=\ string\(11\)\ \"\-2147483648\"\ -bool\(true\)\ \=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \!\=\ string\(0\)\ \"\"\ -bool\(true\)\ \=\=\ int\(1\)\ -bool\(true\)\ \=\=\ float\(2\.5\)\ -bool\(true\)\ \!\=\ int\(0\)\ -bool\(true\)\ \=\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \=\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \=\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \!\=\ NULL\ -bool\(true\)\ \=\=\ bool\(true\)\ -bool\(true\)\ \!\=\ bool\(false\)\ -bool\(true\)\ \=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(true\)\ \=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(true\)\ \=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(true\)\ \!\=\ array\(0\)\ \{\}\ -bool\(true\)\ \=\=\ int\(\-2147483648\)\ -bool\(true\)\ \=\=\ string\(11\)\ \"\-2147483648\"\ -bool\(false\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \=\=\ string\(0\)\ \"\"\ -bool\(false\)\ \!\=\ int\(1\)\ -bool\(false\)\ \!\=\ float\(2\.5\)\ -bool\(false\)\ \=\=\ int\(0\)\ -bool\(false\)\ \!\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \!\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \!\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \=\=\ NULL\ -bool\(false\)\ \!\=\ bool\(true\)\ -bool\(false\)\ \=\=\ bool\(false\)\ -bool\(false\)\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(false\)\ \=\=\ array\(0\)\ \{\}\ -bool\(false\)\ \!\=\ int\(\-2147483648\)\ -bool\(false\)\ \!\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \=\=\ int\(1\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ float\(2\.5\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(0\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ NULL\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \=\=\ bool\(true\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ bool\(false\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(\-2147483648\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \=\=\ int\(1\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ float\(2\.5\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(0\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ NULL\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \=\=\ bool\(true\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ bool\(false\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(\-2147483648\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\ string\(11\)\ \"\-2147483648\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \=\=\ int\(1\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ float\(2\.5\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(0\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ NULL\ -object\(test\)\#3\ \(0\)\ \{\}\ \=\=\ bool\(true\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ bool\(false\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ array\(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(\-2147483648\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\ string\(11\)\ \"\-2147483648\"\ -array\(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \!\=\ int\(1\)\ -array\(0\)\ \{\}\ \!\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \!\=\ int\(0\)\ -array\(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \=\=\ NULL\ -array\(0\)\ \{\}\ \!\=\ bool\(true\)\ -array\(0\)\ \{\}\ \=\=\ bool\(false\)\ -array\(0\)\ \{\}\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \=\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\ int\(\-2147483648\)\ -array\(0\)\ \{\}\ \!\=\ string\(11\)\ \"\-2147483648\"\ -int\(\-2147483648\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-2147483648\)\ \!\=\ string\(0\)\ \"\"\ -int\(\-2147483648\)\ \!\=\ int\(1\)\ -int\(\-2147483648\)\ \!\=\ float\(2\.5\)\ -int\(\-2147483648\)\ \!\=\ int\(0\)\ -int\(\-2147483648\)\ \!\=\ string\(6\)\ \"string\"\ -int\(\-2147483648\)\ \!\=\ string\(3\)\ \"123\"\ -int\(\-2147483648\)\ \!\=\ string\(3\)\ \"2\.5\"\ -int\(\-2147483648\)\ \!\=\ NULL\ -int\(\-2147483648\)\ \=\=\ bool\(true\)\ -int\(\-2147483648\)\ \!\=\ bool\(false\)\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \!\=\ array\(0\)\ \{\}\ -int\(\-2147483648\)\ \=\=\ int\(\-2147483648\)\ -int\(\-2147483648\)\ \=\=\ string\(11\)\ \"\-2147483648\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\ string\(0\)\ \"\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\ int\(1\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\ float\(2\.5\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\ int\(0\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\ string\(6\)\ \"string\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\ string\(3\)\ \"123\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\ NULL\ -string\(11\)\ \"\-2147483648\"\ \=\=\ bool\(true\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\ bool\(false\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\ array\(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \=\=\ int\(\-2147483648\)\ -string\(11\)\ \"\-2147483648\"\ \=\=\ string\(11\)\ \"\-2147483648\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_001.php.expectf b/hphp/test/zend/bad/zend/compare_001.php.expectf new file mode 100644 index 000000000..b47f3ac11 --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_001.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(-2147483648) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(11) "-2147483648" +string(0) "" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" == string(0) "" +string(0) "" != int(1) +string(0) "" != float(2.5) +string(0) "" == int(0) +string(0) "" != string(6) "string" +string(0) "" != string(3) "123" +string(0) "" != string(3) "2.5" +string(0) "" == NULL +string(0) "" != bool(true) +string(0) "" == bool(false) +string(0) "" != object(stdClass)#1 (0) {} +string(0) "" != object(stdClass)#2 (0) {} +string(0) "" != object(test)#3 (0) {} +string(0) "" != array(0) {} +string(0) "" != int(-2147483648) +string(0) "" != string(11) "-2147483648" +int(1) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) != string(0) "" +int(1) == int(1) +int(1) != float(2.5) +int(1) != int(0) +int(1) != string(6) "string" +int(1) != string(3) "123" +int(1) != string(3) "2.5" +int(1) != NULL +int(1) == bool(true) +int(1) != bool(false) +int(1) +HipHop Notice: %a + == object(stdClass)#1 (0) {} +int(1) +HipHop Notice: %a + == object(stdClass)#2 (0) {} +int(1) +HipHop Notice: %a + == object(test)#3 (0) {} +int(1) != array(0) {} +int(1) != int(-2147483648) +int(1) != string(11) "-2147483648" +float(2.5) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) != string(0) "" +float(2.5) != int(1) +float(2.5) == float(2.5) +float(2.5) != int(0) +float(2.5) != string(6) "string" +float(2.5) != string(3) "123" +float(2.5) == string(3) "2.5" +float(2.5) != NULL +float(2.5) == bool(true) +float(2.5) != bool(false) +float(2.5) +HipHop Notice: %a + != object(stdClass)#1 (0) {} +float(2.5) +HipHop Notice: %a + != object(stdClass)#2 (0) {} +float(2.5) +HipHop Notice: %a + != object(test)#3 (0) {} +float(2.5) != array(0) {} +float(2.5) != int(-2147483648) +float(2.5) != string(11) "-2147483648" +int(0) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) == string(0) "" +int(0) != int(1) +int(0) != float(2.5) +int(0) == int(0) +int(0) == string(6) "string" +int(0) != string(3) "123" +int(0) != string(3) "2.5" +int(0) == NULL +int(0) != bool(true) +int(0) == bool(false) +int(0) +HipHop Notice: %a + != object(stdClass)#1 (0) {} +int(0) +HipHop Notice: %a + != object(stdClass)#2 (0) {} +int(0) +HipHop Notice: %a + != object(test)#3 (0) {} +int(0) != array(0) {} +int(0) != int(-2147483648) +int(0) != string(11) "-2147483648" +string(6) "string" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" != string(0) "" +string(6) "string" != int(1) +string(6) "string" != float(2.5) +string(6) "string" == int(0) +string(6) "string" == string(6) "string" +string(6) "string" != string(3) "123" +string(6) "string" != string(3) "2.5" +string(6) "string" != NULL +string(6) "string" == bool(true) +string(6) "string" != bool(false) +string(6) "string" != object(stdClass)#1 (0) {} +string(6) "string" != object(stdClass)#2 (0) {} +string(6) "string" != object(test)#3 (0) {} +string(6) "string" != array(0) {} +string(6) "string" != int(-2147483648) +string(6) "string" != string(11) "-2147483648" +string(3) "123" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" != string(0) "" +string(3) "123" != int(1) +string(3) "123" != float(2.5) +string(3) "123" != int(0) +string(3) "123" != string(6) "string" +string(3) "123" == string(3) "123" +string(3) "123" != string(3) "2.5" +string(3) "123" != NULL +string(3) "123" == bool(true) +string(3) "123" != bool(false) +string(3) "123" != object(stdClass)#1 (0) {} +string(3) "123" != object(stdClass)#2 (0) {} +string(3) "123" != object(test)#3 (0) {} +string(3) "123" != array(0) {} +string(3) "123" != int(-2147483648) +string(3) "123" != string(11) "-2147483648" +string(3) "2.5" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" != string(0) "" +string(3) "2.5" != int(1) +string(3) "2.5" == float(2.5) +string(3) "2.5" != int(0) +string(3) "2.5" != string(6) "string" +string(3) "2.5" != string(3) "123" +string(3) "2.5" == string(3) "2.5" +string(3) "2.5" != NULL +string(3) "2.5" == bool(true) +string(3) "2.5" != bool(false) +string(3) "2.5" != object(stdClass)#1 (0) {} +string(3) "2.5" != object(stdClass)#2 (0) {} +string(3) "2.5" != object(test)#3 (0) {} +string(3) "2.5" != array(0) {} +string(3) "2.5" != int(-2147483648) +string(3) "2.5" != string(11) "-2147483648" +NULL != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL == string(0) "" +NULL != int(1) +NULL != float(2.5) +NULL == int(0) +NULL != string(6) "string" +NULL != string(3) "123" +NULL != string(3) "2.5" +NULL == NULL +NULL != bool(true) +NULL == bool(false) +NULL != object(stdClass)#1 (0) {} +NULL != object(stdClass)#2 (0) {} +NULL != object(test)#3 (0) {} +NULL == array(0) {} +NULL != int(-2147483648) +NULL != string(11) "-2147483648" +bool(true) == array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) != string(0) "" +bool(true) == int(1) +bool(true) == float(2.5) +bool(true) != int(0) +bool(true) == string(6) "string" +bool(true) == string(3) "123" +bool(true) == string(3) "2.5" +bool(true) != NULL +bool(true) == bool(true) +bool(true) != bool(false) +bool(true) == object(stdClass)#1 (0) {} +bool(true) == object(stdClass)#2 (0) {} +bool(true) == object(test)#3 (0) {} +bool(true) != array(0) {} +bool(true) == int(-2147483648) +bool(true) == string(11) "-2147483648" +bool(false) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) == string(0) "" +bool(false) != int(1) +bool(false) != float(2.5) +bool(false) == int(0) +bool(false) != string(6) "string" +bool(false) != string(3) "123" +bool(false) != string(3) "2.5" +bool(false) == NULL +bool(false) != bool(true) +bool(false) == bool(false) +bool(false) != object(stdClass)#1 (0) {} +bool(false) != object(stdClass)#2 (0) {} +bool(false) != object(test)#3 (0) {} +bool(false) == array(0) {} +bool(false) != int(-2147483648) +bool(false) != string(11) "-2147483648" +object(stdClass)#1 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} != string(0) "" +object(stdClass)#1 (0) {} +HipHop Notice: %a + == int(1) +object(stdClass)#1 (0) {} +HipHop Notice: %a + != float(2.5) +object(stdClass)#1 (0) {} +HipHop Notice: %a + != int(0) +object(stdClass)#1 (0) {} != string(6) "string" +object(stdClass)#1 (0) {} != string(3) "123" +object(stdClass)#1 (0) {} != string(3) "2.5" +object(stdClass)#1 (0) {} != NULL +object(stdClass)#1 (0) {} == bool(true) +object(stdClass)#1 (0) {} != bool(false) +object(stdClass)#1 (0) {} == object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} == object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} != object(test)#3 (0) {} +object(stdClass)#1 (0) {} != array(0) {} +object(stdClass)#1 (0) {} +HipHop Notice: %a + != int(-2147483648) +object(stdClass)#1 (0) {} != string(11) "-2147483648" +object(stdClass)#2 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} != string(0) "" +object(stdClass)#2 (0) {} +HipHop Notice: %a + == int(1) +object(stdClass)#2 (0) {} +HipHop Notice: %a + != float(2.5) +object(stdClass)#2 (0) {} +HipHop Notice: %a + != int(0) +object(stdClass)#2 (0) {} != string(6) "string" +object(stdClass)#2 (0) {} != string(3) "123" +object(stdClass)#2 (0) {} != string(3) "2.5" +object(stdClass)#2 (0) {} != NULL +object(stdClass)#2 (0) {} == bool(true) +object(stdClass)#2 (0) {} != bool(false) +object(stdClass)#2 (0) {} == object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} == object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} != object(test)#3 (0) {} +object(stdClass)#2 (0) {} != array(0) {} +object(stdClass)#2 (0) {} +HipHop Notice: %a + != int(-2147483648) +object(stdClass)#2 (0) {} != string(11) "-2147483648" +object(test)#3 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} != string(0) "" +object(test)#3 (0) {} +HipHop Notice: %a + == int(1) +object(test)#3 (0) {} +HipHop Notice: %a + != float(2.5) +object(test)#3 (0) {} +HipHop Notice: %a + != int(0) +object(test)#3 (0) {} != string(6) "string" +object(test)#3 (0) {} != string(3) "123" +object(test)#3 (0) {} != string(3) "2.5" +object(test)#3 (0) {} != NULL +object(test)#3 (0) {} == bool(true) +object(test)#3 (0) {} != bool(false) +object(test)#3 (0) {} != object(stdClass)#1 (0) {} +object(test)#3 (0) {} != object(stdClass)#2 (0) {} +object(test)#3 (0) {} == object(test)#3 (0) {} +object(test)#3 (0) {} != array(0) {} +object(test)#3 (0) {} +HipHop Notice: %a + != int(-2147483648) +object(test)#3 (0) {} != string(11) "-2147483648" +array(0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} != string(0) "" +array(0) {} != int(1) +array(0) {} != float(2.5) +array(0) {} != int(0) +array(0) {} != string(6) "string" +array(0) {} != string(3) "123" +array(0) {} != string(3) "2.5" +array(0) {} == NULL +array(0) {} != bool(true) +array(0) {} == bool(false) +array(0) {} != object(stdClass)#1 (0) {} +array(0) {} != object(stdClass)#2 (0) {} +array(0) {} != object(test)#3 (0) {} +array(0) {} == array(0) {} +array(0) {} != int(-2147483648) +array(0) {} != string(11) "-2147483648" +int(-2147483648) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-2147483648) != string(0) "" +int(-2147483648) != int(1) +int(-2147483648) != float(2.5) +int(-2147483648) != int(0) +int(-2147483648) != string(6) "string" +int(-2147483648) != string(3) "123" +int(-2147483648) != string(3) "2.5" +int(-2147483648) != NULL +int(-2147483648) == bool(true) +int(-2147483648) != bool(false) +int(-2147483648) +HipHop Notice: %a + != object(stdClass)#1 (0) {} +int(-2147483648) +HipHop Notice: %a + != object(stdClass)#2 (0) {} +int(-2147483648) +HipHop Notice: %a + != object(test)#3 (0) {} +int(-2147483648) != array(0) {} +int(-2147483648) == int(-2147483648) +int(-2147483648) == string(11) "-2147483648" +string(11) "-2147483648" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(11) "-2147483648" != string(0) "" +string(11) "-2147483648" != int(1) +string(11) "-2147483648" != float(2.5) +string(11) "-2147483648" != int(0) +string(11) "-2147483648" != string(6) "string" +string(11) "-2147483648" != string(3) "123" +string(11) "-2147483648" != string(3) "2.5" +string(11) "-2147483648" != NULL +string(11) "-2147483648" == bool(true) +string(11) "-2147483648" != bool(false) +string(11) "-2147483648" != object(stdClass)#1 (0) {} +string(11) "-2147483648" != object(stdClass)#2 (0) {} +string(11) "-2147483648" != object(test)#3 (0) {} +string(11) "-2147483648" != array(0) {} +string(11) "-2147483648" == int(-2147483648) +string(11) "-2147483648" == string(11) "-2147483648" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_001_64bit.php.exp b/hphp/test/zend/bad/zend/compare_001_64bit.php.exp deleted file mode 100644 index dcf6e5988..000000000 --- a/hphp/test/zend/bad/zend/compare_001_64bit.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \=\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ int\(\-9223372036854775808\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(0\)\ \"\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \=\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \!\=\ int\(1\)\ -string\(0\)\ \"\"\ \!\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \=\=\ int\(0\)\ -string\(0\)\ \"\"\ \!\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \!\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \=\=\ NULL\ -string\(0\)\ \"\"\ \!\=\ bool\(true\)\ -string\(0\)\ \"\"\ \=\=\ bool\(false\)\ -string\(0\)\ \"\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\ int\(\-9223372036854775808\)\ -string\(0\)\ \"\"\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(1\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \!\=\ string\(0\)\ \"\"\ -int\(1\)\ \=\=\ int\(1\)\ -int\(1\)\ \!\=\ float\(2\.5\)\ -int\(1\)\ \!\=\ int\(0\)\ -int\(1\)\ \!\=\ string\(6\)\ \"string\"\ -int\(1\)\ \!\=\ string\(3\)\ \"123\"\ -int\(1\)\ \!\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \!\=\ NULL\ -int\(1\)\ \=\=\ bool\(true\)\ -int\(1\)\ \!\=\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \=\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ \!\=\ array\(0\)\ \{\}\ -int\(1\)\ \!\=\ int\(\-9223372036854775808\)\ -int\(1\)\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -float\(2\.5\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \!\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \!\=\ int\(1\)\ -float\(2\.5\)\ \=\=\ float\(2\.5\)\ -float\(2\.5\)\ \!\=\ int\(0\)\ -float\(2\.5\)\ \!\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \!\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \=\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \!\=\ NULL\ -float\(2\.5\)\ \=\=\ bool\(true\)\ -float\(2\.5\)\ \!\=\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ \!\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \!\=\ int\(\-9223372036854775808\)\ -float\(2\.5\)\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(0\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \=\=\ string\(0\)\ \"\"\ -int\(0\)\ \!\=\ int\(1\)\ -int\(0\)\ \!\=\ float\(2\.5\)\ -int\(0\)\ \=\=\ int\(0\)\ -int\(0\)\ \=\=\ string\(6\)\ \"string\"\ -int\(0\)\ \!\=\ string\(3\)\ \"123\"\ -int\(0\)\ \!\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \=\=\ NULL\ -int\(0\)\ \!\=\ bool\(true\)\ -int\(0\)\ \=\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ \!\=\ array\(0\)\ \{\}\ -int\(0\)\ \!\=\ int\(\-9223372036854775808\)\ -int\(0\)\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(6\)\ \"string\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \!\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \!\=\ int\(1\)\ -string\(6\)\ \"string\"\ \!\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \=\=\ int\(0\)\ -string\(6\)\ \"string\"\ \=\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \!\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \!\=\ NULL\ -string\(6\)\ \"string\"\ \=\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \!\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\ int\(\-9223372036854775808\)\ -string\(6\)\ \"string\"\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"123\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \!\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \!\=\ int\(1\)\ -string\(3\)\ \"123\"\ \!\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \!\=\ int\(0\)\ -string\(3\)\ \"123\"\ \!\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \=\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \!\=\ NULL\ -string\(3\)\ \"123\"\ \=\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \!\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\ int\(\-9223372036854775808\)\ -string\(3\)\ \"123\"\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"2\.5\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \!\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \=\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \!\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \=\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \!\=\ NULL\ -string\(3\)\ \"2\.5\"\ \=\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \!\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\ int\(\-9223372036854775808\)\ -string\(3\)\ \"2\.5\"\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -NULL\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \=\=\ string\(0\)\ \"\"\ -NULL\ \!\=\ int\(1\)\ -NULL\ \!\=\ float\(2\.5\)\ -NULL\ \=\=\ int\(0\)\ -NULL\ \!\=\ string\(6\)\ \"string\"\ -NULL\ \!\=\ string\(3\)\ \"123\"\ -NULL\ \!\=\ string\(3\)\ \"2\.5\"\ -NULL\ \=\=\ NULL\ -NULL\ \!\=\ bool\(true\)\ -NULL\ \=\=\ bool\(false\)\ -NULL\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -NULL\ \=\=\ array\(0\)\ \{\}\ -NULL\ \!\=\ int\(\-9223372036854775808\)\ -NULL\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(true\)\ \=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \!\=\ string\(0\)\ \"\"\ -bool\(true\)\ \=\=\ int\(1\)\ -bool\(true\)\ \=\=\ float\(2\.5\)\ -bool\(true\)\ \!\=\ int\(0\)\ -bool\(true\)\ \=\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \=\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \=\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \!\=\ NULL\ -bool\(true\)\ \=\=\ bool\(true\)\ -bool\(true\)\ \!\=\ bool\(false\)\ -bool\(true\)\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \=\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \!\=\ array\(0\)\ \{\}\ -bool\(true\)\ \=\=\ int\(\-9223372036854775808\)\ -bool\(true\)\ \=\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(false\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \=\=\ string\(0\)\ \"\"\ -bool\(false\)\ \!\=\ int\(1\)\ -bool\(false\)\ \!\=\ float\(2\.5\)\ -bool\(false\)\ \=\=\ int\(0\)\ -bool\(false\)\ \!\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \!\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \!\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \=\=\ NULL\ -bool\(false\)\ \!\=\ bool\(true\)\ -bool\(false\)\ \=\=\ bool\(false\)\ -bool\(false\)\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \=\=\ array\(0\)\ \{\}\ -bool\(false\)\ \!\=\ int\(\-9223372036854775808\)\ -bool\(false\)\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \=\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \=\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \=\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \=\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \=\=\ int\(1\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ float\(2\.5\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(0\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ NULL\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \=\=\ bool\(true\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ bool\(false\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \=\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ array\(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \!\=\ int\(\-9223372036854775808\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -array\(0\)\ \{\}\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \!\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \!\=\ int\(1\)\ -array\(0\)\ \{\}\ \!\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \!\=\ int\(0\)\ -array\(0\)\ \{\}\ \!\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \!\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \!\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \=\=\ NULL\ -array\(0\)\ \{\}\ \!\=\ bool\(true\)\ -array\(0\)\ \{\}\ \=\=\ bool\(false\)\ -array\(0\)\ \{\}\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \=\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\ int\(\-9223372036854775808\)\ -array\(0\)\ \{\}\ \!\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(\-9223372036854775808\)\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-9223372036854775808\)\ \!\=\ string\(0\)\ \"\"\ -int\(\-9223372036854775808\)\ \!\=\ int\(1\)\ -int\(\-9223372036854775808\)\ \!\=\ float\(2\.5\)\ -int\(\-9223372036854775808\)\ \!\=\ int\(0\)\ -int\(\-9223372036854775808\)\ \!\=\ string\(6\)\ \"string\"\ -int\(\-9223372036854775808\)\ \!\=\ string\(3\)\ \"123\"\ -int\(\-9223372036854775808\)\ \!\=\ string\(3\)\ \"2\.5\"\ -int\(\-9223372036854775808\)\ \!\=\ NULL\ -int\(\-9223372036854775808\)\ \=\=\ bool\(true\)\ -int\(\-9223372036854775808\)\ \!\=\ bool\(false\)\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \!\=\ array\(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \=\=\ int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ \=\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ string\(0\)\ \"\"\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ int\(1\)\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ float\(2\.5\)\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ int\(0\)\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ string\(6\)\ \"string\"\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ string\(3\)\ \"123\"\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ string\(3\)\ \"2\.5\"\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ NULL\ -string\(20\)\ \"\-9223372036854775808\"\ \=\=\ bool\(true\)\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ bool\(false\)\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \!\=\ array\(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \=\=\ int\(\-9223372036854775808\)\ -string\(20\)\ \"\-9223372036854775808\"\ \=\=\ string\(20\)\ \"\-9223372036854775808\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_001_64bit.php.expectf b/hphp/test/zend/bad/zend/compare_001_64bit.php.expectf new file mode 100644 index 000000000..abf0c3c27 --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_001_64bit.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != string(20) "-9223372036854775808" +string(0) "" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" == string(0) "" +string(0) "" != int(1) +string(0) "" != float(2.5) +string(0) "" == int(0) +string(0) "" != string(6) "string" +string(0) "" != string(3) "123" +string(0) "" != string(3) "2.5" +string(0) "" == NULL +string(0) "" != bool(true) +string(0) "" == bool(false) +string(0) "" != object(stdClass)#%d (0) {} +string(0) "" != object(stdClass)#%d (0) {} +string(0) "" != object(test)#%d (0) {} +string(0) "" != array(0) {} +string(0) "" != int(-9223372036854775808) +string(0) "" != string(20) "-9223372036854775808" +int(1) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) != string(0) "" +int(1) == int(1) +int(1) != float(2.5) +int(1) != int(0) +int(1) != string(6) "string" +int(1) != string(3) "123" +int(1) != string(3) "2.5" +int(1) != NULL +int(1) == bool(true) +int(1) != bool(false) +int(1) +HipHop Notice: %a + == object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + == object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + == object(test)#%d (0) {} +int(1) != array(0) {} +int(1) != int(-9223372036854775808) +int(1) != string(20) "-9223372036854775808" +float(2.5) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) != string(0) "" +float(2.5) != int(1) +float(2.5) == float(2.5) +float(2.5) != int(0) +float(2.5) != string(6) "string" +float(2.5) != string(3) "123" +float(2.5) == string(3) "2.5" +float(2.5) != NULL +float(2.5) == bool(true) +float(2.5) != bool(false) +float(2.5) +HipHop Notice: %a + != object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + != object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + != object(test)#%d (0) {} +float(2.5) != array(0) {} +float(2.5) != int(-9223372036854775808) +float(2.5) != string(20) "-9223372036854775808" +int(0) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) == string(0) "" +int(0) != int(1) +int(0) != float(2.5) +int(0) == int(0) +int(0) == string(6) "string" +int(0) != string(3) "123" +int(0) != string(3) "2.5" +int(0) == NULL +int(0) != bool(true) +int(0) == bool(false) +int(0) +HipHop Notice: %a + != object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + != object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + != object(test)#%d (0) {} +int(0) != array(0) {} +int(0) != int(-9223372036854775808) +int(0) != string(20) "-9223372036854775808" +string(6) "string" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" != string(0) "" +string(6) "string" != int(1) +string(6) "string" != float(2.5) +string(6) "string" == int(0) +string(6) "string" == string(6) "string" +string(6) "string" != string(3) "123" +string(6) "string" != string(3) "2.5" +string(6) "string" != NULL +string(6) "string" == bool(true) +string(6) "string" != bool(false) +string(6) "string" != object(stdClass)#%d (0) {} +string(6) "string" != object(stdClass)#%d (0) {} +string(6) "string" != object(test)#%d (0) {} +string(6) "string" != array(0) {} +string(6) "string" != int(-9223372036854775808) +string(6) "string" != string(20) "-9223372036854775808" +string(3) "123" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" != string(0) "" +string(3) "123" != int(1) +string(3) "123" != float(2.5) +string(3) "123" != int(0) +string(3) "123" != string(6) "string" +string(3) "123" == string(3) "123" +string(3) "123" != string(3) "2.5" +string(3) "123" != NULL +string(3) "123" == bool(true) +string(3) "123" != bool(false) +string(3) "123" != object(stdClass)#%d (0) {} +string(3) "123" != object(stdClass)#%d (0) {} +string(3) "123" != object(test)#%d (0) {} +string(3) "123" != array(0) {} +string(3) "123" != int(-9223372036854775808) +string(3) "123" != string(20) "-9223372036854775808" +string(3) "2.5" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" != string(0) "" +string(3) "2.5" != int(1) +string(3) "2.5" == float(2.5) +string(3) "2.5" != int(0) +string(3) "2.5" != string(6) "string" +string(3) "2.5" != string(3) "123" +string(3) "2.5" == string(3) "2.5" +string(3) "2.5" != NULL +string(3) "2.5" == bool(true) +string(3) "2.5" != bool(false) +string(3) "2.5" != object(stdClass)#%d (0) {} +string(3) "2.5" != object(stdClass)#%d (0) {} +string(3) "2.5" != object(test)#%d (0) {} +string(3) "2.5" != array(0) {} +string(3) "2.5" != int(-9223372036854775808) +string(3) "2.5" != string(20) "-9223372036854775808" +NULL != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL == string(0) "" +NULL != int(1) +NULL != float(2.5) +NULL == int(0) +NULL != string(6) "string" +NULL != string(3) "123" +NULL != string(3) "2.5" +NULL == NULL +NULL != bool(true) +NULL == bool(false) +NULL != object(stdClass)#%d (0) {} +NULL != object(stdClass)#%d (0) {} +NULL != object(test)#%d (0) {} +NULL == array(0) {} +NULL != int(-9223372036854775808) +NULL != string(20) "-9223372036854775808" +bool(true) == array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) != string(0) "" +bool(true) == int(1) +bool(true) == float(2.5) +bool(true) != int(0) +bool(true) == string(6) "string" +bool(true) == string(3) "123" +bool(true) == string(3) "2.5" +bool(true) != NULL +bool(true) == bool(true) +bool(true) != bool(false) +bool(true) == object(stdClass)#%d (0) {} +bool(true) == object(stdClass)#%d (0) {} +bool(true) == object(test)#%d (0) {} +bool(true) != array(0) {} +bool(true) == int(-9223372036854775808) +bool(true) == string(20) "-9223372036854775808" +bool(false) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) == string(0) "" +bool(false) != int(1) +bool(false) != float(2.5) +bool(false) == int(0) +bool(false) != string(6) "string" +bool(false) != string(3) "123" +bool(false) != string(3) "2.5" +bool(false) == NULL +bool(false) != bool(true) +bool(false) == bool(false) +bool(false) != object(stdClass)#%d (0) {} +bool(false) != object(stdClass)#%d (0) {} +bool(false) != object(test)#%d (0) {} +bool(false) == array(0) {} +bool(false) != int(-9223372036854775808) +bool(false) != string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} != string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + == int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + != float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + != int(0) +object(stdClass)#%d (0) {} != string(6) "string" +object(stdClass)#%d (0) {} != string(3) "123" +object(stdClass)#%d (0) {} != string(3) "2.5" +object(stdClass)#%d (0) {} != NULL +object(stdClass)#%d (0) {} == bool(true) +object(stdClass)#%d (0) {} != bool(false) +object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} != object(test)#%d (0) {} +object(stdClass)#%d (0) {} != array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + != int(-9223372036854775808) +object(stdClass)#%d (0) {} != string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} != string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + == int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + != float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + != int(0) +object(stdClass)#%d (0) {} != string(6) "string" +object(stdClass)#%d (0) {} != string(3) "123" +object(stdClass)#%d (0) {} != string(3) "2.5" +object(stdClass)#%d (0) {} != NULL +object(stdClass)#%d (0) {} == bool(true) +object(stdClass)#%d (0) {} != bool(false) +object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} == object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} != object(test)#%d (0) {} +object(stdClass)#%d (0) {} != array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + != int(-9223372036854775808) +object(stdClass)#%d (0) {} != string(20) "-9223372036854775808" +object(test)#%d (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} != string(0) "" +object(test)#%d (0) {} +HipHop Notice: %a + == int(1) +object(test)#%d (0) {} +HipHop Notice: %a + != float(2.5) +object(test)#%d (0) {} +HipHop Notice: %a + != int(0) +object(test)#%d (0) {} != string(6) "string" +object(test)#%d (0) {} != string(3) "123" +object(test)#%d (0) {} != string(3) "2.5" +object(test)#%d (0) {} != NULL +object(test)#%d (0) {} == bool(true) +object(test)#%d (0) {} != bool(false) +object(test)#%d (0) {} != object(stdClass)#%d (0) {} +object(test)#%d (0) {} != object(stdClass)#%d (0) {} +object(test)#%d (0) {} == object(test)#%d (0) {} +object(test)#%d (0) {} != array(0) {} +object(test)#%d (0) {} +HipHop Notice: %a + != int(-9223372036854775808) +object(test)#%d (0) {} != string(20) "-9223372036854775808" +array(0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} != string(0) "" +array(0) {} != int(1) +array(0) {} != float(2.5) +array(0) {} != int(0) +array(0) {} != string(6) "string" +array(0) {} != string(3) "123" +array(0) {} != string(3) "2.5" +array(0) {} == NULL +array(0) {} != bool(true) +array(0) {} == bool(false) +array(0) {} != object(stdClass)#%d (0) {} +array(0) {} != object(stdClass)#%d (0) {} +array(0) {} != object(test)#%d (0) {} +array(0) {} == array(0) {} +array(0) {} != int(-9223372036854775808) +array(0) {} != string(20) "-9223372036854775808" +int(-9223372036854775808) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) != string(0) "" +int(-9223372036854775808) != int(1) +int(-9223372036854775808) != float(2.5) +int(-9223372036854775808) != int(0) +int(-9223372036854775808) != string(6) "string" +int(-9223372036854775808) != string(3) "123" +int(-9223372036854775808) != string(3) "2.5" +int(-9223372036854775808) != NULL +int(-9223372036854775808) == bool(true) +int(-9223372036854775808) != bool(false) +int(-9223372036854775808) +HipHop Notice: %a + != object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + != object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + != object(test)#%d (0) {} +int(-9223372036854775808) != array(0) {} +int(-9223372036854775808) == int(-9223372036854775808) +int(-9223372036854775808) == string(20) "-9223372036854775808" +string(20) "-9223372036854775808" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(20) "-9223372036854775808" != string(0) "" +string(20) "-9223372036854775808" != int(1) +string(20) "-9223372036854775808" != float(2.5) +string(20) "-9223372036854775808" != int(0) +string(20) "-9223372036854775808" != string(6) "string" +string(20) "-9223372036854775808" != string(3) "123" +string(20) "-9223372036854775808" != string(3) "2.5" +string(20) "-9223372036854775808" != NULL +string(20) "-9223372036854775808" == bool(true) +string(20) "-9223372036854775808" != bool(false) +string(20) "-9223372036854775808" != object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" != object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" != object(test)#%d (0) {} +string(20) "-9223372036854775808" != array(0) {} +string(20) "-9223372036854775808" == int(-9223372036854775808) +string(20) "-9223372036854775808" == string(20) "-9223372036854775808" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_002.php.exp b/hphp/test/zend/bad/zend/compare_002.php.exp deleted file mode 100644 index 25cab3cc0..000000000 --- a/hphp/test/zend/bad/zend/compare_002.php.exp +++ /dev/null @@ -1,290 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \=\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ int\(\-2147483648\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -string\(0\)\ \"\"\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \=\=\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \!\=\=\ int\(1\)\ -string\(0\)\ \"\"\ \!\=\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \!\=\=\ int\(0\)\ -string\(0\)\ \"\"\ \!\=\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \!\=\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \!\=\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \!\=\=\ NULL\ -string\(0\)\ \"\"\ \!\=\=\ bool\(true\)\ -string\(0\)\ \"\"\ \!\=\=\ bool\(false\)\ -string\(0\)\ \"\"\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \!\=\=\ int\(\-2147483648\)\ -string\(0\)\ \"\"\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -int\(1\)\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \!\=\=\ string\(0\)\ \"\"\ -int\(1\)\ \=\=\=\ int\(1\)\ -int\(1\)\ \!\=\=\ float\(2\.5\)\ -int\(1\)\ \!\=\=\ int\(0\)\ -int\(1\)\ \!\=\=\ string\(6\)\ \"string\"\ -int\(1\)\ \!\=\=\ string\(3\)\ \"123\"\ -int\(1\)\ \!\=\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \!\=\=\ NULL\ -int\(1\)\ \!\=\=\ bool\(true\)\ -int\(1\)\ \!\=\=\ bool\(false\)\ -int\(1\)\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(1\)\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(1\)\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(1\)\ \!\=\=\ array\(0\)\ \{\}\ -int\(1\)\ \!\=\=\ int\(\-2147483648\)\ -int\(1\)\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -float\(2\.5\)\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \!\=\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \!\=\=\ int\(1\)\ -float\(2\.5\)\ \=\=\=\ float\(2\.5\)\ -float\(2\.5\)\ \!\=\=\ int\(0\)\ -float\(2\.5\)\ \!\=\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \!\=\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \!\=\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \!\=\=\ NULL\ -float\(2\.5\)\ \!\=\=\ bool\(true\)\ -float\(2\.5\)\ \!\=\=\ bool\(false\)\ -float\(2\.5\)\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -float\(2\.5\)\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -float\(2\.5\)\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -float\(2\.5\)\ \!\=\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \!\=\=\ int\(\-2147483648\)\ -float\(2\.5\)\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -int\(0\)\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \!\=\=\ string\(0\)\ \"\"\ -int\(0\)\ \!\=\=\ int\(1\)\ -int\(0\)\ \!\=\=\ float\(2\.5\)\ -int\(0\)\ \=\=\=\ int\(0\)\ -int\(0\)\ \!\=\=\ string\(6\)\ \"string\"\ -int\(0\)\ \!\=\=\ string\(3\)\ \"123\"\ -int\(0\)\ \!\=\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \!\=\=\ NULL\ -int\(0\)\ \!\=\=\ bool\(true\)\ -int\(0\)\ \!\=\=\ bool\(false\)\ -int\(0\)\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(0\)\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(0\)\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(0\)\ \!\=\=\ array\(0\)\ \{\}\ -int\(0\)\ \!\=\=\ int\(\-2147483648\)\ -int\(0\)\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -string\(6\)\ \"string\"\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \!\=\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \!\=\=\ int\(1\)\ -string\(6\)\ \"string\"\ \!\=\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \!\=\=\ int\(0\)\ -string\(6\)\ \"string\"\ \=\=\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \!\=\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \!\=\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \!\=\=\ NULL\ -string\(6\)\ \"string\"\ \!\=\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \!\=\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \!\=\=\ int\(\-2147483648\)\ -string\(6\)\ \"string\"\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"123\"\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \!\=\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \!\=\=\ int\(1\)\ -string\(3\)\ \"123\"\ \!\=\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \!\=\=\ int\(0\)\ -string\(3\)\ \"123\"\ \!\=\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \=\=\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \!\=\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \!\=\=\ NULL\ -string\(3\)\ \"123\"\ \!\=\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \!\=\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \!\=\=\ int\(\-2147483648\)\ -string\(3\)\ \"123\"\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"2\.5\"\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \!\=\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \!\=\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \!\=\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \!\=\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \!\=\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \!\=\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \=\=\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \!\=\=\ NULL\ -string\(3\)\ \"2\.5\"\ \!\=\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \!\=\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \!\=\=\ int\(\-2147483648\)\ -string\(3\)\ \"2\.5\"\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -NULL\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \!\=\=\ string\(0\)\ \"\"\ -NULL\ \!\=\=\ int\(1\)\ -NULL\ \!\=\=\ float\(2\.5\)\ -NULL\ \!\=\=\ int\(0\)\ -NULL\ \!\=\=\ string\(6\)\ \"string\"\ -NULL\ \!\=\=\ string\(3\)\ \"123\"\ -NULL\ \!\=\=\ string\(3\)\ \"2\.5\"\ -NULL\ \=\=\=\ NULL\ -NULL\ \!\=\=\ bool\(true\)\ -NULL\ \!\=\=\ bool\(false\)\ -NULL\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -NULL\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -NULL\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -NULL\ \!\=\=\ array\(0\)\ \{\}\ -NULL\ \!\=\=\ int\(\-2147483648\)\ -NULL\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -bool\(true\)\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \!\=\=\ string\(0\)\ \"\"\ -bool\(true\)\ \!\=\=\ int\(1\)\ -bool\(true\)\ \!\=\=\ float\(2\.5\)\ -bool\(true\)\ \!\=\=\ int\(0\)\ -bool\(true\)\ \!\=\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \!\=\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \!\=\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \!\=\=\ NULL\ -bool\(true\)\ \=\=\=\ bool\(true\)\ -bool\(true\)\ \!\=\=\ bool\(false\)\ -bool\(true\)\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(true\)\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(true\)\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(true\)\ \!\=\=\ array\(0\)\ \{\}\ -bool\(true\)\ \!\=\=\ int\(\-2147483648\)\ -bool\(true\)\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -bool\(false\)\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \!\=\=\ string\(0\)\ \"\"\ -bool\(false\)\ \!\=\=\ int\(1\)\ -bool\(false\)\ \!\=\=\ float\(2\.5\)\ -bool\(false\)\ \!\=\=\ int\(0\)\ -bool\(false\)\ \!\=\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \!\=\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \!\=\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \!\=\=\ NULL\ -bool\(false\)\ \!\=\=\ bool\(true\)\ -bool\(false\)\ \=\=\=\ bool\(false\)\ -bool\(false\)\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(false\)\ \!\=\=\ array\(0\)\ \{\}\ -bool\(false\)\ \!\=\=\ int\(\-2147483648\)\ -bool\(false\)\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ int\(1\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ float\(2\.5\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ int\(0\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ NULL\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ bool\(true\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ bool\(false\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \=\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ int\(\-2147483648\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ int\(1\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ float\(2\.5\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ int\(0\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ NULL\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ bool\(true\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ bool\(false\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \=\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ int\(\-2147483648\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ string\(0\)\ \"\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ int\(1\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ float\(2\.5\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ int\(0\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ string\(6\)\ \"string\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"123\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ NULL\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ bool\(true\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ bool\(false\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \=\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ array\(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ int\(\-2147483648\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -array\(0\)\ \{\}\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \!\=\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \!\=\=\ int\(1\)\ -array\(0\)\ \{\}\ \!\=\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \!\=\=\ int\(0\)\ -array\(0\)\ \{\}\ \!\=\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \!\=\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \!\=\=\ NULL\ -array\(0\)\ \{\}\ \!\=\=\ bool\(true\)\ -array\(0\)\ \{\}\ \!\=\=\ bool\(false\)\ -array\(0\)\ \{\}\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \=\=\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \!\=\=\ int\(\-2147483648\)\ -array\(0\)\ \{\}\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -int\(\-2147483648\)\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-2147483648\)\ \!\=\=\ string\(0\)\ \"\"\ -int\(\-2147483648\)\ \!\=\=\ int\(1\)\ -int\(\-2147483648\)\ \!\=\=\ float\(2\.5\)\ -int\(\-2147483648\)\ \!\=\=\ int\(0\)\ -int\(\-2147483648\)\ \!\=\=\ string\(6\)\ \"string\"\ -int\(\-2147483648\)\ \!\=\=\ string\(3\)\ \"123\"\ -int\(\-2147483648\)\ \!\=\=\ string\(3\)\ \"2\.5\"\ -int\(\-2147483648\)\ \!\=\=\ NULL\ -int\(\-2147483648\)\ \!\=\=\ bool\(true\)\ -int\(\-2147483648\)\ \!\=\=\ bool\(false\)\ -int\(\-2147483648\)\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \!\=\=\ array\(0\)\ \{\}\ -int\(\-2147483648\)\ \=\=\=\ int\(\-2147483648\)\ -int\(\-2147483648\)\ \!\=\=\ string\(11\)\ \"\-2147483648\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ string\(0\)\ \"\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ int\(1\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ float\(2\.5\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ int\(0\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ string\(6\)\ \"string\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ string\(3\)\ \"123\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ string\(3\)\ \"2\.5\"\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ NULL\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ bool\(true\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ bool\(false\)\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ array\(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \!\=\=\ int\(\-2147483648\)\ -string\(11\)\ \"\-2147483648\"\ \=\=\=\ string\(11\)\ \"\-2147483648\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_002.php.expectf b/hphp/test/zend/bad/zend/compare_002.php.expectf new file mode 100644 index 000000000..606c65254 --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_002.php.expectf @@ -0,0 +1,290 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} === array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(-2147483648) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(11) "-2147483648" +string(0) "" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" === string(0) "" +string(0) "" !== int(1) +string(0) "" !== float(2.5) +string(0) "" !== int(0) +string(0) "" !== string(6) "string" +string(0) "" !== string(3) "123" +string(0) "" !== string(3) "2.5" +string(0) "" !== NULL +string(0) "" !== bool(true) +string(0) "" !== bool(false) +string(0) "" !== object(stdClass)#1 (0) {} +string(0) "" !== object(stdClass)#2 (0) {} +string(0) "" !== object(test)#3 (0) {} +string(0) "" !== array(0) {} +string(0) "" !== int(-2147483648) +string(0) "" !== string(11) "-2147483648" +int(1) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) !== string(0) "" +int(1) === int(1) +int(1) !== float(2.5) +int(1) !== int(0) +int(1) !== string(6) "string" +int(1) !== string(3) "123" +int(1) !== string(3) "2.5" +int(1) !== NULL +int(1) !== bool(true) +int(1) !== bool(false) +int(1) !== object(stdClass)#1 (0) {} +int(1) !== object(stdClass)#2 (0) {} +int(1) !== object(test)#3 (0) {} +int(1) !== array(0) {} +int(1) !== int(-2147483648) +int(1) !== string(11) "-2147483648" +float(2.5) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) !== string(0) "" +float(2.5) !== int(1) +float(2.5) === float(2.5) +float(2.5) !== int(0) +float(2.5) !== string(6) "string" +float(2.5) !== string(3) "123" +float(2.5) !== string(3) "2.5" +float(2.5) !== NULL +float(2.5) !== bool(true) +float(2.5) !== bool(false) +float(2.5) !== object(stdClass)#1 (0) {} +float(2.5) !== object(stdClass)#2 (0) {} +float(2.5) !== object(test)#3 (0) {} +float(2.5) !== array(0) {} +float(2.5) !== int(-2147483648) +float(2.5) !== string(11) "-2147483648" +int(0) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) !== string(0) "" +int(0) !== int(1) +int(0) !== float(2.5) +int(0) === int(0) +int(0) !== string(6) "string" +int(0) !== string(3) "123" +int(0) !== string(3) "2.5" +int(0) !== NULL +int(0) !== bool(true) +int(0) !== bool(false) +int(0) !== object(stdClass)#1 (0) {} +int(0) !== object(stdClass)#2 (0) {} +int(0) !== object(test)#3 (0) {} +int(0) !== array(0) {} +int(0) !== int(-2147483648) +int(0) !== string(11) "-2147483648" +string(6) "string" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" !== string(0) "" +string(6) "string" !== int(1) +string(6) "string" !== float(2.5) +string(6) "string" !== int(0) +string(6) "string" === string(6) "string" +string(6) "string" !== string(3) "123" +string(6) "string" !== string(3) "2.5" +string(6) "string" !== NULL +string(6) "string" !== bool(true) +string(6) "string" !== bool(false) +string(6) "string" !== object(stdClass)#1 (0) {} +string(6) "string" !== object(stdClass)#2 (0) {} +string(6) "string" !== object(test)#3 (0) {} +string(6) "string" !== array(0) {} +string(6) "string" !== int(-2147483648) +string(6) "string" !== string(11) "-2147483648" +string(3) "123" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" !== string(0) "" +string(3) "123" !== int(1) +string(3) "123" !== float(2.5) +string(3) "123" !== int(0) +string(3) "123" !== string(6) "string" +string(3) "123" === string(3) "123" +string(3) "123" !== string(3) "2.5" +string(3) "123" !== NULL +string(3) "123" !== bool(true) +string(3) "123" !== bool(false) +string(3) "123" !== object(stdClass)#1 (0) {} +string(3) "123" !== object(stdClass)#2 (0) {} +string(3) "123" !== object(test)#3 (0) {} +string(3) "123" !== array(0) {} +string(3) "123" !== int(-2147483648) +string(3) "123" !== string(11) "-2147483648" +string(3) "2.5" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" !== string(0) "" +string(3) "2.5" !== int(1) +string(3) "2.5" !== float(2.5) +string(3) "2.5" !== int(0) +string(3) "2.5" !== string(6) "string" +string(3) "2.5" !== string(3) "123" +string(3) "2.5" === string(3) "2.5" +string(3) "2.5" !== NULL +string(3) "2.5" !== bool(true) +string(3) "2.5" !== bool(false) +string(3) "2.5" !== object(stdClass)#1 (0) {} +string(3) "2.5" !== object(stdClass)#2 (0) {} +string(3) "2.5" !== object(test)#3 (0) {} +string(3) "2.5" !== array(0) {} +string(3) "2.5" !== int(-2147483648) +string(3) "2.5" !== string(11) "-2147483648" +NULL !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL !== string(0) "" +NULL !== int(1) +NULL !== float(2.5) +NULL !== int(0) +NULL !== string(6) "string" +NULL !== string(3) "123" +NULL !== string(3) "2.5" +NULL === NULL +NULL !== bool(true) +NULL !== bool(false) +NULL !== object(stdClass)#1 (0) {} +NULL !== object(stdClass)#2 (0) {} +NULL !== object(test)#3 (0) {} +NULL !== array(0) {} +NULL !== int(-2147483648) +NULL !== string(11) "-2147483648" +bool(true) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) !== string(0) "" +bool(true) !== int(1) +bool(true) !== float(2.5) +bool(true) !== int(0) +bool(true) !== string(6) "string" +bool(true) !== string(3) "123" +bool(true) !== string(3) "2.5" +bool(true) !== NULL +bool(true) === bool(true) +bool(true) !== bool(false) +bool(true) !== object(stdClass)#1 (0) {} +bool(true) !== object(stdClass)#2 (0) {} +bool(true) !== object(test)#3 (0) {} +bool(true) !== array(0) {} +bool(true) !== int(-2147483648) +bool(true) !== string(11) "-2147483648" +bool(false) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) !== string(0) "" +bool(false) !== int(1) +bool(false) !== float(2.5) +bool(false) !== int(0) +bool(false) !== string(6) "string" +bool(false) !== string(3) "123" +bool(false) !== string(3) "2.5" +bool(false) !== NULL +bool(false) !== bool(true) +bool(false) === bool(false) +bool(false) !== object(stdClass)#1 (0) {} +bool(false) !== object(stdClass)#2 (0) {} +bool(false) !== object(test)#3 (0) {} +bool(false) !== array(0) {} +bool(false) !== int(-2147483648) +bool(false) !== string(11) "-2147483648" +object(stdClass)#1 (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} !== string(0) "" +object(stdClass)#1 (0) {} !== int(1) +object(stdClass)#1 (0) {} !== float(2.5) +object(stdClass)#1 (0) {} !== int(0) +object(stdClass)#1 (0) {} !== string(6) "string" +object(stdClass)#1 (0) {} !== string(3) "123" +object(stdClass)#1 (0) {} !== string(3) "2.5" +object(stdClass)#1 (0) {} !== NULL +object(stdClass)#1 (0) {} !== bool(true) +object(stdClass)#1 (0) {} !== bool(false) +object(stdClass)#1 (0) {} === object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} !== object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} !== object(test)#3 (0) {} +object(stdClass)#1 (0) {} !== array(0) {} +object(stdClass)#1 (0) {} !== int(-2147483648) +object(stdClass)#1 (0) {} !== string(11) "-2147483648" +object(stdClass)#2 (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} !== string(0) "" +object(stdClass)#2 (0) {} !== int(1) +object(stdClass)#2 (0) {} !== float(2.5) +object(stdClass)#2 (0) {} !== int(0) +object(stdClass)#2 (0) {} !== string(6) "string" +object(stdClass)#2 (0) {} !== string(3) "123" +object(stdClass)#2 (0) {} !== string(3) "2.5" +object(stdClass)#2 (0) {} !== NULL +object(stdClass)#2 (0) {} !== bool(true) +object(stdClass)#2 (0) {} !== bool(false) +object(stdClass)#2 (0) {} !== object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} === object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} !== object(test)#3 (0) {} +object(stdClass)#2 (0) {} !== array(0) {} +object(stdClass)#2 (0) {} !== int(-2147483648) +object(stdClass)#2 (0) {} !== string(11) "-2147483648" +object(test)#3 (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} !== string(0) "" +object(test)#3 (0) {} !== int(1) +object(test)#3 (0) {} !== float(2.5) +object(test)#3 (0) {} !== int(0) +object(test)#3 (0) {} !== string(6) "string" +object(test)#3 (0) {} !== string(3) "123" +object(test)#3 (0) {} !== string(3) "2.5" +object(test)#3 (0) {} !== NULL +object(test)#3 (0) {} !== bool(true) +object(test)#3 (0) {} !== bool(false) +object(test)#3 (0) {} !== object(stdClass)#1 (0) {} +object(test)#3 (0) {} !== object(stdClass)#2 (0) {} +object(test)#3 (0) {} === object(test)#3 (0) {} +object(test)#3 (0) {} !== array(0) {} +object(test)#3 (0) {} !== int(-2147483648) +object(test)#3 (0) {} !== string(11) "-2147483648" +array(0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} !== string(0) "" +array(0) {} !== int(1) +array(0) {} !== float(2.5) +array(0) {} !== int(0) +array(0) {} !== string(6) "string" +array(0) {} !== string(3) "123" +array(0) {} !== string(3) "2.5" +array(0) {} !== NULL +array(0) {} !== bool(true) +array(0) {} !== bool(false) +array(0) {} !== object(stdClass)#1 (0) {} +array(0) {} !== object(stdClass)#2 (0) {} +array(0) {} !== object(test)#3 (0) {} +array(0) {} === array(0) {} +array(0) {} !== int(-2147483648) +array(0) {} !== string(11) "-2147483648" +int(-2147483648) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-2147483648) !== string(0) "" +int(-2147483648) !== int(1) +int(-2147483648) !== float(2.5) +int(-2147483648) !== int(0) +int(-2147483648) !== string(6) "string" +int(-2147483648) !== string(3) "123" +int(-2147483648) !== string(3) "2.5" +int(-2147483648) !== NULL +int(-2147483648) !== bool(true) +int(-2147483648) !== bool(false) +int(-2147483648) !== object(stdClass)#1 (0) {} +int(-2147483648) !== object(stdClass)#2 (0) {} +int(-2147483648) !== object(test)#3 (0) {} +int(-2147483648) !== array(0) {} +int(-2147483648) === int(-2147483648) +int(-2147483648) !== string(11) "-2147483648" +string(11) "-2147483648" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(11) "-2147483648" !== string(0) "" +string(11) "-2147483648" !== int(1) +string(11) "-2147483648" !== float(2.5) +string(11) "-2147483648" !== int(0) +string(11) "-2147483648" !== string(6) "string" +string(11) "-2147483648" !== string(3) "123" +string(11) "-2147483648" !== string(3) "2.5" +string(11) "-2147483648" !== NULL +string(11) "-2147483648" !== bool(true) +string(11) "-2147483648" !== bool(false) +string(11) "-2147483648" !== object(stdClass)#1 (0) {} +string(11) "-2147483648" !== object(stdClass)#2 (0) {} +string(11) "-2147483648" !== object(test)#3 (0) {} +string(11) "-2147483648" !== array(0) {} +string(11) "-2147483648" !== int(-2147483648) +string(11) "-2147483648" === string(11) "-2147483648" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_003.php.exp b/hphp/test/zend/bad/zend/compare_003.php.exp deleted file mode 100644 index 047695dd0..000000000 --- a/hphp/test/zend/bad/zend/compare_003.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(\-2147483648\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(0\)\ \"\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \<\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\=\ int\(1\)\ -string\(0\)\ \"\"\ \<\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \<\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \<\=\ NULL\ -string\(0\)\ \"\"\ \<\=\ bool\(true\)\ -string\(0\)\ \"\"\ \<\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\ int\(\-2147483648\)\ -string\(0\)\ \"\"\ \<\=\ string\(11\)\ \"\-2147483648\"\ -int\(1\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\ string\(0\)\ \"\"\ -int\(1\)\ \<\=\ int\(1\)\ -int\(1\)\ \<\=\ float\(2\.5\)\ -int\(1\)\ \>\ int\(0\)\ -int\(1\)\ \>\ string\(6\)\ \"string\"\ -int\(1\)\ \<\=\ string\(3\)\ \"123\"\ -int\(1\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\ NULL\ -int\(1\)\ \<\=\ bool\(true\)\ -int\(1\)\ \>\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(1\)\ \<\=\ array\(0\)\ \{\}\ -int\(1\)\ \>\ int\(\-2147483648\)\ -int\(1\)\ \>\ string\(11\)\ \"\-2147483648\"\ -float\(2\.5\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\ int\(1\)\ -float\(2\.5\)\ \<\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\ int\(0\)\ -float\(2\.5\)\ \>\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\ NULL\ -float\(2\.5\)\ \<\=\ bool\(true\)\ -float\(2\.5\)\ \>\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(test\)\#3\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\ int\(\-2147483648\)\ -float\(2\.5\)\ \>\ string\(11\)\ \"\-2147483648\"\ -int\(0\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \<\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\=\ int\(1\)\ -int\(0\)\ \<\=\ float\(2\.5\)\ -int\(0\)\ \<\=\ int\(0\)\ -int\(0\)\ \<\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\=\ string\(3\)\ \"123\"\ -int\(0\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \<\=\ NULL\ -int\(0\)\ \<\=\ bool\(true\)\ -int\(0\)\ \<\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(0\)\ \<\=\ array\(0\)\ \{\}\ -int\(0\)\ \>\ int\(\-2147483648\)\ -int\(0\)\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(6\)\ \"string\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\=\ int\(1\)\ -string\(6\)\ \"string\"\ \<\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \<\=\ int\(0\)\ -string\(6\)\ \"string\"\ \<\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\ NULL\ -string\(6\)\ \"string\"\ \<\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\ int\(\-2147483648\)\ -string\(6\)\ \"string\"\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"123\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\ int\(1\)\ -string\(3\)\ \"123\"\ \>\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\ int\(0\)\ -string\(3\)\ \"123\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\ NULL\ -string\(3\)\ \"123\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\ int\(\-2147483648\)\ -string\(3\)\ \"123\"\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \<\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\ NULL\ -string\(3\)\ \"2\.5\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\ int\(\-2147483648\)\ -string\(3\)\ \"2\.5\"\ \>\ string\(11\)\ \"\-2147483648\"\ -NULL\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \<\=\ string\(0\)\ \"\"\ -NULL\ \<\=\ int\(1\)\ -NULL\ \<\=\ float\(2\.5\)\ -NULL\ \<\=\ int\(0\)\ -NULL\ \<\=\ string\(6\)\ \"string\"\ -NULL\ \<\=\ string\(3\)\ \"123\"\ -NULL\ \<\=\ string\(3\)\ \"2\.5\"\ -NULL\ \<\=\ NULL\ -NULL\ \<\=\ bool\(true\)\ -NULL\ \<\=\ bool\(false\)\ -NULL\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -NULL\ \<\=\ array\(0\)\ \{\}\ -NULL\ \<\=\ int\(\-2147483648\)\ -NULL\ \<\=\ string\(11\)\ \"\-2147483648\"\ -bool\(true\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\ string\(0\)\ \"\"\ -bool\(true\)\ \<\=\ int\(1\)\ -bool\(true\)\ \<\=\ float\(2\.5\)\ -bool\(true\)\ \>\ int\(0\)\ -bool\(true\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\ NULL\ -bool\(true\)\ \<\=\ bool\(true\)\ -bool\(true\)\ \>\ bool\(false\)\ -bool\(true\)\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(true\)\ \>\ array\(0\)\ \{\}\ -bool\(true\)\ \<\=\ int\(\-2147483648\)\ -bool\(true\)\ \<\=\ string\(11\)\ \"\-2147483648\"\ -bool\(false\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \<\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\=\ int\(1\)\ -bool\(false\)\ \<\=\ float\(2\.5\)\ -bool\(false\)\ \<\=\ int\(0\)\ -bool\(false\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \<\=\ NULL\ -bool\(false\)\ \<\=\ bool\(true\)\ -bool\(false\)\ \<\=\ bool\(false\)\ -bool\(false\)\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\=\ int\(\-2147483648\)\ -bool\(false\)\ \<\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-2147483648\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-2147483648\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ NULL\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-2147483648\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -array\(0\)\ \{\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\ int\(1\)\ -array\(0\)\ \{\}\ \>\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\ int\(0\)\ -array\(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \<\=\ NULL\ -array\(0\)\ \{\}\ \<\=\ bool\(true\)\ -array\(0\)\ \{\}\ \<\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\ int\(\-2147483648\)\ -array\(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -int\(\-2147483648\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-2147483648\)\ \<\=\ string\(0\)\ \"\"\ -int\(\-2147483648\)\ \<\=\ int\(1\)\ -int\(\-2147483648\)\ \<\=\ float\(2\.5\)\ -int\(\-2147483648\)\ \<\=\ int\(0\)\ -int\(\-2147483648\)\ \<\=\ string\(6\)\ \"string\"\ -int\(\-2147483648\)\ \<\=\ string\(3\)\ \"123\"\ -int\(\-2147483648\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(\-2147483648\)\ \>\ NULL\ -int\(\-2147483648\)\ \<\=\ bool\(true\)\ -int\(\-2147483648\)\ \>\ bool\(false\)\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \<\=\ array\(0\)\ \{\}\ -int\(\-2147483648\)\ \<\=\ int\(\-2147483648\)\ -int\(\-2147483648\)\ \<\=\ string\(11\)\ \"\-2147483648\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(11\)\ \"\-2147483648\"\ \>\ string\(0\)\ \"\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ int\(1\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ float\(2\.5\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ int\(0\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(6\)\ \"string\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(3\)\ \"123\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(11\)\ \"\-2147483648\"\ \>\ NULL\ -string\(11\)\ \"\-2147483648\"\ \<\=\ bool\(true\)\ -string\(11\)\ \"\-2147483648\"\ \>\ bool\(false\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ array\(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ int\(\-2147483648\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(11\)\ \"\-2147483648\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_003.php.expectf b/hphp/test/zend/bad/zend/compare_003.php.expectf new file mode 100644 index 000000000..25930796d --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_003.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-2147483648) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(11) "-2147483648" +string(0) "" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" <= string(0) "" +string(0) "" <= int(1) +string(0) "" <= float(2.5) +string(0) "" <= int(0) +string(0) "" <= string(6) "string" +string(0) "" <= string(3) "123" +string(0) "" <= string(3) "2.5" +string(0) "" <= NULL +string(0) "" <= bool(true) +string(0) "" <= bool(false) +string(0) "" <= object(stdClass)#1 (0) {} +string(0) "" <= object(stdClass)#2 (0) {} +string(0) "" <= object(test)#3 (0) {} +string(0) "" <= array(0) {} +string(0) "" > int(-2147483648) +string(0) "" <= string(11) "-2147483648" +int(1) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) > string(0) "" +int(1) <= int(1) +int(1) <= float(2.5) +int(1) > int(0) +int(1) > string(6) "string" +int(1) <= string(3) "123" +int(1) <= string(3) "2.5" +int(1) > NULL +int(1) <= bool(true) +int(1) > bool(false) +int(1) +HipHop Notice: %a + <= object(stdClass)#1 (0) {} +int(1) +HipHop Notice: %a + <= object(stdClass)#2 (0) {} +int(1) +HipHop Notice: %a + <= object(test)#3 (0) {} +int(1) <= array(0) {} +int(1) > int(-2147483648) +int(1) > string(11) "-2147483648" +float(2.5) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) > string(0) "" +float(2.5) > int(1) +float(2.5) <= float(2.5) +float(2.5) > int(0) +float(2.5) > string(6) "string" +float(2.5) <= string(3) "123" +float(2.5) <= string(3) "2.5" +float(2.5) > NULL +float(2.5) <= bool(true) +float(2.5) > bool(false) +float(2.5) +HipHop Notice: %a + > object(stdClass)#1 (0) {} +float(2.5) +HipHop Notice: %a + > object(stdClass)#2 (0) {} +float(2.5) +HipHop Notice: %a + > object(test)#3 (0) {} +float(2.5) <= array(0) {} +float(2.5) > int(-2147483648) +float(2.5) > string(11) "-2147483648" +int(0) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) <= string(0) "" +int(0) <= int(1) +int(0) <= float(2.5) +int(0) <= int(0) +int(0) <= string(6) "string" +int(0) <= string(3) "123" +int(0) <= string(3) "2.5" +int(0) <= NULL +int(0) <= bool(true) +int(0) <= bool(false) +int(0) +HipHop Notice: %a + <= object(stdClass)#1 (0) {} +int(0) +HipHop Notice: %a + <= object(stdClass)#2 (0) {} +int(0) +HipHop Notice: %a + <= object(test)#3 (0) {} +int(0) <= array(0) {} +int(0) > int(-2147483648) +int(0) > string(11) "-2147483648" +string(6) "string" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" > string(0) "" +string(6) "string" <= int(1) +string(6) "string" <= float(2.5) +string(6) "string" <= int(0) +string(6) "string" <= string(6) "string" +string(6) "string" > string(3) "123" +string(6) "string" > string(3) "2.5" +string(6) "string" > NULL +string(6) "string" <= bool(true) +string(6) "string" > bool(false) +string(6) "string" <= object(stdClass)#1 (0) {} +string(6) "string" <= object(stdClass)#2 (0) {} +string(6) "string" <= object(test)#3 (0) {} +string(6) "string" <= array(0) {} +string(6) "string" > int(-2147483648) +string(6) "string" > string(11) "-2147483648" +string(3) "123" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" > string(0) "" +string(3) "123" > int(1) +string(3) "123" > float(2.5) +string(3) "123" > int(0) +string(3) "123" <= string(6) "string" +string(3) "123" <= string(3) "123" +string(3) "123" > string(3) "2.5" +string(3) "123" > NULL +string(3) "123" <= bool(true) +string(3) "123" > bool(false) +string(3) "123" <= object(stdClass)#1 (0) {} +string(3) "123" <= object(stdClass)#2 (0) {} +string(3) "123" <= object(test)#3 (0) {} +string(3) "123" <= array(0) {} +string(3) "123" > int(-2147483648) +string(3) "123" > string(11) "-2147483648" +string(3) "2.5" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" > string(0) "" +string(3) "2.5" > int(1) +string(3) "2.5" <= float(2.5) +string(3) "2.5" > int(0) +string(3) "2.5" <= string(6) "string" +string(3) "2.5" <= string(3) "123" +string(3) "2.5" <= string(3) "2.5" +string(3) "2.5" > NULL +string(3) "2.5" <= bool(true) +string(3) "2.5" > bool(false) +string(3) "2.5" <= object(stdClass)#1 (0) {} +string(3) "2.5" <= object(stdClass)#2 (0) {} +string(3) "2.5" <= object(test)#3 (0) {} +string(3) "2.5" <= array(0) {} +string(3) "2.5" > int(-2147483648) +string(3) "2.5" > string(11) "-2147483648" +NULL <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL <= string(0) "" +NULL <= int(1) +NULL <= float(2.5) +NULL <= int(0) +NULL <= string(6) "string" +NULL <= string(3) "123" +NULL <= string(3) "2.5" +NULL <= NULL +NULL <= bool(true) +NULL <= bool(false) +NULL <= object(stdClass)#1 (0) {} +NULL <= object(stdClass)#2 (0) {} +NULL <= object(test)#3 (0) {} +NULL <= array(0) {} +NULL <= int(-2147483648) +NULL <= string(11) "-2147483648" +bool(true) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) > string(0) "" +bool(true) <= int(1) +bool(true) <= float(2.5) +bool(true) > int(0) +bool(true) <= string(6) "string" +bool(true) <= string(3) "123" +bool(true) <= string(3) "2.5" +bool(true) > NULL +bool(true) <= bool(true) +bool(true) > bool(false) +bool(true) <= object(stdClass)#1 (0) {} +bool(true) <= object(stdClass)#2 (0) {} +bool(true) <= object(test)#3 (0) {} +bool(true) > array(0) {} +bool(true) <= int(-2147483648) +bool(true) <= string(11) "-2147483648" +bool(false) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) <= string(0) "" +bool(false) <= int(1) +bool(false) <= float(2.5) +bool(false) <= int(0) +bool(false) <= string(6) "string" +bool(false) <= string(3) "123" +bool(false) <= string(3) "2.5" +bool(false) <= NULL +bool(false) <= bool(true) +bool(false) <= bool(false) +bool(false) <= object(stdClass)#1 (0) {} +bool(false) <= object(stdClass)#2 (0) {} +bool(false) <= object(test)#3 (0) {} +bool(false) <= array(0) {} +bool(false) <= int(-2147483648) +bool(false) <= string(11) "-2147483648" +object(stdClass)#1 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} > string(0) "" +object(stdClass)#1 (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#1 (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#1 (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#1 (0) {} > string(6) "string" +object(stdClass)#1 (0) {} > string(3) "123" +object(stdClass)#1 (0) {} > string(3) "2.5" +object(stdClass)#1 (0) {} > NULL +object(stdClass)#1 (0) {} <= bool(true) +object(stdClass)#1 (0) {} > bool(false) +object(stdClass)#1 (0) {} <= object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} <= object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} <= object(test)#3 (0) {} +object(stdClass)#1 (0) {} > array(0) {} +object(stdClass)#1 (0) {} +HipHop Notice: %a + > int(-2147483648) +object(stdClass)#1 (0) {} > string(11) "-2147483648" +object(stdClass)#2 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} > string(0) "" +object(stdClass)#2 (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#2 (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#2 (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#2 (0) {} > string(6) "string" +object(stdClass)#2 (0) {} > string(3) "123" +object(stdClass)#2 (0) {} > string(3) "2.5" +object(stdClass)#2 (0) {} > NULL +object(stdClass)#2 (0) {} <= bool(true) +object(stdClass)#2 (0) {} > bool(false) +object(stdClass)#2 (0) {} <= object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} <= object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} <= object(test)#3 (0) {} +object(stdClass)#2 (0) {} > array(0) {} +object(stdClass)#2 (0) {} +HipHop Notice: %a + > int(-2147483648) +object(stdClass)#2 (0) {} > string(11) "-2147483648" +object(test)#3 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} > string(0) "" +object(test)#3 (0) {} +HipHop Notice: %a + <= int(1) +object(test)#3 (0) {} +HipHop Notice: %a + <= float(2.5) +object(test)#3 (0) {} +HipHop Notice: %a + > int(0) +object(test)#3 (0) {} > string(6) "string" +object(test)#3 (0) {} > string(3) "123" +object(test)#3 (0) {} > string(3) "2.5" +object(test)#3 (0) {} > NULL +object(test)#3 (0) {} <= bool(true) +object(test)#3 (0) {} > bool(false) +object(test)#3 (0) {} <= object(stdClass)#1 (0) {} +object(test)#3 (0) {} <= object(stdClass)#2 (0) {} +object(test)#3 (0) {} <= object(test)#3 (0) {} +object(test)#3 (0) {} > array(0) {} +object(test)#3 (0) {} +HipHop Notice: %a + > int(-2147483648) +object(test)#3 (0) {} > string(11) "-2147483648" +array(0) {} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} > string(0) "" +array(0) {} > int(1) +array(0) {} > float(2.5) +array(0) {} > int(0) +array(0) {} > string(6) "string" +array(0) {} > string(3) "123" +array(0) {} > string(3) "2.5" +array(0) {} <= NULL +array(0) {} <= bool(true) +array(0) {} <= bool(false) +array(0) {} <= object(stdClass)#1 (0) {} +array(0) {} <= object(stdClass)#2 (0) {} +array(0) {} <= object(test)#3 (0) {} +array(0) {} <= array(0) {} +array(0) {} > int(-2147483648) +array(0) {} > string(11) "-2147483648" +int(-2147483648) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-2147483648) <= string(0) "" +int(-2147483648) <= int(1) +int(-2147483648) <= float(2.5) +int(-2147483648) <= int(0) +int(-2147483648) <= string(6) "string" +int(-2147483648) <= string(3) "123" +int(-2147483648) <= string(3) "2.5" +int(-2147483648) > NULL +int(-2147483648) <= bool(true) +int(-2147483648) > bool(false) +int(-2147483648) +HipHop Notice: %a + <= object(stdClass)#1 (0) {} +int(-2147483648) +HipHop Notice: %a + <= object(stdClass)#2 (0) {} +int(-2147483648) +HipHop Notice: %a + <= object(test)#3 (0) {} +int(-2147483648) <= array(0) {} +int(-2147483648) <= int(-2147483648) +int(-2147483648) <= string(11) "-2147483648" +string(11) "-2147483648" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(11) "-2147483648" > string(0) "" +string(11) "-2147483648" <= int(1) +string(11) "-2147483648" <= float(2.5) +string(11) "-2147483648" <= int(0) +string(11) "-2147483648" <= string(6) "string" +string(11) "-2147483648" <= string(3) "123" +string(11) "-2147483648" <= string(3) "2.5" +string(11) "-2147483648" > NULL +string(11) "-2147483648" <= bool(true) +string(11) "-2147483648" > bool(false) +string(11) "-2147483648" <= object(stdClass)#1 (0) {} +string(11) "-2147483648" <= object(stdClass)#2 (0) {} +string(11) "-2147483648" <= object(test)#3 (0) {} +string(11) "-2147483648" <= array(0) {} +string(11) "-2147483648" <= int(-2147483648) +string(11) "-2147483648" <= string(11) "-2147483648" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_003_64bit.php.exp b/hphp/test/zend/bad/zend/compare_003_64bit.php.exp deleted file mode 100644 index 33651f969..000000000 --- a/hphp/test/zend/bad/zend/compare_003_64bit.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(\-9223372036854775808\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(0\)\ \"\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \<\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\=\ int\(1\)\ -string\(0\)\ \"\"\ \<\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \<\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \<\=\ NULL\ -string\(0\)\ \"\"\ \<\=\ bool\(true\)\ -string\(0\)\ \"\"\ \<\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\ int\(\-9223372036854775808\)\ -string\(0\)\ \"\"\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(1\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\ string\(0\)\ \"\"\ -int\(1\)\ \<\=\ int\(1\)\ -int\(1\)\ \<\=\ float\(2\.5\)\ -int\(1\)\ \>\ int\(0\)\ -int\(1\)\ \>\ string\(6\)\ \"string\"\ -int\(1\)\ \<\=\ string\(3\)\ \"123\"\ -int\(1\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\ NULL\ -int\(1\)\ \<\=\ bool\(true\)\ -int\(1\)\ \>\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ \<\=\ array\(0\)\ \{\}\ -int\(1\)\ \>\ int\(\-9223372036854775808\)\ -int\(1\)\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -float\(2\.5\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\ int\(1\)\ -float\(2\.5\)\ \<\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\ int\(0\)\ -float\(2\.5\)\ \>\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\ NULL\ -float\(2\.5\)\ \<\=\ bool\(true\)\ -float\(2\.5\)\ \>\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(test\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\ int\(\-9223372036854775808\)\ -float\(2\.5\)\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -int\(0\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \<\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\=\ int\(1\)\ -int\(0\)\ \<\=\ float\(2\.5\)\ -int\(0\)\ \<\=\ int\(0\)\ -int\(0\)\ \<\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\=\ string\(3\)\ \"123\"\ -int\(0\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \<\=\ NULL\ -int\(0\)\ \<\=\ bool\(true\)\ -int\(0\)\ \<\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ \<\=\ array\(0\)\ \{\}\ -int\(0\)\ \>\ int\(\-9223372036854775808\)\ -int\(0\)\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(6\)\ \"string\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\=\ int\(1\)\ -string\(6\)\ \"string\"\ \<\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \<\=\ int\(0\)\ -string\(6\)\ \"string\"\ \<\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\ NULL\ -string\(6\)\ \"string\"\ \<\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\ int\(\-9223372036854775808\)\ -string\(6\)\ \"string\"\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"123\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\ int\(1\)\ -string\(3\)\ \"123\"\ \>\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\ int\(0\)\ -string\(3\)\ \"123\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\ NULL\ -string\(3\)\ \"123\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\ int\(\-9223372036854775808\)\ -string\(3\)\ \"123\"\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \<\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\ NULL\ -string\(3\)\ \"2\.5\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\ int\(\-9223372036854775808\)\ -string\(3\)\ \"2\.5\"\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -NULL\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \<\=\ string\(0\)\ \"\"\ -NULL\ \<\=\ int\(1\)\ -NULL\ \<\=\ float\(2\.5\)\ -NULL\ \<\=\ int\(0\)\ -NULL\ \<\=\ string\(6\)\ \"string\"\ -NULL\ \<\=\ string\(3\)\ \"123\"\ -NULL\ \<\=\ string\(3\)\ \"2\.5\"\ -NULL\ \<\=\ NULL\ -NULL\ \<\=\ bool\(true\)\ -NULL\ \<\=\ bool\(false\)\ -NULL\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\=\ array\(0\)\ \{\}\ -NULL\ \<\=\ int\(\-9223372036854775808\)\ -NULL\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(true\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\ string\(0\)\ \"\"\ -bool\(true\)\ \<\=\ int\(1\)\ -bool\(true\)\ \<\=\ float\(2\.5\)\ -bool\(true\)\ \>\ int\(0\)\ -bool\(true\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\ NULL\ -bool\(true\)\ \<\=\ bool\(true\)\ -bool\(true\)\ \>\ bool\(false\)\ -bool\(true\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\ array\(0\)\ \{\}\ -bool\(true\)\ \<\=\ int\(\-9223372036854775808\)\ -bool\(true\)\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(false\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \<\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\=\ int\(1\)\ -bool\(false\)\ \<\=\ float\(2\.5\)\ -bool\(false\)\ \<\=\ int\(0\)\ -bool\(false\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \<\=\ NULL\ -bool\(false\)\ \<\=\ bool\(true\)\ -bool\(false\)\ \<\=\ bool\(false\)\ -bool\(false\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\=\ int\(\-9223372036854775808\)\ -bool\(false\)\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ NULL\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-9223372036854775808\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -array\(0\)\ \{\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\ int\(1\)\ -array\(0\)\ \{\}\ \>\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\ int\(0\)\ -array\(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \<\=\ NULL\ -array\(0\)\ \{\}\ \<\=\ bool\(true\)\ -array\(0\)\ \{\}\ \<\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\ int\(\-9223372036854775808\)\ -array\(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -int\(\-9223372036854775808\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-9223372036854775808\)\ \<\=\ string\(0\)\ \"\"\ -int\(\-9223372036854775808\)\ \<\=\ int\(1\)\ -int\(\-9223372036854775808\)\ \<\=\ float\(2\.5\)\ -int\(\-9223372036854775808\)\ \<\=\ int\(0\)\ -int\(\-9223372036854775808\)\ \<\=\ string\(6\)\ \"string\"\ -int\(\-9223372036854775808\)\ \<\=\ string\(3\)\ \"123\"\ -int\(\-9223372036854775808\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(\-9223372036854775808\)\ \>\ NULL\ -int\(\-9223372036854775808\)\ \<\=\ bool\(true\)\ -int\(\-9223372036854775808\)\ \>\ bool\(false\)\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \<\=\ array\(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \<\=\ int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(20\)\ \"\-9223372036854775808\"\ \>\ string\(0\)\ \"\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ int\(1\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ float\(2\.5\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ int\(0\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(6\)\ \"string\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(3\)\ \"123\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(20\)\ \"\-9223372036854775808\"\ \>\ NULL\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ bool\(true\)\ -string\(20\)\ \"\-9223372036854775808\"\ \>\ bool\(false\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ array\(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ int\(\-9223372036854775808\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_003_64bit.php.expectf b/hphp/test/zend/bad/zend/compare_003_64bit.php.expectf new file mode 100644 index 000000000..8a41e16bb --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_003_64bit.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(20) "-9223372036854775808" +string(0) "" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" <= string(0) "" +string(0) "" <= int(1) +string(0) "" <= float(2.5) +string(0) "" <= int(0) +string(0) "" <= string(6) "string" +string(0) "" <= string(3) "123" +string(0) "" <= string(3) "2.5" +string(0) "" <= NULL +string(0) "" <= bool(true) +string(0) "" <= bool(false) +string(0) "" <= object(stdClass)#%d (0) {} +string(0) "" <= object(stdClass)#%d (0) {} +string(0) "" <= object(test)#%d (0) {} +string(0) "" <= array(0) {} +string(0) "" > int(-9223372036854775808) +string(0) "" <= string(20) "-9223372036854775808" +int(1) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) > string(0) "" +int(1) <= int(1) +int(1) <= float(2.5) +int(1) > int(0) +int(1) > string(6) "string" +int(1) <= string(3) "123" +int(1) <= string(3) "2.5" +int(1) > NULL +int(1) <= bool(true) +int(1) > bool(false) +int(1) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + <= object(test)#%d (0) {} +int(1) <= array(0) {} +int(1) > int(-9223372036854775808) +int(1) > string(20) "-9223372036854775808" +float(2.5) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) > string(0) "" +float(2.5) > int(1) +float(2.5) <= float(2.5) +float(2.5) > int(0) +float(2.5) > string(6) "string" +float(2.5) <= string(3) "123" +float(2.5) <= string(3) "2.5" +float(2.5) > NULL +float(2.5) <= bool(true) +float(2.5) > bool(false) +float(2.5) +HipHop Notice: %a + > object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + > object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + > object(test)#%d (0) {} +float(2.5) <= array(0) {} +float(2.5) > int(-9223372036854775808) +float(2.5) > string(20) "-9223372036854775808" +int(0) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) <= string(0) "" +int(0) <= int(1) +int(0) <= float(2.5) +int(0) <= int(0) +int(0) <= string(6) "string" +int(0) <= string(3) "123" +int(0) <= string(3) "2.5" +int(0) <= NULL +int(0) <= bool(true) +int(0) <= bool(false) +int(0) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + <= object(test)#%d (0) {} +int(0) <= array(0) {} +int(0) > int(-9223372036854775808) +int(0) > string(20) "-9223372036854775808" +string(6) "string" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" > string(0) "" +string(6) "string" <= int(1) +string(6) "string" <= float(2.5) +string(6) "string" <= int(0) +string(6) "string" <= string(6) "string" +string(6) "string" > string(3) "123" +string(6) "string" > string(3) "2.5" +string(6) "string" > NULL +string(6) "string" <= bool(true) +string(6) "string" > bool(false) +string(6) "string" <= object(stdClass)#%d (0) {} +string(6) "string" <= object(stdClass)#%d (0) {} +string(6) "string" <= object(test)#%d (0) {} +string(6) "string" <= array(0) {} +string(6) "string" > int(-9223372036854775808) +string(6) "string" > string(20) "-9223372036854775808" +string(3) "123" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" > string(0) "" +string(3) "123" > int(1) +string(3) "123" > float(2.5) +string(3) "123" > int(0) +string(3) "123" <= string(6) "string" +string(3) "123" <= string(3) "123" +string(3) "123" > string(3) "2.5" +string(3) "123" > NULL +string(3) "123" <= bool(true) +string(3) "123" > bool(false) +string(3) "123" <= object(stdClass)#%d (0) {} +string(3) "123" <= object(stdClass)#%d (0) {} +string(3) "123" <= object(test)#%d (0) {} +string(3) "123" <= array(0) {} +string(3) "123" > int(-9223372036854775808) +string(3) "123" > string(20) "-9223372036854775808" +string(3) "2.5" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" > string(0) "" +string(3) "2.5" > int(1) +string(3) "2.5" <= float(2.5) +string(3) "2.5" > int(0) +string(3) "2.5" <= string(6) "string" +string(3) "2.5" <= string(3) "123" +string(3) "2.5" <= string(3) "2.5" +string(3) "2.5" > NULL +string(3) "2.5" <= bool(true) +string(3) "2.5" > bool(false) +string(3) "2.5" <= object(stdClass)#%d (0) {} +string(3) "2.5" <= object(stdClass)#%d (0) {} +string(3) "2.5" <= object(test)#%d (0) {} +string(3) "2.5" <= array(0) {} +string(3) "2.5" > int(-9223372036854775808) +string(3) "2.5" > string(20) "-9223372036854775808" +NULL <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL <= string(0) "" +NULL <= int(1) +NULL <= float(2.5) +NULL <= int(0) +NULL <= string(6) "string" +NULL <= string(3) "123" +NULL <= string(3) "2.5" +NULL <= NULL +NULL <= bool(true) +NULL <= bool(false) +NULL <= object(stdClass)#%d (0) {} +NULL <= object(stdClass)#%d (0) {} +NULL <= object(test)#%d (0) {} +NULL <= array(0) {} +NULL <= int(-9223372036854775808) +NULL <= string(20) "-9223372036854775808" +bool(true) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) > string(0) "" +bool(true) <= int(1) +bool(true) <= float(2.5) +bool(true) > int(0) +bool(true) <= string(6) "string" +bool(true) <= string(3) "123" +bool(true) <= string(3) "2.5" +bool(true) > NULL +bool(true) <= bool(true) +bool(true) > bool(false) +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(test)#%d (0) {} +bool(true) > array(0) {} +bool(true) <= int(-9223372036854775808) +bool(true) <= string(20) "-9223372036854775808" +bool(false) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) <= string(0) "" +bool(false) <= int(1) +bool(false) <= float(2.5) +bool(false) <= int(0) +bool(false) <= string(6) "string" +bool(false) <= string(3) "123" +bool(false) <= string(3) "2.5" +bool(false) <= NULL +bool(false) <= bool(true) +bool(false) <= bool(false) +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(test)#%d (0) {} +bool(false) <= array(0) {} +bool(false) <= int(-9223372036854775808) +bool(false) <= string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#%d (0) {} > string(6) "string" +object(stdClass)#%d (0) {} > string(3) "123" +object(stdClass)#%d (0) {} > string(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#%d (0) {} > string(6) "string" +object(stdClass)#%d (0) {} > string(3) "123" +object(stdClass)#%d (0) {} > string(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" +object(test)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} > string(0) "" +object(test)#%d (0) {} +HipHop Notice: %a + <= int(1) +object(test)#%d (0) {} +HipHop Notice: %a + <= float(2.5) +object(test)#%d (0) {} +HipHop Notice: %a + > int(0) +object(test)#%d (0) {} > string(6) "string" +object(test)#%d (0) {} > string(3) "123" +object(test)#%d (0) {} > string(3) "2.5" +object(test)#%d (0) {} > NULL +object(test)#%d (0) {} <= bool(true) +object(test)#%d (0) {} > bool(false) +object(test)#%d (0) {} <= object(stdClass)#%d (0) {} +object(test)#%d (0) {} <= object(stdClass)#%d (0) {} +object(test)#%d (0) {} <= object(test)#%d (0) {} +object(test)#%d (0) {} > array(0) {} +object(test)#%d (0) {} +HipHop Notice: %a + > int(-9223372036854775808) +object(test)#%d (0) {} > string(20) "-9223372036854775808" +array(0) {} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} > string(0) "" +array(0) {} > int(1) +array(0) {} > float(2.5) +array(0) {} > int(0) +array(0) {} > string(6) "string" +array(0) {} > string(3) "123" +array(0) {} > string(3) "2.5" +array(0) {} <= NULL +array(0) {} <= bool(true) +array(0) {} <= bool(false) +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(test)#%d (0) {} +array(0) {} <= array(0) {} +array(0) {} > int(-9223372036854775808) +array(0) {} > string(20) "-9223372036854775808" +int(-9223372036854775808) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) <= string(0) "" +int(-9223372036854775808) <= int(1) +int(-9223372036854775808) <= float(2.5) +int(-9223372036854775808) <= int(0) +int(-9223372036854775808) <= string(6) "string" +int(-9223372036854775808) <= string(3) "123" +int(-9223372036854775808) <= string(3) "2.5" +int(-9223372036854775808) > NULL +int(-9223372036854775808) <= bool(true) +int(-9223372036854775808) > bool(false) +int(-9223372036854775808) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + <= object(test)#%d (0) {} +int(-9223372036854775808) <= array(0) {} +int(-9223372036854775808) <= int(-9223372036854775808) +int(-9223372036854775808) <= string(20) "-9223372036854775808" +string(20) "-9223372036854775808" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(20) "-9223372036854775808" > string(0) "" +string(20) "-9223372036854775808" <= int(1) +string(20) "-9223372036854775808" <= float(2.5) +string(20) "-9223372036854775808" <= int(0) +string(20) "-9223372036854775808" <= string(6) "string" +string(20) "-9223372036854775808" <= string(3) "123" +string(20) "-9223372036854775808" <= string(3) "2.5" +string(20) "-9223372036854775808" > NULL +string(20) "-9223372036854775808" <= bool(true) +string(20) "-9223372036854775808" > bool(false) +string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" <= object(test)#%d (0) {} +string(20) "-9223372036854775808" <= array(0) {} +string(20) "-9223372036854775808" <= int(-9223372036854775808) +string(20) "-9223372036854775808" <= string(20) "-9223372036854775808" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_004.php.exp b/hphp/test/zend/bad/zend/compare_004.php.exp deleted file mode 100644 index 92b8647dc..000000000 --- a/hphp/test/zend/bad/zend/compare_004.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(\-2147483648\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(0\)\ \"\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \>\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\ int\(1\)\ -string\(0\)\ \"\"\ \<\ float\(2\.5\)\ -string\(0\)\ \"\"\ \>\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \>\=\ NULL\ -string\(0\)\ \"\"\ \<\ bool\(true\)\ -string\(0\)\ \"\"\ \>\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\=\ int\(\-2147483648\)\ -string\(0\)\ \"\"\ \<\ string\(11\)\ \"\-2147483648\"\ -int\(1\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\=\ string\(0\)\ \"\"\ -int\(1\)\ \>\=\ int\(1\)\ -int\(1\)\ \<\ float\(2\.5\)\ -int\(1\)\ \>\=\ int\(0\)\ -int\(1\)\ \>\=\ string\(6\)\ \"string\"\ -int\(1\)\ \<\ string\(3\)\ \"123\"\ -int\(1\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\=\ NULL\ -int\(1\)\ \>\=\ bool\(true\)\ -int\(1\)\ \>\=\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(1\)\ \<\ array\(0\)\ \{\}\ -int\(1\)\ \>\=\ int\(\-2147483648\)\ -int\(1\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -float\(2\.5\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\=\ int\(1\)\ -float\(2\.5\)\ \>\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\=\ int\(0\)\ -float\(2\.5\)\ \>\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \>\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\=\ NULL\ -float\(2\.5\)\ \>\=\ bool\(true\)\ -float\(2\.5\)\ \>\=\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\=\ int\(\-2147483648\)\ -float\(2\.5\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -int\(0\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \>\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\ int\(1\)\ -int\(0\)\ \<\ float\(2\.5\)\ -int\(0\)\ \>\=\ int\(0\)\ -int\(0\)\ \>\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\ string\(3\)\ \"123\"\ -int\(0\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \>\=\ NULL\ -int\(0\)\ \<\ bool\(true\)\ -int\(0\)\ \>\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(0\)\ \<\ array\(0\)\ \{\}\ -int\(0\)\ \>\=\ int\(\-2147483648\)\ -int\(0\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(6\)\ \"string\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\ int\(1\)\ -string\(6\)\ \"string\"\ \<\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \>\=\ int\(0\)\ -string\(6\)\ \"string\"\ \>\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\=\ NULL\ -string\(6\)\ \"string\"\ \>\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\=\ int\(\-2147483648\)\ -string\(6\)\ \"string\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"123\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\=\ int\(1\)\ -string\(3\)\ \"123\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\=\ int\(0\)\ -string\(3\)\ \"123\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\=\ NULL\ -string\(3\)\ \"123\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\=\ int\(\-2147483648\)\ -string\(3\)\ \"123\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"2\.5\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\=\ NULL\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(\-2147483648\)\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -NULL\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \>\=\ string\(0\)\ \"\"\ -NULL\ \<\ int\(1\)\ -NULL\ \<\ float\(2\.5\)\ -NULL\ \>\=\ int\(0\)\ -NULL\ \<\ string\(6\)\ \"string\"\ -NULL\ \<\ string\(3\)\ \"123\"\ -NULL\ \<\ string\(3\)\ \"2\.5\"\ -NULL\ \>\=\ NULL\ -NULL\ \<\ bool\(true\)\ -NULL\ \>\=\ bool\(false\)\ -NULL\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -NULL\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -NULL\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -NULL\ \>\=\ array\(0\)\ \{\}\ -NULL\ \<\ int\(\-2147483648\)\ -NULL\ \<\ string\(11\)\ \"\-2147483648\"\ -bool\(true\)\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\=\ string\(0\)\ \"\"\ -bool\(true\)\ \>\=\ int\(1\)\ -bool\(true\)\ \>\=\ float\(2\.5\)\ -bool\(true\)\ \>\=\ int\(0\)\ -bool\(true\)\ \>\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\=\ NULL\ -bool\(true\)\ \>\=\ bool\(true\)\ -bool\(true\)\ \>\=\ bool\(false\)\ -bool\(true\)\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ array\(0\)\ \{\}\ -bool\(true\)\ \>\=\ int\(\-2147483648\)\ -bool\(true\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -bool\(false\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \>\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\ int\(1\)\ -bool\(false\)\ \<\ float\(2\.5\)\ -bool\(false\)\ \>\=\ int\(0\)\ -bool\(false\)\ \<\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \>\=\ NULL\ -bool\(false\)\ \<\ bool\(true\)\ -bool\(false\)\ \>\=\ bool\(false\)\ -bool\(false\)\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(false\)\ \>\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\ int\(\-2147483648\)\ -bool\(false\)\ \<\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-2147483648\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-2147483648\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-2147483648\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -array\(0\)\ \{\}\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\=\ int\(1\)\ -array\(0\)\ \{\}\ \>\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\=\ int\(0\)\ -array\(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \>\=\ NULL\ -array\(0\)\ \{\}\ \<\ bool\(true\)\ -array\(0\)\ \{\}\ \>\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ int\(\-2147483648\)\ -array\(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -int\(\-2147483648\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-2147483648\)\ \<\ string\(0\)\ \"\"\ -int\(\-2147483648\)\ \<\ int\(1\)\ -int\(\-2147483648\)\ \<\ float\(2\.5\)\ -int\(\-2147483648\)\ \<\ int\(0\)\ -int\(\-2147483648\)\ \<\ string\(6\)\ \"string\"\ -int\(\-2147483648\)\ \<\ string\(3\)\ \"123\"\ -int\(\-2147483648\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(\-2147483648\)\ \>\=\ NULL\ -int\(\-2147483648\)\ \>\=\ bool\(true\)\ -int\(\-2147483648\)\ \>\=\ bool\(false\)\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \<\ array\(0\)\ \{\}\ -int\(\-2147483648\)\ \>\=\ int\(\-2147483648\)\ -int\(\-2147483648\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(11\)\ \"\-2147483648\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(11\)\ \"\-2147483648\"\ \>\=\ string\(0\)\ \"\"\ -string\(11\)\ \"\-2147483648\"\ \<\ int\(1\)\ -string\(11\)\ \"\-2147483648\"\ \<\ float\(2\.5\)\ -string\(11\)\ \"\-2147483648\"\ \<\ int\(0\)\ -string\(11\)\ \"\-2147483648\"\ \<\ string\(6\)\ \"string\"\ -string\(11\)\ \"\-2147483648\"\ \<\ string\(3\)\ \"123\"\ -string\(11\)\ \"\-2147483648\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(11\)\ \"\-2147483648\"\ \>\=\ NULL\ -string\(11\)\ \"\-2147483648\"\ \>\=\ bool\(true\)\ -string\(11\)\ \"\-2147483648\"\ \>\=\ bool\(false\)\ -string\(11\)\ \"\-2147483648\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\ array\(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \>\=\ int\(\-2147483648\)\ -string\(11\)\ \"\-2147483648\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_004.php.expectf b/hphp/test/zend/bad/zend/compare_004.php.expectf new file mode 100644 index 000000000..c29a4170d --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_004.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-2147483648) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(11) "-2147483648" +string(0) "" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" >= string(0) "" +string(0) "" < int(1) +string(0) "" < float(2.5) +string(0) "" >= int(0) +string(0) "" < string(6) "string" +string(0) "" < string(3) "123" +string(0) "" < string(3) "2.5" +string(0) "" >= NULL +string(0) "" < bool(true) +string(0) "" >= bool(false) +string(0) "" < object(stdClass)#1 (0) {} +string(0) "" < object(stdClass)#2 (0) {} +string(0) "" < object(test)#3 (0) {} +string(0) "" < array(0) {} +string(0) "" >= int(-2147483648) +string(0) "" < string(11) "-2147483648" +int(1) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) >= string(0) "" +int(1) >= int(1) +int(1) < float(2.5) +int(1) >= int(0) +int(1) >= string(6) "string" +int(1) < string(3) "123" +int(1) < string(3) "2.5" +int(1) >= NULL +int(1) >= bool(true) +int(1) >= bool(false) +int(1) +HipHop Notice: %a + >= object(stdClass)#1 (0) {} +int(1) +HipHop Notice: %a + >= object(stdClass)#2 (0) {} +int(1) +HipHop Notice: %a + >= object(test)#3 (0) {} +int(1) < array(0) {} +int(1) >= int(-2147483648) +int(1) >= string(11) "-2147483648" +float(2.5) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) >= string(0) "" +float(2.5) >= int(1) +float(2.5) >= float(2.5) +float(2.5) >= int(0) +float(2.5) >= string(6) "string" +float(2.5) < string(3) "123" +float(2.5) >= string(3) "2.5" +float(2.5) >= NULL +float(2.5) >= bool(true) +float(2.5) >= bool(false) +float(2.5) +HipHop Notice: %a + >= object(stdClass)#1 (0) {} +float(2.5) +HipHop Notice: %a + >= object(stdClass)#2 (0) {} +float(2.5) +HipHop Notice: %a + >= object(test)#3 (0) {} +float(2.5) < array(0) {} +float(2.5) >= int(-2147483648) +float(2.5) >= string(11) "-2147483648" +int(0) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) >= string(0) "" +int(0) < int(1) +int(0) < float(2.5) +int(0) >= int(0) +int(0) >= string(6) "string" +int(0) < string(3) "123" +int(0) < string(3) "2.5" +int(0) >= NULL +int(0) < bool(true) +int(0) >= bool(false) +int(0) +HipHop Notice: %a + < object(stdClass)#1 (0) {} +int(0) +HipHop Notice: %a + < object(stdClass)#2 (0) {} +int(0) +HipHop Notice: %a + < object(test)#3 (0) {} +int(0) < array(0) {} +int(0) >= int(-2147483648) +int(0) >= string(11) "-2147483648" +string(6) "string" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" >= string(0) "" +string(6) "string" < int(1) +string(6) "string" < float(2.5) +string(6) "string" >= int(0) +string(6) "string" >= string(6) "string" +string(6) "string" >= string(3) "123" +string(6) "string" >= string(3) "2.5" +string(6) "string" >= NULL +string(6) "string" >= bool(true) +string(6) "string" >= bool(false) +string(6) "string" < object(stdClass)#1 (0) {} +string(6) "string" < object(stdClass)#2 (0) {} +string(6) "string" < object(test)#3 (0) {} +string(6) "string" < array(0) {} +string(6) "string" >= int(-2147483648) +string(6) "string" >= string(11) "-2147483648" +string(3) "123" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" >= string(0) "" +string(3) "123" >= int(1) +string(3) "123" >= float(2.5) +string(3) "123" >= int(0) +string(3) "123" < string(6) "string" +string(3) "123" >= string(3) "123" +string(3) "123" >= string(3) "2.5" +string(3) "123" >= NULL +string(3) "123" >= bool(true) +string(3) "123" >= bool(false) +string(3) "123" < object(stdClass)#1 (0) {} +string(3) "123" < object(stdClass)#2 (0) {} +string(3) "123" < object(test)#3 (0) {} +string(3) "123" < array(0) {} +string(3) "123" >= int(-2147483648) +string(3) "123" >= string(11) "-2147483648" +string(3) "2.5" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" >= string(0) "" +string(3) "2.5" >= int(1) +string(3) "2.5" >= float(2.5) +string(3) "2.5" >= int(0) +string(3) "2.5" < string(6) "string" +string(3) "2.5" < string(3) "123" +string(3) "2.5" >= string(3) "2.5" +string(3) "2.5" >= NULL +string(3) "2.5" >= bool(true) +string(3) "2.5" >= bool(false) +string(3) "2.5" < object(stdClass)#1 (0) {} +string(3) "2.5" < object(stdClass)#2 (0) {} +string(3) "2.5" < object(test)#3 (0) {} +string(3) "2.5" < array(0) {} +string(3) "2.5" >= int(-2147483648) +string(3) "2.5" >= string(11) "-2147483648" +NULL < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL >= string(0) "" +NULL < int(1) +NULL < float(2.5) +NULL >= int(0) +NULL < string(6) "string" +NULL < string(3) "123" +NULL < string(3) "2.5" +NULL >= NULL +NULL < bool(true) +NULL >= bool(false) +NULL < object(stdClass)#1 (0) {} +NULL < object(stdClass)#2 (0) {} +NULL < object(test)#3 (0) {} +NULL >= array(0) {} +NULL < int(-2147483648) +NULL < string(11) "-2147483648" +bool(true) >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) >= string(0) "" +bool(true) >= int(1) +bool(true) >= float(2.5) +bool(true) >= int(0) +bool(true) >= string(6) "string" +bool(true) >= string(3) "123" +bool(true) >= string(3) "2.5" +bool(true) >= NULL +bool(true) >= bool(true) +bool(true) >= bool(false) +bool(true) >= object(stdClass)#1 (0) {} +bool(true) >= object(stdClass)#2 (0) {} +bool(true) >= object(test)#3 (0) {} +bool(true) >= array(0) {} +bool(true) >= int(-2147483648) +bool(true) >= string(11) "-2147483648" +bool(false) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) >= string(0) "" +bool(false) < int(1) +bool(false) < float(2.5) +bool(false) >= int(0) +bool(false) < string(6) "string" +bool(false) < string(3) "123" +bool(false) < string(3) "2.5" +bool(false) >= NULL +bool(false) < bool(true) +bool(false) >= bool(false) +bool(false) < object(stdClass)#1 (0) {} +bool(false) < object(stdClass)#2 (0) {} +bool(false) < object(test)#3 (0) {} +bool(false) >= array(0) {} +bool(false) < int(-2147483648) +bool(false) < string(11) "-2147483648" +object(stdClass)#1 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} >= string(0) "" +object(stdClass)#1 (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#1 (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#1 (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#1 (0) {} >= string(6) "string" +object(stdClass)#1 (0) {} >= string(3) "123" +object(stdClass)#1 (0) {} >= string(3) "2.5" +object(stdClass)#1 (0) {} >= NULL +object(stdClass)#1 (0) {} >= bool(true) +object(stdClass)#1 (0) {} >= bool(false) +object(stdClass)#1 (0) {} >= object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} >= object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} >= object(test)#3 (0) {} +object(stdClass)#1 (0) {} >= array(0) {} +object(stdClass)#1 (0) {} +HipHop Notice: %a + >= int(-2147483648) +object(stdClass)#1 (0) {} >= string(11) "-2147483648" +object(stdClass)#2 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} >= string(0) "" +object(stdClass)#2 (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#2 (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#2 (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#2 (0) {} >= string(6) "string" +object(stdClass)#2 (0) {} >= string(3) "123" +object(stdClass)#2 (0) {} >= string(3) "2.5" +object(stdClass)#2 (0) {} >= NULL +object(stdClass)#2 (0) {} >= bool(true) +object(stdClass)#2 (0) {} >= bool(false) +object(stdClass)#2 (0) {} >= object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} >= object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} >= object(test)#3 (0) {} +object(stdClass)#2 (0) {} >= array(0) {} +object(stdClass)#2 (0) {} +HipHop Notice: %a + >= int(-2147483648) +object(stdClass)#2 (0) {} >= string(11) "-2147483648" +object(test)#3 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} >= string(0) "" +object(test)#3 (0) {} +HipHop Notice: %a + >= int(1) +object(test)#3 (0) {} +HipHop Notice: %a + < float(2.5) +object(test)#3 (0) {} +HipHop Notice: %a + >= int(0) +object(test)#3 (0) {} >= string(6) "string" +object(test)#3 (0) {} >= string(3) "123" +object(test)#3 (0) {} >= string(3) "2.5" +object(test)#3 (0) {} >= NULL +object(test)#3 (0) {} >= bool(true) +object(test)#3 (0) {} >= bool(false) +object(test)#3 (0) {} >= object(stdClass)#1 (0) {} +object(test)#3 (0) {} >= object(stdClass)#2 (0) {} +object(test)#3 (0) {} >= object(test)#3 (0) {} +object(test)#3 (0) {} >= array(0) {} +object(test)#3 (0) {} +HipHop Notice: %a + >= int(-2147483648) +object(test)#3 (0) {} >= string(11) "-2147483648" +array(0) {} < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} >= string(0) "" +array(0) {} >= int(1) +array(0) {} >= float(2.5) +array(0) {} >= int(0) +array(0) {} >= string(6) "string" +array(0) {} >= string(3) "123" +array(0) {} >= string(3) "2.5" +array(0) {} >= NULL +array(0) {} < bool(true) +array(0) {} >= bool(false) +array(0) {} < object(stdClass)#1 (0) {} +array(0) {} < object(stdClass)#2 (0) {} +array(0) {} < object(test)#3 (0) {} +array(0) {} >= array(0) {} +array(0) {} >= int(-2147483648) +array(0) {} >= string(11) "-2147483648" +int(-2147483648) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-2147483648) < string(0) "" +int(-2147483648) < int(1) +int(-2147483648) < float(2.5) +int(-2147483648) < int(0) +int(-2147483648) < string(6) "string" +int(-2147483648) < string(3) "123" +int(-2147483648) < string(3) "2.5" +int(-2147483648) >= NULL +int(-2147483648) >= bool(true) +int(-2147483648) >= bool(false) +int(-2147483648) +HipHop Notice: %a + < object(stdClass)#1 (0) {} +int(-2147483648) +HipHop Notice: %a + < object(stdClass)#2 (0) {} +int(-2147483648) +HipHop Notice: %a + < object(test)#3 (0) {} +int(-2147483648) < array(0) {} +int(-2147483648) >= int(-2147483648) +int(-2147483648) >= string(11) "-2147483648" +string(11) "-2147483648" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(11) "-2147483648" >= string(0) "" +string(11) "-2147483648" < int(1) +string(11) "-2147483648" < float(2.5) +string(11) "-2147483648" < int(0) +string(11) "-2147483648" < string(6) "string" +string(11) "-2147483648" < string(3) "123" +string(11) "-2147483648" < string(3) "2.5" +string(11) "-2147483648" >= NULL +string(11) "-2147483648" >= bool(true) +string(11) "-2147483648" >= bool(false) +string(11) "-2147483648" < object(stdClass)#1 (0) {} +string(11) "-2147483648" < object(stdClass)#2 (0) {} +string(11) "-2147483648" < object(test)#3 (0) {} +string(11) "-2147483648" < array(0) {} +string(11) "-2147483648" >= int(-2147483648) +string(11) "-2147483648" >= string(11) "-2147483648" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_004_64bit.php.exp b/hphp/test/zend/bad/zend/compare_004_64bit.php.exp deleted file mode 100644 index 9cc6f6e47..000000000 --- a/hphp/test/zend/bad/zend/compare_004_64bit.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(\-9223372036854775808\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(0\)\ \"\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \>\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\ int\(1\)\ -string\(0\)\ \"\"\ \<\ float\(2\.5\)\ -string\(0\)\ \"\"\ \>\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \>\=\ NULL\ -string\(0\)\ \"\"\ \<\ bool\(true\)\ -string\(0\)\ \"\"\ \>\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(0\)\ \"\"\ \<\ string\(20\)\ \"\-9223372036854775808\"\ -int\(1\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\=\ string\(0\)\ \"\"\ -int\(1\)\ \>\=\ int\(1\)\ -int\(1\)\ \<\ float\(2\.5\)\ -int\(1\)\ \>\=\ int\(0\)\ -int\(1\)\ \>\=\ string\(6\)\ \"string\"\ -int\(1\)\ \<\ string\(3\)\ \"123\"\ -int\(1\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\=\ NULL\ -int\(1\)\ \>\=\ bool\(true\)\ -int\(1\)\ \>\=\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ \<\ array\(0\)\ \{\}\ -int\(1\)\ \>\=\ int\(\-9223372036854775808\)\ -int\(1\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -float\(2\.5\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\=\ int\(1\)\ -float\(2\.5\)\ \>\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\=\ int\(0\)\ -float\(2\.5\)\ \>\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \>\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\=\ NULL\ -float\(2\.5\)\ \>\=\ bool\(true\)\ -float\(2\.5\)\ \>\=\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\=\ int\(\-9223372036854775808\)\ -float\(2\.5\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(0\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \>\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\ int\(1\)\ -int\(0\)\ \<\ float\(2\.5\)\ -int\(0\)\ \>\=\ int\(0\)\ -int\(0\)\ \>\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\ string\(3\)\ \"123\"\ -int\(0\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \>\=\ NULL\ -int\(0\)\ \<\ bool\(true\)\ -int\(0\)\ \>\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ \<\ array\(0\)\ \{\}\ -int\(0\)\ \>\=\ int\(\-9223372036854775808\)\ -int\(0\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(6\)\ \"string\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\ int\(1\)\ -string\(6\)\ \"string\"\ \<\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \>\=\ int\(0\)\ -string\(6\)\ \"string\"\ \>\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\=\ NULL\ -string\(6\)\ \"string\"\ \>\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(6\)\ \"string\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"123\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\=\ int\(1\)\ -string\(3\)\ \"123\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\=\ int\(0\)\ -string\(3\)\ \"123\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\=\ NULL\ -string\(3\)\ \"123\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(3\)\ \"123\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"2\.5\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\=\ NULL\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -NULL\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \>\=\ string\(0\)\ \"\"\ -NULL\ \<\ int\(1\)\ -NULL\ \<\ float\(2\.5\)\ -NULL\ \>\=\ int\(0\)\ -NULL\ \<\ string\(6\)\ \"string\"\ -NULL\ \<\ string\(3\)\ \"123\"\ -NULL\ \<\ string\(3\)\ \"2\.5\"\ -NULL\ \>\=\ NULL\ -NULL\ \<\ bool\(true\)\ -NULL\ \>\=\ bool\(false\)\ -NULL\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -NULL\ \>\=\ array\(0\)\ \{\}\ -NULL\ \<\ int\(\-9223372036854775808\)\ -NULL\ \<\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(true\)\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\=\ string\(0\)\ \"\"\ -bool\(true\)\ \>\=\ int\(1\)\ -bool\(true\)\ \>\=\ float\(2\.5\)\ -bool\(true\)\ \>\=\ int\(0\)\ -bool\(true\)\ \>\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\=\ NULL\ -bool\(true\)\ \>\=\ bool\(true\)\ -bool\(true\)\ \>\=\ bool\(false\)\ -bool\(true\)\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ array\(0\)\ \{\}\ -bool\(true\)\ \>\=\ int\(\-9223372036854775808\)\ -bool\(true\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(false\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \>\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\ int\(1\)\ -bool\(false\)\ \<\ float\(2\.5\)\ -bool\(false\)\ \>\=\ int\(0\)\ -bool\(false\)\ \<\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \>\=\ NULL\ -bool\(false\)\ \<\ bool\(true\)\ -bool\(false\)\ \>\=\ bool\(false\)\ -bool\(false\)\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \>\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\ int\(\-9223372036854775808\)\ -bool\(false\)\ \<\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-9223372036854775808\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -array\(0\)\ \{\}\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\=\ int\(1\)\ -array\(0\)\ \{\}\ \>\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\=\ int\(0\)\ -array\(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \>\=\ NULL\ -array\(0\)\ \{\}\ \<\ bool\(true\)\ -array\(0\)\ \{\}\ \>\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ int\(\-9223372036854775808\)\ -array\(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(\-9223372036854775808\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-9223372036854775808\)\ \<\ string\(0\)\ \"\"\ -int\(\-9223372036854775808\)\ \<\ int\(1\)\ -int\(\-9223372036854775808\)\ \<\ float\(2\.5\)\ -int\(\-9223372036854775808\)\ \<\ int\(0\)\ -int\(\-9223372036854775808\)\ \<\ string\(6\)\ \"string\"\ -int\(\-9223372036854775808\)\ \<\ string\(3\)\ \"123\"\ -int\(\-9223372036854775808\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(\-9223372036854775808\)\ \>\=\ NULL\ -int\(\-9223372036854775808\)\ \>\=\ bool\(true\)\ -int\(\-9223372036854775808\)\ \>\=\ bool\(false\)\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \<\ array\(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \>\=\ int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ string\(0\)\ \"\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ int\(1\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ float\(2\.5\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ int\(0\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ string\(6\)\ \"string\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ string\(3\)\ \"123\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ NULL\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ bool\(true\)\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ bool\(false\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ array\(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_004_64bit.php.expectf b/hphp/test/zend/bad/zend/compare_004_64bit.php.expectf new file mode 100644 index 000000000..ad12b0966 --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_004_64bit.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(20) "-9223372036854775808" +string(0) "" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" >= string(0) "" +string(0) "" < int(1) +string(0) "" < float(2.5) +string(0) "" >= int(0) +string(0) "" < string(6) "string" +string(0) "" < string(3) "123" +string(0) "" < string(3) "2.5" +string(0) "" >= NULL +string(0) "" < bool(true) +string(0) "" >= bool(false) +string(0) "" < object(stdClass)#%d (0) {} +string(0) "" < object(stdClass)#%d (0) {} +string(0) "" < object(test)#%d (0) {} +string(0) "" < array(0) {} +string(0) "" >= int(-9223372036854775808) +string(0) "" < string(20) "-9223372036854775808" +int(1) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) >= string(0) "" +int(1) >= int(1) +int(1) < float(2.5) +int(1) >= int(0) +int(1) >= string(6) "string" +int(1) < string(3) "123" +int(1) < string(3) "2.5" +int(1) >= NULL +int(1) >= bool(true) +int(1) >= bool(false) +int(1) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + >= object(test)#%d (0) {} +int(1) < array(0) {} +int(1) >= int(-9223372036854775808) +int(1) >= string(20) "-9223372036854775808" +float(2.5) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) >= string(0) "" +float(2.5) >= int(1) +float(2.5) >= float(2.5) +float(2.5) >= int(0) +float(2.5) >= string(6) "string" +float(2.5) < string(3) "123" +float(2.5) >= string(3) "2.5" +float(2.5) >= NULL +float(2.5) >= bool(true) +float(2.5) >= bool(false) +float(2.5) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + >= object(test)#%d (0) {} +float(2.5) < array(0) {} +float(2.5) >= int(-9223372036854775808) +float(2.5) >= string(20) "-9223372036854775808" +int(0) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) >= string(0) "" +int(0) < int(1) +int(0) < float(2.5) +int(0) >= int(0) +int(0) >= string(6) "string" +int(0) < string(3) "123" +int(0) < string(3) "2.5" +int(0) >= NULL +int(0) < bool(true) +int(0) >= bool(false) +int(0) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + < object(test)#%d (0) {} +int(0) < array(0) {} +int(0) >= int(-9223372036854775808) +int(0) >= string(20) "-9223372036854775808" +string(6) "string" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" >= string(0) "" +string(6) "string" < int(1) +string(6) "string" < float(2.5) +string(6) "string" >= int(0) +string(6) "string" >= string(6) "string" +string(6) "string" >= string(3) "123" +string(6) "string" >= string(3) "2.5" +string(6) "string" >= NULL +string(6) "string" >= bool(true) +string(6) "string" >= bool(false) +string(6) "string" < object(stdClass)#%d (0) {} +string(6) "string" < object(stdClass)#%d (0) {} +string(6) "string" < object(test)#%d (0) {} +string(6) "string" < array(0) {} +string(6) "string" >= int(-9223372036854775808) +string(6) "string" >= string(20) "-9223372036854775808" +string(3) "123" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" >= string(0) "" +string(3) "123" >= int(1) +string(3) "123" >= float(2.5) +string(3) "123" >= int(0) +string(3) "123" < string(6) "string" +string(3) "123" >= string(3) "123" +string(3) "123" >= string(3) "2.5" +string(3) "123" >= NULL +string(3) "123" >= bool(true) +string(3) "123" >= bool(false) +string(3) "123" < object(stdClass)#%d (0) {} +string(3) "123" < object(stdClass)#%d (0) {} +string(3) "123" < object(test)#%d (0) {} +string(3) "123" < array(0) {} +string(3) "123" >= int(-9223372036854775808) +string(3) "123" >= string(20) "-9223372036854775808" +string(3) "2.5" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" >= string(0) "" +string(3) "2.5" >= int(1) +string(3) "2.5" >= float(2.5) +string(3) "2.5" >= int(0) +string(3) "2.5" < string(6) "string" +string(3) "2.5" < string(3) "123" +string(3) "2.5" >= string(3) "2.5" +string(3) "2.5" >= NULL +string(3) "2.5" >= bool(true) +string(3) "2.5" >= bool(false) +string(3) "2.5" < object(stdClass)#%d (0) {} +string(3) "2.5" < object(stdClass)#%d (0) {} +string(3) "2.5" < object(test)#%d (0) {} +string(3) "2.5" < array(0) {} +string(3) "2.5" >= int(-9223372036854775808) +string(3) "2.5" >= string(20) "-9223372036854775808" +NULL < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL >= string(0) "" +NULL < int(1) +NULL < float(2.5) +NULL >= int(0) +NULL < string(6) "string" +NULL < string(3) "123" +NULL < string(3) "2.5" +NULL >= NULL +NULL < bool(true) +NULL >= bool(false) +NULL < object(stdClass)#%d (0) {} +NULL < object(stdClass)#%d (0) {} +NULL < object(test)#%d (0) {} +NULL >= array(0) {} +NULL < int(-9223372036854775808) +NULL < string(20) "-9223372036854775808" +bool(true) >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) >= string(0) "" +bool(true) >= int(1) +bool(true) >= float(2.5) +bool(true) >= int(0) +bool(true) >= string(6) "string" +bool(true) >= string(3) "123" +bool(true) >= string(3) "2.5" +bool(true) >= NULL +bool(true) >= bool(true) +bool(true) >= bool(false) +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(test)#%d (0) {} +bool(true) >= array(0) {} +bool(true) >= int(-9223372036854775808) +bool(true) >= string(20) "-9223372036854775808" +bool(false) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) >= string(0) "" +bool(false) < int(1) +bool(false) < float(2.5) +bool(false) >= int(0) +bool(false) < string(6) "string" +bool(false) < string(3) "123" +bool(false) < string(3) "2.5" +bool(false) >= NULL +bool(false) < bool(true) +bool(false) >= bool(false) +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(test)#%d (0) {} +bool(false) >= array(0) {} +bool(false) < int(-9223372036854775808) +bool(false) < string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#%d (0) {} >= string(6) "string" +object(stdClass)#%d (0) {} >= string(3) "123" +object(stdClass)#%d (0) {} >= string(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#%d (0) {} >= string(6) "string" +object(stdClass)#%d (0) {} >= string(3) "123" +object(stdClass)#%d (0) {} >= string(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" +object(test)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} >= string(0) "" +object(test)#%d (0) {} +HipHop Notice: %a + >= int(1) +object(test)#%d (0) {} +HipHop Notice: %a + < float(2.5) +object(test)#%d (0) {} +HipHop Notice: %a + >= int(0) +object(test)#%d (0) {} >= string(6) "string" +object(test)#%d (0) {} >= string(3) "123" +object(test)#%d (0) {} >= string(3) "2.5" +object(test)#%d (0) {} >= NULL +object(test)#%d (0) {} >= bool(true) +object(test)#%d (0) {} >= bool(false) +object(test)#%d (0) {} >= object(stdClass)#%d (0) {} +object(test)#%d (0) {} >= object(stdClass)#%d (0) {} +object(test)#%d (0) {} >= object(test)#%d (0) {} +object(test)#%d (0) {} >= array(0) {} +object(test)#%d (0) {} +HipHop Notice: %a + >= int(-9223372036854775808) +object(test)#%d (0) {} >= string(20) "-9223372036854775808" +array(0) {} < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} >= string(0) "" +array(0) {} >= int(1) +array(0) {} >= float(2.5) +array(0) {} >= int(0) +array(0) {} >= string(6) "string" +array(0) {} >= string(3) "123" +array(0) {} >= string(3) "2.5" +array(0) {} >= NULL +array(0) {} < bool(true) +array(0) {} >= bool(false) +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(test)#%d (0) {} +array(0) {} >= array(0) {} +array(0) {} >= int(-9223372036854775808) +array(0) {} >= string(20) "-9223372036854775808" +int(-9223372036854775808) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) < string(0) "" +int(-9223372036854775808) < int(1) +int(-9223372036854775808) < float(2.5) +int(-9223372036854775808) < int(0) +int(-9223372036854775808) < string(6) "string" +int(-9223372036854775808) < string(3) "123" +int(-9223372036854775808) < string(3) "2.5" +int(-9223372036854775808) >= NULL +int(-9223372036854775808) >= bool(true) +int(-9223372036854775808) >= bool(false) +int(-9223372036854775808) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + < object(test)#%d (0) {} +int(-9223372036854775808) < array(0) {} +int(-9223372036854775808) >= int(-9223372036854775808) +int(-9223372036854775808) >= string(20) "-9223372036854775808" +string(20) "-9223372036854775808" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(20) "-9223372036854775808" >= string(0) "" +string(20) "-9223372036854775808" < int(1) +string(20) "-9223372036854775808" < float(2.5) +string(20) "-9223372036854775808" < int(0) +string(20) "-9223372036854775808" < string(6) "string" +string(20) "-9223372036854775808" < string(3) "123" +string(20) "-9223372036854775808" < string(3) "2.5" +string(20) "-9223372036854775808" >= NULL +string(20) "-9223372036854775808" >= bool(true) +string(20) "-9223372036854775808" >= bool(false) +string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" < object(test)#%d (0) {} +string(20) "-9223372036854775808" < array(0) {} +string(20) "-9223372036854775808" >= int(-9223372036854775808) +string(20) "-9223372036854775808" >= string(20) "-9223372036854775808" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_005.php.exp b/hphp/test/zend/bad/zend/compare_005.php.exp deleted file mode 100644 index 83a48e9a8..000000000 --- a/hphp/test/zend/bad/zend/compare_005.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(\-2147483648\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(0\)\ \"\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \>\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\ int\(1\)\ -string\(0\)\ \"\"\ \<\ float\(2\.5\)\ -string\(0\)\ \"\"\ \>\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \>\=\ NULL\ -string\(0\)\ \"\"\ \<\ bool\(true\)\ -string\(0\)\ \"\"\ \>\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\=\ int\(\-2147483648\)\ -string\(0\)\ \"\"\ \<\ string\(11\)\ \"\-2147483648\"\ -int\(1\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\=\ string\(0\)\ \"\"\ -int\(1\)\ \>\=\ int\(1\)\ -int\(1\)\ \<\ float\(2\.5\)\ -int\(1\)\ \>\=\ int\(0\)\ -int\(1\)\ \>\=\ string\(6\)\ \"string\"\ -int\(1\)\ \<\ string\(3\)\ \"123\"\ -int\(1\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\=\ NULL\ -int\(1\)\ \>\=\ bool\(true\)\ -int\(1\)\ \>\=\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(1\)\ \<\ array\(0\)\ \{\}\ -int\(1\)\ \>\=\ int\(\-2147483648\)\ -int\(1\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -float\(2\.5\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\=\ int\(1\)\ -float\(2\.5\)\ \>\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\=\ int\(0\)\ -float\(2\.5\)\ \>\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \>\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\=\ NULL\ -float\(2\.5\)\ \>\=\ bool\(true\)\ -float\(2\.5\)\ \>\=\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\=\ int\(\-2147483648\)\ -float\(2\.5\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -int\(0\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \>\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\ int\(1\)\ -int\(0\)\ \<\ float\(2\.5\)\ -int\(0\)\ \>\=\ int\(0\)\ -int\(0\)\ \>\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\ string\(3\)\ \"123\"\ -int\(0\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \>\=\ NULL\ -int\(0\)\ \<\ bool\(true\)\ -int\(0\)\ \>\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(0\)\ \<\ array\(0\)\ \{\}\ -int\(0\)\ \>\=\ int\(\-2147483648\)\ -int\(0\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(6\)\ \"string\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\ int\(1\)\ -string\(6\)\ \"string\"\ \<\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \>\=\ int\(0\)\ -string\(6\)\ \"string\"\ \>\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\=\ NULL\ -string\(6\)\ \"string\"\ \>\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\=\ int\(\-2147483648\)\ -string\(6\)\ \"string\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"123\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\=\ int\(1\)\ -string\(3\)\ \"123\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\=\ int\(0\)\ -string\(3\)\ \"123\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\=\ NULL\ -string\(3\)\ \"123\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\=\ int\(\-2147483648\)\ -string\(3\)\ \"123\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"2\.5\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\=\ NULL\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(\-2147483648\)\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -NULL\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \>\=\ string\(0\)\ \"\"\ -NULL\ \<\ int\(1\)\ -NULL\ \<\ float\(2\.5\)\ -NULL\ \>\=\ int\(0\)\ -NULL\ \<\ string\(6\)\ \"string\"\ -NULL\ \<\ string\(3\)\ \"123\"\ -NULL\ \<\ string\(3\)\ \"2\.5\"\ -NULL\ \>\=\ NULL\ -NULL\ \<\ bool\(true\)\ -NULL\ \>\=\ bool\(false\)\ -NULL\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -NULL\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -NULL\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -NULL\ \>\=\ array\(0\)\ \{\}\ -NULL\ \<\ int\(\-2147483648\)\ -NULL\ \<\ string\(11\)\ \"\-2147483648\"\ -bool\(true\)\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\=\ string\(0\)\ \"\"\ -bool\(true\)\ \>\=\ int\(1\)\ -bool\(true\)\ \>\=\ float\(2\.5\)\ -bool\(true\)\ \>\=\ int\(0\)\ -bool\(true\)\ \>\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\=\ NULL\ -bool\(true\)\ \>\=\ bool\(true\)\ -bool\(true\)\ \>\=\ bool\(false\)\ -bool\(true\)\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ array\(0\)\ \{\}\ -bool\(true\)\ \>\=\ int\(\-2147483648\)\ -bool\(true\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -bool\(false\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \>\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\ int\(1\)\ -bool\(false\)\ \<\ float\(2\.5\)\ -bool\(false\)\ \>\=\ int\(0\)\ -bool\(false\)\ \<\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \>\=\ NULL\ -bool\(false\)\ \<\ bool\(true\)\ -bool\(false\)\ \>\=\ bool\(false\)\ -bool\(false\)\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(false\)\ \>\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\ int\(\-2147483648\)\ -bool\(false\)\ \<\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-2147483648\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-2147483648\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-2147483648\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -array\(0\)\ \{\}\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\=\ int\(1\)\ -array\(0\)\ \{\}\ \>\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\=\ int\(0\)\ -array\(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \>\=\ NULL\ -array\(0\)\ \{\}\ \<\ bool\(true\)\ -array\(0\)\ \{\}\ \>\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ int\(\-2147483648\)\ -array\(0\)\ \{\}\ \>\=\ string\(11\)\ \"\-2147483648\"\ -int\(\-2147483648\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-2147483648\)\ \<\ string\(0\)\ \"\"\ -int\(\-2147483648\)\ \<\ int\(1\)\ -int\(\-2147483648\)\ \<\ float\(2\.5\)\ -int\(\-2147483648\)\ \<\ int\(0\)\ -int\(\-2147483648\)\ \<\ string\(6\)\ \"string\"\ -int\(\-2147483648\)\ \<\ string\(3\)\ \"123\"\ -int\(\-2147483648\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(\-2147483648\)\ \>\=\ NULL\ -int\(\-2147483648\)\ \>\=\ bool\(true\)\ -int\(\-2147483648\)\ \>\=\ bool\(false\)\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \<\ array\(0\)\ \{\}\ -int\(\-2147483648\)\ \>\=\ int\(\-2147483648\)\ -int\(\-2147483648\)\ \>\=\ string\(11\)\ \"\-2147483648\"\ -string\(11\)\ \"\-2147483648\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(11\)\ \"\-2147483648\"\ \>\=\ string\(0\)\ \"\"\ -string\(11\)\ \"\-2147483648\"\ \<\ int\(1\)\ -string\(11\)\ \"\-2147483648\"\ \<\ float\(2\.5\)\ -string\(11\)\ \"\-2147483648\"\ \<\ int\(0\)\ -string\(11\)\ \"\-2147483648\"\ \<\ string\(6\)\ \"string\"\ -string\(11\)\ \"\-2147483648\"\ \<\ string\(3\)\ \"123\"\ -string\(11\)\ \"\-2147483648\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(11\)\ \"\-2147483648\"\ \>\=\ NULL\ -string\(11\)\ \"\-2147483648\"\ \>\=\ bool\(true\)\ -string\(11\)\ \"\-2147483648\"\ \>\=\ bool\(false\)\ -string\(11\)\ \"\-2147483648\"\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\ array\(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \>\=\ int\(\-2147483648\)\ -string\(11\)\ \"\-2147483648\"\ \>\=\ string\(11\)\ \"\-2147483648\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_005.php.expectf b/hphp/test/zend/bad/zend/compare_005.php.expectf new file mode 100644 index 000000000..5e9364bea --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_005.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-2147483648) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(11) "-2147483648" +string(0) "" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" >= string(0) "" +string(0) "" < int(1) +string(0) "" < float(2.5) +string(0) "" >= int(0) +string(0) "" < string(6) "string" +string(0) "" < string(3) "123" +string(0) "" < string(3) "2.5" +string(0) "" >= NULL +string(0) "" < bool(true) +string(0) "" >= bool(false) +string(0) "" < object(stdClass)#1 (0) {} +string(0) "" < object(stdClass)#2 (0) {} +string(0) "" < object(test)#3 (0) {} +string(0) "" < array(0) {} +string(0) "" >= int(-2147483648) +string(0) "" < string(11) "-2147483648" +int(1) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) >= string(0) "" +int(1) >= int(1) +int(1) < float(2.5) +int(1) >= int(0) +int(1) >= string(6) "string" +int(1) < string(3) "123" +int(1) < string(3) "2.5" +int(1) >= NULL +int(1) >= bool(true) +int(1) >= bool(false) +int(1) +HipHop Notice: %a + >= object(stdClass)#1 (0) {} +int(1) +HipHop Notice: %a + >= object(stdClass)#2 (0) {} +int(1) +HipHop Notice: %a + >= object(test)#3 (0) {} +int(1) < array(0) {} +int(1) >= int(-2147483648) +int(1) >= string(11) "-2147483648" +float(2.5) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) >= string(0) "" +float(2.5) >= int(1) +float(2.5) >= float(2.5) +float(2.5) >= int(0) +float(2.5) >= string(6) "string" +float(2.5) < string(3) "123" +float(2.5) >= string(3) "2.5" +float(2.5) >= NULL +float(2.5) >= bool(true) +float(2.5) >= bool(false) +float(2.5) +HipHop Notice: %a + >= object(stdClass)#1 (0) {} +float(2.5) +HipHop Notice: %a + >= object(stdClass)#2 (0) {} +float(2.5) +HipHop Notice: %a + >= object(test)#3 (0) {} +float(2.5) < array(0) {} +float(2.5) >= int(-2147483648) +float(2.5) >= string(11) "-2147483648" +int(0) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) >= string(0) "" +int(0) < int(1) +int(0) < float(2.5) +int(0) >= int(0) +int(0) >= string(6) "string" +int(0) < string(3) "123" +int(0) < string(3) "2.5" +int(0) >= NULL +int(0) < bool(true) +int(0) >= bool(false) +int(0) +HipHop Notice: %a + < object(stdClass)#1 (0) {} +int(0) +HipHop Notice: %a + < object(stdClass)#2 (0) {} +int(0) +HipHop Notice: %a + < object(test)#3 (0) {} +int(0) < array(0) {} +int(0) >= int(-2147483648) +int(0) >= string(11) "-2147483648" +string(6) "string" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" >= string(0) "" +string(6) "string" < int(1) +string(6) "string" < float(2.5) +string(6) "string" >= int(0) +string(6) "string" >= string(6) "string" +string(6) "string" >= string(3) "123" +string(6) "string" >= string(3) "2.5" +string(6) "string" >= NULL +string(6) "string" >= bool(true) +string(6) "string" >= bool(false) +string(6) "string" < object(stdClass)#1 (0) {} +string(6) "string" < object(stdClass)#2 (0) {} +string(6) "string" < object(test)#3 (0) {} +string(6) "string" < array(0) {} +string(6) "string" >= int(-2147483648) +string(6) "string" >= string(11) "-2147483648" +string(3) "123" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" >= string(0) "" +string(3) "123" >= int(1) +string(3) "123" >= float(2.5) +string(3) "123" >= int(0) +string(3) "123" < string(6) "string" +string(3) "123" >= string(3) "123" +string(3) "123" >= string(3) "2.5" +string(3) "123" >= NULL +string(3) "123" >= bool(true) +string(3) "123" >= bool(false) +string(3) "123" < object(stdClass)#1 (0) {} +string(3) "123" < object(stdClass)#2 (0) {} +string(3) "123" < object(test)#3 (0) {} +string(3) "123" < array(0) {} +string(3) "123" >= int(-2147483648) +string(3) "123" >= string(11) "-2147483648" +string(3) "2.5" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" >= string(0) "" +string(3) "2.5" >= int(1) +string(3) "2.5" >= float(2.5) +string(3) "2.5" >= int(0) +string(3) "2.5" < string(6) "string" +string(3) "2.5" < string(3) "123" +string(3) "2.5" >= string(3) "2.5" +string(3) "2.5" >= NULL +string(3) "2.5" >= bool(true) +string(3) "2.5" >= bool(false) +string(3) "2.5" < object(stdClass)#1 (0) {} +string(3) "2.5" < object(stdClass)#2 (0) {} +string(3) "2.5" < object(test)#3 (0) {} +string(3) "2.5" < array(0) {} +string(3) "2.5" >= int(-2147483648) +string(3) "2.5" >= string(11) "-2147483648" +NULL < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL >= string(0) "" +NULL < int(1) +NULL < float(2.5) +NULL >= int(0) +NULL < string(6) "string" +NULL < string(3) "123" +NULL < string(3) "2.5" +NULL >= NULL +NULL < bool(true) +NULL >= bool(false) +NULL < object(stdClass)#1 (0) {} +NULL < object(stdClass)#2 (0) {} +NULL < object(test)#3 (0) {} +NULL >= array(0) {} +NULL < int(-2147483648) +NULL < string(11) "-2147483648" +bool(true) >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) >= string(0) "" +bool(true) >= int(1) +bool(true) >= float(2.5) +bool(true) >= int(0) +bool(true) >= string(6) "string" +bool(true) >= string(3) "123" +bool(true) >= string(3) "2.5" +bool(true) >= NULL +bool(true) >= bool(true) +bool(true) >= bool(false) +bool(true) >= object(stdClass)#1 (0) {} +bool(true) >= object(stdClass)#2 (0) {} +bool(true) >= object(test)#3 (0) {} +bool(true) >= array(0) {} +bool(true) >= int(-2147483648) +bool(true) >= string(11) "-2147483648" +bool(false) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) >= string(0) "" +bool(false) < int(1) +bool(false) < float(2.5) +bool(false) >= int(0) +bool(false) < string(6) "string" +bool(false) < string(3) "123" +bool(false) < string(3) "2.5" +bool(false) >= NULL +bool(false) < bool(true) +bool(false) >= bool(false) +bool(false) < object(stdClass)#1 (0) {} +bool(false) < object(stdClass)#2 (0) {} +bool(false) < object(test)#3 (0) {} +bool(false) >= array(0) {} +bool(false) < int(-2147483648) +bool(false) < string(11) "-2147483648" +object(stdClass)#1 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} >= string(0) "" +object(stdClass)#1 (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#1 (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#1 (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#1 (0) {} >= string(6) "string" +object(stdClass)#1 (0) {} >= string(3) "123" +object(stdClass)#1 (0) {} >= string(3) "2.5" +object(stdClass)#1 (0) {} >= NULL +object(stdClass)#1 (0) {} >= bool(true) +object(stdClass)#1 (0) {} >= bool(false) +object(stdClass)#1 (0) {} >= object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} >= object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} < object(test)#3 (0) {} +object(stdClass)#1 (0) {} >= array(0) {} +object(stdClass)#1 (0) {} +HipHop Notice: %a + >= int(-2147483648) +object(stdClass)#1 (0) {} >= string(11) "-2147483648" +object(stdClass)#2 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} >= string(0) "" +object(stdClass)#2 (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#2 (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#2 (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#2 (0) {} >= string(6) "string" +object(stdClass)#2 (0) {} >= string(3) "123" +object(stdClass)#2 (0) {} >= string(3) "2.5" +object(stdClass)#2 (0) {} >= NULL +object(stdClass)#2 (0) {} >= bool(true) +object(stdClass)#2 (0) {} >= bool(false) +object(stdClass)#2 (0) {} >= object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} >= object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} < object(test)#3 (0) {} +object(stdClass)#2 (0) {} >= array(0) {} +object(stdClass)#2 (0) {} +HipHop Notice: %a + >= int(-2147483648) +object(stdClass)#2 (0) {} >= string(11) "-2147483648" +object(test)#3 (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} >= string(0) "" +object(test)#3 (0) {} +HipHop Notice: %a + >= int(1) +object(test)#3 (0) {} +HipHop Notice: %a + < float(2.5) +object(test)#3 (0) {} +HipHop Notice: %a + >= int(0) +object(test)#3 (0) {} >= string(6) "string" +object(test)#3 (0) {} >= string(3) "123" +object(test)#3 (0) {} >= string(3) "2.5" +object(test)#3 (0) {} >= NULL +object(test)#3 (0) {} >= bool(true) +object(test)#3 (0) {} >= bool(false) +object(test)#3 (0) {} < object(stdClass)#1 (0) {} +object(test)#3 (0) {} < object(stdClass)#2 (0) {} +object(test)#3 (0) {} >= object(test)#3 (0) {} +object(test)#3 (0) {} >= array(0) {} +object(test)#3 (0) {} +HipHop Notice: %a + >= int(-2147483648) +object(test)#3 (0) {} >= string(11) "-2147483648" +array(0) {} < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} >= string(0) "" +array(0) {} >= int(1) +array(0) {} >= float(2.5) +array(0) {} >= int(0) +array(0) {} >= string(6) "string" +array(0) {} >= string(3) "123" +array(0) {} >= string(3) "2.5" +array(0) {} >= NULL +array(0) {} < bool(true) +array(0) {} >= bool(false) +array(0) {} < object(stdClass)#1 (0) {} +array(0) {} < object(stdClass)#2 (0) {} +array(0) {} < object(test)#3 (0) {} +array(0) {} >= array(0) {} +array(0) {} >= int(-2147483648) +array(0) {} >= string(11) "-2147483648" +int(-2147483648) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-2147483648) < string(0) "" +int(-2147483648) < int(1) +int(-2147483648) < float(2.5) +int(-2147483648) < int(0) +int(-2147483648) < string(6) "string" +int(-2147483648) < string(3) "123" +int(-2147483648) < string(3) "2.5" +int(-2147483648) >= NULL +int(-2147483648) >= bool(true) +int(-2147483648) >= bool(false) +int(-2147483648) +HipHop Notice: %a + < object(stdClass)#1 (0) {} +int(-2147483648) +HipHop Notice: %a + < object(stdClass)#2 (0) {} +int(-2147483648) +HipHop Notice: %a + < object(test)#3 (0) {} +int(-2147483648) < array(0) {} +int(-2147483648) >= int(-2147483648) +int(-2147483648) >= string(11) "-2147483648" +string(11) "-2147483648" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(11) "-2147483648" >= string(0) "" +string(11) "-2147483648" < int(1) +string(11) "-2147483648" < float(2.5) +string(11) "-2147483648" < int(0) +string(11) "-2147483648" < string(6) "string" +string(11) "-2147483648" < string(3) "123" +string(11) "-2147483648" < string(3) "2.5" +string(11) "-2147483648" >= NULL +string(11) "-2147483648" >= bool(true) +string(11) "-2147483648" >= bool(false) +string(11) "-2147483648" < object(stdClass)#1 (0) {} +string(11) "-2147483648" < object(stdClass)#2 (0) {} +string(11) "-2147483648" < object(test)#3 (0) {} +string(11) "-2147483648" < array(0) {} +string(11) "-2147483648" >= int(-2147483648) +string(11) "-2147483648" >= string(11) "-2147483648" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_005_64bit.php.exp b/hphp/test/zend/bad/zend/compare_005_64bit.php.exp deleted file mode 100644 index 5032c635f..000000000 --- a/hphp/test/zend/bad/zend/compare_005_64bit.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ int\(\-9223372036854775808\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(0\)\ \"\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \>\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\ int\(1\)\ -string\(0\)\ \"\"\ \<\ float\(2\.5\)\ -string\(0\)\ \"\"\ \>\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \>\=\ NULL\ -string\(0\)\ \"\"\ \<\ bool\(true\)\ -string\(0\)\ \"\"\ \>\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(0\)\ \"\"\ \<\ string\(20\)\ \"\-9223372036854775808\"\ -int\(1\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\=\ string\(0\)\ \"\"\ -int\(1\)\ \>\=\ int\(1\)\ -int\(1\)\ \<\ float\(2\.5\)\ -int\(1\)\ \>\=\ int\(0\)\ -int\(1\)\ \>\=\ string\(6\)\ \"string\"\ -int\(1\)\ \<\ string\(3\)\ \"123\"\ -int\(1\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\=\ NULL\ -int\(1\)\ \>\=\ bool\(true\)\ -int\(1\)\ \>\=\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ \<\ array\(0\)\ \{\}\ -int\(1\)\ \>\=\ int\(\-9223372036854775808\)\ -int\(1\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -float\(2\.5\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\=\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\=\ int\(1\)\ -float\(2\.5\)\ \>\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\=\ int\(0\)\ -float\(2\.5\)\ \>\=\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \>\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\=\ NULL\ -float\(2\.5\)\ \>\=\ bool\(true\)\ -float\(2\.5\)\ \>\=\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\=\ int\(\-9223372036854775808\)\ -float\(2\.5\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(0\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \>\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\ int\(1\)\ -int\(0\)\ \<\ float\(2\.5\)\ -int\(0\)\ \>\=\ int\(0\)\ -int\(0\)\ \>\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\ string\(3\)\ \"123\"\ -int\(0\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \>\=\ NULL\ -int\(0\)\ \<\ bool\(true\)\ -int\(0\)\ \>\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ \<\ array\(0\)\ \{\}\ -int\(0\)\ \>\=\ int\(\-9223372036854775808\)\ -int\(0\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(6\)\ \"string\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\=\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\ int\(1\)\ -string\(6\)\ \"string\"\ \<\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \>\=\ int\(0\)\ -string\(6\)\ \"string\"\ \>\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\=\ NULL\ -string\(6\)\ \"string\"\ \>\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\=\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(6\)\ \"string\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"123\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\=\ int\(1\)\ -string\(3\)\ \"123\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\=\ int\(0\)\ -string\(3\)\ \"123\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\=\ NULL\ -string\(3\)\ \"123\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(3\)\ \"123\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"2\.5\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \>\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\=\ NULL\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\=\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(3\)\ \"2\.5\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -NULL\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \>\=\ string\(0\)\ \"\"\ -NULL\ \<\ int\(1\)\ -NULL\ \<\ float\(2\.5\)\ -NULL\ \>\=\ int\(0\)\ -NULL\ \<\ string\(6\)\ \"string\"\ -NULL\ \<\ string\(3\)\ \"123\"\ -NULL\ \<\ string\(3\)\ \"2\.5\"\ -NULL\ \>\=\ NULL\ -NULL\ \<\ bool\(true\)\ -NULL\ \>\=\ bool\(false\)\ -NULL\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -NULL\ \>\=\ array\(0\)\ \{\}\ -NULL\ \<\ int\(\-9223372036854775808\)\ -NULL\ \<\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(true\)\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\=\ string\(0\)\ \"\"\ -bool\(true\)\ \>\=\ int\(1\)\ -bool\(true\)\ \>\=\ float\(2\.5\)\ -bool\(true\)\ \>\=\ int\(0\)\ -bool\(true\)\ \>\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \>\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\=\ NULL\ -bool\(true\)\ \>\=\ bool\(true\)\ -bool\(true\)\ \>\=\ bool\(false\)\ -bool\(true\)\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\=\ array\(0\)\ \{\}\ -bool\(true\)\ \>\=\ int\(\-9223372036854775808\)\ -bool\(true\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(false\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \>\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\ int\(1\)\ -bool\(false\)\ \<\ float\(2\.5\)\ -bool\(false\)\ \>\=\ int\(0\)\ -bool\(false\)\ \<\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \>\=\ NULL\ -bool\(false\)\ \<\ bool\(true\)\ -bool\(false\)\ \>\=\ bool\(false\)\ -bool\(false\)\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \>\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\ int\(\-9223372036854775808\)\ -bool\(false\)\ \<\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(1\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\ float\(2\.5\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(0\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ NULL\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(true\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ bool\(false\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\=\ int\(\-9223372036854775808\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -array\(0\)\ \{\}\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\=\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\=\ int\(1\)\ -array\(0\)\ \{\}\ \>\=\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\=\ int\(0\)\ -array\(0\)\ \{\}\ \>\=\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\=\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \>\=\ NULL\ -array\(0\)\ \{\}\ \<\ bool\(true\)\ -array\(0\)\ \{\}\ \>\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\=\ int\(\-9223372036854775808\)\ -array\(0\)\ \{\}\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(\-9223372036854775808\)\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-9223372036854775808\)\ \<\ string\(0\)\ \"\"\ -int\(\-9223372036854775808\)\ \<\ int\(1\)\ -int\(\-9223372036854775808\)\ \<\ float\(2\.5\)\ -int\(\-9223372036854775808\)\ \<\ int\(0\)\ -int\(\-9223372036854775808\)\ \<\ string\(6\)\ \"string\"\ -int\(\-9223372036854775808\)\ \<\ string\(3\)\ \"123\"\ -int\(\-9223372036854775808\)\ \<\ string\(3\)\ \"2\.5\"\ -int\(\-9223372036854775808\)\ \>\=\ NULL\ -int\(\-9223372036854775808\)\ \>\=\ bool\(true\)\ -int\(\-9223372036854775808\)\ \>\=\ bool\(false\)\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \<\ array\(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \>\=\ int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ string\(0\)\ \"\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ int\(1\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ float\(2\.5\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ int\(0\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ string\(6\)\ \"string\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ string\(3\)\ \"123\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ string\(3\)\ \"2\.5\"\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ NULL\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ bool\(true\)\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ bool\(false\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\ array\(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ int\(\-9223372036854775808\)\ -string\(20\)\ \"\-9223372036854775808\"\ \>\=\ string\(20\)\ \"\-9223372036854775808\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_005_64bit.php.expectf b/hphp/test/zend/bad/zend/compare_005_64bit.php.expectf new file mode 100644 index 000000000..3ae14e89f --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_005_64bit.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= string(20) "-9223372036854775808" +string(0) "" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" >= string(0) "" +string(0) "" < int(1) +string(0) "" < float(2.5) +string(0) "" >= int(0) +string(0) "" < string(6) "string" +string(0) "" < string(3) "123" +string(0) "" < string(3) "2.5" +string(0) "" >= NULL +string(0) "" < bool(true) +string(0) "" >= bool(false) +string(0) "" < object(stdClass)#%d (0) {} +string(0) "" < object(stdClass)#%d (0) {} +string(0) "" < object(test)#%d (0) {} +string(0) "" < array(0) {} +string(0) "" >= int(-9223372036854775808) +string(0) "" < string(20) "-9223372036854775808" +int(1) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) >= string(0) "" +int(1) >= int(1) +int(1) < float(2.5) +int(1) >= int(0) +int(1) >= string(6) "string" +int(1) < string(3) "123" +int(1) < string(3) "2.5" +int(1) >= NULL +int(1) >= bool(true) +int(1) >= bool(false) +int(1) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + >= object(test)#%d (0) {} +int(1) < array(0) {} +int(1) >= int(-9223372036854775808) +int(1) >= string(20) "-9223372036854775808" +float(2.5) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) >= string(0) "" +float(2.5) >= int(1) +float(2.5) >= float(2.5) +float(2.5) >= int(0) +float(2.5) >= string(6) "string" +float(2.5) < string(3) "123" +float(2.5) >= string(3) "2.5" +float(2.5) >= NULL +float(2.5) >= bool(true) +float(2.5) >= bool(false) +float(2.5) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + >= object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + >= object(test)#%d (0) {} +float(2.5) < array(0) {} +float(2.5) >= int(-9223372036854775808) +float(2.5) >= string(20) "-9223372036854775808" +int(0) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) >= string(0) "" +int(0) < int(1) +int(0) < float(2.5) +int(0) >= int(0) +int(0) >= string(6) "string" +int(0) < string(3) "123" +int(0) < string(3) "2.5" +int(0) >= NULL +int(0) < bool(true) +int(0) >= bool(false) +int(0) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + < object(test)#%d (0) {} +int(0) < array(0) {} +int(0) >= int(-9223372036854775808) +int(0) >= string(20) "-9223372036854775808" +string(6) "string" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" >= string(0) "" +string(6) "string" < int(1) +string(6) "string" < float(2.5) +string(6) "string" >= int(0) +string(6) "string" >= string(6) "string" +string(6) "string" >= string(3) "123" +string(6) "string" >= string(3) "2.5" +string(6) "string" >= NULL +string(6) "string" >= bool(true) +string(6) "string" >= bool(false) +string(6) "string" < object(stdClass)#%d (0) {} +string(6) "string" < object(stdClass)#%d (0) {} +string(6) "string" < object(test)#%d (0) {} +string(6) "string" < array(0) {} +string(6) "string" >= int(-9223372036854775808) +string(6) "string" >= string(20) "-9223372036854775808" +string(3) "123" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" >= string(0) "" +string(3) "123" >= int(1) +string(3) "123" >= float(2.5) +string(3) "123" >= int(0) +string(3) "123" < string(6) "string" +string(3) "123" >= string(3) "123" +string(3) "123" >= string(3) "2.5" +string(3) "123" >= NULL +string(3) "123" >= bool(true) +string(3) "123" >= bool(false) +string(3) "123" < object(stdClass)#%d (0) {} +string(3) "123" < object(stdClass)#%d (0) {} +string(3) "123" < object(test)#%d (0) {} +string(3) "123" < array(0) {} +string(3) "123" >= int(-9223372036854775808) +string(3) "123" >= string(20) "-9223372036854775808" +string(3) "2.5" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" >= string(0) "" +string(3) "2.5" >= int(1) +string(3) "2.5" >= float(2.5) +string(3) "2.5" >= int(0) +string(3) "2.5" < string(6) "string" +string(3) "2.5" < string(3) "123" +string(3) "2.5" >= string(3) "2.5" +string(3) "2.5" >= NULL +string(3) "2.5" >= bool(true) +string(3) "2.5" >= bool(false) +string(3) "2.5" < object(stdClass)#%d (0) {} +string(3) "2.5" < object(stdClass)#%d (0) {} +string(3) "2.5" < object(test)#%d (0) {} +string(3) "2.5" < array(0) {} +string(3) "2.5" >= int(-9223372036854775808) +string(3) "2.5" >= string(20) "-9223372036854775808" +NULL < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL >= string(0) "" +NULL < int(1) +NULL < float(2.5) +NULL >= int(0) +NULL < string(6) "string" +NULL < string(3) "123" +NULL < string(3) "2.5" +NULL >= NULL +NULL < bool(true) +NULL >= bool(false) +NULL < object(stdClass)#%d (0) {} +NULL < object(stdClass)#%d (0) {} +NULL < object(test)#%d (0) {} +NULL >= array(0) {} +NULL < int(-9223372036854775808) +NULL < string(20) "-9223372036854775808" +bool(true) >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) >= string(0) "" +bool(true) >= int(1) +bool(true) >= float(2.5) +bool(true) >= int(0) +bool(true) >= string(6) "string" +bool(true) >= string(3) "123" +bool(true) >= string(3) "2.5" +bool(true) >= NULL +bool(true) >= bool(true) +bool(true) >= bool(false) +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(test)#%d (0) {} +bool(true) >= array(0) {} +bool(true) >= int(-9223372036854775808) +bool(true) >= string(20) "-9223372036854775808" +bool(false) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) >= string(0) "" +bool(false) < int(1) +bool(false) < float(2.5) +bool(false) >= int(0) +bool(false) < string(6) "string" +bool(false) < string(3) "123" +bool(false) < string(3) "2.5" +bool(false) >= NULL +bool(false) < bool(true) +bool(false) >= bool(false) +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(test)#%d (0) {} +bool(false) >= array(0) {} +bool(false) < int(-9223372036854775808) +bool(false) < string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#%d (0) {} >= string(6) "string" +object(stdClass)#%d (0) {} >= string(3) "123" +object(stdClass)#%d (0) {} >= string(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} < object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + < float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(0) +object(stdClass)#%d (0) {} >= string(6) "string" +object(stdClass)#%d (0) {} >= string(3) "123" +object(stdClass)#%d (0) {} >= string(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} < object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= string(20) "-9223372036854775808" +object(test)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} >= string(0) "" +object(test)#%d (0) {} +HipHop Notice: %a + >= int(1) +object(test)#%d (0) {} +HipHop Notice: %a + < float(2.5) +object(test)#%d (0) {} +HipHop Notice: %a + >= int(0) +object(test)#%d (0) {} >= string(6) "string" +object(test)#%d (0) {} >= string(3) "123" +object(test)#%d (0) {} >= string(3) "2.5" +object(test)#%d (0) {} >= NULL +object(test)#%d (0) {} >= bool(true) +object(test)#%d (0) {} >= bool(false) +object(test)#%d (0) {} < object(stdClass)#%d (0) {} +object(test)#%d (0) {} < object(stdClass)#%d (0) {} +object(test)#%d (0) {} >= object(test)#%d (0) {} +object(test)#%d (0) {} >= array(0) {} +object(test)#%d (0) {} +HipHop Notice: %a + >= int(-9223372036854775808) +object(test)#%d (0) {} >= string(20) "-9223372036854775808" +array(0) {} < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} >= string(0) "" +array(0) {} >= int(1) +array(0) {} >= float(2.5) +array(0) {} >= int(0) +array(0) {} >= string(6) "string" +array(0) {} >= string(3) "123" +array(0) {} >= string(3) "2.5" +array(0) {} >= NULL +array(0) {} < bool(true) +array(0) {} >= bool(false) +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(test)#%d (0) {} +array(0) {} >= array(0) {} +array(0) {} >= int(-9223372036854775808) +array(0) {} >= string(20) "-9223372036854775808" +int(-9223372036854775808) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) < string(0) "" +int(-9223372036854775808) < int(1) +int(-9223372036854775808) < float(2.5) +int(-9223372036854775808) < int(0) +int(-9223372036854775808) < string(6) "string" +int(-9223372036854775808) < string(3) "123" +int(-9223372036854775808) < string(3) "2.5" +int(-9223372036854775808) >= NULL +int(-9223372036854775808) >= bool(true) +int(-9223372036854775808) >= bool(false) +int(-9223372036854775808) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + < object(test)#%d (0) {} +int(-9223372036854775808) < array(0) {} +int(-9223372036854775808) >= int(-9223372036854775808) +int(-9223372036854775808) >= string(20) "-9223372036854775808" +string(20) "-9223372036854775808" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(20) "-9223372036854775808" >= string(0) "" +string(20) "-9223372036854775808" < int(1) +string(20) "-9223372036854775808" < float(2.5) +string(20) "-9223372036854775808" < int(0) +string(20) "-9223372036854775808" < string(6) "string" +string(20) "-9223372036854775808" < string(3) "123" +string(20) "-9223372036854775808" < string(3) "2.5" +string(20) "-9223372036854775808" >= NULL +string(20) "-9223372036854775808" >= bool(true) +string(20) "-9223372036854775808" >= bool(false) +string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" < object(test)#%d (0) {} +string(20) "-9223372036854775808" < array(0) {} +string(20) "-9223372036854775808" >= int(-9223372036854775808) +string(20) "-9223372036854775808" >= string(20) "-9223372036854775808" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_006.php.exp b/hphp/test/zend/bad/zend/compare_006.php.exp deleted file mode 100644 index af464b593..000000000 --- a/hphp/test/zend/bad/zend/compare_006.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(\-2147483648\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(0\)\ \"\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \<\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\=\ int\(1\)\ -string\(0\)\ \"\"\ \<\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \<\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \<\=\ NULL\ -string\(0\)\ \"\"\ \<\=\ bool\(true\)\ -string\(0\)\ \"\"\ \<\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\ int\(\-2147483648\)\ -string\(0\)\ \"\"\ \<\=\ string\(11\)\ \"\-2147483648\"\ -int\(1\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\ string\(0\)\ \"\"\ -int\(1\)\ \<\=\ int\(1\)\ -int\(1\)\ \<\=\ float\(2\.5\)\ -int\(1\)\ \>\ int\(0\)\ -int\(1\)\ \>\ string\(6\)\ \"string\"\ -int\(1\)\ \<\=\ string\(3\)\ \"123\"\ -int\(1\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\ NULL\ -int\(1\)\ \<\=\ bool\(true\)\ -int\(1\)\ \>\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(1\)\ \<\=\ array\(0\)\ \{\}\ -int\(1\)\ \>\ int\(\-2147483648\)\ -int\(1\)\ \>\ string\(11\)\ \"\-2147483648\"\ -float\(2\.5\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\ int\(1\)\ -float\(2\.5\)\ \<\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\ int\(0\)\ -float\(2\.5\)\ \>\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\ NULL\ -float\(2\.5\)\ \<\=\ bool\(true\)\ -float\(2\.5\)\ \>\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(test\)\#3\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\ int\(\-2147483648\)\ -float\(2\.5\)\ \>\ string\(11\)\ \"\-2147483648\"\ -int\(0\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \<\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\=\ int\(1\)\ -int\(0\)\ \<\=\ float\(2\.5\)\ -int\(0\)\ \<\=\ int\(0\)\ -int\(0\)\ \<\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\=\ string\(3\)\ \"123\"\ -int\(0\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \<\=\ NULL\ -int\(0\)\ \<\=\ bool\(true\)\ -int\(0\)\ \<\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(0\)\ \<\=\ array\(0\)\ \{\}\ -int\(0\)\ \>\ int\(\-2147483648\)\ -int\(0\)\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(6\)\ \"string\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\=\ int\(1\)\ -string\(6\)\ \"string\"\ \<\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \<\=\ int\(0\)\ -string\(6\)\ \"string\"\ \<\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\ NULL\ -string\(6\)\ \"string\"\ \<\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\ int\(\-2147483648\)\ -string\(6\)\ \"string\"\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"123\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\ int\(1\)\ -string\(3\)\ \"123\"\ \>\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\ int\(0\)\ -string\(3\)\ \"123\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\ NULL\ -string\(3\)\ \"123\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\ int\(\-2147483648\)\ -string\(3\)\ \"123\"\ \>\ string\(11\)\ \"\-2147483648\"\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \<\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\ NULL\ -string\(3\)\ \"2\.5\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\ int\(\-2147483648\)\ -string\(3\)\ \"2\.5\"\ \>\ string\(11\)\ \"\-2147483648\"\ -NULL\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \<\=\ string\(0\)\ \"\"\ -NULL\ \<\=\ int\(1\)\ -NULL\ \<\=\ float\(2\.5\)\ -NULL\ \<\=\ int\(0\)\ -NULL\ \<\=\ string\(6\)\ \"string\"\ -NULL\ \<\=\ string\(3\)\ \"123\"\ -NULL\ \<\=\ string\(3\)\ \"2\.5\"\ -NULL\ \<\=\ NULL\ -NULL\ \<\=\ bool\(true\)\ -NULL\ \<\=\ bool\(false\)\ -NULL\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -NULL\ \<\=\ array\(0\)\ \{\}\ -NULL\ \<\=\ int\(\-2147483648\)\ -NULL\ \<\=\ string\(11\)\ \"\-2147483648\"\ -bool\(true\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\ string\(0\)\ \"\"\ -bool\(true\)\ \<\=\ int\(1\)\ -bool\(true\)\ \<\=\ float\(2\.5\)\ -bool\(true\)\ \>\ int\(0\)\ -bool\(true\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\ NULL\ -bool\(true\)\ \<\=\ bool\(true\)\ -bool\(true\)\ \>\ bool\(false\)\ -bool\(true\)\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(true\)\ \>\ array\(0\)\ \{\}\ -bool\(true\)\ \<\=\ int\(\-2147483648\)\ -bool\(true\)\ \<\=\ string\(11\)\ \"\-2147483648\"\ -bool\(false\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \<\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\=\ int\(1\)\ -bool\(false\)\ \<\=\ float\(2\.5\)\ -bool\(false\)\ \<\=\ int\(0\)\ -bool\(false\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \<\=\ NULL\ -bool\(false\)\ \<\=\ bool\(true\)\ -bool\(false\)\ \<\=\ bool\(false\)\ -bool\(false\)\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\=\ int\(\-2147483648\)\ -bool\(false\)\ \<\=\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-2147483648\)\ -object\(stdClass\)\#1\ \(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-2147483648\)\ -object\(stdClass\)\#2\ \(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ NULL\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(test\)\#3\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-2147483648\)\ -object\(test\)\#3\ \(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -array\(0\)\ \{\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\ int\(1\)\ -array\(0\)\ \{\}\ \>\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\ int\(0\)\ -array\(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \<\=\ NULL\ -array\(0\)\ \{\}\ \<\=\ bool\(true\)\ -array\(0\)\ \{\}\ \<\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\ int\(\-2147483648\)\ -array\(0\)\ \{\}\ \>\ string\(11\)\ \"\-2147483648\"\ -int\(\-2147483648\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-2147483648\)\ \<\=\ string\(0\)\ \"\"\ -int\(\-2147483648\)\ \<\=\ int\(1\)\ -int\(\-2147483648\)\ \<\=\ float\(2\.5\)\ -int\(\-2147483648\)\ \<\=\ int\(0\)\ -int\(\-2147483648\)\ \<\=\ string\(6\)\ \"string\"\ -int\(\-2147483648\)\ \<\=\ string\(3\)\ \"123\"\ -int\(\-2147483648\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(\-2147483648\)\ \>\ NULL\ -int\(\-2147483648\)\ \<\=\ bool\(true\)\ -int\(\-2147483648\)\ \>\ bool\(false\)\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -int\(\-2147483648\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -int\(\-2147483648\)\ \<\=\ array\(0\)\ \{\}\ -int\(\-2147483648\)\ \<\=\ int\(\-2147483648\)\ -int\(\-2147483648\)\ \<\=\ string\(11\)\ \"\-2147483648\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(11\)\ \"\-2147483648\"\ \>\ string\(0\)\ \"\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ int\(1\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ float\(2\.5\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ int\(0\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(6\)\ \"string\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(3\)\ \"123\"\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(11\)\ \"\-2147483648\"\ \>\ NULL\ -string\(11\)\ \"\-2147483648\"\ \<\=\ bool\(true\)\ -string\(11\)\ \"\-2147483648\"\ \>\ bool\(false\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ object\(test\)\#3\ \(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ array\(0\)\ \{\}\ -string\(11\)\ \"\-2147483648\"\ \<\=\ int\(\-2147483648\)\ -string\(11\)\ \"\-2147483648\"\ \<\=\ string\(11\)\ \"\-2147483648\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_006.php.expectf b/hphp/test/zend/bad/zend/compare_006.php.expectf new file mode 100644 index 000000000..721ec4b25 --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_006.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-2147483648) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(11) "-2147483648" +string(0) "" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" <= string(0) "" +string(0) "" <= int(1) +string(0) "" <= float(2.5) +string(0) "" <= int(0) +string(0) "" <= string(6) "string" +string(0) "" <= string(3) "123" +string(0) "" <= string(3) "2.5" +string(0) "" <= NULL +string(0) "" <= bool(true) +string(0) "" <= bool(false) +string(0) "" <= object(stdClass)#1 (0) {} +string(0) "" <= object(stdClass)#2 (0) {} +string(0) "" <= object(test)#3 (0) {} +string(0) "" <= array(0) {} +string(0) "" > int(-2147483648) +string(0) "" <= string(11) "-2147483648" +int(1) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) > string(0) "" +int(1) <= int(1) +int(1) <= float(2.5) +int(1) > int(0) +int(1) > string(6) "string" +int(1) <= string(3) "123" +int(1) <= string(3) "2.5" +int(1) > NULL +int(1) <= bool(true) +int(1) > bool(false) +int(1) +HipHop Notice: %a + <= object(stdClass)#1 (0) {} +int(1) +HipHop Notice: %a + <= object(stdClass)#2 (0) {} +int(1) +HipHop Notice: %a + <= object(test)#3 (0) {} +int(1) <= array(0) {} +int(1) > int(-2147483648) +int(1) > string(11) "-2147483648" +float(2.5) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) > string(0) "" +float(2.5) > int(1) +float(2.5) <= float(2.5) +float(2.5) > int(0) +float(2.5) > string(6) "string" +float(2.5) <= string(3) "123" +float(2.5) <= string(3) "2.5" +float(2.5) > NULL +float(2.5) <= bool(true) +float(2.5) > bool(false) +float(2.5) +HipHop Notice: %a + > object(stdClass)#1 (0) {} +float(2.5) +HipHop Notice: %a + > object(stdClass)#2 (0) {} +float(2.5) +HipHop Notice: %a + > object(test)#3 (0) {} +float(2.5) <= array(0) {} +float(2.5) > int(-2147483648) +float(2.5) > string(11) "-2147483648" +int(0) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) <= string(0) "" +int(0) <= int(1) +int(0) <= float(2.5) +int(0) <= int(0) +int(0) <= string(6) "string" +int(0) <= string(3) "123" +int(0) <= string(3) "2.5" +int(0) <= NULL +int(0) <= bool(true) +int(0) <= bool(false) +int(0) +HipHop Notice: %a + <= object(stdClass)#1 (0) {} +int(0) +HipHop Notice: %a + <= object(stdClass)#2 (0) {} +int(0) +HipHop Notice: %a + <= object(test)#3 (0) {} +int(0) <= array(0) {} +int(0) > int(-2147483648) +int(0) > string(11) "-2147483648" +string(6) "string" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" > string(0) "" +string(6) "string" <= int(1) +string(6) "string" <= float(2.5) +string(6) "string" <= int(0) +string(6) "string" <= string(6) "string" +string(6) "string" > string(3) "123" +string(6) "string" > string(3) "2.5" +string(6) "string" > NULL +string(6) "string" <= bool(true) +string(6) "string" > bool(false) +string(6) "string" <= object(stdClass)#1 (0) {} +string(6) "string" <= object(stdClass)#2 (0) {} +string(6) "string" <= object(test)#3 (0) {} +string(6) "string" <= array(0) {} +string(6) "string" > int(-2147483648) +string(6) "string" > string(11) "-2147483648" +string(3) "123" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" > string(0) "" +string(3) "123" > int(1) +string(3) "123" > float(2.5) +string(3) "123" > int(0) +string(3) "123" <= string(6) "string" +string(3) "123" <= string(3) "123" +string(3) "123" > string(3) "2.5" +string(3) "123" > NULL +string(3) "123" <= bool(true) +string(3) "123" > bool(false) +string(3) "123" <= object(stdClass)#1 (0) {} +string(3) "123" <= object(stdClass)#2 (0) {} +string(3) "123" <= object(test)#3 (0) {} +string(3) "123" <= array(0) {} +string(3) "123" > int(-2147483648) +string(3) "123" > string(11) "-2147483648" +string(3) "2.5" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" > string(0) "" +string(3) "2.5" > int(1) +string(3) "2.5" <= float(2.5) +string(3) "2.5" > int(0) +string(3) "2.5" <= string(6) "string" +string(3) "2.5" <= string(3) "123" +string(3) "2.5" <= string(3) "2.5" +string(3) "2.5" > NULL +string(3) "2.5" <= bool(true) +string(3) "2.5" > bool(false) +string(3) "2.5" <= object(stdClass)#1 (0) {} +string(3) "2.5" <= object(stdClass)#2 (0) {} +string(3) "2.5" <= object(test)#3 (0) {} +string(3) "2.5" <= array(0) {} +string(3) "2.5" > int(-2147483648) +string(3) "2.5" > string(11) "-2147483648" +NULL <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL <= string(0) "" +NULL <= int(1) +NULL <= float(2.5) +NULL <= int(0) +NULL <= string(6) "string" +NULL <= string(3) "123" +NULL <= string(3) "2.5" +NULL <= NULL +NULL <= bool(true) +NULL <= bool(false) +NULL <= object(stdClass)#1 (0) {} +NULL <= object(stdClass)#2 (0) {} +NULL <= object(test)#3 (0) {} +NULL <= array(0) {} +NULL <= int(-2147483648) +NULL <= string(11) "-2147483648" +bool(true) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) > string(0) "" +bool(true) <= int(1) +bool(true) <= float(2.5) +bool(true) > int(0) +bool(true) <= string(6) "string" +bool(true) <= string(3) "123" +bool(true) <= string(3) "2.5" +bool(true) > NULL +bool(true) <= bool(true) +bool(true) > bool(false) +bool(true) <= object(stdClass)#1 (0) {} +bool(true) <= object(stdClass)#2 (0) {} +bool(true) <= object(test)#3 (0) {} +bool(true) > array(0) {} +bool(true) <= int(-2147483648) +bool(true) <= string(11) "-2147483648" +bool(false) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) <= string(0) "" +bool(false) <= int(1) +bool(false) <= float(2.5) +bool(false) <= int(0) +bool(false) <= string(6) "string" +bool(false) <= string(3) "123" +bool(false) <= string(3) "2.5" +bool(false) <= NULL +bool(false) <= bool(true) +bool(false) <= bool(false) +bool(false) <= object(stdClass)#1 (0) {} +bool(false) <= object(stdClass)#2 (0) {} +bool(false) <= object(test)#3 (0) {} +bool(false) <= array(0) {} +bool(false) <= int(-2147483648) +bool(false) <= string(11) "-2147483648" +object(stdClass)#1 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} > string(0) "" +object(stdClass)#1 (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#1 (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#1 (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#1 (0) {} > string(6) "string" +object(stdClass)#1 (0) {} > string(3) "123" +object(stdClass)#1 (0) {} > string(3) "2.5" +object(stdClass)#1 (0) {} > NULL +object(stdClass)#1 (0) {} <= bool(true) +object(stdClass)#1 (0) {} > bool(false) +object(stdClass)#1 (0) {} <= object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} <= object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} > object(test)#3 (0) {} +object(stdClass)#1 (0) {} > array(0) {} +object(stdClass)#1 (0) {} +HipHop Notice: %a + > int(-2147483648) +object(stdClass)#1 (0) {} > string(11) "-2147483648" +object(stdClass)#2 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} > string(0) "" +object(stdClass)#2 (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#2 (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#2 (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#2 (0) {} > string(6) "string" +object(stdClass)#2 (0) {} > string(3) "123" +object(stdClass)#2 (0) {} > string(3) "2.5" +object(stdClass)#2 (0) {} > NULL +object(stdClass)#2 (0) {} <= bool(true) +object(stdClass)#2 (0) {} > bool(false) +object(stdClass)#2 (0) {} <= object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} <= object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} > object(test)#3 (0) {} +object(stdClass)#2 (0) {} > array(0) {} +object(stdClass)#2 (0) {} +HipHop Notice: %a + > int(-2147483648) +object(stdClass)#2 (0) {} > string(11) "-2147483648" +object(test)#3 (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} > string(0) "" +object(test)#3 (0) {} +HipHop Notice: %a + <= int(1) +object(test)#3 (0) {} +HipHop Notice: %a + <= float(2.5) +object(test)#3 (0) {} +HipHop Notice: %a + > int(0) +object(test)#3 (0) {} > string(6) "string" +object(test)#3 (0) {} > string(3) "123" +object(test)#3 (0) {} > string(3) "2.5" +object(test)#3 (0) {} > NULL +object(test)#3 (0) {} <= bool(true) +object(test)#3 (0) {} > bool(false) +object(test)#3 (0) {} > object(stdClass)#1 (0) {} +object(test)#3 (0) {} > object(stdClass)#2 (0) {} +object(test)#3 (0) {} <= object(test)#3 (0) {} +object(test)#3 (0) {} > array(0) {} +object(test)#3 (0) {} +HipHop Notice: %a + > int(-2147483648) +object(test)#3 (0) {} > string(11) "-2147483648" +array(0) {} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} > string(0) "" +array(0) {} > int(1) +array(0) {} > float(2.5) +array(0) {} > int(0) +array(0) {} > string(6) "string" +array(0) {} > string(3) "123" +array(0) {} > string(3) "2.5" +array(0) {} <= NULL +array(0) {} <= bool(true) +array(0) {} <= bool(false) +array(0) {} <= object(stdClass)#1 (0) {} +array(0) {} <= object(stdClass)#2 (0) {} +array(0) {} <= object(test)#3 (0) {} +array(0) {} <= array(0) {} +array(0) {} > int(-2147483648) +array(0) {} > string(11) "-2147483648" +int(-2147483648) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-2147483648) <= string(0) "" +int(-2147483648) <= int(1) +int(-2147483648) <= float(2.5) +int(-2147483648) <= int(0) +int(-2147483648) <= string(6) "string" +int(-2147483648) <= string(3) "123" +int(-2147483648) <= string(3) "2.5" +int(-2147483648) > NULL +int(-2147483648) <= bool(true) +int(-2147483648) > bool(false) +int(-2147483648) +HipHop Notice: %a + <= object(stdClass)#1 (0) {} +int(-2147483648) +HipHop Notice: %a + <= object(stdClass)#2 (0) {} +int(-2147483648) +HipHop Notice: %a + <= object(test)#3 (0) {} +int(-2147483648) <= array(0) {} +int(-2147483648) <= int(-2147483648) +int(-2147483648) <= string(11) "-2147483648" +string(11) "-2147483648" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(11) "-2147483648" > string(0) "" +string(11) "-2147483648" <= int(1) +string(11) "-2147483648" <= float(2.5) +string(11) "-2147483648" <= int(0) +string(11) "-2147483648" <= string(6) "string" +string(11) "-2147483648" <= string(3) "123" +string(11) "-2147483648" <= string(3) "2.5" +string(11) "-2147483648" > NULL +string(11) "-2147483648" <= bool(true) +string(11) "-2147483648" > bool(false) +string(11) "-2147483648" <= object(stdClass)#1 (0) {} +string(11) "-2147483648" <= object(stdClass)#2 (0) {} +string(11) "-2147483648" <= object(test)#3 (0) {} +string(11) "-2147483648" <= array(0) {} +string(11) "-2147483648" <= int(-2147483648) +string(11) "-2147483648" <= string(11) "-2147483648" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_006_64bit.php.exp b/hphp/test/zend/bad/zend/compare_006_64bit.php.exp deleted file mode 100644 index 0bb9917b5..000000000 --- a/hphp/test/zend/bad/zend/compare_006_64bit.php.exp +++ /dev/null @@ -1,338 +0,0 @@ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(0\)\ \"\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(1\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ float\(2\.5\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(0\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(6\)\ \"string\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"123\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ NULL\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ bool\(true\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ bool\(false\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ array\(0\)\ \{\}\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ int\(\-9223372036854775808\)\ -array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(0\)\ \"\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(0\)\ \"\"\ \<\=\ string\(0\)\ \"\"\ -string\(0\)\ \"\"\ \<\=\ int\(1\)\ -string\(0\)\ \"\"\ \<\=\ float\(2\.5\)\ -string\(0\)\ \"\"\ \<\=\ int\(0\)\ -string\(0\)\ \"\"\ \<\=\ string\(6\)\ \"string\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"123\"\ -string\(0\)\ \"\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(0\)\ \"\"\ \<\=\ NULL\ -string\(0\)\ \"\"\ \<\=\ bool\(true\)\ -string\(0\)\ \"\"\ \<\=\ bool\(false\)\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(0\)\ \"\"\ \<\=\ array\(0\)\ \{\}\ -string\(0\)\ \"\"\ \>\ int\(\-9223372036854775808\)\ -string\(0\)\ \"\"\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -int\(1\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(1\)\ \>\ string\(0\)\ \"\"\ -int\(1\)\ \<\=\ int\(1\)\ -int\(1\)\ \<\=\ float\(2\.5\)\ -int\(1\)\ \>\ int\(0\)\ -int\(1\)\ \>\ string\(6\)\ \"string\"\ -int\(1\)\ \<\=\ string\(3\)\ \"123\"\ -int\(1\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(1\)\ \>\ NULL\ -int\(1\)\ \<\=\ bool\(true\)\ -int\(1\)\ \>\ bool\(false\)\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(1\)\ \<\=\ array\(0\)\ \{\}\ -int\(1\)\ \>\ int\(\-9223372036854775808\)\ -int\(1\)\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -float\(2\.5\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -float\(2\.5\)\ \>\ string\(0\)\ \"\"\ -float\(2\.5\)\ \>\ int\(1\)\ -float\(2\.5\)\ \<\=\ float\(2\.5\)\ -float\(2\.5\)\ \>\ int\(0\)\ -float\(2\.5\)\ \>\ string\(6\)\ \"string\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"123\"\ -float\(2\.5\)\ \<\=\ string\(3\)\ \"2\.5\"\ -float\(2\.5\)\ \>\ NULL\ -float\(2\.5\)\ \<\=\ bool\(true\)\ -float\(2\.5\)\ \>\ bool\(false\)\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ -HipHop Notice: .+ -\ \>\ object\(test\)\#\d+\ \(0\)\ \{\}\ -float\(2\.5\)\ \<\=\ array\(0\)\ \{\}\ -float\(2\.5\)\ \>\ int\(\-9223372036854775808\)\ -float\(2\.5\)\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -int\(0\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(0\)\ \<\=\ string\(0\)\ \"\"\ -int\(0\)\ \<\=\ int\(1\)\ -int\(0\)\ \<\=\ float\(2\.5\)\ -int\(0\)\ \<\=\ int\(0\)\ -int\(0\)\ \<\=\ string\(6\)\ \"string\"\ -int\(0\)\ \<\=\ string\(3\)\ \"123\"\ -int\(0\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(0\)\ \<\=\ NULL\ -int\(0\)\ \<\=\ bool\(true\)\ -int\(0\)\ \<\=\ bool\(false\)\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(0\)\ \<\=\ array\(0\)\ \{\}\ -int\(0\)\ \>\ int\(\-9223372036854775808\)\ -int\(0\)\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(6\)\ \"string\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(6\)\ \"string\"\ \>\ string\(0\)\ \"\"\ -string\(6\)\ \"string\"\ \<\=\ int\(1\)\ -string\(6\)\ \"string\"\ \<\=\ float\(2\.5\)\ -string\(6\)\ \"string\"\ \<\=\ int\(0\)\ -string\(6\)\ \"string\"\ \<\=\ string\(6\)\ \"string\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"123\"\ -string\(6\)\ \"string\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(6\)\ \"string\"\ \>\ NULL\ -string\(6\)\ \"string\"\ \<\=\ bool\(true\)\ -string\(6\)\ \"string\"\ \>\ bool\(false\)\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(6\)\ \"string\"\ \<\=\ array\(0\)\ \{\}\ -string\(6\)\ \"string\"\ \>\ int\(\-9223372036854775808\)\ -string\(6\)\ \"string\"\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"123\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"123\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"123\"\ \>\ int\(1\)\ -string\(3\)\ \"123\"\ \>\ float\(2\.5\)\ -string\(3\)\ \"123\"\ \>\ int\(0\)\ -string\(3\)\ \"123\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"123\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"123\"\ \>\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"123\"\ \>\ NULL\ -string\(3\)\ \"123\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"123\"\ \>\ bool\(false\)\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"123\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"123\"\ \>\ int\(\-9223372036854775808\)\ -string\(3\)\ \"123\"\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(3\)\ \"2\.5\"\ \>\ string\(0\)\ \"\"\ -string\(3\)\ \"2\.5\"\ \>\ int\(1\)\ -string\(3\)\ \"2\.5\"\ \<\=\ float\(2\.5\)\ -string\(3\)\ \"2\.5\"\ \>\ int\(0\)\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(6\)\ \"string\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"123\"\ -string\(3\)\ \"2\.5\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(3\)\ \"2\.5\"\ \>\ NULL\ -string\(3\)\ \"2\.5\"\ \<\=\ bool\(true\)\ -string\(3\)\ \"2\.5\"\ \>\ bool\(false\)\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \<\=\ array\(0\)\ \{\}\ -string\(3\)\ \"2\.5\"\ \>\ int\(\-9223372036854775808\)\ -string\(3\)\ \"2\.5\"\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -NULL\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -NULL\ \<\=\ string\(0\)\ \"\"\ -NULL\ \<\=\ int\(1\)\ -NULL\ \<\=\ float\(2\.5\)\ -NULL\ \<\=\ int\(0\)\ -NULL\ \<\=\ string\(6\)\ \"string\"\ -NULL\ \<\=\ string\(3\)\ \"123\"\ -NULL\ \<\=\ string\(3\)\ \"2\.5\"\ -NULL\ \<\=\ NULL\ -NULL\ \<\=\ bool\(true\)\ -NULL\ \<\=\ bool\(false\)\ -NULL\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -NULL\ \<\=\ array\(0\)\ \{\}\ -NULL\ \<\=\ int\(\-9223372036854775808\)\ -NULL\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(true\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(true\)\ \>\ string\(0\)\ \"\"\ -bool\(true\)\ \<\=\ int\(1\)\ -bool\(true\)\ \<\=\ float\(2\.5\)\ -bool\(true\)\ \>\ int\(0\)\ -bool\(true\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(true\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(true\)\ \>\ NULL\ -bool\(true\)\ \<\=\ bool\(true\)\ -bool\(true\)\ \>\ bool\(false\)\ -bool\(true\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(true\)\ \>\ array\(0\)\ \{\}\ -bool\(true\)\ \<\=\ int\(\-9223372036854775808\)\ -bool\(true\)\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -bool\(false\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -bool\(false\)\ \<\=\ string\(0\)\ \"\"\ -bool\(false\)\ \<\=\ int\(1\)\ -bool\(false\)\ \<\=\ float\(2\.5\)\ -bool\(false\)\ \<\=\ int\(0\)\ -bool\(false\)\ \<\=\ string\(6\)\ \"string\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"123\"\ -bool\(false\)\ \<\=\ string\(3\)\ \"2\.5\"\ -bool\(false\)\ \<\=\ NULL\ -bool\(false\)\ \<\=\ bool\(true\)\ -bool\(false\)\ \<\=\ bool\(false\)\ -bool\(false\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -bool\(false\)\ \<\=\ array\(0\)\ \{\}\ -bool\(false\)\ \<\=\ int\(\-9223372036854775808\)\ -bool\(false\)\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-9223372036854775808\)\ -object\(stdClass\)\#\d+\ \(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ int\(1\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \<\=\ float\(2\.5\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(0\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ NULL\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\=\ bool\(true\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ bool\(false\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ array\(0\)\ \{\}\ -object\(test\)\#\d+\ \(0\)\ \{\}\ -HipHop Notice: .+ -\ \>\ int\(\-9223372036854775808\)\ -object\(test\)\#\d+\ \(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -array\(0\)\ \{\}\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -array\(0\)\ \{\}\ \>\ string\(0\)\ \"\"\ -array\(0\)\ \{\}\ \>\ int\(1\)\ -array\(0\)\ \{\}\ \>\ float\(2\.5\)\ -array\(0\)\ \{\}\ \>\ int\(0\)\ -array\(0\)\ \{\}\ \>\ string\(6\)\ \"string\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"123\"\ -array\(0\)\ \{\}\ \>\ string\(3\)\ \"2\.5\"\ -array\(0\)\ \{\}\ \<\=\ NULL\ -array\(0\)\ \{\}\ \<\=\ bool\(true\)\ -array\(0\)\ \{\}\ \<\=\ bool\(false\)\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -array\(0\)\ \{\}\ \<\=\ array\(0\)\ \{\}\ -array\(0\)\ \{\}\ \>\ int\(\-9223372036854775808\)\ -array\(0\)\ \{\}\ \>\ string\(20\)\ \"\-9223372036854775808\"\ -int\(\-9223372036854775808\)\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -int\(\-9223372036854775808\)\ \<\=\ string\(0\)\ \"\"\ -int\(\-9223372036854775808\)\ \<\=\ int\(1\)\ -int\(\-9223372036854775808\)\ \<\=\ float\(2\.5\)\ -int\(\-9223372036854775808\)\ \<\=\ int\(0\)\ -int\(\-9223372036854775808\)\ \<\=\ string\(6\)\ \"string\"\ -int\(\-9223372036854775808\)\ \<\=\ string\(3\)\ \"123\"\ -int\(\-9223372036854775808\)\ \<\=\ string\(3\)\ \"2\.5\"\ -int\(\-9223372036854775808\)\ \>\ NULL\ -int\(\-9223372036854775808\)\ \<\=\ bool\(true\)\ -int\(\-9223372036854775808\)\ \>\ bool\(false\)\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ -HipHop Notice: .+ -\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \<\=\ array\(0\)\ \{\}\ -int\(\-9223372036854775808\)\ \<\=\ int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ array\(3\)\ \{\ \ \[0\]\=\>\ \ int\(1\)\ \ \[1\]\=\>\ \ int\(2\)\ \ \[2\]\=\>\ \ int\(3\)\}\ -string\(20\)\ \"\-9223372036854775808\"\ \>\ string\(0\)\ \"\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ int\(1\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ float\(2\.5\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ int\(0\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(6\)\ \"string\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(3\)\ \"123\"\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(3\)\ \"2\.5\"\ -string\(20\)\ \"\-9223372036854775808\"\ \>\ NULL\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ bool\(true\)\ -string\(20\)\ \"\-9223372036854775808\"\ \>\ bool\(false\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ object\(test\)\#\d+\ \(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ array\(0\)\ \{\}\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ int\(\-9223372036854775808\)\ -string\(20\)\ \"\-9223372036854775808\"\ \<\=\ string\(20\)\ \"\-9223372036854775808\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/compare_006_64bit.php.expectf b/hphp/test/zend/bad/zend/compare_006_64bit.php.expectf new file mode 100644 index 000000000..a304fe14d --- /dev/null +++ b/hphp/test/zend/bad/zend/compare_006_64bit.php.expectf @@ -0,0 +1,338 @@ +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > string(20) "-9223372036854775808" +string(0) "" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(0) "" <= string(0) "" +string(0) "" <= int(1) +string(0) "" <= float(2.5) +string(0) "" <= int(0) +string(0) "" <= string(6) "string" +string(0) "" <= string(3) "123" +string(0) "" <= string(3) "2.5" +string(0) "" <= NULL +string(0) "" <= bool(true) +string(0) "" <= bool(false) +string(0) "" <= object(stdClass)#%d (0) {} +string(0) "" <= object(stdClass)#%d (0) {} +string(0) "" <= object(test)#%d (0) {} +string(0) "" <= array(0) {} +string(0) "" > int(-9223372036854775808) +string(0) "" <= string(20) "-9223372036854775808" +int(1) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) > string(0) "" +int(1) <= int(1) +int(1) <= float(2.5) +int(1) > int(0) +int(1) > string(6) "string" +int(1) <= string(3) "123" +int(1) <= string(3) "2.5" +int(1) > NULL +int(1) <= bool(true) +int(1) > bool(false) +int(1) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(1) +HipHop Notice: %a + <= object(test)#%d (0) {} +int(1) <= array(0) {} +int(1) > int(-9223372036854775808) +int(1) > string(20) "-9223372036854775808" +float(2.5) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) > string(0) "" +float(2.5) > int(1) +float(2.5) <= float(2.5) +float(2.5) > int(0) +float(2.5) > string(6) "string" +float(2.5) <= string(3) "123" +float(2.5) <= string(3) "2.5" +float(2.5) > NULL +float(2.5) <= bool(true) +float(2.5) > bool(false) +float(2.5) +HipHop Notice: %a + > object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + > object(stdClass)#%d (0) {} +float(2.5) +HipHop Notice: %a + > object(test)#%d (0) {} +float(2.5) <= array(0) {} +float(2.5) > int(-9223372036854775808) +float(2.5) > string(20) "-9223372036854775808" +int(0) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) <= string(0) "" +int(0) <= int(1) +int(0) <= float(2.5) +int(0) <= int(0) +int(0) <= string(6) "string" +int(0) <= string(3) "123" +int(0) <= string(3) "2.5" +int(0) <= NULL +int(0) <= bool(true) +int(0) <= bool(false) +int(0) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(0) +HipHop Notice: %a + <= object(test)#%d (0) {} +int(0) <= array(0) {} +int(0) > int(-9223372036854775808) +int(0) > string(20) "-9223372036854775808" +string(6) "string" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(6) "string" > string(0) "" +string(6) "string" <= int(1) +string(6) "string" <= float(2.5) +string(6) "string" <= int(0) +string(6) "string" <= string(6) "string" +string(6) "string" > string(3) "123" +string(6) "string" > string(3) "2.5" +string(6) "string" > NULL +string(6) "string" <= bool(true) +string(6) "string" > bool(false) +string(6) "string" <= object(stdClass)#%d (0) {} +string(6) "string" <= object(stdClass)#%d (0) {} +string(6) "string" <= object(test)#%d (0) {} +string(6) "string" <= array(0) {} +string(6) "string" > int(-9223372036854775808) +string(6) "string" > string(20) "-9223372036854775808" +string(3) "123" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "123" > string(0) "" +string(3) "123" > int(1) +string(3) "123" > float(2.5) +string(3) "123" > int(0) +string(3) "123" <= string(6) "string" +string(3) "123" <= string(3) "123" +string(3) "123" > string(3) "2.5" +string(3) "123" > NULL +string(3) "123" <= bool(true) +string(3) "123" > bool(false) +string(3) "123" <= object(stdClass)#%d (0) {} +string(3) "123" <= object(stdClass)#%d (0) {} +string(3) "123" <= object(test)#%d (0) {} +string(3) "123" <= array(0) {} +string(3) "123" > int(-9223372036854775808) +string(3) "123" > string(20) "-9223372036854775808" +string(3) "2.5" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(3) "2.5" > string(0) "" +string(3) "2.5" > int(1) +string(3) "2.5" <= float(2.5) +string(3) "2.5" > int(0) +string(3) "2.5" <= string(6) "string" +string(3) "2.5" <= string(3) "123" +string(3) "2.5" <= string(3) "2.5" +string(3) "2.5" > NULL +string(3) "2.5" <= bool(true) +string(3) "2.5" > bool(false) +string(3) "2.5" <= object(stdClass)#%d (0) {} +string(3) "2.5" <= object(stdClass)#%d (0) {} +string(3) "2.5" <= object(test)#%d (0) {} +string(3) "2.5" <= array(0) {} +string(3) "2.5" > int(-9223372036854775808) +string(3) "2.5" > string(20) "-9223372036854775808" +NULL <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL <= string(0) "" +NULL <= int(1) +NULL <= float(2.5) +NULL <= int(0) +NULL <= string(6) "string" +NULL <= string(3) "123" +NULL <= string(3) "2.5" +NULL <= NULL +NULL <= bool(true) +NULL <= bool(false) +NULL <= object(stdClass)#%d (0) {} +NULL <= object(stdClass)#%d (0) {} +NULL <= object(test)#%d (0) {} +NULL <= array(0) {} +NULL <= int(-9223372036854775808) +NULL <= string(20) "-9223372036854775808" +bool(true) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) > string(0) "" +bool(true) <= int(1) +bool(true) <= float(2.5) +bool(true) > int(0) +bool(true) <= string(6) "string" +bool(true) <= string(3) "123" +bool(true) <= string(3) "2.5" +bool(true) > NULL +bool(true) <= bool(true) +bool(true) > bool(false) +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(test)#%d (0) {} +bool(true) > array(0) {} +bool(true) <= int(-9223372036854775808) +bool(true) <= string(20) "-9223372036854775808" +bool(false) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) <= string(0) "" +bool(false) <= int(1) +bool(false) <= float(2.5) +bool(false) <= int(0) +bool(false) <= string(6) "string" +bool(false) <= string(3) "123" +bool(false) <= string(3) "2.5" +bool(false) <= NULL +bool(false) <= bool(true) +bool(false) <= bool(false) +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(test)#%d (0) {} +bool(false) <= array(0) {} +bool(false) <= int(-9223372036854775808) +bool(false) <= string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#%d (0) {} > string(6) "string" +object(stdClass)#%d (0) {} > string(3) "123" +object(stdClass)#%d (0) {} > string(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} > object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > string(0) "" +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= int(1) +object(stdClass)#%d (0) {} +HipHop Notice: %a + <= float(2.5) +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(0) +object(stdClass)#%d (0) {} > string(6) "string" +object(stdClass)#%d (0) {} > string(3) "123" +object(stdClass)#%d (0) {} > string(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} > object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +HipHop Notice: %a + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > string(20) "-9223372036854775808" +object(test)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} > string(0) "" +object(test)#%d (0) {} +HipHop Notice: %a + <= int(1) +object(test)#%d (0) {} +HipHop Notice: %a + <= float(2.5) +object(test)#%d (0) {} +HipHop Notice: %a + > int(0) +object(test)#%d (0) {} > string(6) "string" +object(test)#%d (0) {} > string(3) "123" +object(test)#%d (0) {} > string(3) "2.5" +object(test)#%d (0) {} > NULL +object(test)#%d (0) {} <= bool(true) +object(test)#%d (0) {} > bool(false) +object(test)#%d (0) {} > object(stdClass)#%d (0) {} +object(test)#%d (0) {} > object(stdClass)#%d (0) {} +object(test)#%d (0) {} <= object(test)#%d (0) {} +object(test)#%d (0) {} > array(0) {} +object(test)#%d (0) {} +HipHop Notice: %a + > int(-9223372036854775808) +object(test)#%d (0) {} > string(20) "-9223372036854775808" +array(0) {} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} > string(0) "" +array(0) {} > int(1) +array(0) {} > float(2.5) +array(0) {} > int(0) +array(0) {} > string(6) "string" +array(0) {} > string(3) "123" +array(0) {} > string(3) "2.5" +array(0) {} <= NULL +array(0) {} <= bool(true) +array(0) {} <= bool(false) +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(test)#%d (0) {} +array(0) {} <= array(0) {} +array(0) {} > int(-9223372036854775808) +array(0) {} > string(20) "-9223372036854775808" +int(-9223372036854775808) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) <= string(0) "" +int(-9223372036854775808) <= int(1) +int(-9223372036854775808) <= float(2.5) +int(-9223372036854775808) <= int(0) +int(-9223372036854775808) <= string(6) "string" +int(-9223372036854775808) <= string(3) "123" +int(-9223372036854775808) <= string(3) "2.5" +int(-9223372036854775808) > NULL +int(-9223372036854775808) <= bool(true) +int(-9223372036854775808) > bool(false) +int(-9223372036854775808) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +HipHop Notice: %a + <= object(test)#%d (0) {} +int(-9223372036854775808) <= array(0) {} +int(-9223372036854775808) <= int(-9223372036854775808) +int(-9223372036854775808) <= string(20) "-9223372036854775808" +string(20) "-9223372036854775808" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +string(20) "-9223372036854775808" > string(0) "" +string(20) "-9223372036854775808" <= int(1) +string(20) "-9223372036854775808" <= float(2.5) +string(20) "-9223372036854775808" <= int(0) +string(20) "-9223372036854775808" <= string(6) "string" +string(20) "-9223372036854775808" <= string(3) "123" +string(20) "-9223372036854775808" <= string(3) "2.5" +string(20) "-9223372036854775808" > NULL +string(20) "-9223372036854775808" <= bool(true) +string(20) "-9223372036854775808" > bool(false) +string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +string(20) "-9223372036854775808" <= object(test)#%d (0) {} +string(20) "-9223372036854775808" <= array(0) {} +string(20) "-9223372036854775808" <= int(-9223372036854775808) +string(20) "-9223372036854775808" <= string(20) "-9223372036854775808" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_001.php.exp b/hphp/test/zend/bad/zend/constants_001.php.exp deleted file mode 100644 index 1e51f828f..000000000 --- a/hphp/test/zend/bad/zend/constants_001.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -HipHop Notice: .+ -int\(2\)\ -int\(2\)\ -int\(2\)\ -int\(1\)\ -int\(3\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_001.php.expectf b/hphp/test/zend/bad/zend/constants_001.php.expectf new file mode 100644 index 000000000..2aabdcc42 --- /dev/null +++ b/hphp/test/zend/bad/zend/constants_001.php.expectf @@ -0,0 +1,6 @@ +HipHop Notice: %a +int(2) +int(2) +int(2) +int(1) +int(3) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_002.php.exp b/hphp/test/zend/bad/zend/constants_002.php.exp deleted file mode 100644 index e3a86cd54..000000000 --- a/hphp/test/zend/bad/zend/constants_002.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Warning: .+ -HipHop Notice: .+ -string\(\d+\)\ \"foo\"\ -resource\(\d+\)\ of\ type\ \(stream\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_002.php.expectf b/hphp/test/zend/bad/zend/constants_002.php.expectf new file mode 100644 index 000000000..98e0b8820 --- /dev/null +++ b/hphp/test/zend/bad/zend/constants_002.php.expectf @@ -0,0 +1,4 @@ +HipHop Warning: %a +HipHop Notice: %a +string(%d) "foo" +resource(%d) of type (stream) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_003.php.exp b/hphp/test/zend/bad/zend/constants_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/constants_003.php.exp rename to hphp/test/zend/bad/zend/constants_003.php.expectf diff --git a/hphp/test/zend/bad/zend/constants_004.php.expectf b/hphp/test/zend/bad/zend/constants_004.php.expectf new file mode 100644 index 000000000..0136aab3f --- /dev/null +++ b/hphp/test/zend/bad/zend/constants_004.php.expectf @@ -0,0 +1 @@ +HipHop Notice: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_006.php.exp b/hphp/test/zend/bad/zend/constants_006.php.exp deleted file mode 100644 index 21cc92f4e..000000000 --- a/hphp/test/zend/bad/zend/constants_006.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -string\(\d+\)\ \"[^ -]+\"\ -string\(\d+\)\ \"[^ -]+\"\ -int\(\d+\)\ -string\(21\)\ \"test\\foo\:\:\_\_construct\"\ -string\(8\)\ \"test\\foo\"\ -string\(11\)\ \"\_\_construct\"\ -string\(4\)\ \"test\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_006.php.expectf b/hphp/test/zend/bad/zend/constants_006.php.expectf new file mode 100644 index 000000000..bbd77de4a --- /dev/null +++ b/hphp/test/zend/bad/zend/constants_006.php.expectf @@ -0,0 +1,7 @@ +string(%d) "%s" +string(%d) "%s" +int(%d) +string(21) "test\foo::__construct" +string(8) "test\foo" +string(11) "__construct" +string(4) "test" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_008.php.exp b/hphp/test/zend/bad/zend/constants_008.php.exp deleted file mode 100644 index a325e89c7..000000000 --- a/hphp/test/zend/bad/zend/constants_008.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_008.php.expectf b/hphp/test/zend/bad/zend/constants_008.php.expectf new file mode 100644 index 000000000..f76b62028 --- /dev/null +++ b/hphp/test/zend/bad/zend/constants_008.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_009.php.exp b/hphp/test/zend/bad/zend/constants_009.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/constants_009.php.exp rename to hphp/test/zend/bad/zend/constants_009.php.expectf diff --git a/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp b/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp deleted file mode 100644 index 138a5aeec..000000000 --- a/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp +++ /dev/null @@ -1,120 +0,0 @@ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 7\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ c\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 7\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ c\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 3\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 7\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ c\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 3\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 17\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 7\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ c\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 3\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_limit\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 17\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/debug_backtrace_limit.php.expectf b/hphp/test/zend/bad/zend/debug_backtrace_limit.php.expectf new file mode 100644 index 000000000..954d85824 --- /dev/null +++ b/hphp/test/zend/bad/zend/debug_backtrace_limit.php.expectf @@ -0,0 +1,111 @@ +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 7 + [function] => c + [args] => Array + ( + ) + + ) + +) +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 7 + [function] => c + [args] => Array + ( + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 3 + [function] => b + [args] => Array + ( + ) + + ) + +) +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 7 + [function] => c + [args] => Array + ( + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 3 + [function] => b + [args] => Array + ( + ) + + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 17 + [function] => a + [args] => Array + ( + ) + + ) + +) +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 7 + [function] => c + [args] => Array + ( + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 3 + [function] => b + [args] => Array + ( + ) + + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_limit.php + [line] => 17 + [function] => a + [args] => Array + ( + ) + + ) + +) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/debug_backtrace_options.php.exp b/hphp/test/zend/bad/zend/debug_backtrace_options.php.exp deleted file mode 100644 index d9fad82b7..000000000 --- a/hphp/test/zend/bad/zend/debug_backtrace_options.php.exp +++ /dev/null @@ -1,393 +0,0 @@ -\=\=default\ -\#0\ \ doit\(a\,\ b\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#1\ \ foo\-\>doCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#2\ \ foo\:\:statCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\=\=true\ -\#0\ \ doit\(a\,\ b\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#1\ \ foo\-\>doCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#2\ \ foo\:\:statCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\=\=false\ -\#0\ \ doit\(a\,\ b\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#1\ \ foo\-\>doCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#2\ \ foo\:\:statCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\=\=DEBUG\_BACKTRACE\_PROVIDE\_OBJECT\ -\#0\ \ doit\(a\,\ b\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#1\ \ foo\-\>doCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#2\ \ foo\:\:statCall\(doit\,\ debug\_print\_backtrace\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\=\=DEBUG\_BACKTRACE\_IGNORE\_ARGS\ -\#0\ \ doit\(\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#1\ \ foo\-\>doCall\(\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#2\ \ foo\:\:statCall\(\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\=\=both\ -\#0\ \ doit\(\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#1\ \ foo\-\>doCall\(\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\#2\ \ foo\:\:statCall\(\)\ called\ at\ \[[^ -]+debug\_backtrace\_options\.php\:\d+\]\ -\=\=default\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[2\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[object\]\ \=\>\ foo\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ statCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\=\=true\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 17\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[2\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[object\]\ \=\>\ foo\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ statCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\=\=false\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 19\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ \ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[2\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ statCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\=\=DEBUG\_BACKTRACE\_PROVIDE\_OBJECT\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 21\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ 1\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ a\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ b\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[2\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[object\]\ \=\>\ foo\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ statCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \ \ \ \ \[args\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[0\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \[1\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\=\=DEBUG\_BACKTRACE\_IGNORE\_ARGS\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 23\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ statCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \)\ -\ -\)\ -\=\=both\ -Array\ -\(\ -\ \ \ \ \[0\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ 25\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ backtrace\_print\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[1\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doit\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[2\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ doCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[object\]\ \=\>\ foo\ Object\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \-\>\ -\ \ \ \ \ \ \ \ \)\ -\ -\ \ \ \ \[3\]\ \=\>\ Array\ -\ \ \ \ \ \ \ \ \(\ -\ \ \ \ \ \ \ \ \ \ \ \ \[file\]\ \=\>\ [^ -]+debug\_backtrace\_options\.php\ -\ \ \ \ \ \ \ \ \ \ \ \ \[line\]\ \=\>\ \d+\ -\ \ \ \ \ \ \ \ \ \ \ \ \[function\]\ \=\>\ statCall\ -\ \ \ \ \ \ \ \ \ \ \ \ \[class\]\ \=\>\ foo\ -\ \ \ \ \ \ \ \ \ \ \ \ \[type\]\ \=\>\ \:\:\ -\ \ \ \ \ \ \ \ \)\ -\ -\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/debug_backtrace_options.php.expectf b/hphp/test/zend/bad/zend/debug_backtrace_options.php.expectf new file mode 100644 index 000000000..bbfb8f565 --- /dev/null +++ b/hphp/test/zend/bad/zend/debug_backtrace_options.php.expectf @@ -0,0 +1,351 @@ +==default +#0 doit(a, b, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#1 foo->doCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#2 foo::statCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +==true +#0 doit(a, b, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#1 foo->doCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#2 foo::statCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +==false +#0 doit(a, b, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#1 foo->doCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#2 foo::statCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +==DEBUG_BACKTRACE_PROVIDE_OBJECT +#0 doit(a, b, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#1 foo->doCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +#2 foo::statCall(doit, debug_print_backtrace) called at [%sdebug_backtrace_options.php:%d] +==DEBUG_BACKTRACE_IGNORE_ARGS +#0 doit() called at [%sdebug_backtrace_options.php:%d] +#1 foo->doCall() called at [%sdebug_backtrace_options.php:%d] +#2 foo::statCall() called at [%sdebug_backtrace_options.php:%d] +==both +#0 doit() called at [%sdebug_backtrace_options.php:%d] +#1 foo->doCall() called at [%sdebug_backtrace_options.php:%d] +#2 foo::statCall() called at [%sdebug_backtrace_options.php:%d] +==default +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => backtrace_print + [args] => Array + ( + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doit + [args] => Array + ( + [0] => a + [1] => b + [2] => backtrace_print + ) + + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doCall + [class] => foo + [object] => foo Object + ( + ) + + [type] => -> + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + + [3] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => statCall + [class] => foo + [type] => :: + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + +) +==true +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => 17 + [function] => backtrace_print + [args] => Array + ( + [0] => 1 + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doit + [args] => Array + ( + [0] => a + [1] => b + [2] => backtrace_print + ) + + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doCall + [class] => foo + [object] => foo Object + ( + ) + + [type] => -> + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + + [3] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => statCall + [class] => foo + [type] => :: + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + +) +==false +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => 19 + [function] => backtrace_print + [args] => Array + ( + [0] => + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doit + [args] => Array + ( + [0] => a + [1] => b + [2] => backtrace_print + ) + + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doCall + [class] => foo + [type] => -> + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + + [3] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => statCall + [class] => foo + [type] => :: + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + +) +==DEBUG_BACKTRACE_PROVIDE_OBJECT +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => 21 + [function] => backtrace_print + [args] => Array + ( + [0] => 1 + ) + + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doit + [args] => Array + ( + [0] => a + [1] => b + [2] => backtrace_print + ) + + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doCall + [class] => foo + [object] => foo Object + ( + ) + + [type] => -> + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + + [3] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => statCall + [class] => foo + [type] => :: + [args] => Array + ( + [0] => doit + [1] => backtrace_print + ) + + ) + +) +==DEBUG_BACKTRACE_IGNORE_ARGS +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => 23 + [function] => backtrace_print + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doit + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doCall + [class] => foo + [type] => -> + ) + + [3] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => statCall + [class] => foo + [type] => :: + ) + +) +==both +Array +( + [0] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => 25 + [function] => backtrace_print + ) + + [1] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doit + ) + + [2] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => doCall + [class] => foo + [object] => foo Object + ( + ) + + [type] => -> + ) + + [3] => Array + ( + [file] => %sdebug_backtrace_options.php + [line] => %d + [function] => statCall + [class] => foo + [type] => :: + ) + +) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.exp b/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.exp deleted file mode 100644 index f96d4c4b9..000000000 --- a/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -\#0\ \ c\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:7\]\ -\#0\ \ c\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:7\]\ -\#1\ \ b\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:3\]\ -\#0\ \ c\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:7\]\ -\#1\ \ b\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:3\]\ -\#2\ \ a\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:17\]\ -\#0\ \ c\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:7\]\ -\#1\ \ b\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:3\]\ -\#2\ \ a\(\)\ called\ at\ \[[^ -]+debug\_print\_backtrace\_limit\.php\:17\] \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.expectf b/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.expectf new file mode 100644 index 000000000..db8aa2e3e --- /dev/null +++ b/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.expectf @@ -0,0 +1,9 @@ +#0 c() called at [%sdebug_print_backtrace_limit.php:7] +#0 c() called at [%sdebug_print_backtrace_limit.php:7] +#1 b() called at [%sdebug_print_backtrace_limit.php:3] +#0 c() called at [%sdebug_print_backtrace_limit.php:7] +#1 b() called at [%sdebug_print_backtrace_limit.php:3] +#2 a() called at [%sdebug_print_backtrace_limit.php:17] +#0 c() called at [%sdebug_print_backtrace_limit.php:7] +#1 b() called at [%sdebug_print_backtrace_limit.php:3] +#2 a() called at [%sdebug_print_backtrace_limit.php:17] \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/declare_002.php.exp b/hphp/test/zend/bad/zend/declare_002.php.exp deleted file mode 100644 index 55ca7f8b6..000000000 --- a/hphp/test/zend/bad/zend/declare_002.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/declare_002.php.expectf b/hphp/test/zend/bad/zend/declare_002.php.expectf new file mode 100644 index 000000000..488c89874 --- /dev/null +++ b/hphp/test/zend/bad/zend/declare_002.php.expectf @@ -0,0 +1,4 @@ +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/declare_004.php.exp b/hphp/test/zend/bad/zend/declare_004.php.exp deleted file mode 100644 index 55ca7f8b6..000000000 --- a/hphp/test/zend/bad/zend/declare_004.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/declare_004.php.expectf b/hphp/test/zend/bad/zend/declare_004.php.expectf new file mode 100644 index 000000000..488c89874 --- /dev/null +++ b/hphp/test/zend/bad/zend/declare_004.php.expectf @@ -0,0 +1,4 @@ +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_002.php.exp b/hphp/test/zend/bad/zend/dereference_002.php.exp deleted file mode 100644 index 3a2197cdb..000000000 --- a/hphp/test/zend/bad/zend/dereference_002.php.exp +++ /dev/null @@ -1,39 +0,0 @@ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(5\)\ -\}\ -int\(5\)\ -int\(1\)\ -object\(foo\)\#2\ \(0\)\ \{\ -\}\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(3\)\ -\ \ \[1\]\=\>\ -\ \ array\(2\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \ \ \[1\]\=\>\ -\ \ \ \ int\(5\)\ -\ \ \}\ -\ \ \[2\]\=\>\ -\ \ object\(foo\)\#3\ \(0\)\ \{\ -\ \ \}\ -\}\ -int\(3\)\ -object\(foo\)\#3\ \(0\)\ \{\ -\}\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(5\)\ -\}\ -int\(1\)\ -NULL\ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_002.php.expectf b/hphp/test/zend/bad/zend/dereference_002.php.expectf new file mode 100644 index 000000000..6bdaa388e --- /dev/null +++ b/hphp/test/zend/bad/zend/dereference_002.php.expectf @@ -0,0 +1,39 @@ +array(2) { + [0]=> + int(1) + [1]=> + int(5) +} +int(5) +int(1) +object(foo)#2 (0) { +} +array(3) { + [0]=> + int(3) + [1]=> + array(2) { + [0]=> + int(1) + [1]=> + int(5) + } + [2]=> + object(foo)#3 (0) { + } +} +int(3) +object(foo)#3 (0) { +} +array(2) { + [0]=> + int(1) + [1]=> + int(5) +} +int(1) +NULL +HipHop Notice: %a +NULL +HipHop Notice: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_006.php.exp b/hphp/test/zend/bad/zend/dereference_006.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/dereference_006.php.exp rename to hphp/test/zend/bad/zend/dereference_006.php.expectf diff --git a/hphp/test/zend/bad/zend/dereference_007.php.exp b/hphp/test/zend/bad/zend/dereference_007.php.exp deleted file mode 100644 index 0bd479d91..000000000 --- a/hphp/test/zend/bad/zend/dereference_007.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_007.php.expectf b/hphp/test/zend/bad/zend/dereference_007.php.expectf new file mode 100644 index 000000000..b22b5e687 --- /dev/null +++ b/hphp/test/zend/bad/zend/dereference_007.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_010.php.exp b/hphp/test/zend/bad/zend/dereference_010.php.exp deleted file mode 100644 index 31642e0bc..000000000 --- a/hphp/test/zend/bad/zend/dereference_010.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -NULL\ -NULL\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_010.php.expectf b/hphp/test/zend/bad/zend/dereference_010.php.expectf new file mode 100644 index 000000000..646600f04 --- /dev/null +++ b/hphp/test/zend/bad/zend/dereference_010.php.expectf @@ -0,0 +1,3 @@ +NULL +NULL +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_012.php.exp b/hphp/test/zend/bad/zend/dereference_012.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/dereference_012.php.exp rename to hphp/test/zend/bad/zend/dereference_012.php.expectf diff --git a/hphp/test/zend/bad/zend/dereference_014.php.exp b/hphp/test/zend/bad/zend/dereference_014.php.exp deleted file mode 100644 index 8f152d345..000000000 --- a/hphp/test/zend/bad/zend/dereference_014.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_014.php.expectf b/hphp/test/zend/bad/zend/dereference_014.php.expectf new file mode 100644 index 000000000..39318f60f --- /dev/null +++ b/hphp/test/zend/bad/zend/dereference_014.php.expectf @@ -0,0 +1,4 @@ +HipHop Notice: %a +NULL +HipHop Notice: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dynamic_call_001.php.exp b/hphp/test/zend/bad/zend/dynamic_call_001.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/dynamic_call_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dynamic_call_001.php.expectf b/hphp/test/zend/bad/zend/dynamic_call_001.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/dynamic_call_001.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/each_002.php.exp b/hphp/test/zend/bad/zend/each_002.php.exp deleted file mode 100644 index c7b90a5dd..000000000 --- a/hphp/test/zend/bad/zend/each_002.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -bool\(false\)\ -bool\(false\)\ -array\(4\)\ \{\ -\ \ \[1\]\=\>\ -\ \ object\(stdClass\)\#1\ \(0\)\ \{\ -\ \ \}\ -\ \ \[\"value\"\]\=\>\ -\ \ object\(stdClass\)\#1\ \(0\)\ \{\ -\ \ \}\ -\ \ \[0\]\=\>\ -\ \ int\(0\)\ -\ \ \[\"key\"\]\=\>\ -\ \ int\(0\)\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/each_002.php.expectf b/hphp/test/zend/bad/zend/each_002.php.expectf new file mode 100644 index 000000000..a387d36a2 --- /dev/null +++ b/hphp/test/zend/bad/zend/each_002.php.expectf @@ -0,0 +1,14 @@ +bool(false) +bool(false) +array(4) { + [1]=> + object(stdClass)#1 (0) { + } + ["value"]=> + object(stdClass)#1 (0) { + } + [0]=> + int(0) + ["key"]=> + int(0) +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/empty_str_offset.php.exp b/hphp/test/zend/bad/zend/empty_str_offset.php.exp deleted file mode 100644 index 9c06f9090..000000000 --- a/hphp/test/zend/bad/zend/empty_str_offset.php.exp +++ /dev/null @@ -1,38 +0,0 @@ -\-\ empty\ \-\-\-\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -\-\ string\ \-\-\-\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -\-\ bool\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\ null\ \-\-\-\ -bool\(false\)\ -\-\ double\ \-\-\-\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -bool\(true\)\ -\-\ array\ \-\-\-\ -bool\(true\)\ -bool\(true\)\ -\-\ object\ \-\-\-\ -bool\(true\)\ -\-\ resource\ \-\-\-\ -bool\(true\)\ -done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/empty_str_offset.php.expectf b/hphp/test/zend/bad/zend/empty_str_offset.php.expectf new file mode 100644 index 000000000..eba94639c --- /dev/null +++ b/hphp/test/zend/bad/zend/empty_str_offset.php.expectf @@ -0,0 +1,38 @@ +- empty --- +bool(true) +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +bool(true) +- string --- +bool(true) +bool(false) +bool(false) +bool(true) +bool(true) +bool(true) +bool(true) +- bool --- +bool(false) +bool(false) +bool(true) +- null --- +bool(false) +- double --- +bool(true) +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +bool(true) +- array --- +bool(true) +bool(true) +- object --- +bool(true) +- resource --- +bool(true) +done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_009.php.exp b/hphp/test/zend/bad/zend/errmsg_009.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_009.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_009.php.expectf b/hphp/test/zend/bad/zend/errmsg_009.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_009.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_010.php.exp b/hphp/test/zend/bad/zend/errmsg_010.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_010.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_010.php.expectf b/hphp/test/zend/bad/zend/errmsg_010.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_010.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_012.php.exp b/hphp/test/zend/bad/zend/errmsg_012.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_012.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_012.php.expectf b/hphp/test/zend/bad/zend/errmsg_012.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_012.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_014.php.exp b/hphp/test/zend/bad/zend/errmsg_014.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_014.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_014.php.expectf b/hphp/test/zend/bad/zend/errmsg_014.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_014.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_015.php.exp b/hphp/test/zend/bad/zend/errmsg_015.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_015.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_015.php.expectf b/hphp/test/zend/bad/zend/errmsg_015.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_015.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_018.php.exp b/hphp/test/zend/bad/zend/errmsg_018.php.exp deleted file mode 100644 index 7b9fa25ef..000000000 --- a/hphp/test/zend/bad/zend/errmsg_018.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Strict\ Standards\:\ Static\ function\ test\:\:foo\(\)\ should\ not\ be\ abstract\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_018\.php\ on\ line\ \d+\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_018.php.expectf b/hphp/test/zend/bad/zend/errmsg_018.php.expectf new file mode 100644 index 000000000..0535dc305 --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_018.php.expectf @@ -0,0 +1,2 @@ +Strict Standards: Static function test::foo() should not be abstract in hphp/test/zend/bad/zend/errmsg_018.php on line %d +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_019.php.exp b/hphp/test/zend/bad/zend/errmsg_019.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_019.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_019.php.expectf b/hphp/test/zend/bad/zend/errmsg_019.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_019.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_027.php.exp b/hphp/test/zend/bad/zend/errmsg_027.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_027.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_027.php.expectf b/hphp/test/zend/bad/zend/errmsg_027.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_027.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_033.php.exp b/hphp/test/zend/bad/zend/errmsg_033.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_033.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_033.php.expectf b/hphp/test/zend/bad/zend/errmsg_033.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_033.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_034.php.exp b/hphp/test/zend/bad/zend/errmsg_034.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_034.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_034.php.expectf b/hphp/test/zend/bad/zend/errmsg_034.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_034.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_041.php.exp b/hphp/test/zend/bad/zend/errmsg_041.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_041.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_041.php.expectf b/hphp/test/zend/bad/zend/errmsg_041.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_041.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_043.php.exp b/hphp/test/zend/bad/zend/errmsg_043.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/errmsg_043.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_043.php.expectf b/hphp/test/zend/bad/zend/errmsg_043.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/errmsg_043.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting01.php.exp b/hphp/test/zend/bad/zend/error_reporting01.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/error_reporting01.php.exp rename to hphp/test/zend/bad/zend/error_reporting01.php.expectf diff --git a/hphp/test/zend/bad/zend/error_reporting02.php.exp b/hphp/test/zend/bad/zend/error_reporting02.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/error_reporting02.php.exp rename to hphp/test/zend/bad/zend/error_reporting02.php.expectf diff --git a/hphp/test/zend/bad/zend/error_reporting03.php.exp b/hphp/test/zend/bad/zend/error_reporting03.php.exp deleted file mode 100644 index 52c8b106c..000000000 --- a/hphp/test/zend/bad/zend/error_reporting03.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: .+ -int\(32767\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting03.php.expectf b/hphp/test/zend/bad/zend/error_reporting03.php.expectf new file mode 100644 index 000000000..44a9b498d --- /dev/null +++ b/hphp/test/zend/bad/zend/error_reporting03.php.expectf @@ -0,0 +1,3 @@ +HipHop Notice: %a +int(32767) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting05.php.exp b/hphp/test/zend/bad/zend/error_reporting05.php.exp deleted file mode 100644 index 29d36dd06..000000000 --- a/hphp/test/zend/bad/zend/error_reporting05.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -int\(32767\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting05.php.expectf b/hphp/test/zend/bad/zend/error_reporting05.php.expectf new file mode 100644 index 000000000..2d23d9e24 --- /dev/null +++ b/hphp/test/zend/bad/zend/error_reporting05.php.expectf @@ -0,0 +1,4 @@ +HipHop Notice: %a +HipHop Notice: %a +int(32767) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting06.php.exp b/hphp/test/zend/bad/zend/error_reporting06.php.exp deleted file mode 100644 index 737cf2a93..000000000 --- a/hphp/test/zend/bad/zend/error_reporting06.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -int\(32767\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting06.php.expectf b/hphp/test/zend/bad/zend/error_reporting06.php.expectf new file mode 100644 index 000000000..0a89c19be --- /dev/null +++ b/hphp/test/zend/bad/zend/error_reporting06.php.expectf @@ -0,0 +1,2 @@ +int(32767) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting07.php.exp b/hphp/test/zend/bad/zend/error_reporting07.php.exp deleted file mode 100644 index 737cf2a93..000000000 --- a/hphp/test/zend/bad/zend/error_reporting07.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -int\(32767\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting07.php.expectf b/hphp/test/zend/bad/zend/error_reporting07.php.expectf new file mode 100644 index 000000000..0a89c19be --- /dev/null +++ b/hphp/test/zend/bad/zend/error_reporting07.php.expectf @@ -0,0 +1,2 @@ +int(32767) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting08.php.exp b/hphp/test/zend/bad/zend/error_reporting08.php.exp deleted file mode 100644 index 52c8b106c..000000000 --- a/hphp/test/zend/bad/zend/error_reporting08.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: .+ -int\(32767\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting08.php.expectf b/hphp/test/zend/bad/zend/error_reporting08.php.expectf new file mode 100644 index 000000000..44a9b498d --- /dev/null +++ b/hphp/test/zend/bad/zend/error_reporting08.php.expectf @@ -0,0 +1,3 @@ +HipHop Notice: %a +int(32767) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting10.php.exp b/hphp/test/zend/bad/zend/error_reporting10.php.exp deleted file mode 100644 index 481a1bd61..000000000 --- a/hphp/test/zend/bad/zend/error_reporting10.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int\(32767\)\ -int\(32759\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting10.php.expectf b/hphp/test/zend/bad/zend/error_reporting10.php.expectf new file mode 100644 index 000000000..d1fe195fe --- /dev/null +++ b/hphp/test/zend/bad/zend/error_reporting10.php.expectf @@ -0,0 +1,3 @@ +int(32767) +int(32759) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_001.php.exp b/hphp/test/zend/bad/zend/exception_001.php.exp deleted file mode 100644 index 99037557c..000000000 --- a/hphp/test/zend/bad/zend/exception_001.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -string\(0\)\ \"\"\ -string\(0\)\ \"\"\ -string\(0\)\ \"\"\ -string\(0\)\ \"\"\ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/zend\/exception\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_001.php.expectf b/hphp/test/zend/bad/zend/exception_001.php.expectf new file mode 100644 index 000000000..d30faf0bd --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_001.php.expectf @@ -0,0 +1,8 @@ +string(0) "" +string(0) "" +string(0) "" +string(0) "" +HipHop Fatal error: %a +Stack trace: +#0 {main} + thrown in hphp/test/zend/bad/zend/exception_001.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_003.php.exp b/hphp/test/zend/bad/zend/exception_003.php.exp deleted file mode 100644 index aa1120a49..000000000 --- a/hphp/test/zend/bad/zend/exception_003.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \{main\}\ -\ \ thrown\ in\ hphp\/test\/zend\/bad\/zend\/exception\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_003.php.expectf b/hphp/test/zend/bad/zend/exception_003.php.expectf new file mode 100644 index 000000000..72cc1924d --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_003.php.expectf @@ -0,0 +1,4 @@ +HipHop Fatal error: %a +Stack trace: +#0 {main} + thrown in hphp/test/zend/bad/zend/exception_003.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_007.php.exp b/hphp/test/zend/bad/zend/exception_007.php.exp deleted file mode 100644 index 1e63ae6d8..000000000 --- a/hphp/test/zend/bad/zend/exception_007.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \{main\}\ -\ -Next\ exception\ \'Exception\'\ with\ message\ \'First\'\ in\ [^ -]+exception\_007\.php\:\d+\ -Stack\ trace\:\ -\#0\ \{main\}\ -\ -Next\ exception\ \'Exception\'\ with\ message\ \'Second\'\ in\ [^ -]+exception\_007\.php\:\d+\ -Stack\ trace\:\ -\#0\ \{main\}\ -\ -Next\ exception\ \'Exception\'\ with\ message\ \'Third\'\ in\ [^ -]+exception\_007\.php\:\d+\ -Stack\ trace\:\ -\#0\ \{main\}\ -\ \ thrown\ in\ [^ -]+exception\_007\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_007.php.expectf b/hphp/test/zend/bad/zend/exception_007.php.expectf new file mode 100644 index 000000000..413c25f0f --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_007.php.expectf @@ -0,0 +1,16 @@ +HipHop Fatal error: %a +Stack trace: +#0 {main} + +Next exception 'Exception' with message 'First' in %sexception_007.php:%d +Stack trace: +#0 {main} + +Next exception 'Exception' with message 'Second' in %sexception_007.php:%d +Stack trace: +#0 {main} + +Next exception 'Exception' with message 'Third' in %sexception_007.php:%d +Stack trace: +#0 {main} + thrown in %sexception_007.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_008.php.exp b/hphp/test/zend/bad/zend/exception_008.php.exp deleted file mode 100644 index a8f737e1d..000000000 --- a/hphp/test/zend/bad/zend/exception_008.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ [^ -]+exception\_008\.php\(\d+\)\:\ TestFirst\-\>\_\_destruct\(\)\ -\#1\ \{main\}\ -\ -Next\ exception\ \'Exception\'\ with\ message\ \'Second\'\ in\ [^ -]+exception\_008\.php\:\d+\ -Stack\ trace\:\ -\#0\ [^ -]+exception\_008\.php\(\d+\)\:\ TestSecond\-\>\_\_destruct\(\)\ -\#1\ \{main\}\ -\ \ thrown\ in\ [^ -]+exception\_008\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_008.php.expectf b/hphp/test/zend/bad/zend/exception_008.php.expectf new file mode 100644 index 000000000..06ce3c8df --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_008.php.expectf @@ -0,0 +1,10 @@ +HipHop Fatal error: %a +Stack trace: +#0 %sexception_008.php(%d): TestFirst->__destruct() +#1 {main} + +Next exception 'Exception' with message 'Second' in %sexception_008.php:%d +Stack trace: +#0 %sexception_008.php(%d): TestSecond->__destruct() +#1 {main} + thrown in %sexception_008.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_009.php.exp b/hphp/test/zend/bad/zend/exception_009.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/exception_009.php.exp rename to hphp/test/zend/bad/zend/exception_009.php.expectf diff --git a/hphp/test/zend/bad/zend/exception_010.php.exp b/hphp/test/zend/bad/zend/exception_010.php.exp deleted file mode 100644 index 50ac1b53e..000000000 --- a/hphp/test/zend/bad/zend/exception_010.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_010.php.expectf b/hphp/test/zend/bad/zend/exception_010.php.expectf new file mode 100644 index 000000000..ca12b2195 --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_010.php.expectf @@ -0,0 +1,7 @@ +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_001.php.exp b/hphp/test/zend/bad/zend/exception_handler_001.php.exp deleted file mode 100644 index 90b8fba6f..000000000 --- a/hphp/test/zend/bad/zend/exception_handler_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -string\(12\)\ \"test\ thrown\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_001.php.expectf b/hphp/test/zend/bad/zend/exception_handler_001.php.expectf new file mode 100644 index 000000000..e37026085 --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_handler_001.php.expectf @@ -0,0 +1 @@ +string(12) "test thrown!" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_002.php.exp b/hphp/test/zend/bad/zend/exception_handler_002.php.exp deleted file mode 100644 index ee33a1d8e..000000000 --- a/hphp/test/zend/bad/zend/exception_handler_002.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -string\(12\)\ \"test\ thrown\!\"\ -HipHop Fatal error: .+ -Stack\ trace\:\ -\#0\ \[internal\ function\]\:\ foo\(Object\(test\)\)\ -\#1\ \{main\}\ -\ \ thrown\ in\ [^ -]+exception\_handler\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_002.php.expectf b/hphp/test/zend/bad/zend/exception_handler_002.php.expectf new file mode 100644 index 000000000..eb3e010cf --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_handler_002.php.expectf @@ -0,0 +1,6 @@ +string(12) "test thrown!" +HipHop Fatal error: %a +Stack trace: +#0 [internal function]: foo(Object(test)) +#1 {main} + thrown in %sexception_handler_002.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_003.php.exp b/hphp/test/zend/bad/zend/exception_handler_003.php.exp deleted file mode 100644 index f75955bb0..000000000 --- a/hphp/test/zend/bad/zend/exception_handler_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -string\(17\)\ \"Exception\ thrown\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_003.php.expectf b/hphp/test/zend/bad/zend/exception_handler_003.php.expectf new file mode 100644 index 000000000..1374a2ff9 --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_handler_003.php.expectf @@ -0,0 +1 @@ +string(17) "Exception thrown!" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_004.php.exp b/hphp/test/zend/bad/zend/exception_handler_004.php.exp deleted file mode 100644 index 838dc24c3..000000000 --- a/hphp/test/zend/bad/zend/exception_handler_004.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -HipHop Warning: .+ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_004.php.expectf b/hphp/test/zend/bad/zend/exception_handler_004.php.expectf new file mode 100644 index 000000000..1c1bc515b --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_handler_004.php.expectf @@ -0,0 +1,5 @@ +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +HipHop Warning: %a +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_005.php.exp b/hphp/test/zend/bad/zend/exception_handler_005.php.exp deleted file mode 100644 index 944c3052e..000000000 --- a/hphp/test/zend/bad/zend/exception_handler_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -string\(25\)\ \"foo1\(\)\:\ Exception\ thrown\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_005.php.expectf b/hphp/test/zend/bad/zend/exception_handler_005.php.expectf new file mode 100644 index 000000000..aa680e6a2 --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_handler_005.php.expectf @@ -0,0 +1 @@ +string(25) "foo1(): Exception thrown!" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_006.php.exp b/hphp/test/zend/bad/zend/exception_handler_006.php.exp deleted file mode 100644 index db3d1c9e1..000000000 --- a/hphp/test/zend/bad/zend/exception_handler_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -string\(24\)\ \"foo\(\)\:\ Exception\ thrown\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/exception_handler_006.php.expectf b/hphp/test/zend/bad/zend/exception_handler_006.php.expectf new file mode 100644 index 000000000..53eaea40e --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_handler_006.php.expectf @@ -0,0 +1 @@ +string(24) "foo(): Exception thrown!" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/fr47160.php.exp b/hphp/test/zend/bad/zend/fr47160.php.exp deleted file mode 100644 index 61c556531..000000000 --- a/hphp/test/zend/bad/zend/fr47160.php.exp +++ /dev/null @@ -1,47 +0,0 @@ -Strict\ Standards\:\ Non\-static\ method\ Hello\:\:world\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/fr47160\.php\ on\ line\ \d+\ -Hello\,\ you\ -HipHop Notice: .+ -NULL\ -\ -Strict\ Standards\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ non\-static\ method\ Hello\:\:world\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/fr47160\.php\ on\ line\ \d+\ -Hello\,\ you\ -HipHop Notice: .+ -NULL\ -\-\-\-\-\-\ -Hello\,\ again\ -object\(Hello\)\#1\ \(0\)\ \{\ -\}\ -Hello\,\ again\ -object\(Hello\)\#1\ \(0\)\ \{\ -\}\ -\-\-\-\-\-\ -Hello\,\ there\ -object\(Hello\)\#2\ \(0\)\ \{\ -\}\ -Hello\,\ there\ -object\(Hello\)\#2\ \(0\)\ \{\ -\}\ -\-\-\-\-\-\ -Hello\,\ devs\ -object\(Hello\)\#4\ \(0\)\ \{\ -\}\ -Hello\,\ devs\ -object\(Hello\)\#4\ \(0\)\ \{\ -\}\ -\-\-\-\-\-\ -Magic\:\:\_\_call\ called\ \(foo\)\!\ -Magic\:\:\_\_call\ called\ \(foo\)\!\ -\-\-\-\-\-\ -Magic2\:\:\_\_callStatic\ called\ \(foo\)\!\ -Magic2\:\:\_\_callStatic\ called\ \(foo\)\!\ -\-\-\-\-\-\ -Magic3\:\:\_\_callStatic\ called\ \(foo\)\!\ -Magic3\:\:\_\_callStatic\ called\ \(foo\)\!\ -\-\-\-\-\-\ -Magic3\:\:\_\_call\ called\ \(foo\)\!\ -Magic3\:\:\_\_call\ called\ \(foo\)\!\ -\-\-\-\-\-\ -Hello\,\ you\ -NULL\ -Hello\,\ you\ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/fr47160.php.expectf b/hphp/test/zend/bad/zend/fr47160.php.expectf new file mode 100644 index 000000000..9dedf893d --- /dev/null +++ b/hphp/test/zend/bad/zend/fr47160.php.expectf @@ -0,0 +1,47 @@ +Strict Standards: Non-static method Hello::world() should not be called statically in hphp/test/zend/bad/zend/fr47160.php on line %d +Hello, you +HipHop Notice: %a +NULL + +Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Hello::world() should not be called statically in hphp/test/zend/bad/zend/fr47160.php on line %d +Hello, you +HipHop Notice: %a +NULL +----- +Hello, again +object(Hello)#1 (0) { +} +Hello, again +object(Hello)#1 (0) { +} +----- +Hello, there +object(Hello)#2 (0) { +} +Hello, there +object(Hello)#2 (0) { +} +----- +Hello, devs +object(Hello)#4 (0) { +} +Hello, devs +object(Hello)#4 (0) { +} +----- +Magic::__call called (foo)! +Magic::__call called (foo)! +----- +Magic2::__callStatic called (foo)! +Magic2::__callStatic called (foo)! +----- +Magic3::__callStatic called (foo)! +Magic3::__callStatic called (foo)! +----- +Magic3::__call called (foo)! +Magic3::__call called (foo)! +----- +Hello, you +NULL +Hello, you +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_arguments_001.php.exp b/hphp/test/zend/bad/zend/function_arguments_001.php.exp deleted file mode 100644 index f1f32109a..000000000 --- a/hphp/test/zend/bad/zend/function_arguments_001.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,\ [^ -]+\)[^ -]+\ in\ [^ -]+function\_arguments\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_arguments_001.php.expectf b/hphp/test/zend/bad/zend/function_arguments_001.php.expectf new file mode 100644 index 000000000..d625cb1d9 --- /dev/null +++ b/hphp/test/zend/bad/zend/function_arguments_001.php.expectf @@ -0,0 +1 @@ +Parse error: %s error, %s)%s in %sfunction_arguments_001.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_arguments_002.php.exp b/hphp/test/zend/bad/zend/function_arguments_002.php.exp deleted file mode 100644 index f4dd46761..000000000 --- a/hphp/test/zend/bad/zend/function_arguments_002.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,\ [^ -]+\)[^ -]+\ in\ [^ -]+function\_arguments\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_arguments_002.php.expectf b/hphp/test/zend/bad/zend/function_arguments_002.php.expectf new file mode 100644 index 000000000..e3580368d --- /dev/null +++ b/hphp/test/zend/bad/zend/function_arguments_002.php.expectf @@ -0,0 +1 @@ +Parse error: %s error, %s)%s in %sfunction_arguments_002.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_exists_error.php.exp b/hphp/test/zend/bad/zend/function_exists_error.php.exp deleted file mode 100644 index f311509c1..000000000 --- a/hphp/test/zend/bad/zend/function_exists_error.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -\*\*\*\ Testing\ function\_exists\(\)\ \:\ error\ conditions\ \*\*\*\ -\ -Too\ many\ arguments\ -HipHop Warning: .+ -NULL\ -\ -Too\ few\ arguments\ -HipHop Warning: .+ -NULL\ -\=\=\=Done\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_exists_error.php.expectf b/hphp/test/zend/bad/zend/function_exists_error.php.expectf new file mode 100644 index 000000000..1e148bd06 --- /dev/null +++ b/hphp/test/zend/bad/zend/function_exists_error.php.expectf @@ -0,0 +1,10 @@ +*** Testing function_exists() : error conditions *** + +Too many arguments +HipHop Warning: %a +NULL + +Too few arguments +HipHop Warning: %a +NULL +===Done=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_exists_variation1.php.exp b/hphp/test/zend/bad/zend/function_exists_variation1.php.exp deleted file mode 100644 index b2f8d3acf..000000000 --- a/hphp/test/zend/bad/zend/function_exists_variation1.php.exp +++ /dev/null @@ -1,50 +0,0 @@ -\*\*\*\ Testing\ function\_exists\(\)\ function\:\ with\ unexpected\ inputs\ for\ \'str\'\ argument\ \*\*\*\ -\-\-\ Iteration\ 1\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 2\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 3\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 4\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 5\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 6\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 7\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 8\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 9\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 10\ \-\-\ -HipHop Warning: .+ -NULL\ -\-\-\ Iteration\ 11\ \-\-\ -HipHop Warning: .+ -NULL\ -\-\-\ Iteration\ 12\ \-\-\ -HipHop Warning: .+ -NULL\ -\-\-\ Iteration\ 13\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 14\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 15\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 16\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 17\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 18\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 19\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 20\ \-\-\ -HipHop Warning: .+ -NULL\ -\-\-\ Iteration\ 21\ \-\-\ -bool\(false\)\ -\-\-\ Iteration\ 22\ \-\-\ -bool\(false\)\ -\=\=\=Done\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/function_exists_variation1.php.expectf b/hphp/test/zend/bad/zend/function_exists_variation1.php.expectf new file mode 100644 index 000000000..1c7219df6 --- /dev/null +++ b/hphp/test/zend/bad/zend/function_exists_variation1.php.expectf @@ -0,0 +1,50 @@ +*** Testing function_exists() function: with unexpected inputs for 'str' argument *** +-- Iteration 1 -- +bool(false) +-- Iteration 2 -- +bool(false) +-- Iteration 3 -- +bool(false) +-- Iteration 4 -- +bool(false) +-- Iteration 5 -- +bool(false) +-- Iteration 6 -- +bool(false) +-- Iteration 7 -- +bool(false) +-- Iteration 8 -- +bool(false) +-- Iteration 9 -- +bool(false) +-- Iteration 10 -- +HipHop Warning: %a +NULL +-- Iteration 11 -- +HipHop Warning: %a +NULL +-- Iteration 12 -- +HipHop Warning: %a +NULL +-- Iteration 13 -- +bool(false) +-- Iteration 14 -- +bool(false) +-- Iteration 15 -- +bool(false) +-- Iteration 16 -- +bool(false) +-- Iteration 17 -- +bool(false) +-- Iteration 18 -- +bool(false) +-- Iteration 19 -- +bool(false) +-- Iteration 20 -- +HipHop Warning: %a +NULL +-- Iteration 21 -- +bool(false) +-- Iteration 22 -- +bool(false) +===Done=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/gc_001.php.exp b/hphp/test/zend/bad/zend/gc_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/gc_001.php.exp rename to hphp/test/zend/bad/zend/gc_001.php.expectf diff --git a/hphp/test/zend/bad/zend/gc_002.php.exp b/hphp/test/zend/bad/zend/gc_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/gc_002.php.exp rename to hphp/test/zend/bad/zend/gc_002.php.expectf diff --git a/hphp/test/zend/bad/zend/gc_003.php.exp b/hphp/test/zend/bad/zend/gc_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/gc_003.php.exp rename to hphp/test/zend/bad/zend/gc_003.php.expectf diff --git a/hphp/test/zend/bad/zend/gc_032.php.exp b/hphp/test/zend/bad/zend/gc_032.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/gc_032.php.exp rename to hphp/test/zend/bad/zend/gc_032.php.expectf diff --git a/hphp/test/zend/bad/zend/get_called_class_001.php.exp b/hphp/test/zend/bad/zend/get_called_class_001.php.exp deleted file mode 100644 index 731ae2f26..000000000 --- a/hphp/test/zend/bad/zend/get_called_class_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_called_class_001.php.expectf b/hphp/test/zend/bad/zend/get_called_class_001.php.expectf new file mode 100644 index 000000000..32195d571 --- /dev/null +++ b/hphp/test/zend/bad/zend/get_called_class_001.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_class_methods_002.php.exp b/hphp/test/zend/bad/zend/get_class_methods_002.php.exp deleted file mode 100644 index abd88d876..000000000 --- a/hphp/test/zend/bad/zend/get_class_methods_002.php.exp +++ /dev/null @@ -1,17 +0,0 @@ -Strict\ Standards\:\ Redefining\ already\ defined\ constructor\ for\ class\ B\ in\ hphp\/test\/zend\/bad\/zend\/get\_class\_methods\_002\.php\ on\ line\ \d+\ -array\(2\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(1\)\ \"a\"\ -\ \ \[1\]\=\>\ -\ \ string\(1\)\ \"b\"\ -\}\ -array\(4\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(1\)\ \"a\"\ -\ \ \[1\]\=\>\ -\ \ string\(1\)\ \"b\"\ -\ \ \[2\]\=\>\ -\ \ string\(11\)\ \"\_\_construct\"\ -\ \ \[3\]\=\>\ -\ \ string\(10\)\ \"\_\_destruct\"\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_class_methods_002.php.expectf b/hphp/test/zend/bad/zend/get_class_methods_002.php.expectf new file mode 100644 index 000000000..56d1196c8 --- /dev/null +++ b/hphp/test/zend/bad/zend/get_class_methods_002.php.expectf @@ -0,0 +1,17 @@ +Strict Standards: Redefining already defined constructor for class B in hphp/test/zend/bad/zend/get_class_methods_002.php on line %d +array(2) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" +} +array(4) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(11) "__construct" + [3]=> + string(10) "__destruct" +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_class_vars_003.php.exp b/hphp/test/zend/bad/zend/get_class_vars_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/get_class_vars_003.php.exp rename to hphp/test/zend/bad/zend/get_class_vars_003.php.expectf diff --git a/hphp/test/zend/bad/zend/get_class_vars_005.php.exp b/hphp/test/zend/bad/zend/get_class_vars_005.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/get_class_vars_005.php.exp rename to hphp/test/zend/bad/zend/get_class_vars_005.php.expectf diff --git a/hphp/test/zend/bad/zend/get_defined_functions_basic.php.exp b/hphp/test/zend/bad/zend/get_defined_functions_basic.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/get_defined_functions_basic.php.exp rename to hphp/test/zend/bad/zend/get_defined_functions_basic.php.expectf diff --git a/hphp/test/zend/good/zend/get_defined_vars.php b/hphp/test/zend/bad/zend/get_defined_vars.php similarity index 100% rename from hphp/test/zend/good/zend/get_defined_vars.php rename to hphp/test/zend/bad/zend/get_defined_vars.php diff --git a/hphp/test/zend/bad/zend/get_defined_vars.php.expectf b/hphp/test/zend/bad/zend/get_defined_vars.php.expectf new file mode 100644 index 000000000..b7e85b880 --- /dev/null +++ b/hphp/test/zend/bad/zend/get_defined_vars.php.expectf @@ -0,0 +1,61 @@ +*** Displaying various variables through the array captured by the get_defined_vars function call *** +int(1) +float(22.33) +string(13) "sample string" +array(6) { + [0]=> + int(1) + [1]=> + int(1) + [2]=> + int(2) + [3]=> + int(3) + [4]=> + int(5) + [5]=> + int(8) +} +array(5) { + ["a"]=> + int(97) + ["c"]=> + int(99) + ["A"]=> + int(65) + ["C"]=> + int(67) + [1]=> + string(7) "string1" +} +bool(true) +object(sample)#1 (2) { + ["number"]=> + int(233) + ["string"]=> + string(7) "string2" +} + +*** Checking for output when get_defined_vars called in local function *** +array(1) { + ["string33"]=> + int(22) +} + +*** Checking for output when get_defined_vars called in function of a class *** +array(1) { + ["local_var"]=> + int(2) +} + +*** Checking for output when get_defined_vars called in nested functions *** +array(1) { + ["func1_var"]=> + int(2) +} +array(1) { + ["func2_var"]=> + int(3) +} + +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_required_files.php.exp b/hphp/test/zend/bad/zend/get_required_files.php.exp deleted file mode 100644 index 0a19a6ff7..000000000 --- a/hphp/test/zend/bad/zend/get_required_files.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(\d+\)[^ -]+\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_required_files.php.expectf b/hphp/test/zend/bad/zend/get_required_files.php.expectf new file mode 100644 index 000000000..da0664b75 --- /dev/null +++ b/hphp/test/zend/bad/zend/get_required_files.php.expectf @@ -0,0 +1,4 @@ +array(1) { + [0]=> + %string|unicode%(%d)%s +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/halt01.php.exp b/hphp/test/zend/bad/zend/halt01.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/halt01.php.exp rename to hphp/test/zend/bad/zend/halt01.php.expectf diff --git a/hphp/test/zend/bad/zend/halt02.php.exp b/hphp/test/zend/bad/zend/halt02.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/halt02.php.exp rename to hphp/test/zend/bad/zend/halt02.php.expectf diff --git a/hphp/test/zend/bad/zend/halt_compiler1.php.exp b/hphp/test/zend/bad/zend/halt_compiler1.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/halt_compiler1.php.exp rename to hphp/test/zend/bad/zend/halt_compiler1.php.expectf diff --git a/hphp/test/zend/bad/zend/halt_compiler2.php.exp b/hphp/test/zend/bad/zend/halt_compiler2.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/halt_compiler2.php.exp rename to hphp/test/zend/bad/zend/halt_compiler2.php.expectf diff --git a/hphp/test/zend/bad/zend/halt_compiler3.php.exp b/hphp/test/zend/bad/zend/halt_compiler3.php.exp deleted file mode 100644 index 687795a8f..000000000 --- a/hphp/test/zend/bad/zend/halt_compiler3.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -\=\=DONE\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/halt_compiler3.php.expectf b/hphp/test/zend/bad/zend/halt_compiler3.php.expectf new file mode 100644 index 000000000..1b94e8ebc --- /dev/null +++ b/hphp/test/zend/bad/zend/halt_compiler3.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/halt_compiler4.php.exp b/hphp/test/zend/bad/zend/halt_compiler4.php.exp deleted file mode 100644 index 9e21ddad1..000000000 --- a/hphp/test/zend/bad/zend/halt_compiler4.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Notice: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/halt_compiler4.php.expectf b/hphp/test/zend/bad/zend/halt_compiler4.php.expectf new file mode 100644 index 000000000..0136aab3f --- /dev/null +++ b/hphp/test/zend/bad/zend/halt_compiler4.php.expectf @@ -0,0 +1 @@ +HipHop Notice: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_001.php.exp b/hphp/test/zend/bad/zend/heredoc_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_001.php.exp rename to hphp/test/zend/bad/zend/heredoc_001.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_002.php.exp b/hphp/test/zend/bad/zend/heredoc_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_002.php.exp rename to hphp/test/zend/bad/zend/heredoc_002.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_003.php.exp b/hphp/test/zend/bad/zend/heredoc_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_003.php.exp rename to hphp/test/zend/bad/zend/heredoc_003.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_004.php.exp b/hphp/test/zend/bad/zend/heredoc_004.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_004.php.exp rename to hphp/test/zend/bad/zend/heredoc_004.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_005.php.exp b/hphp/test/zend/bad/zend/heredoc_005.php.exp deleted file mode 100644 index 4b7046a0e..000000000 --- a/hphp/test/zend/bad/zend/heredoc_005.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ [^ -]+heredoc\_005\.php\ on\ line\ 6 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_005.php.expectf b/hphp/test/zend/bad/zend/heredoc_005.php.expectf new file mode 100644 index 000000000..aef93bc40 --- /dev/null +++ b/hphp/test/zend/bad/zend/heredoc_005.php.expectf @@ -0,0 +1 @@ +Parse error: %s in %sheredoc_005.php on line 6 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_006.php.exp b/hphp/test/zend/bad/zend/heredoc_006.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_006.php.exp rename to hphp/test/zend/bad/zend/heredoc_006.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_007.php.exp b/hphp/test/zend/bad/zend/heredoc_007.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_007.php.exp rename to hphp/test/zend/bad/zend/heredoc_007.php.expectf diff --git a/hphp/test/zend/good/zend/heredoc_008.php b/hphp/test/zend/bad/zend/heredoc_008.php similarity index 100% rename from hphp/test/zend/good/zend/heredoc_008.php rename to hphp/test/zend/bad/zend/heredoc_008.php diff --git a/hphp/test/zend/good/zend/argument_restriction_004.php.exp b/hphp/test/zend/bad/zend/heredoc_008.php.expectf similarity index 100% rename from hphp/test/zend/good/zend/argument_restriction_004.php.exp rename to hphp/test/zend/bad/zend/heredoc_008.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_009.php.exp b/hphp/test/zend/bad/zend/heredoc_009.php.exp deleted file mode 100644 index 93f9b442d..000000000 --- a/hphp/test/zend/bad/zend/heredoc_009.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -HipHop Notice: .+ -ENDOFHEREDOC\ \ \ \ \;\ -\ \ \ \ ENDOFHEREDOC\;\ -ENDOFHEREDOC\ \ \ \ \ -\ \ \ \ ENDOFHEREDOC\ -\;\ -HipHop Notice: .+ -ENDOFHEREDOC\ \ \ \ \;\ -\ \ \ \ ENDOFHEREDOC\;\ -ENDOFHEREDOC\ \ \ \ \ -\ \ \ \ ENDOFHEREDOC\ -\; \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_009.php.expectf b/hphp/test/zend/bad/zend/heredoc_009.php.expectf new file mode 100644 index 000000000..46fb03d08 --- /dev/null +++ b/hphp/test/zend/bad/zend/heredoc_009.php.expectf @@ -0,0 +1,12 @@ +HipHop Notice: %a +ENDOFHEREDOC ; + ENDOFHEREDOC; +ENDOFHEREDOC + ENDOFHEREDOC +; +HipHop Notice: %a +ENDOFHEREDOC ; + ENDOFHEREDOC; +ENDOFHEREDOC + ENDOFHEREDOC +; \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_010.php.exp b/hphp/test/zend/bad/zend/heredoc_010.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_010.php.exp rename to hphp/test/zend/bad/zend/heredoc_010.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_011.php.exp b/hphp/test/zend/bad/zend/heredoc_011.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_011.php.exp rename to hphp/test/zend/bad/zend/heredoc_011.php.expectf diff --git a/hphp/test/zend/bad/zend/heredoc_013.php.exp b/hphp/test/zend/bad/zend/heredoc_013.php.exp deleted file mode 100644 index c3f640f8d..000000000 --- a/hphp/test/zend/bad/zend/heredoc_013.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ [^ -]+heredoc\_013\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_013.php.expectf b/hphp/test/zend/bad/zend/heredoc_013.php.expectf new file mode 100644 index 000000000..f13043544 --- /dev/null +++ b/hphp/test/zend/bad/zend/heredoc_013.php.expectf @@ -0,0 +1 @@ +Parse error: %s in %sheredoc_013.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_014.php.exp b/hphp/test/zend/bad/zend/heredoc_014.php.exp deleted file mode 100644 index 92cd3ac06..000000000 --- a/hphp/test/zend/bad/zend/heredoc_014.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Parse\ error\:\ [^ -]+\ in\ [^ -]+heredoc\_014\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_014.php.expectf b/hphp/test/zend/bad/zend/heredoc_014.php.expectf new file mode 100644 index 000000000..2ab2bdc31 --- /dev/null +++ b/hphp/test/zend/bad/zend/heredoc_014.php.expectf @@ -0,0 +1 @@ +Parse error: %s in %sheredoc_014.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indexing_001.php.exp b/hphp/test/zend/bad/zend/indexing_001.php.exp deleted file mode 100644 index 057ff95d0..000000000 --- a/hphp/test/zend/bad/zend/indexing_001.php.exp +++ /dev/null @@ -1,155 +0,0 @@ -\*\*\*\ Indexing\ \-\ Testing\ value\ assignment\ with\ key\ \*\*\*\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -int\(0\)\ -HipHop Warning: .+ -int\(1\)\ -HipHop Warning: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -HipHop Notice: .+ -string\(1\)\ \"A\"\ -HipHop Warning: .+ -float\(0\.1\)\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -\ -\*\*\*\ Indexing\ \-\ Testing\ reference\ assignment\ with\ key\ \*\*\*\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -int\(0\)\ -HipHop Warning: .+ -int\(1\)\ -HipHop Warning: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -float\(0\.1\)\ -array\(1\)\ \{\ -\ \ \[\"foo\"\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -\*\*\*\ Indexing\ \-\ Testing\ value\ assignment\ no\ key\ \*\*\*\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -int\(0\)\ -HipHop Warning: .+ -int\(1\)\ -HipHop Warning: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -float\(0\.1\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -\ -\*\*\*\ Indexing\ \-\ Testing\ reference\ assignment\ no\ key\ \*\*\*\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -int\(0\)\ -HipHop Warning: .+ -int\(1\)\ -HipHop Warning: .+ -bool\(true\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -HipHop Warning: .+ -float\(0\.1\)\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ \&array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(1\)\ -\ \ \}\ -\}\ -\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indexing_001.php.expectf b/hphp/test/zend/bad/zend/indexing_001.php.expectf new file mode 100644 index 000000000..9221c0f6e --- /dev/null +++ b/hphp/test/zend/bad/zend/indexing_001.php.expectf @@ -0,0 +1,155 @@ +*** Indexing - Testing value assignment with key *** +array(1) { + ["foo"]=> + array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +int(0) +HipHop Warning: %a +int(1) +HipHop Warning: %a +bool(true) +array(1) { + ["foo"]=> + array(1) { + [0]=> + int(1) + } +} +array(1) { + ["foo"]=> + array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +HipHop Notice: %a +string(1) "A" +HipHop Warning: %a +float(0.1) +array(1) { + ["foo"]=> + array(1) { + [0]=> + int(1) + } +} + +*** Indexing - Testing reference assignment with key *** +array(1) { + ["foo"]=> + &array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +int(0) +HipHop Warning: %a +int(1) +HipHop Warning: %a +bool(true) +array(1) { + ["foo"]=> + &array(1) { + [0]=> + int(1) + } +} +array(1) { + ["foo"]=> + &array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +float(0.1) +array(1) { + ["foo"]=> + &array(1) { + [0]=> + int(1) + } +} +*** Indexing - Testing value assignment no key *** +array(1) { + [0]=> + array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +int(0) +HipHop Warning: %a +int(1) +HipHop Warning: %a +bool(true) +array(1) { + [0]=> + array(1) { + [0]=> + int(1) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +float(0.1) +array(1) { + [0]=> + array(1) { + [0]=> + int(1) + } +} + +*** Indexing - Testing reference assignment no key *** +array(1) { + [0]=> + &array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +int(0) +HipHop Warning: %a +int(1) +HipHop Warning: %a +bool(true) +array(1) { + [0]=> + &array(1) { + [0]=> + int(1) + } +} +array(1) { + [0]=> + &array(1) { + [0]=> + int(1) + } +} +HipHop Warning: %a +float(0.1) +array(1) { + [0]=> + &array(1) { + [0]=> + int(1) + } +} + +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_call_array_003.php.exp b/hphp/test/zend/bad/zend/indirect_call_array_003.php.exp deleted file mode 100644 index 8b302c0e0..000000000 --- a/hphp/test/zend/bad/zend/indirect_call_array_003.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -From\ foo\:\:\_\_callStatic\:\ -string\(3\)\ \"abc\"\ -HipHop Notice: .+ -NULL\ -From\ foo\:\:\_\_call\:\ -string\(3\)\ \"abc\"\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_call_array_003.php.expectf b/hphp/test/zend/bad/zend/indirect_call_array_003.php.expectf new file mode 100644 index 000000000..6fad149ca --- /dev/null +++ b/hphp/test/zend/bad/zend/indirect_call_array_003.php.expectf @@ -0,0 +1,8 @@ +From foo::__callStatic: +string(3) "abc" +HipHop Notice: %a +NULL +From foo::__call: +string(3) "abc" +object(foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_call_array_004.php.exp b/hphp/test/zend/bad/zend/indirect_call_array_004.php.exp deleted file mode 100644 index 32bbd7c6b..000000000 --- a/hphp/test/zend/bad/zend/indirect_call_array_004.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -foo\ -From\ foo\:\:\_\_callStatic\:\ -123\ -\-\-\-\-\-\-\ -foo\ -From\ foo\:\:\_\_call\:\ -123 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_call_array_004.php.expectf b/hphp/test/zend/bad/zend/indirect_call_array_004.php.expectf new file mode 100644 index 000000000..dd9f8259b --- /dev/null +++ b/hphp/test/zend/bad/zend/indirect_call_array_004.php.expectf @@ -0,0 +1,7 @@ +foo +From foo::__callStatic: +123 +------ +foo +From foo::__call: +123 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_method_call_005.php.exp b/hphp/test/zend/bad/zend/indirect_method_call_005.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/indirect_method_call_005.php.exp rename to hphp/test/zend/bad/zend/indirect_method_call_005.php.expectf diff --git a/hphp/test/zend/bad/zend/indirect_reference_this.php.exp b/hphp/test/zend/bad/zend/indirect_reference_this.php.exp deleted file mode 100644 index bacb955af..000000000 --- a/hphp/test/zend/bad/zend/indirect_reference_this.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -object\(X\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_reference_this.php.expectf b/hphp/test/zend/bad/zend/indirect_reference_this.php.expectf new file mode 100644 index 000000000..032a4a295 --- /dev/null +++ b/hphp/test/zend/bad/zend/indirect_reference_this.php.expectf @@ -0,0 +1,2 @@ +object(X)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/instanceof_001.php.exp b/hphp/test/zend/bad/zend/instanceof_001.php.exp deleted file mode 100644 index 7296ecca7..000000000 --- a/hphp/test/zend/bad/zend/instanceof_001.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -\ -Catchable\ fatal\ error\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ string\ in\ hphp\/test\/zend\/bad\/zend\/instanceof\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/instanceof_001.php.expectf b/hphp/test/zend/bad/zend/instanceof_001.php.expectf new file mode 100644 index 000000000..a997d80fe --- /dev/null +++ b/hphp/test/zend/bad/zend/instanceof_001.php.expectf @@ -0,0 +1,7 @@ +bool(true) +bool(true) +bool(true) +bool(true) +bool(false) + +Catchable fatal error: Object of class stdClass could not be converted to string in hphp/test/zend/bad/zend/instanceof_001.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/int_overflow_32bit.php.exp b/hphp/test/zend/bad/zend/int_overflow_32bit.php.exp deleted file mode 100644 index c6bad9758..000000000 --- a/hphp/test/zend/bad/zend/int_overflow_32bit.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -int\(\-2147483648\)\ -int\(\-2147483647\)\ -int\(\-2147483638\)\ -int\(\-2147483548\)\ -int\(\-2147482648\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/int_overflow_32bit.php.expectf b/hphp/test/zend/bad/zend/int_overflow_32bit.php.expectf new file mode 100644 index 000000000..259d64e17 --- /dev/null +++ b/hphp/test/zend/bad/zend/int_overflow_32bit.php.expectf @@ -0,0 +1,6 @@ +int(-2147483648) +int(-2147483647) +int(-2147483638) +int(-2147483548) +int(-2147482648) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/int_overflow_64bit.php.exp b/hphp/test/zend/bad/zend/int_overflow_64bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/int_overflow_64bit.php.exp rename to hphp/test/zend/bad/zend/int_overflow_64bit.php.expectf diff --git a/hphp/test/zend/bad/zend/int_underflow_32bit.php.exp b/hphp/test/zend/bad/zend/int_underflow_32bit.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/int_underflow_32bit.php.exp rename to hphp/test/zend/bad/zend/int_underflow_32bit.php.expectf diff --git a/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp b/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp deleted file mode 100644 index 4dbe607ce..000000000 --- a/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ -int\(\-9223372036854775808\)\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/int_underflow_64bit.php.expectf b/hphp/test/zend/bad/zend/int_underflow_64bit.php.expectf new file mode 100644 index 000000000..e1e4d05bb --- /dev/null +++ b/hphp/test/zend/bad/zend/int_underflow_64bit.php.expectf @@ -0,0 +1,6 @@ +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/inter_02.php.expectf b/hphp/test/zend/bad/zend/inter_02.php.expectf new file mode 100644 index 000000000..c4f25cd82 --- /dev/null +++ b/hphp/test/zend/bad/zend/inter_02.php.expectf @@ -0,0 +1 @@ +int(2) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/interface_exists_001.php.exp b/hphp/test/zend/bad/zend/interface_exists_001.php.exp deleted file mode 100644 index ee5db0208..000000000 --- a/hphp/test/zend/bad/zend/interface_exists_001.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Warning: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/interface_exists_001.php.expectf b/hphp/test/zend/bad/zend/interface_exists_001.php.expectf new file mode 100644 index 000000000..1ab42e625 --- /dev/null +++ b/hphp/test/zend/bad/zend/interface_exists_001.php.expectf @@ -0,0 +1,5 @@ +bool(true) +bool(false) +bool(false) +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/interface_exists_002.php.exp b/hphp/test/zend/bad/zend/interface_exists_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/interface_exists_002.php.exp rename to hphp/test/zend/bad/zend/interface_exists_002.php.expectf diff --git a/hphp/test/zend/bad/zend/isset_003.php.exp b/hphp/test/zend/bad/zend/isset_003.php.exp deleted file mode 100644 index 5caddf94a..000000000 --- a/hphp/test/zend/bad/zend/isset_003.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/isset_003.php.expectf b/hphp/test/zend/bad/zend/isset_003.php.expectf new file mode 100644 index 000000000..b8878ac6e --- /dev/null +++ b/hphp/test/zend/bad/zend/isset_003.php.expectf @@ -0,0 +1,11 @@ +bool(true) +bool(true) +bool(false) +bool(false) +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +bool(false) +bool(true) +bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/isset_003_2_4.php.exp b/hphp/test/zend/bad/zend/isset_003_2_4.php.exp deleted file mode 100644 index 5caddf94a..000000000 --- a/hphp/test/zend/bad/zend/isset_003_2_4.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -bool\(false\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/isset_003_2_4.php.expectf b/hphp/test/zend/bad/zend/isset_003_2_4.php.expectf new file mode 100644 index 000000000..b8878ac6e --- /dev/null +++ b/hphp/test/zend/bad/zend/isset_003_2_4.php.expectf @@ -0,0 +1,11 @@ +bool(true) +bool(true) +bool(false) +bool(false) +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +bool(false) +bool(true) +bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/isset_str_offset.php.exp b/hphp/test/zend/bad/zend/isset_str_offset.php.exp deleted file mode 100644 index 1ebe92a4d..000000000 --- a/hphp/test/zend/bad/zend/isset_str_offset.php.exp +++ /dev/null @@ -1,38 +0,0 @@ -\-\ isset\ \-\-\-\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -\-\ string\ \-\-\-\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -bool\(false\)\ -\-\ bool\ \-\-\-\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -\-\ null\ \-\-\-\ -bool\(true\)\ -\-\ double\ \-\-\-\ -bool\(false\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(true\)\ -bool\(false\)\ -\-\ array\ \-\-\-\ -bool\(false\)\ -bool\(false\)\ -\-\ object\ \-\-\-\ -bool\(false\)\ -\-\ resource\ \-\-\-\ -bool\(false\)\ -done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/isset_str_offset.php.expectf b/hphp/test/zend/bad/zend/isset_str_offset.php.expectf new file mode 100644 index 000000000..ed2ab9c70 --- /dev/null +++ b/hphp/test/zend/bad/zend/isset_str_offset.php.expectf @@ -0,0 +1,38 @@ +- isset --- +bool(false) +bool(true) +bool(true) +bool(true) +bool(true) +bool(false) +bool(false) +- string --- +bool(false) +bool(true) +bool(true) +bool(true) +bool(false) +bool(false) +bool(false) +- bool --- +bool(true) +bool(true) +bool(false) +- null --- +bool(true) +- double --- +bool(false) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(false) +- array --- +bool(false) +bool(false) +- object --- +bool(false) +- resource --- +bool(false) +done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/jump13.php.exp b/hphp/test/zend/bad/zend/jump13.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/jump13.php.exp rename to hphp/test/zend/bad/zend/jump13.php.expectf diff --git a/hphp/test/zend/bad/zend/list_005.php.exp b/hphp/test/zend/bad/zend/list_005.php.exp deleted file mode 100644 index a8e3318f1..000000000 --- a/hphp/test/zend/bad/zend/list_005.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -string\(1\)\ \"f\"\ -string\(1\)\ \"o\"\ -string\(1\)\ \"o\"\ -\-\-\-\-\ -NULL\ -NULL\ -NULL\ -\-\-\-\-\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/list_005.php.expectf b/hphp/test/zend/bad/zend/list_005.php.expectf new file mode 100644 index 000000000..ce3c5f827 --- /dev/null +++ b/hphp/test/zend/bad/zend/list_005.php.expectf @@ -0,0 +1,9 @@ +string(1) "f" +string(1) "o" +string(1) "o" +---- +NULL +NULL +NULL +---- +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_006.php.exp b/hphp/test/zend/bad/zend/lsb_006.php.exp deleted file mode 100644 index 445c0a93a..000000000 --- a/hphp/test/zend/bad/zend/lsb_006.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,[^ -]+expecting\ [^ -]+\ in\ hphp\/test\/zend\/bad\/zend\/lsb\_006\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_006.php.expectf b/hphp/test/zend/bad/zend/lsb_006.php.expectf new file mode 100644 index 000000000..bdb51366c --- /dev/null +++ b/hphp/test/zend/bad/zend/lsb_006.php.expectf @@ -0,0 +1 @@ +Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/zend/lsb_006.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_007.php.exp b/hphp/test/zend/bad/zend/lsb_007.php.exp deleted file mode 100644 index 0a6772f6c..000000000 --- a/hphp/test/zend/bad/zend/lsb_007.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,[^ -]+expecting\ [^ -]+\ in\ hphp\/test\/zend\/bad\/zend\/lsb\_007\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_007.php.expectf b/hphp/test/zend/bad/zend/lsb_007.php.expectf new file mode 100644 index 000000000..602b77614 --- /dev/null +++ b/hphp/test/zend/bad/zend/lsb_007.php.expectf @@ -0,0 +1 @@ +Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/zend/lsb_007.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_008.php.exp b/hphp/test/zend/bad/zend/lsb_008.php.exp deleted file mode 100644 index d78bca5fc..000000000 --- a/hphp/test/zend/bad/zend/lsb_008.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,[^ -]+expecting\ [^ -]+\ in\ hphp\/test\/zend\/bad\/zend\/lsb\_008\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_008.php.expectf b/hphp/test/zend/bad/zend/lsb_008.php.expectf new file mode 100644 index 000000000..68a35f743 --- /dev/null +++ b/hphp/test/zend/bad/zend/lsb_008.php.expectf @@ -0,0 +1 @@ +Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/zend/lsb_008.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_009.php.exp b/hphp/test/zend/bad/zend/lsb_009.php.exp deleted file mode 100644 index 6bb79b193..000000000 --- a/hphp/test/zend/bad/zend/lsb_009.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Parse\ error\:\ [^ -]+\ error\,[^ -]+expecting\ [^ -]+\ in\ hphp\/test\/zend\/bad\/zend\/lsb\_009\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/lsb_009.php.expectf b/hphp/test/zend/bad/zend/lsb_009.php.expectf new file mode 100644 index 000000000..ee4419261 --- /dev/null +++ b/hphp/test/zend/bad/zend/lsb_009.php.expectf @@ -0,0 +1 @@ +Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/zend/lsb_009.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_002.php.exp b/hphp/test/zend/bad/zend/magic_methods_002.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_002.php.expectf b/hphp/test/zend/bad/zend/magic_methods_002.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_002.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_003.php.exp b/hphp/test/zend/bad/zend/magic_methods_003.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_003.php.expectf b/hphp/test/zend/bad/zend/magic_methods_003.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_003.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_004.php.exp b/hphp/test/zend/bad/zend/magic_methods_004.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_004.php.expectf b/hphp/test/zend/bad/zend/magic_methods_004.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_004.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_005.php.exp b/hphp/test/zend/bad/zend/magic_methods_005.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_005.php.expectf b/hphp/test/zend/bad/zend/magic_methods_005.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_005.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_006.php.exp b/hphp/test/zend/bad/zend/magic_methods_006.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_006.php.expectf b/hphp/test/zend/bad/zend/magic_methods_006.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_006.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_007.php.exp b/hphp/test/zend/bad/zend/magic_methods_007.php.exp deleted file mode 100644 index 8e1e2625b..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_007.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_007.php.expectf b/hphp/test/zend/bad/zend/magic_methods_007.php.expectf new file mode 100644 index 000000000..4f3b1c58b --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_007.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_008.php.exp b/hphp/test/zend/bad/zend/magic_methods_008.php.exp deleted file mode 100644 index 8e1e2625b..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_008.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_008.php.expectf b/hphp/test/zend/bad/zend/magic_methods_008.php.expectf new file mode 100644 index 000000000..4f3b1c58b --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_008.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_009.php.exp b/hphp/test/zend/bad/zend/magic_methods_009.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_009.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_009.php.expectf b/hphp/test/zend/bad/zend/magic_methods_009.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_009.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_010.php.exp b/hphp/test/zend/bad/zend/magic_methods_010.php.exp deleted file mode 100644 index 8e1e2625b..000000000 --- a/hphp/test/zend/bad/zend/magic_methods_010.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_methods_010.php.expectf b/hphp/test/zend/bad/zend/magic_methods_010.php.expectf new file mode 100644 index 000000000..4f3b1c58b --- /dev/null +++ b/hphp/test/zend/bad/zend/magic_methods_010.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_001.php.exp b/hphp/test/zend/bad/zend/nowdoc_001.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_001.php.exp rename to hphp/test/zend/bad/zend/nowdoc_001.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_002.php.exp b/hphp/test/zend/bad/zend/nowdoc_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_002.php.exp rename to hphp/test/zend/bad/zend/nowdoc_002.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_003.php.exp b/hphp/test/zend/bad/zend/nowdoc_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_003.php.exp rename to hphp/test/zend/bad/zend/nowdoc_003.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_004.php.exp b/hphp/test/zend/bad/zend/nowdoc_004.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_004.php.exp rename to hphp/test/zend/bad/zend/nowdoc_004.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_005.php.exp b/hphp/test/zend/bad/zend/nowdoc_005.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_005.php.exp rename to hphp/test/zend/bad/zend/nowdoc_005.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_006.php.exp b/hphp/test/zend/bad/zend/nowdoc_006.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_006.php.exp rename to hphp/test/zend/bad/zend/nowdoc_006.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_007.php.exp b/hphp/test/zend/bad/zend/nowdoc_007.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_007.php.exp rename to hphp/test/zend/bad/zend/nowdoc_007.php.expectf diff --git a/hphp/test/zend/good/zend/nowdoc_008.php b/hphp/test/zend/bad/zend/nowdoc_008.php similarity index 100% rename from hphp/test/zend/good/zend/nowdoc_008.php rename to hphp/test/zend/bad/zend/nowdoc_008.php diff --git a/hphp/test/zend/bad/zend/nowdoc_008.php.expectf b/hphp/test/zend/bad/zend/nowdoc_008.php.expectf new file mode 100644 index 000000000..e69de29bb diff --git a/hphp/test/zend/bad/zend/nowdoc_009.php.exp b/hphp/test/zend/bad/zend/nowdoc_009.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_009.php.exp rename to hphp/test/zend/bad/zend/nowdoc_009.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_010.php.exp b/hphp/test/zend/bad/zend/nowdoc_010.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_010.php.exp rename to hphp/test/zend/bad/zend/nowdoc_010.php.expectf diff --git a/hphp/test/zend/bad/zend/nowdoc_011.php.exp b/hphp/test/zend/bad/zend/nowdoc_011.php.exp deleted file mode 100644 index 9539311b3..000000000 --- a/hphp/test/zend/bad/zend/nowdoc_011.php.exp +++ /dev/null @@ -1 +0,0 @@ -If\ you\ DON\'T\ see\ this\,\ something\'s\ wrong\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_011.php.expectf b/hphp/test/zend/bad/zend/nowdoc_011.php.expectf new file mode 100644 index 000000000..43cb54321 --- /dev/null +++ b/hphp/test/zend/bad/zend/nowdoc_011.php.expectf @@ -0,0 +1 @@ +If you DON'T see this, something's wrong. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_012.php.exp b/hphp/test/zend/bad/zend/nowdoc_012.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_012.php.exp rename to hphp/test/zend/bad/zend/nowdoc_012.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_003.php.exp b/hphp/test/zend/bad/zend/ns_003.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_003.php.exp rename to hphp/test/zend/bad/zend/ns_003.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_005.php.exp b/hphp/test/zend/bad/zend/ns_005.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_005.php.exp rename to hphp/test/zend/bad/zend/ns_005.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_006.php.exp b/hphp/test/zend/bad/zend/ns_006.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_006.php.exp rename to hphp/test/zend/bad/zend/ns_006.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_007.php.exp b/hphp/test/zend/bad/zend/ns_007.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_007.php.exp rename to hphp/test/zend/bad/zend/ns_007.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_008.php.exp b/hphp/test/zend/bad/zend/ns_008.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_008.php.exp rename to hphp/test/zend/bad/zend/ns_008.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_019.php.exp b/hphp/test/zend/bad/zend/ns_009.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_019.php.exp rename to hphp/test/zend/bad/zend/ns_009.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_011.php.exp b/hphp/test/zend/bad/zend/ns_011.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_011.php.exp rename to hphp/test/zend/bad/zend/ns_011.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_012.php.exp b/hphp/test/zend/bad/zend/ns_012.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_012.php.exp rename to hphp/test/zend/bad/zend/ns_012.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_013.php.exp b/hphp/test/zend/bad/zend/ns_013.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_013.php.exp rename to hphp/test/zend/bad/zend/ns_013.php.expectf diff --git a/hphp/test/zend/good/tests-lang/036.php.exp b/hphp/test/zend/bad/zend/ns_019.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/036.php.exp rename to hphp/test/zend/bad/zend/ns_019.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_020.php.exp b/hphp/test/zend/bad/zend/ns_020.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_020.php.exp rename to hphp/test/zend/bad/zend/ns_020.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_021.php.exp b/hphp/test/zend/bad/zend/ns_021.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_021.php.exp rename to hphp/test/zend/bad/zend/ns_021.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_022.php.exp b/hphp/test/zend/bad/zend/ns_022.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_022.php.exp rename to hphp/test/zend/bad/zend/ns_022.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_023.php.exp b/hphp/test/zend/bad/zend/ns_023.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_023.php.exp rename to hphp/test/zend/bad/zend/ns_023.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_027.php.exp b/hphp/test/zend/bad/zend/ns_027.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_027.php.exp rename to hphp/test/zend/bad/zend/ns_027.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_028.php.exp b/hphp/test/zend/bad/zend/ns_028.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_028.php.exp rename to hphp/test/zend/bad/zend/ns_028.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_029.php.exp b/hphp/test/zend/bad/zend/ns_029.php.exp deleted file mode 100644 index 1c202243c..000000000 --- a/hphp/test/zend/bad/zend/ns_029.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Undefined class: A\\B in hphp/test/zend/good/zend/ns_029.php on line 7 diff --git a/hphp/test/zend/bad/zend/ns_030.php.exp b/hphp/test/zend/bad/zend/ns_030.php.exp deleted file mode 100644 index c4fa4ed86..000000000 --- a/hphp/test/zend/bad/zend/ns_030.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Undefined class: A\\B in hphp/test/zend/good/zend/ns_030.php on line 7 diff --git a/hphp/test/zend/bad/zend/ns_032.php.exp b/hphp/test/zend/bad/zend/ns_032.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_032.php.exp rename to hphp/test/zend/bad/zend/ns_032.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_033.php.exp b/hphp/test/zend/bad/zend/ns_033.php.exp deleted file mode 100644 index ee93e3dcc..000000000 --- a/hphp/test/zend/bad/zend/ns_033.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_033.php.expectf b/hphp/test/zend/bad/zend/ns_033.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_033.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_034.php.exp b/hphp/test/zend/bad/zend/ns_034.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_034.php.exp rename to hphp/test/zend/bad/zend/ns_034.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_035.php.exp b/hphp/test/zend/bad/zend/ns_035.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_035.php.exp rename to hphp/test/zend/bad/zend/ns_035.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_036.php.exp b/hphp/test/zend/bad/zend/ns_036.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_036.php.exp rename to hphp/test/zend/bad/zend/ns_036.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_040.php.exp b/hphp/test/zend/bad/zend/ns_040.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_040.php.exp rename to hphp/test/zend/bad/zend/ns_040.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_041.php.exp b/hphp/test/zend/bad/zend/ns_041.php.exp deleted file mode 100644 index e6127f358..000000000 --- a/hphp/test/zend/bad/zend/ns_041.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -ok\ -ok\ -ok\ -HipHop Notice: .+ -BAR \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_041.php.expectf b/hphp/test/zend/bad/zend/ns_041.php.expectf new file mode 100644 index 000000000..4284c8897 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_041.php.expectf @@ -0,0 +1,5 @@ +ok +ok +ok +HipHop Notice: %a +BAR \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_042.php.exp b/hphp/test/zend/bad/zend/ns_042.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_042.php.exp rename to hphp/test/zend/bad/zend/ns_042.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_043.php.exp b/hphp/test/zend/bad/zend/ns_043.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_043.php.exp rename to hphp/test/zend/bad/zend/ns_043.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_044.php.exp b/hphp/test/zend/bad/zend/ns_044.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_044.php.exp rename to hphp/test/zend/bad/zend/ns_044.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_045.php.exp b/hphp/test/zend/bad/zend/ns_045.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_045.php.exp rename to hphp/test/zend/bad/zend/ns_045.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_046.php.exp b/hphp/test/zend/bad/zend/ns_046.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_046.php.exp rename to hphp/test/zend/bad/zend/ns_046.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_047.php.exp b/hphp/test/zend/bad/zend/ns_047.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_047.php.exp rename to hphp/test/zend/bad/zend/ns_047.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_048.php.exp b/hphp/test/zend/bad/zend/ns_048.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_048.php.exp rename to hphp/test/zend/bad/zend/ns_048.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_049.php.exp b/hphp/test/zend/bad/zend/ns_049.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_049.php.exp rename to hphp/test/zend/bad/zend/ns_049.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_050.php.exp b/hphp/test/zend/bad/zend/ns_050.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_050.php.exp rename to hphp/test/zend/bad/zend/ns_050.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_051.php.exp b/hphp/test/zend/bad/zend/ns_051.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_051.php.exp rename to hphp/test/zend/bad/zend/ns_051.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_052.php.exp b/hphp/test/zend/bad/zend/ns_052.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_052.php.exp rename to hphp/test/zend/bad/zend/ns_052.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_053.php.exp b/hphp/test/zend/bad/zend/ns_053.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_053.php.exp rename to hphp/test/zend/bad/zend/ns_053.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_054.php.exp b/hphp/test/zend/bad/zend/ns_054.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_054.php.exp rename to hphp/test/zend/bad/zend/ns_054.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_055.php.exp b/hphp/test/zend/bad/zend/ns_055.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_055.php.exp rename to hphp/test/zend/bad/zend/ns_055.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_056.php.exp b/hphp/test/zend/bad/zend/ns_056.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_056.php.exp rename to hphp/test/zend/bad/zend/ns_056.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_057.php.exp b/hphp/test/zend/bad/zend/ns_057.php.exp deleted file mode 100644 index 4ce651182..000000000 --- a/hphp/test/zend/bad/zend/ns_057.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -const\ ok\ -func\ ok\ -const\ ok\ -const\ ok\ -var\ ok\ -method\ ok\ -const\ ok\ -const\ ok\ -class\ ok\ -ok\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_057.php.expectf b/hphp/test/zend/bad/zend/ns_057.php.expectf new file mode 100644 index 000000000..1bb641c3c --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_057.php.expectf @@ -0,0 +1,11 @@ +const ok +func ok +const ok +const ok +var ok +method ok +const ok +const ok +class ok +ok +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_058.php.exp b/hphp/test/zend/bad/zend/ns_058.php.exp deleted file mode 100644 index 4ce651182..000000000 --- a/hphp/test/zend/bad/zend/ns_058.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -const\ ok\ -func\ ok\ -const\ ok\ -const\ ok\ -var\ ok\ -method\ ok\ -const\ ok\ -const\ ok\ -class\ ok\ -ok\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_058.php.expectf b/hphp/test/zend/bad/zend/ns_058.php.expectf new file mode 100644 index 000000000..1bb641c3c --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_058.php.expectf @@ -0,0 +1,11 @@ +const ok +func ok +const ok +const ok +var ok +method ok +const ok +const ok +class ok +ok +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_059.php.exp b/hphp/test/zend/bad/zend/ns_059.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/ns_059.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_059.php.expectf b/hphp/test/zend/bad/zend/ns_059.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_059.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_060.php.exp b/hphp/test/zend/bad/zend/ns_060.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_060.php.exp rename to hphp/test/zend/bad/zend/ns_060.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_062.php.exp b/hphp/test/zend/bad/zend/ns_062.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_062.php.exp rename to hphp/test/zend/bad/zend/ns_062.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_064.php.exp b/hphp/test/zend/bad/zend/ns_064.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_064.php.exp rename to hphp/test/zend/bad/zend/ns_064.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_065.php.exp b/hphp/test/zend/bad/zend/ns_065.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_065.php.exp rename to hphp/test/zend/bad/zend/ns_065.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_066.php.exp b/hphp/test/zend/bad/zend/ns_066.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_066.php.exp rename to hphp/test/zend/bad/zend/ns_066.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_067.php.exp b/hphp/test/zend/bad/zend/ns_067.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_067.php.exp rename to hphp/test/zend/bad/zend/ns_067.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_069.php.exp b/hphp/test/zend/bad/zend/ns_069.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_069.php.exp rename to hphp/test/zend/bad/zend/ns_069.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_070.php.exp b/hphp/test/zend/bad/zend/ns_070.php.exp deleted file mode 100644 index f55fcdd2b..000000000 --- a/hphp/test/zend/bad/zend/ns_070.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_070.php.expectf b/hphp/test/zend/bad/zend/ns_070.php.expectf new file mode 100644 index 000000000..95f63d4d4 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_070.php.expectf @@ -0,0 +1,3 @@ +object(stdClass)#%d (0) { +} +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_071.php.exp b/hphp/test/zend/bad/zend/ns_071.php.exp deleted file mode 100644 index 189817d33..000000000 --- a/hphp/test/zend/bad/zend/ns_071.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -NULL\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ foo\\bar\:\:\_\_construct\(\)\ must\ be\ of\ the\ type\ array\,\ object\ given\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/ns\_071\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/ns\_071\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_071.php.expectf b/hphp/test/zend/bad/zend/ns_071.php.expectf new file mode 100644 index 000000000..f5d040522 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_071.php.expectf @@ -0,0 +1,3 @@ +NULL + +Catchable fatal error: Argument 1 passed to foo\bar::__construct() must be of the type array, object given, called in hphp/test/zend/bad/zend/ns_071.php on line %d and defined in hphp/test/zend/bad/zend/ns_071.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_072.php.exp b/hphp/test/zend/bad/zend/ns_072.php.exp deleted file mode 100644 index 1d7f50d56..000000000 --- a/hphp/test/zend/bad/zend/ns_072.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -object\(foo\\test\)\#\d+\ \(0\)\ \{\ -\}\ -NULL\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ foo\\bar\:\:\_\_construct\(\)\ must\ implement\ interface\ foo\\foo\,\ instance\ of\ stdClass\ given\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/ns\_072\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/ns\_072\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_072.php.expectf b/hphp/test/zend/bad/zend/ns_072.php.expectf new file mode 100644 index 000000000..56ec8927d --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_072.php.expectf @@ -0,0 +1,5 @@ +object(foo\test)#%d (0) { +} +NULL + +Catchable fatal error: Argument 1 passed to foo\bar::__construct() must implement interface foo\foo, instance of stdClass given, called in hphp/test/zend/bad/zend/ns_072.php on line %d and defined in hphp/test/zend/bad/zend/ns_072.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_073.php.exp b/hphp/test/zend/bad/zend/ns_073.php.exp deleted file mode 100644 index b68a58800..000000000 --- a/hphp/test/zend/bad/zend/ns_073.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -NULL\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_073.php.expectf b/hphp/test/zend/bad/zend/ns_073.php.expectf new file mode 100644 index 000000000..00bddfaf1 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_073.php.expectf @@ -0,0 +1,3 @@ +NULL +object(stdClass)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_074.php.exp b/hphp/test/zend/bad/zend/ns_074.php.exp deleted file mode 100644 index 19d5bd53d..000000000 --- a/hphp/test/zend/bad/zend/ns_074.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -NULL\ -object\(foo\\stdclass\)\#\d+\ \(0\)\ \{\ -\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_074.php.expectf b/hphp/test/zend/bad/zend/ns_074.php.expectf new file mode 100644 index 000000000..c64d1106e --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_074.php.expectf @@ -0,0 +1,5 @@ +NULL +object(foo\stdclass)#%d (0) { +} +object(stdClass)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_075.php.exp b/hphp/test/zend/bad/zend/ns_075.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/ns_075.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_075.php.expectf b/hphp/test/zend/bad/zend/ns_075.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_075.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_076.php.exp b/hphp/test/zend/bad/zend/ns_076.php.exp deleted file mode 100644 index 4787f1cec..000000000 --- a/hphp/test/zend/bad/zend/ns_076.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -HipHop Notice: .+ -HipHop Notice: .+ -HipHop Notice: .+ -unknown\ -array\(1\)\ \{\ -\ \ \[\"unknown\"\]\=\>\ -\ \ [^ -]+\(7\)\ \"unknown\"\ -\}\ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_076.php.expectf b/hphp/test/zend/bad/zend/ns_076.php.expectf new file mode 100644 index 000000000..7c3077aa1 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_076.php.expectf @@ -0,0 +1,9 @@ +HipHop Notice: %a +HipHop Notice: %a +HipHop Notice: %a +unknown +array(1) { + ["unknown"]=> + %s(7) "unknown" +} +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_5.php.exp b/hphp/test/zend/bad/zend/ns_077_5.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/ns_077_5.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_5.php.expectf b/hphp/test/zend/bad/zend/ns_077_5.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_077_5.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_6.php.exp b/hphp/test/zend/bad/zend/ns_077_6.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/ns_077_6.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_6.php.expectf b/hphp/test/zend/bad/zend/ns_077_6.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_077_6.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_7.php.exp b/hphp/test/zend/bad/zend/ns_077_7.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/ns_077_7.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_7.php.expectf b/hphp/test/zend/bad/zend/ns_077_7.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_077_7.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_8.php.exp b/hphp/test/zend/bad/zend/ns_077_8.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/ns_077_8.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_8.php.expectf b/hphp/test/zend/bad/zend/ns_077_8.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_077_8.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_080.php.exp b/hphp/test/zend/bad/zend/ns_080.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_080.php.exp rename to hphp/test/zend/bad/zend/ns_080.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_082.php.exp b/hphp/test/zend/bad/zend/ns_082.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_082.php.exp rename to hphp/test/zend/bad/zend/ns_082.php.expectf diff --git a/hphp/test/zend/bad/zend/ns_085.php.exp b/hphp/test/zend/bad/zend/ns_085.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/ns_085.php.exp rename to hphp/test/zend/bad/zend/ns_085.php.expectf diff --git a/hphp/test/zend/bad/zend/objects_013.php.exp b/hphp/test/zend/bad/zend/objects_013.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/objects_013.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_013.php.expectf b/hphp/test/zend/bad/zend/objects_013.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_013.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_014.php.exp b/hphp/test/zend/bad/zend/objects_014.php.exp deleted file mode 100644 index ee7836ecc..000000000 --- a/hphp/test/zend/bad/zend/objects_014.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_014.php.expectf b/hphp/test/zend/bad/zend/objects_014.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_014.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_020.php.exp b/hphp/test/zend/bad/zend/objects_020.php.exp deleted file mode 100644 index da9e9f6dd..000000000 --- a/hphp/test/zend/bad/zend/objects_020.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -object\(stdClass\)\#\d+\ \(2\)\ \{\ -\ \ \[\"a\"\]\=\>\ -\ \ \*RECURSION\*\ -\ \ \[\"b\"\]\=\>\ -\ \ array\(1\)\ \{\ -\ \ \ \ \[0\]\=\>\ -\ \ \ \ int\(2\)\ -\ \ \}\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_020.php.expectf b/hphp/test/zend/bad/zend/objects_020.php.expectf new file mode 100644 index 000000000..77fd31107 --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_020.php.expectf @@ -0,0 +1,9 @@ +object(stdClass)#%d (2) { + ["a"]=> + *RECURSION* + ["b"]=> + array(1) { + [0]=> + int(2) + } +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_022.php.exp b/hphp/test/zend/bad/zend/objects_022.php.exp deleted file mode 100644 index 89c920946..000000000 --- a/hphp/test/zend/bad/zend/objects_022.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(bar\)\#\d+\ \(0\)\ \{\ -\}\ -object\(baz\)\#\d+\ \(0\)\ \{\ -\}\ -\ -Catchable\ fatal\ error\:\ Argument\ 1\ passed\ to\ foo\:\:testFoo\(\)\ must\ be\ an\ instance\ of\ foo\,\ instance\ of\ stdClass\ given\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/objects\_022\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/objects\_022\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_022.php.expectf b/hphp/test/zend/bad/zend/objects_022.php.expectf new file mode 100644 index 000000000..b7d1d7b25 --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_022.php.expectf @@ -0,0 +1,8 @@ +object(foo)#%d (0) { +} +object(bar)#%d (0) { +} +object(baz)#%d (0) { +} + +Catchable fatal error: Argument 1 passed to foo::testFoo() must be an instance of foo, instance of stdClass given, called in hphp/test/zend/bad/zend/objects_022.php on line %d and defined in hphp/test/zend/bad/zend/objects_022.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/good/zend/objects_024.php b/hphp/test/zend/bad/zend/objects_024.php similarity index 100% rename from hphp/test/zend/good/zend/objects_024.php rename to hphp/test/zend/bad/zend/objects_024.php diff --git a/hphp/test/zend/bad/zend/objects_024.php.expectf b/hphp/test/zend/bad/zend/objects_024.php.expectf new file mode 100644 index 000000000..21d6ed374 --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_024.php.expectf @@ -0,0 +1,13 @@ +int(1) +int(1) +int(1) + +NULL +int(2) +NULL + +object(foo)#%d (0) { +} +int(3) +object(foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_027.php.exp b/hphp/test/zend/bad/zend/objects_027.php.exp deleted file mode 100644 index 36982fb01..000000000 --- a/hphp/test/zend/bad/zend/objects_027.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -\ -Strict\ Standards\:\ Non\-static\ method\ foo\:\:test\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/objects\_027\.php\ on\ line\ \d+\ -\ -Strict\ Standards\:\ Non\-static\ method\ bar\:\:show\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/objects\_027\.php\ on\ line\ \d+\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\}\ -\ -Strict\ Standards\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ non\-static\ method\ foo\:\:test\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/objects\_027\.php\ on\ line\ \d+\ -\ -Strict\ Standards\:\ Non\-static\ method\ bar\:\:show\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/objects\_027\.php\ on\ line\ \d+\ -object\(foo\)\#\d+\ \(0\)\ \{\ -\} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_027.php.expectf b/hphp/test/zend/bad/zend/objects_027.php.expectf new file mode 100644 index 000000000..38de0b3e7 --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_027.php.expectf @@ -0,0 +1,16 @@ +object(foo)#%d (0) { +} + +Strict Standards: Non-static method foo::test() should not be called statically in hphp/test/zend/bad/zend/objects_027.php on line %d + +Strict Standards: Non-static method bar::show() should not be called statically in hphp/test/zend/bad/zend/objects_027.php on line %d +object(foo)#%d (0) { +} +object(foo)#%d (0) { +} + +Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method foo::test() should not be called statically in hphp/test/zend/bad/zend/objects_027.php on line %d + +Strict Standards: Non-static method bar::show() should not be called statically in hphp/test/zend/bad/zend/objects_027.php on line %d +object(foo)#%d (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_029.php.expectf b/hphp/test/zend/bad/zend/objects_029.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_029.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_030.php.expectf b/hphp/test/zend/bad/zend/objects_030.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/bad/zend/objects_030.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_array.php.exp b/hphp/test/zend/bad/zend/offset_array.php.exp deleted file mode 100644 index ac6c45ee2..000000000 --- a/hphp/test/zend/bad/zend/offset_array.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -int\(2\)\ -int\(1\)\ -HipHop Notice: .+ -NULL\ -HipHop Notice: .+ -NULL\ -int\(2\)\ -int\(1\)\ -\ -Strict\ Standards\:\ Resource\ ID\#\d+\ used\ as\ offset\,\ casting\ to\ integer\ \(\d+\)\ in\ hphp\/test\/zend\/bad\/zend\/offset\_array\.php\ on\ line\ \d+\ -int\(\d+\)\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -NULL\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_array.php.expectf b/hphp/test/zend/bad/zend/offset_array.php.expectf new file mode 100644 index 000000000..296e94a38 --- /dev/null +++ b/hphp/test/zend/bad/zend/offset_array.php.expectf @@ -0,0 +1,16 @@ +int(2) +int(1) +HipHop Notice: %a +NULL +HipHop Notice: %a +NULL +int(2) +int(1) + +Strict Standards: Resource ID#%d used as offset, casting to integer (%d) in hphp/test/zend/bad/zend/offset_array.php on line %d +int(%d) +HipHop Warning: %a +NULL +HipHop Warning: %a +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_assign.php.exp b/hphp/test/zend/bad/zend/offset_assign.php.exp deleted file mode 100644 index 8e1e2625b..000000000 --- a/hphp/test/zend/bad/zend/offset_assign.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: .+ -HipHop Fatal error: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_assign.php.expectf b/hphp/test/zend/bad/zend/offset_assign.php.expectf new file mode 100644 index 000000000..4f3b1c58b --- /dev/null +++ b/hphp/test/zend/bad/zend/offset_assign.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_bool.php.exp b/hphp/test/zend/bad/zend/offset_bool.php.exp deleted file mode 100644 index 47b4e3604..000000000 --- a/hphp/test/zend/bad/zend/offset_bool.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_bool.php.expectf b/hphp/test/zend/bad/zend/offset_bool.php.expectf new file mode 100644 index 000000000..6cb8515b6 --- /dev/null +++ b/hphp/test/zend/bad/zend/offset_bool.php.expectf @@ -0,0 +1,10 @@ +NULL +NULL +NULL +NULL +NULL +NULL +NULL +NULL +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_long.php.exp b/hphp/test/zend/bad/zend/offset_long.php.exp deleted file mode 100644 index 47b4e3604..000000000 --- a/hphp/test/zend/bad/zend/offset_long.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -NULL\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_long.php.expectf b/hphp/test/zend/bad/zend/offset_long.php.expectf new file mode 100644 index 000000000..6cb8515b6 --- /dev/null +++ b/hphp/test/zend/bad/zend/offset_long.php.expectf @@ -0,0 +1,10 @@ +NULL +NULL +NULL +NULL +NULL +NULL +NULL +NULL +NULL +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_string.php.exp b/hphp/test/zend/bad/zend/offset_string.php.exp deleted file mode 100644 index 07d6ccacc..000000000 --- a/hphp/test/zend/bad/zend/offset_string.php.exp +++ /dev/null @@ -1,26 +0,0 @@ -string\(1\)\ \"i\"\ -HipHop Notice: .+ -string\(1\)\ \"S\"\ -HipHop Notice: .+ -string\(1\)\ \"S\"\ -HipHop Warning: .+ -string\(1\)\ \"S\"\ -string\(1\)\ \"c\"\ -HipHop Warning: .+ -string\(1\)\ \"o\"\ -HipHop Notice: .+ -string\(1\)\ \"r\"\ -HipHop Notice: .+ -string\(1\)\ \"i\"\ -HipHop Notice: .+ -string\(1\)\ \"S\"\ -HipHop Warning: .+ -string\(1\)\ \"[^ -]+\"\ -HipHop Warning: .+ -HipHop Notice: .+ -string\(1\)\ \"[^ -]+\"\ -HipHop Warning: .+ -string\(1\)\ \"i\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/offset_string.php.expectf b/hphp/test/zend/bad/zend/offset_string.php.expectf new file mode 100644 index 000000000..fa5cada33 --- /dev/null +++ b/hphp/test/zend/bad/zend/offset_string.php.expectf @@ -0,0 +1,24 @@ +string(1) "i" +HipHop Notice: %a +string(1) "S" +HipHop Notice: %a +string(1) "S" +HipHop Warning: %a +string(1) "S" +string(1) "c" +HipHop Warning: %a +string(1) "o" +HipHop Notice: %a +string(1) "r" +HipHop Notice: %a +string(1) "i" +HipHop Notice: %a +string(1) "S" +HipHop Warning: %a +string(1) "%s" +HipHop Warning: %a +HipHop Notice: %a +string(1) "%s" +HipHop Warning: %a +string(1) "i" +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/property_exists.php.exp b/hphp/test/zend/bad/zend/property_exists.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/property_exists.php.exp rename to hphp/test/zend/bad/zend/property_exists.php.expectf diff --git a/hphp/test/zend/bad/zend/result_unused.php.exp b/hphp/test/zend/bad/zend/result_unused.php.exp deleted file mode 100644 index 0bd479d91..000000000 --- a/hphp/test/zend/bad/zend/result_unused.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Notice: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/result_unused.php.expectf b/hphp/test/zend/bad/zend/result_unused.php.expectf new file mode 100644 index 000000000..b22b5e687 --- /dev/null +++ b/hphp/test/zend/bad/zend/result_unused.php.expectf @@ -0,0 +1,2 @@ +HipHop Notice: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/settype_array.php.exp b/hphp/test/zend/bad/zend/settype_array.php.exp deleted file mode 100644 index 37185dc80..000000000 --- a/hphp/test/zend/bad/zend/settype_array.php.exp +++ /dev/null @@ -1,57 +0,0 @@ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(6\)\ \"string\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(1\)\ \"\000\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ string\(7\)\ \"8754456\"\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(9876545\)\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ float\(0\.1\)\ -\}\ -array\(0\)\ \{\ -\}\ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ bool\(false\)\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ bool\(true\)\ -\}\ -array\(0\)\ \{\ -\}\ -array\(1\)\ \{\ -\ \ \[0\]\=\>\ -\ \ resource\(\d+\)\ of\ type\ \(stream\)\ -\}\ -array\(3\)\ \{\ -\ \ \[\"\000test\000var1\"\]\=\>\ -\ \ int\(1\)\ -\ \ \[\"var2\"\]\=\>\ -\ \ int\(2\)\ -\ \ \[\"\000\*\000var3\"\]\=\>\ -\ \ int\(3\)\ -\}\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/settype_array.php.expectf b/hphp/test/zend/bad/zend/settype_array.php.expectf new file mode 100644 index 000000000..8d3a38027 Binary files /dev/null and b/hphp/test/zend/bad/zend/settype_array.php.expectf differ diff --git a/hphp/test/zend/bad/zend/settype_object.php.exp b/hphp/test/zend/bad/zend/settype_object.php.exp deleted file mode 100644 index 077c0d4dd..000000000 --- a/hphp/test/zend/bad/zend/settype_object.php.exp +++ /dev/null @@ -1,51 +0,0 @@ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(6\)\ \"string\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(7\)\ \"8754456\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(0\)\ \"\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ string\(1\)\ \"\000\"\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ int\(9876545\)\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ float\(0\.1\)\ -\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -object\(stdClass\)\#\d+\ \(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ bool\(false\)\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ bool\(true\)\ -\}\ -object\(stdClass\)\#\d+\ \(0\)\ \{\ -\}\ -object\(stdClass\)\#\d+\ \(1\)\ \{\ -\ \ \[\"scalar\"\]\=\>\ -\ \ resource\(\d+\)\ of\ type\ \(stream\)\ -\}\ -object\(test\)\#\d+\ \(0\)\ \{\ -\}\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/settype_object.php.expectf b/hphp/test/zend/bad/zend/settype_object.php.expectf new file mode 100644 index 000000000..f49c8e86f Binary files /dev/null and b/hphp/test/zend/bad/zend/settype_object.php.expectf differ diff --git a/hphp/test/zend/bad/zend/settype_resource.php.exp b/hphp/test/zend/bad/zend/settype_resource.php.exp deleted file mode 100644 index 6211be0e6..000000000 --- a/hphp/test/zend/bad/zend/settype_resource.php.exp +++ /dev/null @@ -1,36 +0,0 @@ -HipHop Warning: .+ -string\(6\)\ \"string\"\ -HipHop Warning: .+ -string\(7\)\ \"8754456\"\ -HipHop Warning: .+ -string\(0\)\ \"\"\ -HipHop Warning: .+ -string\(1\)\ \"\000\"\ -HipHop Warning: .+ -int\(9876545\)\ -HipHop Warning: .+ -float\(0\.1\)\ -HipHop Warning: .+ -array\(0\)\ \{\ -\}\ -HipHop Warning: .+ -array\(3\)\ \{\ -\ \ \[0\]\=\>\ -\ \ int\(1\)\ -\ \ \[1\]\=\>\ -\ \ int\(2\)\ -\ \ \[2\]\=\>\ -\ \ int\(3\)\ -\}\ -HipHop Warning: .+ -bool\(false\)\ -HipHop Warning: .+ -bool\(true\)\ -HipHop Warning: .+ -NULL\ -HipHop Warning: .+ -resource\(\d+\)\ of\ type\ \(stream\)\ -HipHop Warning: .+ -object\(test\)\#\d+\ \(0\)\ \{\ -\}\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/settype_resource.php.expectf b/hphp/test/zend/bad/zend/settype_resource.php.expectf new file mode 100644 index 000000000..379cd2da1 Binary files /dev/null and b/hphp/test/zend/bad/zend/settype_resource.php.expectf differ diff --git a/hphp/test/zend/bad/zend/settype_string.php.exp b/hphp/test/zend/bad/zend/settype_string.php.exp deleted file mode 100644 index 832a589a2..000000000 --- a/hphp/test/zend/bad/zend/settype_string.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -string\(6\)\ \"string\"\ -string\(7\)\ \"8754456\"\ -string\(0\)\ \"\"\ -string\(1\)\ \"\000\"\ -string\(7\)\ \"9876545\"\ -string\(3\)\ \"0\.1\"\ -HipHop Notice: .+ -string\(5\)\ \"Array\"\ -HipHop Notice: .+ -string\(5\)\ \"Array\"\ -string\(0\)\ \"\"\ -string\(1\)\ \"1\"\ -string\(0\)\ \"\"\ -string\(\d+\)\ \"Resource\ id\ \#\d+\"\ -string\(2\)\ \"10\"\ -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/settype_string.php.expectf b/hphp/test/zend/bad/zend/settype_string.php.expectf new file mode 100644 index 000000000..0c1841d6f Binary files /dev/null and b/hphp/test/zend/bad/zend/settype_string.php.expectf differ diff --git a/hphp/test/zend/bad/zend/str_offset_001.php.exp b/hphp/test/zend/bad/zend/str_offset_001.php.exp deleted file mode 100644 index 6cd2d80db..000000000 --- a/hphp/test/zend/bad/zend/str_offset_001.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -HipHop Notice: .+ -string\(0\)\ \"\"\ -string\(1\)\ \"a\"\ -string\(1\)\ \"b\"\ -string\(1\)\ \"c\"\ -HipHop Notice: .+ -string\(0\)\ \"\"\ -string\(1\)\ \"b\"\ -HipHop Notice: .+ -string\(0\)\ \"\"\ -HipHop Notice: .+ -string\(0\)\ \"\"\ -string\(1\)\ \"a\"\ -string\(1\)\ \"b\"\ -string\(1\)\ \"c\"\ -HipHop Notice: .+ -string\(0\)\ \"\"\ -string\(1\)\ \"b\"\ -HipHop Notice: .+ -string\(0\)\ \"\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/str_offset_001.php.expectf b/hphp/test/zend/bad/zend/str_offset_001.php.expectf new file mode 100644 index 000000000..dd9825877 --- /dev/null +++ b/hphp/test/zend/bad/zend/str_offset_001.php.expectf @@ -0,0 +1,20 @@ +HipHop Notice: %a +string(0) "" +string(1) "a" +string(1) "b" +string(1) "c" +HipHop Notice: %a +string(0) "" +string(1) "b" +HipHop Notice: %a +string(0) "" +HipHop Notice: %a +string(0) "" +string(1) "a" +string(1) "b" +string(1) "c" +HipHop Notice: %a +string(0) "" +string(1) "b" +HipHop Notice: %a +string(0) "" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/trait_exists_001.php.exp b/hphp/test/zend/bad/zend/trait_exists_001.php.exp deleted file mode 100644 index ee5db0208..000000000 --- a/hphp/test/zend/bad/zend/trait_exists_001.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -bool\(true\)\ -bool\(false\)\ -bool\(false\)\ -HipHop Warning: .+ -NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/trait_exists_001.php.expectf b/hphp/test/zend/bad/zend/trait_exists_001.php.expectf new file mode 100644 index 000000000..1ab42e625 --- /dev/null +++ b/hphp/test/zend/bad/zend/trait_exists_001.php.expectf @@ -0,0 +1,5 @@ +bool(true) +bool(false) +bool(false) +HipHop Warning: %a +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/trait_exists_002.php.exp b/hphp/test/zend/bad/zend/trait_exists_002.php.expectf similarity index 100% rename from hphp/test/zend/bad/zend/trait_exists_002.php.exp rename to hphp/test/zend/bad/zend/trait_exists_002.php.expectf diff --git a/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp b/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp deleted file mode 100644 index 0f2e0e072..000000000 --- a/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unexpected_ref_bug.php.expectf b/hphp/test/zend/bad/zend/unexpected_ref_bug.php.expectf new file mode 100644 index 000000000..3925a0d46 --- /dev/null +++ b/hphp/test/zend/bad/zend/unexpected_ref_bug.php.expectf @@ -0,0 +1 @@ +Done. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv03.php.exp b/hphp/test/zend/bad/zend/unset_cv03.php.exp deleted file mode 100644 index b29f8dc62..000000000 --- a/hphp/test/zend/bad/zend/unset_cv03.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -ok\ -HipHop Notice: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv03.php.expectf b/hphp/test/zend/bad/zend/unset_cv03.php.expectf new file mode 100644 index 000000000..34582be39 --- /dev/null +++ b/hphp/test/zend/bad/zend/unset_cv03.php.expectf @@ -0,0 +1,2 @@ +ok +HipHop Notice: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv04.php.exp b/hphp/test/zend/bad/zend/unset_cv04.php.exp deleted file mode 100644 index b29f8dc62..000000000 --- a/hphp/test/zend/bad/zend/unset_cv04.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -ok\ -HipHop Notice: .+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv04.php.expectf b/hphp/test/zend/bad/zend/unset_cv04.php.expectf new file mode 100644 index 000000000..34582be39 --- /dev/null +++ b/hphp/test/zend/bad/zend/unset_cv04.php.expectf @@ -0,0 +1,2 @@ +ok +HipHop Notice: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv07.php.exp b/hphp/test/zend/bad/zend/unset_cv07.php.exp deleted file mode 100644 index f14a9542a..000000000 --- a/hphp/test/zend/bad/zend/unset_cv07.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -1\ -2\ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv07.php.expectf b/hphp/test/zend/bad/zend/unset_cv07.php.expectf new file mode 100644 index 000000000..625af6693 --- /dev/null +++ b/hphp/test/zend/bad/zend/unset_cv07.php.expectf @@ -0,0 +1,3 @@ +1 +2 +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv09.php.exp b/hphp/test/zend/bad/zend/unset_cv09.php.exp deleted file mode 100644 index 2a40c02ea..000000000 --- a/hphp/test/zend/bad/zend/unset_cv09.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -ok\ -HipHop Notice: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv09.php.expectf b/hphp/test/zend/bad/zend/unset_cv09.php.expectf new file mode 100644 index 000000000..1eb86901a --- /dev/null +++ b/hphp/test/zend/bad/zend/unset_cv09.php.expectf @@ -0,0 +1,3 @@ +ok +HipHop Notice: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv10.php.exp b/hphp/test/zend/bad/zend/unset_cv10.php.exp deleted file mode 100644 index 2a40c02ea..000000000 --- a/hphp/test/zend/bad/zend/unset_cv10.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -ok\ -HipHop Notice: .+ -ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv10.php.expectf b/hphp/test/zend/bad/zend/unset_cv10.php.expectf new file mode 100644 index 000000000..1eb86901a --- /dev/null +++ b/hphp/test/zend/bad/zend/unset_cv10.php.expectf @@ -0,0 +1,3 @@ +ok +HipHop Notice: %a +ok \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcdiv_error1.php.exp b/hphp/test/zend/good/ext-bcmath/bcdiv_error1.php.exp deleted file mode 100644 index a42e15144..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcdiv_error1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: Division by zero in hphp/test/zend/good/ext-bcmath/bcdiv_error1.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcdiv_error1.php.expectf b/hphp/test/zend/good/ext-bcmath/bcdiv_error1.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcdiv_error1.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcdiv_error2.php.exp b/hphp/test/zend/good/ext-bcmath/bcdiv_error2.php.exp deleted file mode 100644 index dec21aace..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcdiv_error2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: Too many arguments for bcdiv(), expected 3 in hphp/test/zend/good/ext-bcmath/bcdiv_error2.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcdiv_error2.php.expectf b/hphp/test/zend/good/ext-bcmath/bcdiv_error2.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcdiv_error2.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcmod_error1.php.exp b/hphp/test/zend/good/ext-bcmath/bcmod_error1.php.exp deleted file mode 100644 index 7cf6eaa56..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcmod_error1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: Too many arguments for bcmod(), expected 2 in hphp/test/zend/good/ext-bcmath/bcmod_error1.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcmod_error1.php.expectf b/hphp/test/zend/good/ext-bcmath/bcmod_error1.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcmod_error1.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php.exp b/hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php.exp deleted file mode 100644 index 65c3755b9..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: bcpowmod() expects exactly 3 parameters, 1 given in hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php.expectf b/hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcpowmod_error1.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php.exp b/hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php.exp deleted file mode 100644 index 14438dcf0..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: bcpowmod() expects exactly 3 parameters, 2 given in hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php.expectf b/hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcpowmod_error2.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php.exp b/hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php.exp deleted file mode 100644 index 09c84f568..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: Too many arguments for bcpowmod(), expected 4 in hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php.expectf b/hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcpowmod_error3.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php.exp b/hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php.exp deleted file mode 100644 index 240b1de9f..000000000 --- a/hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Warning: Square root of negative number in hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php on line 2 diff --git a/hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php.expectf b/hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php.expectf new file mode 100644 index 000000000..cfb6a8593 --- /dev/null +++ b/hphp/test/zend/good/ext-bcmath/bcsqrt_error1.php.expectf @@ -0,0 +1 @@ +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/ext-bcmath/bug60377.php.exp b/hphp/test/zend/good/ext-bcmath/bug60377.php.expectf similarity index 100% rename from hphp/test/zend/good/ext-bcmath/bug60377.php.exp rename to hphp/test/zend/good/ext-bcmath/bug60377.php.expectf diff --git a/hphp/test/zend/good/tests-basic/001.php.exp b/hphp/test/zend/good/tests-basic/001.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/001.php.exp rename to hphp/test/zend/good/tests-basic/001.php.expectf diff --git a/hphp/test/zend/good/tests-basic/002.php.exp b/hphp/test/zend/good/tests-basic/002.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/002.php.exp rename to hphp/test/zend/good/tests-basic/002.php.expectf diff --git a/hphp/test/zend/good/tests-basic/003.php.exp b/hphp/test/zend/good/tests-basic/003.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/003.php.exp rename to hphp/test/zend/good/tests-basic/003.php.expectf diff --git a/hphp/test/zend/good/tests-basic/004.php.exp b/hphp/test/zend/good/tests-basic/004.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/004.php.exp rename to hphp/test/zend/good/tests-basic/004.php.expectf diff --git a/hphp/test/zend/good/tests-basic/005.php.exp b/hphp/test/zend/good/tests-basic/005.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/005.php.exp rename to hphp/test/zend/good/tests-basic/005.php.expectf diff --git a/hphp/test/zend/good/tests-basic/006.php.exp b/hphp/test/zend/good/tests-basic/006.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/006.php.exp rename to hphp/test/zend/good/tests-basic/006.php.expectf diff --git a/hphp/test/zend/good/tests-basic/007.php.exp b/hphp/test/zend/good/tests-basic/007.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/007.php.exp rename to hphp/test/zend/good/tests-basic/007.php.expectf diff --git a/hphp/test/zend/good/tests-basic/008.php.exp b/hphp/test/zend/good/tests-basic/008.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/008.php.exp rename to hphp/test/zend/good/tests-basic/008.php.expectf diff --git a/hphp/test/zend/good/tests-basic/009.php.exp b/hphp/test/zend/good/tests-basic/009.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/009.php.exp rename to hphp/test/zend/good/tests-basic/009.php.expectf diff --git a/hphp/test/zend/good/tests-basic/010.php.exp b/hphp/test/zend/good/tests-basic/010.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-basic/010.php.exp rename to hphp/test/zend/good/tests-basic/010.php.expectf diff --git a/hphp/test/zend/good/tests-basic/013.php.exp b/hphp/test/zend/good/tests-basic/013.php.exp deleted file mode 100644 index a1e04f730..000000000 --- a/hphp/test/zend/good/tests-basic/013.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -array(1) { - [0]=> - string(1) "1" -} diff --git a/hphp/test/zend/good/tests-basic/013.php.expectf b/hphp/test/zend/good/tests-basic/013.php.expectf new file mode 100644 index 000000000..01e63a8a6 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/013.php.expectf @@ -0,0 +1,4 @@ +array(1) { + [0]=> + string(1) "1" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/014.php.exp b/hphp/test/zend/good/tests-basic/014.php.exp deleted file mode 100644 index e30e9b49b..000000000 --- a/hphp/test/zend/good/tests-basic/014.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -array(2) { - [0]=> - string(1) "1" - [1]=> - string(1) "1" -} diff --git a/hphp/test/zend/good/tests-basic/014.php.expectf b/hphp/test/zend/good/tests-basic/014.php.expectf new file mode 100644 index 000000000..f5573d6e8 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/014.php.expectf @@ -0,0 +1,6 @@ +array(2) { + [0]=> + string(1) "1" + [1]=> + string(1) "1" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/015.php.exp b/hphp/test/zend/good/tests-basic/015.php.exp deleted file mode 100644 index 9a0b5e707..000000000 --- a/hphp/test/zend/good/tests-basic/015.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -array(1) { - [0]=> - string(1) "5" -} diff --git a/hphp/test/zend/good/tests-basic/015.php.expectf b/hphp/test/zend/good/tests-basic/015.php.expectf new file mode 100644 index 000000000..6d5676fc2 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/015.php.expectf @@ -0,0 +1,4 @@ +array(1) { + [0]=> + string(1) "5" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/016.php.exp b/hphp/test/zend/good/tests-basic/016.php.exp deleted file mode 100644 index ae2c7e19c..000000000 --- a/hphp/test/zend/good/tests-basic/016.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -array(2) { - ["a"]=> - string(1) "1" - ["b"]=> - string(1) "3" -} diff --git a/hphp/test/zend/good/tests-basic/016.php.expectf b/hphp/test/zend/good/tests-basic/016.php.expectf new file mode 100644 index 000000000..d8a85cc03 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/016.php.expectf @@ -0,0 +1,6 @@ +array(2) { + ["a"]=> + string(1) "1" + ["b"]=> + string(1) "3" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/017.php.exp b/hphp/test/zend/good/tests-basic/017.php.exp deleted file mode 100644 index 9873bc8d5..000000000 --- a/hphp/test/zend/good/tests-basic/017.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -array(3) { - [0]=> - string(1) "1" - ["a"]=> - string(1) "1" - ["b"]=> - string(1) "3" -} diff --git a/hphp/test/zend/good/tests-basic/017.php.expectf b/hphp/test/zend/good/tests-basic/017.php.expectf new file mode 100644 index 000000000..c64102838 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/017.php.expectf @@ -0,0 +1,8 @@ +array(3) { + [0]=> + string(1) "1" + ["a"]=> + string(1) "1" + ["b"]=> + string(1) "3" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/018.php.exp b/hphp/test/zend/good/tests-basic/018.php.exp deleted file mode 100644 index 83b916fe4..000000000 --- a/hphp/test/zend/good/tests-basic/018.php.exp +++ /dev/null @@ -1,24 +0,0 @@ -array(2) { - [0]=> - array(1) { - [0]=> - string(1) "1" - } - [1]=> - array(1) { - [0]=> - string(1) "3" - } -} -array(1) { - ["a"]=> - array(1) { - ["b"]=> - array(2) { - ["c"]=> - string(1) "1" - ["d"]=> - string(1) "1" - } - } -} diff --git a/hphp/test/zend/good/tests-basic/018.php.expectf b/hphp/test/zend/good/tests-basic/018.php.expectf new file mode 100644 index 000000000..ecb566cb0 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/018.php.expectf @@ -0,0 +1,24 @@ +array(2) { + [0]=> + array(1) { + [0]=> + string(1) "1" + } + [1]=> + array(1) { + [0]=> + string(1) "3" + } +} +array(1) { + ["a"]=> + array(1) { + ["b"]=> + array(2) { + ["c"]=> + string(1) "1" + ["d"]=> + string(1) "1" + } + } +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/019.php.exp b/hphp/test/zend/good/tests-basic/019.php.exp deleted file mode 100644 index 99cd1db86..000000000 --- a/hphp/test/zend/good/tests-basic/019.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -array(3) { - [0]=> - string(1) "1" - [1]=> - string(1) "3" - ["["]=> - string(1) "4" -} diff --git a/hphp/test/zend/good/tests-basic/019.php.expectf b/hphp/test/zend/good/tests-basic/019.php.expectf new file mode 100644 index 000000000..cfa221077 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/019.php.expectf @@ -0,0 +1,8 @@ +array(3) { + [0]=> + string(1) "1" + [1]=> + string(1) "3" + ["["]=> + string(1) "4" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-basic/020.php.exp b/hphp/test/zend/good/tests-basic/020.php.exp deleted file mode 100644 index 7646d7488..000000000 --- a/hphp/test/zend/good/tests-basic/020.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -array(2) { - ["a["]=> - string(1) "1" - ["b["]=> - string(1) "3" -} diff --git a/hphp/test/zend/good/tests-basic/020.php.expectf b/hphp/test/zend/good/tests-basic/020.php.expectf new file mode 100644 index 000000000..6290ec262 --- /dev/null +++ b/hphp/test/zend/good/tests-basic/020.php.expectf @@ -0,0 +1,6 @@ +array(2) { + ["a["]=> + string(1) "1" + ["b["]=> + string(1) "3" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__call_001.php.exp b/hphp/test/zend/good/tests-classes/__call_001.php.exp deleted file mode 100644 index f0a1e33de..000000000 --- a/hphp/test/zend/good/tests-classes/__call_001.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -Method test called: -array(4) { - [0]=> - int(1) - [1]=> - string(1) "2" - [2]=> - float(3.4) - [3]=> - bool(true) -} -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} diff --git a/hphp/test/zend/good/tests-classes/__call_001.php.expectf b/hphp/test/zend/good/tests-classes/__call_001.php.expectf new file mode 100644 index 000000000..620070d33 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__call_001.php.expectf @@ -0,0 +1,19 @@ +Method test called: +array(4) { + [0]=> + int(1) + [1]=> + string(1) "2" + [2]=> + float(3.4) + [3]=> + bool(true) +} +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__call_002.php.exp b/hphp/test/zend/good/tests-classes/__call_002.php.exp deleted file mode 100644 index ccc740bd9..000000000 --- a/hphp/test/zend/good/tests-classes/__call_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method Test::__call() must take exactly 2 arguments in hphp/test/zend/good/tests-classes/__call_002.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/__call_002.php.expectf b/hphp/test/zend/good/tests-classes/__call_002.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__call_002.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__call_003.php.exp b/hphp/test/zend/good/tests-classes/__call_003.php.exp deleted file mode 100644 index 9a4792f36..000000000 --- a/hphp/test/zend/good/tests-classes/__call_003.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -array(1) { - [0]=> - string(8) "original" -} -array(1) { - [0]=> - &string(7) "changed" -} diff --git a/hphp/test/zend/good/tests-classes/__call_003.php.expectf b/hphp/test/zend/good/tests-classes/__call_003.php.expectf new file mode 100644 index 000000000..86deedac5 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__call_003.php.expectf @@ -0,0 +1,8 @@ +array(1) { + [0]=> + string(8) "original" +} +array(1) { + [0]=> + &string(7) "changed" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__call_004.php.exp b/hphp/test/zend/good/tests-classes/__call_004.php.exp deleted file mode 100644 index c0c017a85..000000000 --- a/hphp/test/zend/good/tests-classes/__call_004.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -In B::__call(test1, array(1,a)) -object(B)#1 (0) { -} -In B::__call(test2, array(1,a)) -object(B)#1 (0) { -} -In B::__call(test3, array(1,a)) -object(B)#1 (0) { -} -In B::__call(test4, array(1,a)) -object(B)#1 (0) { -} diff --git a/hphp/test/zend/good/tests-classes/__call_004.php.expectf b/hphp/test/zend/good/tests-classes/__call_004.php.expectf new file mode 100644 index 000000000..c72ff11b1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__call_004.php.expectf @@ -0,0 +1,12 @@ +In B::__call(test1, array(1,a)) +object(B)#1 (0) { +} +In B::__call(test2, array(1,a)) +object(B)#1 (0) { +} +In B::__call(test3, array(1,a)) +object(B)#1 (0) { +} +In B::__call(test4, array(1,a)) +object(B)#1 (0) { +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__call_006.php.exp b/hphp/test/zend/good/tests-classes/__call_006.php.exp deleted file mode 100644 index cfddb7a1b..000000000 --- a/hphp/test/zend/good/tests-classes/__call_006.php.exp +++ /dev/null @@ -1,23 +0,0 @@ ----> Invoke __call via simple method call. -object(A)#1 (0) { -} -Exception caught OK; continuing. - - ----> Invoke __call via scope resolution operator within instance. -object(A)#1 (0) { -} -Exception caught OK; continuing. - - ----> Invoke __call via scope resolution operator within child instance. -object(B)#4 (0) { -} -Exception caught OK; continuing. - - ----> Invoke __call via callback. -object(B)#4 (0) { -} -Exception caught OK; continuing. -==DONE== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__call_006.php.expectf b/hphp/test/zend/good/tests-classes/__call_006.php.expectf new file mode 100644 index 000000000..4eca2885d --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__call_006.php.expectf @@ -0,0 +1,23 @@ +---> Invoke __call via simple method call. +object(A)#%d (0) { +} +Exception caught OK; continuing. + + +---> Invoke __call via scope resolution operator within instance. +object(A)#%d (0) { +} +Exception caught OK; continuing. + + +---> Invoke __call via scope resolution operator within child instance. +object(B)#%d (0) { +} +Exception caught OK; continuing. + + +---> Invoke __call via callback. +object(B)#%d (0) { +} +Exception caught OK; continuing. +==DONE== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__set__get_001.php.exp b/hphp/test/zend/good/tests-classes/__set__get_001.php.exp deleted file mode 100644 index 1e1056893..000000000 --- a/hphp/test/zend/good/tests-classes/__set__get_001.php.exp +++ /dev/null @@ -1,23 +0,0 @@ -Setting [a] to 100 -OK! -Getting [a] -Returning: 100 -Setting [a] to 101 -OK! -Getting [z] -Nothing! -Setting [z] to 1 -Not OK! -object(setter)#1 (2) { - ["n"]=> - int(1) - ["x"]=> - array(3) { - ["a"]=> - int(101) - ["b"]=> - int(2) - ["c"]=> - int(3) - } -} diff --git a/hphp/test/zend/good/tests-classes/__set__get_001.php.expectf b/hphp/test/zend/good/tests-classes/__set__get_001.php.expectf new file mode 100644 index 000000000..3d813878f --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__set__get_001.php.expectf @@ -0,0 +1,23 @@ +Setting [a] to 100 +OK! +Getting [a] +Returning: 100 +Setting [a] to 101 +OK! +Getting [z] +Nothing! +Setting [z] to 1 +Not OK! +object(setter)#%d (2) { + ["n"]=> + int(1) + ["x"]=> + array(3) { + ["a"]=> + int(101) + ["b"]=> + int(2) + ["c"]=> + int(3) + } +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__set__get_002.php.exp b/hphp/test/zend/good/tests-classes/__set__get_002.php.exp deleted file mode 100644 index b63e0acc8..000000000 --- a/hphp/test/zend/good/tests-classes/__set__get_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method Test::__get() must take exactly 1 argument in hphp/test/zend/good/tests-classes/__set__get_002.php on line 3 diff --git a/hphp/test/zend/good/tests-classes/__set__get_002.php.expectf b/hphp/test/zend/good/tests-classes/__set__get_002.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__set__get_002.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__set__get_003.php.exp b/hphp/test/zend/good/tests-classes/__set__get_003.php.exp deleted file mode 100644 index 62ca2ad5f..000000000 --- a/hphp/test/zend/good/tests-classes/__set__get_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method Test::__set() must take exactly 2 arguments in hphp/test/zend/good/tests-classes/__set__get_003.php on line 3 diff --git a/hphp/test/zend/good/tests-classes/__set__get_003.php.expectf b/hphp/test/zend/good/tests-classes/__set__get_003.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__set__get_003.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__set__get_004.php.exp b/hphp/test/zend/good/tests-classes/__set__get_004.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/__set__get_004.php.exp rename to hphp/test/zend/good/tests-classes/__set__get_004.php.expectf diff --git a/hphp/test/zend/good/tests-classes/__set__get_005.php.exp b/hphp/test/zend/good/tests-classes/__set__get_005.php.exp deleted file mode 100644 index 3eeaadca8..000000000 --- a/hphp/test/zend/good/tests-classes/__set__get_005.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -AutoGen::__get -Test::__set -AutoGen::__get -object(Test)#2 (1) { - ["x":protected]=> - array(1) { - ["baz"]=> - string(5) "Check" - } -} -AutoGen::__get -Test::__get -string(5) "Check" -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__set__get_005.php.expectf b/hphp/test/zend/good/tests-classes/__set__get_005.php.expectf new file mode 100644 index 000000000..923bd22da --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__set__get_005.php.expectf @@ -0,0 +1,14 @@ +AutoGen::__get +Test::__set +AutoGen::__get +object(Test)#%d (1) { + ["x":protected]=> + array(1) { + ["baz"]=> + string(5) "Check" + } +} +AutoGen::__get +Test::__get +string(5) "Check" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/__set_data_corrupt.php.exp b/hphp/test/zend/good/tests-classes/__set_data_corrupt.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/__set_data_corrupt.php.exp rename to hphp/test/zend/good/tests-classes/__set_data_corrupt.php.expectf diff --git a/hphp/test/zend/good/tests-classes/abstract.php.exp b/hphp/test/zend/good/tests-classes/abstract.php.exp deleted file mode 100644 index bbd27367c..000000000 --- a/hphp/test/zend/good/tests-classes/abstract.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call to function show() -HipHop Fatal error: Cannot call abstract method fail::show() in hphp/test/zend/good/tests-classes/abstract.php on line 12 diff --git a/hphp/test/zend/good/tests-classes/abstract.php.expectf b/hphp/test/zend/good/tests-classes/abstract.php.expectf new file mode 100644 index 000000000..c52a7aa3b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract.php.expectf @@ -0,0 +1,2 @@ +Call to function show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_by_interface_001.php.exp b/hphp/test/zend/good/tests-classes/abstract_by_interface_001.php.exp deleted file mode 100644 index 5538aaf88..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_by_interface_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -object(Leaf)#1 (0) { -} -HipHop Fatal error: Class Fails contains abstract method (MyInterfaceFunc) and must therefore be declared abstract or implement the remaining methods in hphp/test/zend/good/tests-classes/abstract_by_interface_001.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/abstract_by_interface_001.php.expectf b/hphp/test/zend/good/tests-classes/abstract_by_interface_001.php.expectf new file mode 100644 index 000000000..a0e79fafa --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_by_interface_001.php.expectf @@ -0,0 +1,3 @@ +object(Leaf)#%d (0) { +} +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_by_interface_002.php.exp b/hphp/test/zend/good/tests-classes/abstract_by_interface_002.php.exp deleted file mode 100644 index c99dba6e1..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_by_interface_002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -object(Leaf)#1 (0) { -} -HipHop Fatal error: Class Fails contains abstract method (MyInterfaceFunc) and must therefore be declared abstract or implement the remaining methods in hphp/test/zend/good/tests-classes/abstract_by_interface_002.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/abstract_by_interface_002.php.expectf b/hphp/test/zend/good/tests-classes/abstract_by_interface_002.php.expectf new file mode 100644 index 000000000..a0e79fafa --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_by_interface_002.php.expectf @@ -0,0 +1,3 @@ +object(Leaf)#%d (0) { +} +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_class.php.exp b/hphp/test/zend/good/tests-classes/abstract_class.php.exp deleted file mode 100644 index d6f8eb0d0..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_class.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call to function show() -HipHop Fatal error: Cannot instantiate abstract class fail in hphp/test/zend/good/tests-classes/abstract_class.php on line 16 diff --git a/hphp/test/zend/good/tests-classes/abstract_class.php.expectf b/hphp/test/zend/good/tests-classes/abstract_class.php.expectf new file mode 100644 index 000000000..c52a7aa3b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_class.php.expectf @@ -0,0 +1,2 @@ +Call to function show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_derived.php.exp b/hphp/test/zend/good/tests-classes/abstract_derived.php.exp deleted file mode 100644 index 23eb5fd41..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_derived.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class derived contains abstract method show and must therefore be declared abstract in hphp/test/zend/good/tests-classes/abstract_derived.php on line 7 diff --git a/hphp/test/zend/good/tests-classes/abstract_derived.php.expectf b/hphp/test/zend/good/tests-classes/abstract_derived.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_derived.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_final.php.exp b/hphp/test/zend/good/tests-classes/abstract_final.php.exp deleted file mode 100644 index b7cab1da8..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_final.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot declare abstract method fail::show() final in hphp/test/zend/good/tests-classes/abstract_final.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/abstract_final.php.expectf b/hphp/test/zend/good/tests-classes/abstract_final.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_final.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_inherit.php.exp b/hphp/test/zend/good/tests-classes/abstract_inherit.php.exp deleted file mode 100644 index 333c43837..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_inherit.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot instantiate abstract class fail in hphp/test/zend/good/tests-classes/abstract_inherit.php on line 10 diff --git a/hphp/test/zend/good/tests-classes/abstract_inherit.php.expectf b/hphp/test/zend/good/tests-classes/abstract_inherit.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_inherit.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_not_declared.php.exp b/hphp/test/zend/good/tests-classes/abstract_not_declared.php.exp deleted file mode 100644 index f7d908f43..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_not_declared.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class fail contains abstract method show and must therefore be declared abstract in hphp/test/zend/good/tests-classes/abstract_not_declared.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/abstract_not_declared.php.expectf b/hphp/test/zend/good/tests-classes/abstract_not_declared.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_not_declared.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_redeclare.php.exp b/hphp/test/zend/good/tests-classes/abstract_redeclare.php.exp deleted file mode 100644 index 8f5b20139..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_redeclare.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class fail contains abstract method show and must therefore be declared abstract in hphp/test/zend/good/tests-classes/abstract_redeclare.php on line 10 diff --git a/hphp/test/zend/good/tests-classes/abstract_redeclare.php.expectf b/hphp/test/zend/good/tests-classes/abstract_redeclare.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_redeclare.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_user_call.php.exp b/hphp/test/zend/good/tests-classes/abstract_user_call.php.exp deleted file mode 100644 index bb42721e5..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_user_call.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -test::func() -HipHop Fatal error: Cannot call abstract method test_base::func() in hphp/test/zend/good/tests-classes/abstract_user_call.php on line 20 diff --git a/hphp/test/zend/good/tests-classes/abstract_user_call.php.expectf b/hphp/test/zend/good/tests-classes/abstract_user_call.php.expectf new file mode 100644 index 000000000..f81c6018c --- /dev/null +++ b/hphp/test/zend/good/tests-classes/abstract_user_call.php.expectf @@ -0,0 +1,2 @@ +test::func() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_001.php.exp b/hphp/test/zend/good/tests-classes/array_access_001.php.exp deleted file mode 100644 index b2c1aafdb..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_001.php.exp +++ /dev/null @@ -1,110 +0,0 @@ -array(4) { - [0]=> - string(3) "1st" - [1]=> - int(1) - [2]=> - string(3) "3rd" - ["4th"]=> - int(4) -} -===EMPTY=== -object::offsetExists(0) -object::offsetGet(0) -bool(false) -object::offsetExists(1) -object::offsetGet(1) -bool(false) -object::offsetExists(2) -object::offsetGet(2) -bool(false) -object::offsetExists(4th) -object::offsetGet(4th) -bool(false) -object::offsetExists(5th) -bool(true) -object::offsetExists(6) -bool(true) -===isset=== -object::offsetExists(0) -bool(true) -object::offsetExists(1) -bool(true) -object::offsetExists(2) -bool(true) -object::offsetExists(4th) -bool(true) -object::offsetExists(5th) -bool(false) -object::offsetExists(6) -bool(false) -===offsetGet=== -object::offsetGet(0) -string(3) "1st" -object::offsetGet(1) -int(1) -object::offsetGet(2) -string(3) "3rd" -object::offsetGet(4th) -int(4) -object::offsetGet(5th) -HipHop Notice: Undefined index: 5th in hphp/test/zend/good/tests-classes/array_access_001.php on line 12 -NULL -object::offsetGet(6) -HipHop Notice: Undefined index: 6 in hphp/test/zend/good/tests-classes/array_access_001.php on line 12 -NULL -===offsetSet=== -WRITE 1 -object::offsetSet(1,Changed 1) -object::offsetGet(1) -string(9) "Changed 1" -WRITE 2 -object::offsetSet(4th,Changed 4th) -object::offsetGet(4th) -string(11) "Changed 4th" -WRITE 3 -object::offsetSet(5th,Added 5th) -object::offsetGet(5th) -string(9) "Added 5th" -WRITE 4 -object::offsetSet(6,Added 6) -object::offsetGet(6) -string(7) "Added 6" -object::offsetGet(0) -string(3) "1st" -object::offsetGet(2) -string(3) "3rd" -object::offsetSet(6,changed 6) -object::offsetGet(6) -string(9) "changed 6" -string(9) "changed 6" -===unset=== -array(6) { - [0]=> - string(3) "1st" - [1]=> - string(9) "Changed 1" - [2]=> - string(3) "3rd" - ["4th"]=> - string(11) "Changed 4th" - ["5th"]=> - string(9) "Added 5th" - [6]=> - string(9) "changed 6" -} -object::offsetUnset(2) -object::offsetUnset(4th) -object::offsetUnset(7) -object::offsetUnset(8th) -array(4) { - [0]=> - string(3) "1st" - [1]=> - string(9) "Changed 1" - ["5th"]=> - string(9) "Added 5th" - [6]=> - string(9) "changed 6" -} -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_001.php.expectf b/hphp/test/zend/good/tests-classes/array_access_001.php.expectf new file mode 100644 index 000000000..2f04bc8b0 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/array_access_001.php.expectf @@ -0,0 +1,110 @@ +array(4) { + [0]=> + string(3) "1st" + [1]=> + int(1) + [2]=> + string(3) "3rd" + ["4th"]=> + int(4) +} +===EMPTY=== +object::offsetExists(0) +object::offsetGet(0) +bool(false) +object::offsetExists(1) +object::offsetGet(1) +bool(false) +object::offsetExists(2) +object::offsetGet(2) +bool(false) +object::offsetExists(4th) +object::offsetGet(4th) +bool(false) +object::offsetExists(5th) +bool(true) +object::offsetExists(6) +bool(true) +===isset=== +object::offsetExists(0) +bool(true) +object::offsetExists(1) +bool(true) +object::offsetExists(2) +bool(true) +object::offsetExists(4th) +bool(true) +object::offsetExists(5th) +bool(false) +object::offsetExists(6) +bool(false) +===offsetGet=== +object::offsetGet(0) +string(3) "1st" +object::offsetGet(1) +int(1) +object::offsetGet(2) +string(3) "3rd" +object::offsetGet(4th) +int(4) +object::offsetGet(5th) +HipHop Notice: %a +NULL +object::offsetGet(6) +HipHop Notice: %a +NULL +===offsetSet=== +WRITE 1 +object::offsetSet(1,Changed 1) +object::offsetGet(1) +string(9) "Changed 1" +WRITE 2 +object::offsetSet(4th,Changed 4th) +object::offsetGet(4th) +string(11) "Changed 4th" +WRITE 3 +object::offsetSet(5th,Added 5th) +object::offsetGet(5th) +string(9) "Added 5th" +WRITE 4 +object::offsetSet(6,Added 6) +object::offsetGet(6) +string(7) "Added 6" +object::offsetGet(0) +string(3) "1st" +object::offsetGet(2) +string(3) "3rd" +object::offsetSet(6,changed 6) +object::offsetGet(6) +string(9) "changed 6" +string(9) "changed 6" +===unset=== +array(6) { + [0]=> + string(3) "1st" + [1]=> + string(9) "Changed 1" + [2]=> + string(3) "3rd" + ["4th"]=> + string(11) "Changed 4th" + ["5th"]=> + string(9) "Added 5th" + [6]=> + string(9) "changed 6" +} +object::offsetUnset(2) +object::offsetUnset(4th) +object::offsetUnset(7) +object::offsetUnset(8th) +array(4) { + [0]=> + string(3) "1st" + [1]=> + string(9) "Changed 1" + ["5th"]=> + string(9) "Added 5th" + [6]=> + string(9) "changed 6" +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_002.php.exp b/hphp/test/zend/good/tests-classes/array_access_002.php.exp deleted file mode 100644 index c745695c1..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_002.php.exp +++ /dev/null @@ -1,110 +0,0 @@ -array(4) { - [0]=> - string(3) "1st" - [1]=> - int(1) - [2]=> - string(3) "3rd" - ["4th"]=> - int(4) -} -===EMPTY=== -object::offsetExists(0) -object::offsetGet(0) -bool(false) -object::offsetExists(1) -object::offsetGet(1) -bool(false) -object::offsetExists(2) -object::offsetGet(2) -bool(false) -object::offsetExists(4th) -object::offsetGet(4th) -bool(false) -object::offsetExists(5th) -bool(true) -object::offsetExists(6) -bool(true) -===isset=== -object::offsetExists(0) -bool(true) -object::offsetExists(1) -bool(true) -object::offsetExists(2) -bool(true) -object::offsetExists(4th) -bool(true) -object::offsetExists(5th) -bool(false) -object::offsetExists(6) -bool(false) -===offsetGet=== -object::offsetGet(0) -string(3) "1st" -object::offsetGet(1) -int(1) -object::offsetGet(2) -string(3) "3rd" -object::offsetGet(4th) -int(4) -object::offsetGet(5th) -HipHop Notice: Undefined index: 5th in hphp/test/zend/good/tests-classes/array_access_002.php on line 12 -NULL -object::offsetGet(6) -HipHop Notice: Undefined index: 6 in hphp/test/zend/good/tests-classes/array_access_002.php on line 12 -NULL -===offsetSet=== -WRITE 1 -object::offsetSet(1,Changed 1) -object::offsetGet(1) -string(9) "Changed 1" -WRITE 2 -object::offsetSet(4th,Changed 4th) -object::offsetGet(4th) -string(11) "Changed 4th" -WRITE 3 -object::offsetSet(5th,Added 5th) -object::offsetGet(5th) -string(9) "Added 5th" -WRITE 4 -object::offsetSet(6,Added 6) -object::offsetGet(6) -string(7) "Added 6" -object::offsetGet(0) -string(3) "1st" -object::offsetGet(2) -string(3) "3rd" -object::offsetSet(6,changed 6) -object::offsetGet(6) -string(9) "changed 6" -string(9) "changed 6" -===unset=== -array(6) { - [0]=> - string(3) "1st" - [1]=> - string(9) "Changed 1" - [2]=> - string(3) "3rd" - ["4th"]=> - string(11) "Changed 4th" - ["5th"]=> - string(9) "Added 5th" - [6]=> - string(9) "changed 6" -} -object::offsetUnset(2) -object::offsetUnset(4th) -object::offsetUnset(7) -object::offsetUnset(8th) -array(4) { - [0]=> - string(3) "1st" - [1]=> - string(9) "Changed 1" - ["5th"]=> - string(9) "Added 5th" - [6]=> - string(9) "changed 6" -} -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_002.php.expectf b/hphp/test/zend/good/tests-classes/array_access_002.php.expectf new file mode 100644 index 000000000..2f04bc8b0 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/array_access_002.php.expectf @@ -0,0 +1,110 @@ +array(4) { + [0]=> + string(3) "1st" + [1]=> + int(1) + [2]=> + string(3) "3rd" + ["4th"]=> + int(4) +} +===EMPTY=== +object::offsetExists(0) +object::offsetGet(0) +bool(false) +object::offsetExists(1) +object::offsetGet(1) +bool(false) +object::offsetExists(2) +object::offsetGet(2) +bool(false) +object::offsetExists(4th) +object::offsetGet(4th) +bool(false) +object::offsetExists(5th) +bool(true) +object::offsetExists(6) +bool(true) +===isset=== +object::offsetExists(0) +bool(true) +object::offsetExists(1) +bool(true) +object::offsetExists(2) +bool(true) +object::offsetExists(4th) +bool(true) +object::offsetExists(5th) +bool(false) +object::offsetExists(6) +bool(false) +===offsetGet=== +object::offsetGet(0) +string(3) "1st" +object::offsetGet(1) +int(1) +object::offsetGet(2) +string(3) "3rd" +object::offsetGet(4th) +int(4) +object::offsetGet(5th) +HipHop Notice: %a +NULL +object::offsetGet(6) +HipHop Notice: %a +NULL +===offsetSet=== +WRITE 1 +object::offsetSet(1,Changed 1) +object::offsetGet(1) +string(9) "Changed 1" +WRITE 2 +object::offsetSet(4th,Changed 4th) +object::offsetGet(4th) +string(11) "Changed 4th" +WRITE 3 +object::offsetSet(5th,Added 5th) +object::offsetGet(5th) +string(9) "Added 5th" +WRITE 4 +object::offsetSet(6,Added 6) +object::offsetGet(6) +string(7) "Added 6" +object::offsetGet(0) +string(3) "1st" +object::offsetGet(2) +string(3) "3rd" +object::offsetSet(6,changed 6) +object::offsetGet(6) +string(9) "changed 6" +string(9) "changed 6" +===unset=== +array(6) { + [0]=> + string(3) "1st" + [1]=> + string(9) "Changed 1" + [2]=> + string(3) "3rd" + ["4th"]=> + string(11) "Changed 4th" + ["5th"]=> + string(9) "Added 5th" + [6]=> + string(9) "changed 6" +} +object::offsetUnset(2) +object::offsetUnset(4th) +object::offsetUnset(7) +object::offsetUnset(8th) +array(4) { + [0]=> + string(3) "1st" + [1]=> + string(9) "Changed 1" + ["5th"]=> + string(9) "Added 5th" + [6]=> + string(9) "changed 6" +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_006.php.exp b/hphp/test/zend/good/tests-classes/array_access_006.php.exp deleted file mode 100644 index 23153f49d..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_006.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -int(12) ----Done--- diff --git a/hphp/test/zend/good/tests-classes/array_access_006.php.expectf b/hphp/test/zend/good/tests-classes/array_access_006.php.expectf new file mode 100644 index 000000000..6da12eee9 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/array_access_006.php.expectf @@ -0,0 +1,2 @@ +int(12) +---Done--- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_007.php.exp b/hphp/test/zend/good/tests-classes/array_access_007.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/array_access_007.php.exp rename to hphp/test/zend/good/tests-classes/array_access_007.php.expectf diff --git a/hphp/test/zend/good/tests-classes/array_access_009.php.exp b/hphp/test/zend/good/tests-classes/array_access_009.php.exp deleted file mode 100644 index 2cdd0d027..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_009.php.exp +++ /dev/null @@ -1,64 +0,0 @@ -string(3) "Foo" -string(6) "FooBar" -string(9) "FooBarBaz" -===ArrayOverloading=== -ArrayProxy::__construct(0) -object(ArrayProxy)#3 (2) { - ["object":"ArrayProxy":private]=> - object(Peoples)#2 (1) { - ["person"]=> - array(1) { - [0]=> - array(1) { - ["name"]=> - string(3) "Foo" - } - } - } - ["element":"ArrayProxy":private]=> - int(0) -} -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -string(3) "Foo" -ArrayProxy::__construct(0) -ArrayProxy::offsetSet(0, name, FooBar) -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -string(6) "FooBar" -ArrayProxy::__construct(0) -ArrayProxy::offsetSet(0, name, FooBarBar) -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -string(9) "FooBarBar" -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -ArrayProxy::offsetSet(0, name, FooBarBarBaz) -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -string(12) "FooBarBarBaz" -ArrayProxy::__construct(0) -ArrayProxy::offsetUnset(0, name) -ArrayProxy::__construct(0) -object(ArrayProxy)#3 (2) { - ["object":"ArrayProxy":private]=> - object(Peoples)#2 (1) { - ["person"]=> - array(1) { - [0]=> - array(0) { - } - } - } - ["element":"ArrayProxy":private]=> - int(0) -} -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -NULL -ArrayProxy::__construct(0) -ArrayProxy::offsetSet(0, name, BlaBla) -ArrayProxy::__construct(0) -ArrayProxy::offsetGet(0, name) -string(6) "BlaBla" -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_009.php.expectf b/hphp/test/zend/good/tests-classes/array_access_009.php.expectf new file mode 100644 index 000000000..c76e21789 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/array_access_009.php.expectf @@ -0,0 +1,64 @@ +string(3) "Foo" +string(6) "FooBar" +string(9) "FooBarBaz" +===ArrayOverloading=== +ArrayProxy::__construct(0) +object(ArrayProxy)#%d (2) { + ["object":"ArrayProxy":private]=> + object(Peoples)#%d (1) { + ["person"]=> + array(1) { + [0]=> + array(1) { + ["name"]=> + string(3) "Foo" + } + } + } + ["element":"ArrayProxy":private]=> + int(0) +} +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +string(3) "Foo" +ArrayProxy::__construct(0) +ArrayProxy::offsetSet(0, name, FooBar) +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +string(6) "FooBar" +ArrayProxy::__construct(0) +ArrayProxy::offsetSet(0, name, FooBarBar) +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +string(9) "FooBarBar" +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +ArrayProxy::offsetSet(0, name, FooBarBarBaz) +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +string(12) "FooBarBarBaz" +ArrayProxy::__construct(0) +ArrayProxy::offsetUnset(0, name) +ArrayProxy::__construct(0) +object(ArrayProxy)#%d (2) { + ["object":"ArrayProxy":private]=> + object(Peoples)#%d (1) { + ["person"]=> + array(1) { + [0]=> + array(0) { + } + } + } + ["element":"ArrayProxy":private]=> + int(0) +} +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +NULL +ArrayProxy::__construct(0) +ArrayProxy::offsetSet(0, name, BlaBla) +ArrayProxy::__construct(0) +ArrayProxy::offsetGet(0, name) +string(6) "BlaBla" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_010.php.exp b/hphp/test/zend/good/tests-classes/array_access_010.php.exp deleted file mode 100644 index 2f46987a6..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_010.php.exp +++ /dev/null @@ -1,68 +0,0 @@ -string(3) "Foo" -string(6) "FooBar" -string(9) "FooBarBaz" -===ArrayOverloading=== -ArrayReferenceProxy::__construct(Array) -object(ArrayReferenceProxy)#3 (2) { - ["object":"ArrayReferenceProxy":private]=> - object(Peoples)#2 (1) { - ["person"]=> - array(1) { - [0]=> - &array(1) { - ["name"]=> - string(3) "Foo" - } - } - } - ["element":"ArrayReferenceProxy":private]=> - &array(1) { - ["name"]=> - string(3) "Foo" - } -} -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -string(3) "Foo" -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetSet(Array, name, FooBar) -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -string(6) "FooBar" -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetSet(Array, name, FooBarBar) -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -string(9) "FooBarBar" -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz) -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -string(12) "FooBarBarBaz" -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetUnset(Array, name) -ArrayReferenceProxy::__construct(Array) -object(ArrayReferenceProxy)#3 (2) { - ["object":"ArrayReferenceProxy":private]=> - object(Peoples)#2 (1) { - ["person"]=> - array(1) { - [0]=> - &array(0) { - } - } - } - ["element":"ArrayReferenceProxy":private]=> - &array(0) { - } -} -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -NULL -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetSet(Array, name, BlaBla) -ArrayReferenceProxy::__construct(Array) -ArrayReferenceProxy::offsetGet(Array, name) -string(6) "BlaBla" -===DONE=== diff --git a/hphp/test/zend/good/tests-classes/array_access_010.php.expectf b/hphp/test/zend/good/tests-classes/array_access_010.php.expectf new file mode 100644 index 000000000..f415a39f2 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/array_access_010.php.expectf @@ -0,0 +1,68 @@ +string(3) "Foo" +string(6) "FooBar" +string(9) "FooBarBaz" +===ArrayOverloading=== +ArrayReferenceProxy::__construct(Array) +object(ArrayReferenceProxy)#%d (2) { + ["object":"ArrayReferenceProxy":private]=> + object(Peoples)#%d (1) { + ["person"]=> + array(1) { + [0]=> + &array(1) { + ["name"]=> + string(3) "Foo" + } + } + } + ["element":"ArrayReferenceProxy":private]=> + &array(1) { + ["name"]=> + string(3) "Foo" + } +} +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +string(3) "Foo" +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetSet(Array, name, FooBar) +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +string(6) "FooBar" +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetSet(Array, name, FooBarBar) +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +string(9) "FooBarBar" +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz) +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +string(12) "FooBarBarBaz" +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetUnset(Array, name) +ArrayReferenceProxy::__construct(Array) +object(ArrayReferenceProxy)#%d (2) { + ["object":"ArrayReferenceProxy":private]=> + object(Peoples)#%d (1) { + ["person"]=> + array(1) { + [0]=> + &array(0) { + } + } + } + ["element":"ArrayReferenceProxy":private]=> + &array(0) { + } +} +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +NULL +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetSet(Array, name, BlaBla) +ArrayReferenceProxy::__construct(Array) +ArrayReferenceProxy::offsetGet(Array, name) +string(6) "BlaBla" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_011.php.exp b/hphp/test/zend/good/tests-classes/array_access_011.php.exp deleted file mode 100644 index eb9ed6e3b..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_011.php.exp +++ /dev/null @@ -1,78 +0,0 @@ -string(3) "Foo" -string(6) "FooBar" -string(9) "FooBarBaz" -===ArrayOverloading=== -ArrayAccessReferenceProxy::__construct(0) -object(ArrayAccessReferenceProxy)#3 (3) { - ["object":"ArrayAccessReferenceProxy":private]=> - object(Peoples)#2 (1) { - ["person"]=> - &array(1) { - [0]=> - array(1) { - ["name"]=> - string(3) "Foo" - } - } - } - ["oarray":"ArrayAccessReferenceProxy":private]=> - &array(1) { - [0]=> - array(1) { - ["name"]=> - string(3) "Foo" - } - } - ["element":"ArrayAccessReferenceProxy":private]=> - int(0) -} -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -string(3) "Foo" -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetSet(0, name, FooBar) -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -string(6) "FooBar" -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBar) -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -string(9) "FooBarBar" -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBarBaz) -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -string(12) "FooBarBarBaz" -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetUnset(0, name) -ArrayAccessReferenceProxy::__construct(0) -object(ArrayAccessReferenceProxy)#3 (3) { - ["object":"ArrayAccessReferenceProxy":private]=> - object(Peoples)#2 (1) { - ["person"]=> - &array(1) { - [0]=> - array(0) { - } - } - } - ["oarray":"ArrayAccessReferenceProxy":private]=> - &array(1) { - [0]=> - array(0) { - } - } - ["element":"ArrayAccessReferenceProxy":private]=> - int(0) -} -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -NULL -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetSet(0, name, BlaBla) -ArrayAccessReferenceProxy::__construct(0) -ArrayAccessReferenceProxy::offsetGet(0, name) -string(6) "BlaBla" -===DONE=== diff --git a/hphp/test/zend/good/tests-classes/array_access_011.php.expectf b/hphp/test/zend/good/tests-classes/array_access_011.php.expectf new file mode 100644 index 000000000..41bb6cd03 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/array_access_011.php.expectf @@ -0,0 +1,78 @@ +string(3) "Foo" +string(6) "FooBar" +string(9) "FooBarBaz" +===ArrayOverloading=== +ArrayAccessReferenceProxy::__construct(0) +object(ArrayAccessReferenceProxy)#%d (3) { + ["object":"ArrayAccessReferenceProxy":private]=> + object(Peoples)#%d (1) { + ["person"]=> + &array(1) { + [0]=> + array(1) { + ["name"]=> + string(3) "Foo" + } + } + } + ["oarray":"ArrayAccessReferenceProxy":private]=> + &array(1) { + [0]=> + array(1) { + ["name"]=> + string(3) "Foo" + } + } + ["element":"ArrayAccessReferenceProxy":private]=> + int(0) +} +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +string(3) "Foo" +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetSet(0, name, FooBar) +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +string(6) "FooBar" +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBar) +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +string(9) "FooBarBar" +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBarBaz) +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +string(12) "FooBarBarBaz" +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetUnset(0, name) +ArrayAccessReferenceProxy::__construct(0) +object(ArrayAccessReferenceProxy)#%d (3) { + ["object":"ArrayAccessReferenceProxy":private]=> + object(Peoples)#%d (1) { + ["person"]=> + &array(1) { + [0]=> + array(0) { + } + } + } + ["oarray":"ArrayAccessReferenceProxy":private]=> + &array(1) { + [0]=> + array(0) { + } + } + ["element":"ArrayAccessReferenceProxy":private]=> + int(0) +} +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +NULL +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetSet(0, name, BlaBla) +ArrayAccessReferenceProxy::__construct(0) +ArrayAccessReferenceProxy::offsetGet(0, name) +string(6) "BlaBla" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_013.php.exp b/hphp/test/zend/good/tests-classes/array_access_013.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/array_access_013.php.exp rename to hphp/test/zend/good/tests-classes/array_access_013.php.expectf diff --git a/hphp/test/zend/good/tests-classes/assign_op_property_001.php.exp b/hphp/test/zend/good/tests-classes/assign_op_property_001.php.exp deleted file mode 100644 index 357fb1151..000000000 --- a/hphp/test/zend/good/tests-classes/assign_op_property_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(2) -int(4) ----Done--- diff --git a/hphp/test/zend/good/tests-classes/assign_op_property_001.php.expectf b/hphp/test/zend/good/tests-classes/assign_op_property_001.php.expectf new file mode 100644 index 000000000..7cf17826b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/assign_op_property_001.php.expectf @@ -0,0 +1,3 @@ +int(2) +int(4) +---Done--- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_007.php.exp b/hphp/test/zend/good/tests-classes/autoload_007.php.exp deleted file mode 100644 index 5c0c0681d..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_007.php.exp +++ /dev/null @@ -1 +0,0 @@ -bool(false) diff --git a/hphp/test/zend/good/tests-classes/autoload_007.php.expectf b/hphp/test/zend/good/tests-classes/autoload_007.php.expectf new file mode 100644 index 000000000..eb28e0c67 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_007.php.expectf @@ -0,0 +1 @@ +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_008.php.exp b/hphp/test/zend/good/tests-classes/autoload_008.php.exp deleted file mode 100644 index d47b047ca..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_008.php.exp +++ /dev/null @@ -1 +0,0 @@ -In Exception catch block. Autoload should not have been triggered. diff --git a/hphp/test/zend/good/tests-classes/autoload_008.php.expectf b/hphp/test/zend/good/tests-classes/autoload_008.php.expectf new file mode 100644 index 000000000..6fcfae03e --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_008.php.expectf @@ -0,0 +1 @@ +In Exception catch block. Autoload should not have been triggered. \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_010.php.exp b/hphp/test/zend/good/tests-classes/autoload_010.php.exp deleted file mode 100644 index 804e49fab..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_010.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -In autoload: string(6) "UndefI" -HipHop Fatal error: Undefined interface: UndefI in hphp/test/zend/good/tests-classes/autoload_010.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/autoload_010.php.expectf b/hphp/test/zend/good/tests-classes/autoload_010.php.expectf new file mode 100644 index 000000000..1cd5d4d25 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_010.php.expectf @@ -0,0 +1,2 @@ +In autoload: string(6) "UndefI" +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_011.php.exp b/hphp/test/zend/good/tests-classes/autoload_011.php.exp deleted file mode 100644 index 90ab6c113..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_011.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -In autoload: string(9) "UndefBase" -HipHop Fatal error: unknown class UndefBase in hphp/test/zend/good/tests-classes/autoload_011.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/autoload_011.php.expectf b/hphp/test/zend/good/tests-classes/autoload_011.php.expectf new file mode 100644 index 000000000..691dc4d49 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_011.php.expectf @@ -0,0 +1,2 @@ +In autoload: string(9) "UndefBase" +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_012.php.exp b/hphp/test/zend/good/tests-classes/autoload_012.php.exp deleted file mode 100644 index c9326d53a..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_012.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -In autoload: string(6) "UndefC" -HipHop Warning: Invalid argument: function: class not found in hphp/test/zend/good/tests-classes/autoload_012.php on line 7 diff --git a/hphp/test/zend/good/tests-classes/autoload_012.php.expectf b/hphp/test/zend/good/tests-classes/autoload_012.php.expectf new file mode 100644 index 000000000..9106fbc50 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_012.php.expectf @@ -0,0 +1,2 @@ +In autoload: string(6) "UndefC" +HipHop Warning: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_015.php.exp b/hphp/test/zend/good/tests-classes/autoload_013.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/autoload_015.php.exp rename to hphp/test/zend/good/tests-classes/autoload_013.php.expectf diff --git a/hphp/test/zend/good/tests-classes/autoload_015.php.expectf b/hphp/test/zend/good/tests-classes/autoload_015.php.expectf new file mode 100644 index 000000000..3248d150c --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_015.php.expectf @@ -0,0 +1,2 @@ +In autoload: string(6) "UndefC" +Class UndefC does not exist \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_018.php.exp b/hphp/test/zend/good/tests-classes/autoload_018.php.exp deleted file mode 100644 index b925fcd54..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_018.php.exp +++ /dev/null @@ -1,25 +0,0 @@ -IN: __autoload(UndefinedClass0) -IN: __autoload(UndefinedClass1) -IN: __autoload(UndefinedClass2) -IN: __autoload(UndefinedClass3) -IN: __autoload(UndefinedClass4) -IN: __autoload(UndefinedClass5) -IN: __autoload(UndefinedClass6) -IN: __autoload(UndefinedClass7) -IN: __autoload(UndefinedClass8) -IN: __autoload(UndefinedClass9) -IN: __autoload(UndefinedClass10) -IN: __autoload(UndefinedClass11) --> Recursion detected - as expected. -OUT: __autoload(UndefinedClass10) -OUT: __autoload(UndefinedClass9) -OUT: __autoload(UndefinedClass8) -OUT: __autoload(UndefinedClass7) -OUT: __autoload(UndefinedClass6) -OUT: __autoload(UndefinedClass5) -OUT: __autoload(UndefinedClass4) -OUT: __autoload(UndefinedClass3) -OUT: __autoload(UndefinedClass2) -OUT: __autoload(UndefinedClass1) -OUT: __autoload(UndefinedClass0) -bool(false) diff --git a/hphp/test/zend/good/tests-classes/autoload_018.php.expectf b/hphp/test/zend/good/tests-classes/autoload_018.php.expectf new file mode 100644 index 000000000..c514219a7 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_018.php.expectf @@ -0,0 +1,25 @@ +IN: __autoload(UndefinedClass0) +IN: __autoload(UndefinedClass1) +IN: __autoload(UndefinedClass2) +IN: __autoload(UndefinedClass3) +IN: __autoload(UndefinedClass4) +IN: __autoload(UndefinedClass5) +IN: __autoload(UndefinedClass6) +IN: __autoload(UndefinedClass7) +IN: __autoload(UndefinedClass8) +IN: __autoload(UndefinedClass9) +IN: __autoload(UndefinedClass10) +IN: __autoload(UndefinedClass11) +-> Recursion detected - as expected. +OUT: __autoload(UndefinedClass10) +OUT: __autoload(UndefinedClass9) +OUT: __autoload(UndefinedClass8) +OUT: __autoload(UndefinedClass7) +OUT: __autoload(UndefinedClass6) +OUT: __autoload(UndefinedClass5) +OUT: __autoload(UndefinedClass4) +OUT: __autoload(UndefinedClass3) +OUT: __autoload(UndefinedClass2) +OUT: __autoload(UndefinedClass1) +OUT: __autoload(UndefinedClass0) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/autoload_020.php.exp b/hphp/test/zend/good/tests-classes/autoload_020.php.exp deleted file mode 100644 index 43c16aaed..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_020.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -in autoload: C -object(__PHP_Incomplete_Class)#1 (1) { - ["__PHP_Incomplete_Class_Name"]=> - string(1) "C" -} diff --git a/hphp/test/zend/good/tests-classes/autoload_020.php.expectf b/hphp/test/zend/good/tests-classes/autoload_020.php.expectf new file mode 100644 index 000000000..8280a69d0 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/autoload_020.php.expectf @@ -0,0 +1,5 @@ +in autoload: C +object(__PHP_Incomplete_Class)#%d (1) { + ["__PHP_Incomplete_Class_Name"]=> + string(1) "C" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug23951.php.exp b/hphp/test/zend/good/tests-classes/bug23951.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/bug23951.php.exp rename to hphp/test/zend/good/tests-classes/bug23951.php.expectf diff --git a/hphp/test/zend/good/tests-classes/bug24399.php.exp b/hphp/test/zend/good/tests-classes/bug24399.php.exp deleted file mode 100644 index 5c0c0681d..000000000 --- a/hphp/test/zend/good/tests-classes/bug24399.php.exp +++ /dev/null @@ -1 +0,0 @@ -bool(false) diff --git a/hphp/test/zend/good/tests-classes/bug24399.php.expectf b/hphp/test/zend/good/tests-classes/bug24399.php.expectf new file mode 100644 index 000000000..eb28e0c67 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug24399.php.expectf @@ -0,0 +1 @@ +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug24445.php.exp b/hphp/test/zend/good/tests-classes/bug24445.php.exp deleted file mode 100644 index 74d3e6d82..000000000 --- a/hphp/test/zend/good/tests-classes/bug24445.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -bool(false) -bool(false) diff --git a/hphp/test/zend/good/tests-classes/bug24445.php.expectf b/hphp/test/zend/good/tests-classes/bug24445.php.expectf new file mode 100644 index 000000000..1f7ce4c1e --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug24445.php.expectf @@ -0,0 +1,2 @@ +bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug27468.php.exp b/hphp/test/zend/good/tests-classes/bug27468.php.exp deleted file mode 100644 index 2e6c0dd08..000000000 --- a/hphp/test/zend/good/tests-classes/bug27468.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: Undefined property: foo::$x in hphp/test/zend/good/tests-classes/bug27468.php on line 4 -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/tests-classes/bug27468.php on line 4 -OK \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug27468.php.expectf b/hphp/test/zend/good/tests-classes/bug27468.php.expectf new file mode 100644 index 000000000..146c9c641 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug27468.php.expectf @@ -0,0 +1,3 @@ +HipHop Notice: %a +HipHop Warning: %a +OK \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug27504.php.exp b/hphp/test/zend/good/tests-classes/bug27504.php.exp deleted file mode 100644 index 862c766d0..000000000 --- a/hphp/test/zend/good/tests-classes/bug27504.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Called function foo:bar(1) -HipHop Warning: Invalid argument: function: method 'bar' not found in hphp/test/zend/good/tests-classes/bug27504.php on line 13 -HipHop Fatal error: Call to private method foo::bar from anonymous context in hphp/test/zend/good/tests-classes/bug27504.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/bug27504.php.expectf b/hphp/test/zend/good/tests-classes/bug27504.php.expectf new file mode 100644 index 000000000..c6a092685 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug27504.php.expectf @@ -0,0 +1,3 @@ +Called function foo:bar(1) +HipHop Warning: %a +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug29446.php.exp b/hphp/test/zend/good/tests-classes/bug29446.php.exp deleted file mode 100644 index 77cba3360..000000000 --- a/hphp/test/zend/good/tests-classes/bug29446.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare testClass::TEST_CONST in hphp/test/zend/good/tests-classes/bug29446.php on line 5 diff --git a/hphp/test/zend/good/tests-classes/bug29446.php.expectf b/hphp/test/zend/good/tests-classes/bug29446.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug29446.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/bug63462.php b/hphp/test/zend/good/tests-classes/bug63462.php new file mode 100644 index 000000000..3f838f612 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug63462.php @@ -0,0 +1,46 @@ +publicProperty, + $this->protectedProperty, + $this->privateProperty + ); + } + + function __get($name) { + echo '__get ' . $name . "\n"; + return $this->$name; + } + + function __set($name, $value) { + echo '__set ' . $name . "\n"; + $this->$name = $value; + } + + function __isset($name) { + echo '__isset ' . $name . "\n"; + return isset($this->$name); + } +} + +$test = new Test(); + +$test->nonExisting; +$test->publicProperty; +$test->protectedProperty; +$test->privateProperty; +isset($test->nonExisting); +isset($test->publicProperty); +isset($test->protectedProperty); +isset($test->privateProperty); +$test->nonExisting = 'value'; +$test->publicProperty = 'value'; +$test->protectedProperty = 'value'; +$test->privateProperty = 'value'; + +?> diff --git a/hphp/test/zend/good/tests-classes/bug63462.php.expectf b/hphp/test/zend/good/tests-classes/bug63462.php.expectf new file mode 100644 index 000000000..4b8576c19 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug63462.php.expectf @@ -0,0 +1,16 @@ +__get nonExisting +HipHop Notice: %a +__get publicProperty +HipHop Notice: %a +__get protectedProperty +HipHop Notice: %a +__get privateProperty +HipHop Notice: %a +__isset nonExisting +__isset publicProperty +__isset protectedProperty +__isset privateProperty +__set nonExisting +__set publicProperty +__set protectedProperty +__set privateProperty \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/class_abstract.php.exp b/hphp/test/zend/good/tests-classes/class_abstract.php.exp deleted file mode 100644 index 30a87593b..000000000 --- a/hphp/test/zend/good/tests-classes/class_abstract.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -base -HipHop Fatal error: Cannot instantiate abstract class base in hphp/test/zend/good/tests-classes/class_abstract.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/class_abstract.php.expectf b/hphp/test/zend/good/tests-classes/class_abstract.php.expectf new file mode 100644 index 000000000..26dcf9408 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/class_abstract.php.expectf @@ -0,0 +1,2 @@ +base +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/class_example.php.exp b/hphp/test/zend/good/tests-classes/class_example.php.exp deleted file mode 100644 index 7ed46356b..000000000 --- a/hphp/test/zend/good/tests-classes/class_example.php.exp +++ /dev/null @@ -1,37 +0,0 @@ - -User information ----------------- - -First name: Zeev -Family name: Suraski -Address: Ben Gourion 3, Kiryat Bialik, Israel -Phone: +972-4-8713139 - - -User information ----------------- - -First name: Andi -Family name: Gutmans -Address: Haifa, Israel -Phone: +972-4-8231621 - - -User information ----------------- - -First name: Andi -Family name: Gutmans -Address: Haifa, Israel -Phone: +972-4-8231621 - - -User information ----------------- - -First name: Andi -Family name: Gutmans -Address: New address... -Phone: +972-4-8231621 - - diff --git a/hphp/test/zend/good/tests-classes/class_final.php.exp b/hphp/test/zend/good/tests-classes/class_final.php.exp deleted file mode 100644 index b8c70708f..000000000 --- a/hphp/test/zend/good/tests-classes/class_final.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class derived may not inherit from final class (base) in hphp/test/zend/good/tests-classes/class_final.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/class_final.php.expectf b/hphp/test/zend/good/tests-classes/class_final.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/class_final.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/class_stdclass.php.exp b/hphp/test/zend/good/tests-classes/class_stdclass.php.exp deleted file mode 100644 index 0d685263d..000000000 --- a/hphp/test/zend/good/tests-classes/class_stdclass.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -stdClass -Done diff --git a/hphp/test/zend/good/tests-classes/class_stdclass.php.expectf b/hphp/test/zend/good/tests-classes/class_stdclass.php.expectf new file mode 100644 index 000000000..63af10542 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/class_stdclass.php.expectf @@ -0,0 +1,2 @@ +stdClass +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/clone_001.php.exp b/hphp/test/zend/good/tests-classes/clone_001.php.exp deleted file mode 100644 index ec9e70763..000000000 --- a/hphp/test/zend/good/tests-classes/clone_001.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -Object -object(test)#1 (3) { - ["p1"]=> - int(1) - ["p2"]=> - string(1) "A" - ["p3"]=> - string(1) "B" -} -Clown -object(test)#2 (3) { - ["p1"]=> - int(1) - ["p2"]=> - string(1) "A" - ["p3"]=> - string(1) "C" -} -Done diff --git a/hphp/test/zend/good/tests-classes/clone_001.php.expectf b/hphp/test/zend/good/tests-classes/clone_001.php.expectf new file mode 100644 index 000000000..98cc1eefc --- /dev/null +++ b/hphp/test/zend/good/tests-classes/clone_001.php.expectf @@ -0,0 +1,19 @@ +Object +object(test)#1 (3) { + ["p1"]=> + int(1) + ["p2"]=> + string(1) "A" + ["p3"]=> + string(1) "B" +} +Clown +object(test)#2 (3) { + ["p1"]=> + int(1) + ["p2"]=> + string(1) "A" + ["p3"]=> + string(1) "C" +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/clone_002.php.exp b/hphp/test/zend/good/tests-classes/clone_002.php.exp deleted file mode 100644 index ec9e70763..000000000 --- a/hphp/test/zend/good/tests-classes/clone_002.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -Object -object(test)#1 (3) { - ["p1"]=> - int(1) - ["p2"]=> - string(1) "A" - ["p3"]=> - string(1) "B" -} -Clown -object(test)#2 (3) { - ["p1"]=> - int(1) - ["p2"]=> - string(1) "A" - ["p3"]=> - string(1) "C" -} -Done diff --git a/hphp/test/zend/good/tests-classes/clone_002.php.expectf b/hphp/test/zend/good/tests-classes/clone_002.php.expectf new file mode 100644 index 000000000..98cc1eefc --- /dev/null +++ b/hphp/test/zend/good/tests-classes/clone_002.php.expectf @@ -0,0 +1,19 @@ +Object +object(test)#1 (3) { + ["p1"]=> + int(1) + ["p2"]=> + string(1) "A" + ["p3"]=> + string(1) "B" +} +Clown +object(test)#2 (3) { + ["p1"]=> + int(1) + ["p2"]=> + string(1) "A" + ["p3"]=> + string(1) "C" +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/clone_003.php.exp b/hphp/test/zend/good/tests-classes/clone_003.php.exp deleted file mode 100644 index 6eac6df08..000000000 --- a/hphp/test/zend/good/tests-classes/clone_003.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -Object -test Object -( - [p1] => test:1 - [p3] => test:3 - [p4] => A - [p5] => test:5 - [p2] => base:2 - [p6:base:private] => base:6 -) -Clown -test Object -( - [p1] => test:1 - [p3] => test:3 - [p4] => A - [p5] => clone:5 - [p2] => base:2 - [p6:base:private] => base:6 -) -Done diff --git a/hphp/test/zend/good/tests-classes/clone_003.php.expectf b/hphp/test/zend/good/tests-classes/clone_003.php.expectf new file mode 100644 index 000000000..787d47ba0 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/clone_003.php.expectf @@ -0,0 +1,21 @@ +Object +test Object +( + [p1] => test:1 + [p3] => test:3 + [p4] => A + [p5] => test:5 + [p2] => base:2 + [p6:base:private] => base:6 +) +Clown +test Object +( + [p1] => test:1 + [p3] => test:3 + [p4] => A + [p5] => clone:5 + [p2] => base:2 + [p6:base:private] => base:6 +) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/clone_004.php.exp b/hphp/test/zend/good/tests-classes/clone_004.php.exp deleted file mode 100644 index ba0df6ac9..000000000 --- a/hphp/test/zend/good/tests-classes/clone_004.php.exp +++ /dev/null @@ -1,42 +0,0 @@ -Original -object(test)#1 (2) { - ["b"]=> - array(2) { - [0]=> - int(3) - [1]=> - int(4) - } - ["a"]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } -} -Clone -object(test)#2 (2) { - ["b"]=> - array(2) { - [0]=> - int(3) - [1]=> - int(4) - } - ["a"]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } -} -Modify -object(test)#2 (2) { - ["b"]=> - int(6) - ["a"]=> - int(5) -} -Done diff --git a/hphp/test/zend/good/tests-classes/clone_004.php.expectf b/hphp/test/zend/good/tests-classes/clone_004.php.expectf new file mode 100644 index 000000000..6faa008a1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/clone_004.php.expectf @@ -0,0 +1,42 @@ +Original +object(test)#1 (2) { + ["b"]=> + array(2) { + [0]=> + int(3) + [1]=> + int(4) + } + ["a"]=> + array(2) { + [0]=> + int(1) + [1]=> + int(2) + } +} +Clone +object(test)#2 (2) { + ["b"]=> + array(2) { + [0]=> + int(3) + [1]=> + int(4) + } + ["a"]=> + array(2) { + [0]=> + int(1) + [1]=> + int(2) + } +} +Modify +object(test)#2 (2) { + ["b"]=> + int(6) + ["a"]=> + int(5) +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/clone_005.php.exp b/hphp/test/zend/good/tests-classes/clone_005.php.exp deleted file mode 100644 index 9bfff2be4..000000000 --- a/hphp/test/zend/good/tests-classes/clone_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method base::__clone() in hphp/test/zend/good/tests-classes/clone_005.php on line 9 diff --git a/hphp/test/zend/good/tests-classes/clone_005.php.expectf b/hphp/test/zend/good/tests-classes/clone_005.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/clone_005.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_001.php b/hphp/test/zend/good/tests-classes/constants_basic_001.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/constants_basic_001.php rename to hphp/test/zend/good/tests-classes/constants_basic_001.php diff --git a/hphp/test/zend/good/tests-classes/constants_basic_001.php.expectf b/hphp/test/zend/good/tests-classes/constants_basic_001.php.expectf new file mode 100644 index 000000000..a9aebeec6 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_basic_001.php.expectf @@ -0,0 +1,26 @@ +HipHop Notice: %a + +Attempt to access various kinds of class constants: +HipHop Notice: %a +string(9) "UNDEFINED" +int(1) +float(1.5) +int(1) +float(1.5) +int(-1) +float(-1.5) +int(15) +string(%d) "%s" +string(1) "C" +string(1) "C" +string(0) "" +int(1234) +int(456) +NULL +string(6) "hello1" +string(6) "hello2" +string(6) "hello2" +string(6) "hello2" + +Expecting fatal error: +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_basic_002.php.exp b/hphp/test/zend/good/tests-classes/constants_basic_002.php.exp deleted file mode 100644 index f8853f116..000000000 --- a/hphp/test/zend/good/tests-classes/constants_basic_002.php.exp +++ /dev/null @@ -1,11 +0,0 @@ - -Read class constant. -string(5) "hello" - -Fail to read class constant from instance. -HipHop Notice: Undefined property: aclass::$myConst in hphp/test/zend/good/tests-classes/constants_basic_002.php on line 12 -NULL - -Class constant not visible in object var_dump. -object(aclass)#1 (0) { -} diff --git a/hphp/test/zend/good/tests-classes/constants_basic_004.php.exp b/hphp/test/zend/good/tests-classes/constants_basic_004.php.exp deleted file mode 100644 index 5b277fb4d..000000000 --- a/hphp/test/zend/good/tests-classes/constants_basic_004.php.exp +++ /dev/null @@ -1,55 +0,0 @@ - -Static properties: -array(1) { - ["key"]=> - string(5) "value" -} -array(1) { - ["key"]=> - string(5) "value" -} -array(1) { - ["key"]=> - string(5) "value" -} -array(1) { - ["key"]=> - string(5) "value" -} -array(1) { - ["key"]=> - string(5) "value" -} - -Instance properties: -object(X)#1 (1) { - ["a_x"]=> - array(1) { - ["key"]=> - string(5) "value" - } -} -object(B)#2 (1) { - ["a_b"]=> - array(1) { - ["key"]=> - string(5) "value" - } -} -object(C)#3 (3) { - ["a_c_parent"]=> - array(1) { - ["key"]=> - string(5) "value" - } - ["a_c_self"]=> - array(1) { - ["key"]=> - string(5) "value" - } - ["a_b"]=> - array(1) { - ["key"]=> - string(5) "value" - } -} diff --git a/hphp/test/zend/good/tests-classes/constants_basic_005.php.exp b/hphp/test/zend/good/tests-classes/constants_basic_005.php.exp deleted file mode 100644 index f7fe767d0..000000000 --- a/hphp/test/zend/good/tests-classes/constants_basic_005.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -string(5) "hello" -string(5) "hello" diff --git a/hphp/test/zend/good/tests-classes/constants_basic_005.php.expectf b/hphp/test/zend/good/tests-classes/constants_basic_005.php.expectf new file mode 100644 index 000000000..e3bb28ae6 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_basic_005.php.expectf @@ -0,0 +1,2 @@ +string(5) "hello" +string(5) "hello" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_basic_006.php.exp b/hphp/test/zend/good/tests-classes/constants_basic_006.php.exp deleted file mode 100644 index be4c9a650..000000000 --- a/hphp/test/zend/good/tests-classes/constants_basic_006.php.exp +++ /dev/null @@ -1,21 +0,0 @@ -string(5) "hello" -array(2) { - ["nasty"]=> - string(4) "test" - ["hello"]=> - string(5) "nasty" -} -string(5) "hello" -array(2) { - ["nasty"]=> - string(4) "test" - ["hello"]=> - string(5) "nasty" -} -string(5) "hello" -array(2) { - ["nasty"]=> - string(4) "test" - ["hello"]=> - string(5) "nasty" -} diff --git a/hphp/test/zend/good/tests-classes/constants_basic_006.php.expectf b/hphp/test/zend/good/tests-classes/constants_basic_006.php.expectf new file mode 100644 index 000000000..38fbd03b8 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_basic_006.php.expectf @@ -0,0 +1,21 @@ +string(5) "hello" +array(2) { + ["nasty"]=> + string(4) "test" + ["hello"]=> + string(5) "nasty" +} +string(5) "hello" +array(2) { + ["nasty"]=> + string(4) "test" + ["hello"]=> + string(5) "nasty" +} +string(5) "hello" +array(2) { + ["nasty"]=> + string(4) "test" + ["hello"]=> + string(5) "nasty" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_error_001.php.exp b/hphp/test/zend/good/tests-classes/constants_error_001.php.exp deleted file mode 100644 index 24e97a3cb..000000000 --- a/hphp/test/zend/good/tests-classes/constants_error_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare myclass::myConst in hphp/test/zend/good/tests-classes/constants_error_001.php on line 5 diff --git a/hphp/test/zend/good/tests-classes/constants_error_001.php.expectf b/hphp/test/zend/good/tests-classes/constants_error_001.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_error_001.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_error_002.php.exp b/hphp/test/zend/good/tests-classes/constants_error_002.php.exp deleted file mode 100644 index aea08805e..000000000 --- a/hphp/test/zend/good/tests-classes/constants_error_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Arrays are not allowed in class constants in hphp/test/zend/good/tests-classes/constants_error_002.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/constants_error_002.php.expectf b/hphp/test/zend/good/tests-classes/constants_error_002.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_error_002.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_error_003.php.exp b/hphp/test/zend/good/tests-classes/constants_error_003.php.exp deleted file mode 100644 index f9259ad39..000000000 --- a/hphp/test/zend/good/tests-classes/constants_error_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot pass parameter 1 by reference in hphp/test/zend/good/tests-classes/constants_error_003.php on line 12 diff --git a/hphp/test/zend/good/tests-classes/constants_error_003.php.expectf b/hphp/test/zend/good/tests-classes/constants_error_003.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_error_003.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_scope_001.php.exp b/hphp/test/zend/good/tests-classes/constants_scope_001.php.exp deleted file mode 100644 index 3eaf1ed1d..000000000 --- a/hphp/test/zend/good/tests-classes/constants_scope_001.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -HipHop Notice: Use of undefined constant FATAL - assumed 'FATAL' in hphp/test/zend/good/tests-classes/constants_scope_001.php on line 9 -FATAL = FATAL -self::FATAL = Fatal error -self::FATAL = Worst error -parent::FATAL = Fatal error diff --git a/hphp/test/zend/good/tests-classes/constants_scope_001.php.expectf b/hphp/test/zend/good/tests-classes/constants_scope_001.php.expectf new file mode 100644 index 000000000..f74eaf432 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/constants_scope_001.php.expectf @@ -0,0 +1,5 @@ +HipHop Notice: %a +FATAL = FATAL +self::FATAL = Fatal error +self::FATAL = Worst error +parent::FATAL = Fatal error \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_dtor.php.exp b/hphp/test/zend/good/tests-classes/ctor_dtor.php.exp deleted file mode 100644 index 2e02f9a07..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_dtor.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -early::early -early::early -early::__destruct -late::__construct -Done -late::__destruct diff --git a/hphp/test/zend/good/tests-classes/ctor_dtor.php.expectf b/hphp/test/zend/good/tests-classes/ctor_dtor.php.expectf new file mode 100644 index 000000000..5c45a53e6 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_dtor.php.expectf @@ -0,0 +1,6 @@ +early::early +early::early +early::__destruct +late::__construct +Done +late::__destruct \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_dtor_inheritance.php.exp b/hphp/test/zend/good/tests-classes/ctor_dtor_inheritance.php.exp deleted file mode 100644 index 3c6b6f837..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_dtor_inheritance.php.exp +++ /dev/null @@ -1,42 +0,0 @@ -Testing class base -base::__construct -base Object -( - [name] => base -) -base::__destruct -base Object -( - [name] => base -) -Testing class derived -derived Object -( - [other] => other - [name] => init -) -base::__construct -derived Object -( - [other] => other - [name] => base -) -derived::__construct -derived Object -( - [other] => other - [name] => derived -) -base::__destruct -derived Object -( - [other] => other - [name] => derived -) -derived::__destruct -derived Object -( - [other] => other - [name] => derived -) -Done diff --git a/hphp/test/zend/good/tests-classes/ctor_dtor_inheritance.php.expectf b/hphp/test/zend/good/tests-classes/ctor_dtor_inheritance.php.expectf new file mode 100644 index 000000000..fc1737f38 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_dtor_inheritance.php.expectf @@ -0,0 +1,42 @@ +Testing class base +base::__construct +base Object +( + [name] => base +) +base::__destruct +base Object +( + [name] => base +) +Testing class derived +derived Object +( + [other] => other + [name] => init +) +base::__construct +derived Object +( + [other] => other + [name] => base +) +derived::__construct +derived Object +( + [other] => other + [name] => derived +) +base::__destruct +derived Object +( + [other] => other + [name] => derived +) +derived::__destruct +derived Object +( + [other] => other + [name] => derived +) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_failure.php.exp b/hphp/test/zend/good/tests-classes/ctor_failure.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/ctor_failure.php.exp rename to hphp/test/zend/good/tests-classes/ctor_failure.php.expectf diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_01.php.exp b/hphp/test/zend/good/tests-classes/ctor_in_interface_01.php.exp deleted file mode 100644 index 7de9d4a6f..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_in_interface_01.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of implem::__construct() must be compatible with that of constr::__construct() in hphp/test/zend/good/tests-classes/ctor_in_interface_01.php on line 7 diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_01.php.expectf b/hphp/test/zend/good/tests-classes/ctor_in_interface_01.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_in_interface_01.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_02.php.exp b/hphp/test/zend/good/tests-classes/ctor_in_interface_02.php.exp deleted file mode 100644 index ef9fcbf6f..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_in_interface_02.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of implem13::__construct() must be compatible with that of constr3::__construct() in hphp/test/zend/good/tests-classes/ctor_in_interface_02.php on line 23 diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_02.php.expectf b/hphp/test/zend/good/tests-classes/ctor_in_interface_02.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_in_interface_02.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_03.php.exp b/hphp/test/zend/good/tests-classes/ctor_in_interface_03.php.exp deleted file mode 100644 index f50e7ac30..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_in_interface_03.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of derived::__construct() must be compatible with that of constr::__construct() in hphp/test/zend/good/tests-classes/ctor_in_interface_03.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_03.php.expectf b/hphp/test/zend/good/tests-classes/ctor_in_interface_03.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_in_interface_03.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_04.php.exp b/hphp/test/zend/good/tests-classes/ctor_in_interface_04.php.exp deleted file mode 100644 index 77a7164bf..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_in_interface_04.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Declaration of derived::__construct() must be compatible with that of constr::__construct() in hphp/test/zend/good/tests-classes/ctor_in_interface_04.php on line 14 diff --git a/hphp/test/zend/good/tests-classes/ctor_in_interface_04.php.expectf b/hphp/test/zend/good/tests-classes/ctor_in_interface_04.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_in_interface_04.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_name_clash.php.exp b/hphp/test/zend/good/tests-classes/ctor_name_clash.php.exp deleted file mode 100644 index 780aa61d0..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_name_clash.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -base::base -derived::base diff --git a/hphp/test/zend/good/tests-classes/ctor_name_clash.php.expectf b/hphp/test/zend/good/tests-classes/ctor_name_clash.php.expectf new file mode 100644 index 000000000..f04c91a5e --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_name_clash.php.expectf @@ -0,0 +1,2 @@ +base::base +derived::base \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/ctor_visibility.php.exp b/hphp/test/zend/good/tests-classes/ctor_visibility.php.exp deleted file mode 100644 index 98dbf7d42..000000000 --- a/hphp/test/zend/good/tests-classes/ctor_visibility.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Derived::__construct() -Test::__construct() -TestPriv::__construct() -DerivedPriv::__construct() -HipHop Fatal error: Call to private method TestPriv::__construct from context DerivedPriv in hphp/test/zend/good/tests-classes/ctor_visibility.php on line 47 diff --git a/hphp/test/zend/good/tests-classes/ctor_visibility.php.expectf b/hphp/test/zend/good/tests-classes/ctor_visibility.php.expectf new file mode 100644 index 000000000..401e5d9ec --- /dev/null +++ b/hphp/test/zend/good/tests-classes/ctor_visibility.php.expectf @@ -0,0 +1,5 @@ +Derived::__construct() +Test::__construct() +TestPriv::__construct() +DerivedPriv::__construct() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/dereferencing_001.php.exp b/hphp/test/zend/good/tests-classes/dereferencing_001.php.exp deleted file mode 100644 index 076466759..000000000 --- a/hphp/test/zend/good/tests-classes/dereferencing_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -John diff --git a/hphp/test/zend/good/tests-classes/dereferencing_001.php.expectf b/hphp/test/zend/good/tests-classes/dereferencing_001.php.expectf new file mode 100644 index 000000000..08df4e78d --- /dev/null +++ b/hphp/test/zend/good/tests-classes/dereferencing_001.php.expectf @@ -0,0 +1 @@ +John \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/destructor_and_globals.php.exp b/hphp/test/zend/good/tests-classes/destructor_and_globals.php.exp deleted file mode 100644 index 7272315ad..000000000 --- a/hphp/test/zend/good/tests-classes/destructor_and_globals.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -Count: 0 -Id: 0 -Count: 1 -Id: 1 -Count: 2 -Count: 1 -Done diff --git a/hphp/test/zend/good/tests-classes/destructor_and_globals.php.expectf b/hphp/test/zend/good/tests-classes/destructor_and_globals.php.expectf new file mode 100644 index 000000000..b45d3f5c9 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/destructor_and_globals.php.expectf @@ -0,0 +1,7 @@ +Count: 0 +Id: 0 +Count: 1 +Id: 1 +Count: 2 +Count: 1 +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/destructor_and_references.php.exp b/hphp/test/zend/good/tests-classes/destructor_and_references.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/destructor_and_references.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/zend-traits/bug60717.php.exp b/hphp/test/zend/good/tests-classes/destructor_and_references.php.expectf similarity index 100% rename from hphp/test/zend/good/zend-traits/bug60717.php.exp rename to hphp/test/zend/good/tests-classes/destructor_and_references.php.expectf diff --git a/hphp/test/zend/good/tests-classes/destructor_inheritance.php.exp b/hphp/test/zend/good/tests-classes/destructor_inheritance.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/destructor_inheritance.php.exp rename to hphp/test/zend/good/tests-classes/destructor_inheritance.php.expectf diff --git a/hphp/test/zend/good/tests-classes/destructor_visibility_003.php.exp b/hphp/test/zend/good/tests-classes/destructor_visibility_003.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/destructor_visibility_003.php.exp rename to hphp/test/zend/good/tests-classes/destructor_visibility_003.php.expectf diff --git a/hphp/test/zend/good/tests-classes/factory_001.php.exp b/hphp/test/zend/good/tests-classes/factory_001.php.exp deleted file mode 100644 index 83a280eff..000000000 --- a/hphp/test/zend/good/tests-classes/factory_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Circle -Square diff --git a/hphp/test/zend/good/tests-classes/factory_001.php.expectf b/hphp/test/zend/good/tests-classes/factory_001.php.expectf new file mode 100644 index 000000000..871039cbe --- /dev/null +++ b/hphp/test/zend/good/tests-classes/factory_001.php.expectf @@ -0,0 +1,2 @@ +Circle +Square \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_001.php.exp b/hphp/test/zend/good/tests-classes/factory_and_singleton_001.php.exp deleted file mode 100644 index 9624c8fe9..000000000 --- a/hphp/test/zend/good/tests-classes/factory_and_singleton_001.php.exp +++ /dev/null @@ -1,19 +0,0 @@ -Access static members -NULL -int(0) -Create x and y -int(1) -int(1) -int(1) -int(1) -Destruct x -int(1) -int(1) -int(1) -Destruct y -int(1) -int(1) -Destruct static -NULL -int(0) -Done diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_001.php.expectf b/hphp/test/zend/good/tests-classes/factory_and_singleton_001.php.expectf new file mode 100644 index 000000000..1757fc87f --- /dev/null +++ b/hphp/test/zend/good/tests-classes/factory_and_singleton_001.php.expectf @@ -0,0 +1,19 @@ +Access static members +NULL +int(0) +Create x and y +int(1) +int(1) +int(1) +int(1) +Destruct x +int(1) +int(1) +int(1) +Destruct y +int(1) +int(1) +Destruct static +NULL +int(0) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_003.php.exp b/hphp/test/zend/good/tests-classes/factory_and_singleton_003.php.exp deleted file mode 100644 index 0e2a311fa..000000000 --- a/hphp/test/zend/good/tests-classes/factory_and_singleton_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to protected method test::__construct from anonymous context in hphp/test/zend/good/tests-classes/factory_and_singleton_003.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_003.php.expectf b/hphp/test/zend/good/tests-classes/factory_and_singleton_003.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/factory_and_singleton_003.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_004.php.exp b/hphp/test/zend/good/tests-classes/factory_and_singleton_004.php.exp deleted file mode 100644 index 28d1530a1..000000000 --- a/hphp/test/zend/good/tests-classes/factory_and_singleton_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Call to private method test::__construct from anonymous context in hphp/test/zend/good/tests-classes/factory_and_singleton_004.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_004.php.expectf b/hphp/test/zend/good/tests-classes/factory_and_singleton_004.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/factory_and_singleton_004.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final.php.exp b/hphp/test/zend/good/tests-classes/final.php.exp deleted file mode 100644 index a3ffbbfb4..000000000 --- a/hphp/test/zend/good/tests-classes/final.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Call to function first::show() -Call to function second::show() -Done diff --git a/hphp/test/zend/good/tests-classes/final.php.expectf b/hphp/test/zend/good/tests-classes/final.php.expectf new file mode 100644 index 000000000..dc2ca9386 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/final.php.expectf @@ -0,0 +1,3 @@ +Call to function first::show() +Call to function second::show() +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final_abstract.php.exp b/hphp/test/zend/good/tests-classes/final_abstract.php.exp deleted file mode 100644 index 55ada1fa6..000000000 --- a/hphp/test/zend/good/tests-classes/final_abstract.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot declare abstract method fail::show() final in hphp/test/zend/good/tests-classes/final_abstract.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/final_abstract.php.expectf b/hphp/test/zend/good/tests-classes/final_abstract.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/final_abstract.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final_ctor3.php.exp b/hphp/test/zend/good/tests-classes/final_ctor3.php.exp deleted file mode 100644 index af90b9dce..000000000 --- a/hphp/test/zend/good/tests-classes/final_ctor3.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method A::A() in hphp/test/zend/good/tests-classes/final_ctor3.php on line 5 diff --git a/hphp/test/zend/good/tests-classes/final_ctor3.php.expectf b/hphp/test/zend/good/tests-classes/final_ctor3.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/final_ctor3.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final_redeclare.php.exp b/hphp/test/zend/good/tests-classes/final_redeclare.php.exp deleted file mode 100644 index df0fdffce..000000000 --- a/hphp/test/zend/good/tests-classes/final_redeclare.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override final method pass::show() in hphp/test/zend/good/tests-classes/final_redeclare.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/final_redeclare.php.expectf b/hphp/test/zend/good/tests-classes/final_redeclare.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/final_redeclare.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/implicit_instantiation_001.php.exp b/hphp/test/zend/good/tests-classes/implicit_instantiation_001.php.exp deleted file mode 100644 index 5d27e65d0..000000000 --- a/hphp/test/zend/good/tests-classes/implicit_instantiation_001.php.exp +++ /dev/null @@ -1,92 +0,0 @@ - - ----( $c->boolFalse )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 22 - - --> Attempting implicit conversion to object using combined assignment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->emptyString )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 22 - - --> Attempting implicit conversion to object using combined assignment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->null )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 22 - - --> Attempting implicit conversion to object using combined assignment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->boolTrue )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Attempt to increment/decrement property of non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Cannot access property on non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 22 - - --> Attempting implicit conversion to object using combined assignment... -HipHop Warning: Attempt to assign property of non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->nonEmptyString )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Attempt to increment/decrement property of non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Cannot access property on non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 22 - - --> Attempting implicit conversion to object using combined assignment... -HipHop Warning: Attempt to assign property of non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->intZero )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Attempt to increment/decrement property of non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Cannot access property on non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 22 - - --> Attempting implicit conversion to object using combined assignment... -HipHop Warning: Attempt to assign property of non-object in hphp/test/zend/good/tests-classes/implicit_instantiation_001.php on line 26 - - - - --> Resulting object:object(C)#1 (6) { - ["boolFalse"]=> - object(stdClass)#2 (1) { - ["prop"]=> - string(24) " Implicit instantiation!" - } - ["emptyString"]=> - object(stdClass)#3 (1) { - ["prop"]=> - string(24) " Implicit instantiation!" - } - ["null"]=> - object(stdClass)#4 (1) { - ["prop"]=> - string(24) " Implicit instantiation!" - } - ["boolTrue"]=> - bool(true) - ["nonEmptyString"]=> - string(5) "hello" - ["intZero"]=> - int(0) -} diff --git a/hphp/test/zend/good/tests-classes/incdec_property_001.php.exp b/hphp/test/zend/good/tests-classes/incdec_property_001.php.exp deleted file mode 100644 index d41c9a1dd..000000000 --- a/hphp/test/zend/good/tests-classes/incdec_property_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(2) -int(3) ----Done--- diff --git a/hphp/test/zend/good/tests-classes/incdec_property_001.php.expectf b/hphp/test/zend/good/tests-classes/incdec_property_001.php.expectf new file mode 100644 index 000000000..0659639b1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/incdec_property_001.php.expectf @@ -0,0 +1,3 @@ +int(2) +int(3) +---Done--- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/incdec_property_002.php.exp b/hphp/test/zend/good/tests-classes/incdec_property_002.php.exp deleted file mode 100644 index d41c9a1dd..000000000 --- a/hphp/test/zend/good/tests-classes/incdec_property_002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(2) -int(3) ----Done--- diff --git a/hphp/test/zend/good/tests-classes/incdec_property_002.php.expectf b/hphp/test/zend/good/tests-classes/incdec_property_002.php.expectf new file mode 100644 index 000000000..0659639b1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/incdec_property_002.php.expectf @@ -0,0 +1,3 @@ +int(2) +int(3) +---Done--- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/incdec_property_003.php.exp b/hphp/test/zend/good/tests-classes/incdec_property_003.php.exp deleted file mode 100644 index d41c9a1dd..000000000 --- a/hphp/test/zend/good/tests-classes/incdec_property_003.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(2) -int(3) ----Done--- diff --git a/hphp/test/zend/good/tests-classes/incdec_property_003.php.expectf b/hphp/test/zend/good/tests-classes/incdec_property_003.php.expectf new file mode 100644 index 000000000..0659639b1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/incdec_property_003.php.expectf @@ -0,0 +1,3 @@ +int(2) +int(3) +---Done--- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/incdec_property_004.php.exp b/hphp/test/zend/good/tests-classes/incdec_property_004.php.exp deleted file mode 100644 index d41c9a1dd..000000000 --- a/hphp/test/zend/good/tests-classes/incdec_property_004.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(2) -int(3) ----Done--- diff --git a/hphp/test/zend/good/tests-classes/incdec_property_004.php.expectf b/hphp/test/zend/good/tests-classes/incdec_property_004.php.expectf new file mode 100644 index 000000000..0659639b1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/incdec_property_004.php.expectf @@ -0,0 +1,3 @@ +int(2) +int(3) +---Done--- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/inheritance.php.exp b/hphp/test/zend/good/tests-classes/inheritance.php.exp deleted file mode 100644 index 419a989c8..000000000 --- a/hphp/test/zend/good/tests-classes/inheritance.php.exp +++ /dev/null @@ -1,10 +0,0 @@ -This is class foo -a = 2 -b = 5 -10 ------ -This is class bar -a = 4 -b = 3 -c = 12 -12 diff --git a/hphp/test/zend/good/tests-classes/inheritance.php.expectf b/hphp/test/zend/good/tests-classes/inheritance.php.expectf new file mode 100644 index 000000000..52c2c9a93 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/inheritance.php.expectf @@ -0,0 +1,10 @@ +This is class foo +a = 2 +b = 5 +10 +----- +This is class bar +a = 4 +b = 3 +c = 12 +12 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/inheritance_002.php.exp b/hphp/test/zend/good/tests-classes/inheritance_002.php.exp deleted file mode 100644 index d91737e54..000000000 --- a/hphp/test/zend/good/tests-classes/inheritance_002.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -### PHP 4 style -string(17) "Child constructor" -string(16) "Base constructor" -### PHP 5 style -string(17) "Child constructor" -string(16) "Base constructor" -### Mixed style 1 -string(17) "Child constructor" -string(16) "Base constructor" -### Mixed style 2 -string(17) "Child constructor" -string(16) "Base constructor" diff --git a/hphp/test/zend/good/tests-classes/inheritance_002.php.expectf b/hphp/test/zend/good/tests-classes/inheritance_002.php.expectf new file mode 100644 index 000000000..5402f90a1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/inheritance_002.php.expectf @@ -0,0 +1,12 @@ +### PHP 4 style +string(17) "Child constructor" +string(16) "Base constructor" +### PHP 5 style +string(17) "Child constructor" +string(16) "Base constructor" +### Mixed style 1 +string(17) "Child constructor" +string(16) "Base constructor" +### Mixed style 2 +string(17) "Child constructor" +string(16) "Base constructor" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/inheritance_005.php.exp b/hphp/test/zend/good/tests-classes/inheritance_005.php.exp deleted file mode 100644 index 870aa4716..000000000 --- a/hphp/test/zend/good/tests-classes/inheritance_005.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -About to construct new B: -In A::A -Is B::B() callable? -bool(false) -Is B::A() callable? -bool(true) -About to construct new C: -In A::A -Is C::A() callable? -bool(true) -Is C::B() callable? -bool(false) -Is C::C() callable? -bool(false) diff --git a/hphp/test/zend/good/tests-classes/inheritance_005.php.expectf b/hphp/test/zend/good/tests-classes/inheritance_005.php.expectf new file mode 100644 index 000000000..8ca9253ec --- /dev/null +++ b/hphp/test/zend/good/tests-classes/inheritance_005.php.expectf @@ -0,0 +1,14 @@ +About to construct new B: +In A::A +Is B::B() callable? +bool(false) +Is B::A() callable? +bool(true) +About to construct new C: +In A::A +Is C::A() callable? +bool(true) +Is C::B() callable? +bool(false) +Is C::C() callable? +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/inheritance_006.php.exp b/hphp/test/zend/good/tests-classes/inheritance_006.php.exp deleted file mode 100644 index b6b10523b..000000000 --- a/hphp/test/zend/good/tests-classes/inheritance_006.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -object(C)#1 (2) { - ["c":"B":private]=> - NULL - ["c":"A":private]=> - NULL -} diff --git a/hphp/test/zend/good/tests-classes/inheritance_006.php.expectf b/hphp/test/zend/good/tests-classes/inheritance_006.php.expectf new file mode 100644 index 000000000..2be6750b1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/inheritance_006.php.expectf @@ -0,0 +1,6 @@ +object(C)#%d (2) { + [%u|b%"c":%u|b%"B":private]=> + NULL + [%u|b%"c":%u|b%"A":private]=> + NULL +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_and_extends.php.exp b/hphp/test/zend/good/tests-classes/interface_and_extends.php.exp deleted file mode 100644 index 5bb261092..000000000 --- a/hphp/test/zend/good/tests-classes/interface_and_extends.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class Tester may not inherit from interface (Test) in hphp/test/zend/good/tests-classes/interface_and_extends.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/interface_and_extends.php.expectf b/hphp/test/zend/good/tests-classes/interface_and_extends.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_and_extends.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_class.php.exp b/hphp/test/zend/good/tests-classes/interface_class.php.exp deleted file mode 100644 index 42a74c299..000000000 --- a/hphp/test/zend/good/tests-classes/interface_class.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: derived cannot implement base - it is not an interface in hphp/test/zend/good/tests-classes/interface_class.php on line 5 diff --git a/hphp/test/zend/good/tests-classes/interface_class.php.expectf b/hphp/test/zend/good/tests-classes/interface_class.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_class.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php.exp b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php.exp deleted file mode 100644 index 9b33f6b0c..000000000 --- a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override previously defined constant I1::FOO in I2 in hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php on line 6 diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php.expectf b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php.exp b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php.exp deleted file mode 100644 index 80222c0f1..000000000 --- a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot override previously defined constant I::FOO in C in hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php on line 6 diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php.expectf b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php.exp b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php.exp deleted file mode 100644 index 0549b10bb..000000000 --- a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot inherit previously-inherited constant FOO in hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php on line 10 diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php.expectf b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_004.php.exp b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_004.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/zend/closure_023.php.exp b/hphp/test/zend/good/tests-classes/interface_constant_inheritance_004.php.expectf similarity index 100% rename from hphp/test/zend/good/zend/closure_023.php.exp rename to hphp/test/zend/good/tests-classes/interface_constant_inheritance_004.php.expectf diff --git a/hphp/test/zend/good/tests-classes/interface_doubled.php.exp b/hphp/test/zend/good/tests-classes/interface_doubled.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_doubled.php.exp rename to hphp/test/zend/good/tests-classes/interface_doubled.php.expectf diff --git a/hphp/test/zend/good/tests-classes/interface_implemented.php.exp b/hphp/test/zend/good/tests-classes/interface_implemented.php.exp deleted file mode 100644 index b85e3686a..000000000 --- a/hphp/test/zend/good/tests-classes/interface_implemented.php.exp +++ /dev/null @@ -1,40 +0,0 @@ -is_a(base, base) = yes -is_a(base, derived_a) = no -is_a(base, derived_b) = no -is_a(base, derived_c) = no -is_a(base, derived_d) = no -is_a(base, if_a) = no -is_a(base, if_b) = no - -is_a(derived_a, base) = yes -is_a(derived_a, derived_a) = yes -is_a(derived_a, derived_b) = no -is_a(derived_a, derived_c) = no -is_a(derived_a, derived_d) = no -is_a(derived_a, if_a) = yes -is_a(derived_a, if_b) = no - -is_a(derived_b, base) = yes -is_a(derived_b, derived_a) = no -is_a(derived_b, derived_b) = yes -is_a(derived_b, derived_c) = no -is_a(derived_b, derived_d) = no -is_a(derived_b, if_a) = yes -is_a(derived_b, if_b) = yes - -is_a(derived_c, base) = yes -is_a(derived_c, derived_a) = yes -is_a(derived_c, derived_b) = no -is_a(derived_c, derived_c) = yes -is_a(derived_c, derived_d) = no -is_a(derived_c, if_a) = yes -is_a(derived_c, if_b) = yes - -is_a(derived_d, base) = yes -is_a(derived_d, derived_a) = yes -is_a(derived_d, derived_b) = no -is_a(derived_d, derived_c) = yes -is_a(derived_d, derived_d) = yes -is_a(derived_d, if_a) = yes -is_a(derived_d, if_b) = yes - diff --git a/hphp/test/zend/good/tests-classes/interface_instantiate.php.exp b/hphp/test/zend/good/tests-classes/interface_instantiate.php.exp deleted file mode 100644 index 67acd7caa..000000000 --- a/hphp/test/zend/good/tests-classes/interface_instantiate.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot instantiate interface if_a in hphp/test/zend/good/tests-classes/interface_instantiate.php on line 7 diff --git a/hphp/test/zend/good/tests-classes/interface_instantiate.php.expectf b/hphp/test/zend/good/tests-classes/interface_instantiate.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_instantiate.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_method.php.exp b/hphp/test/zend/good/tests-classes/interface_method.php.exp deleted file mode 100644 index 6660edc43..000000000 --- a/hphp/test/zend/good/tests-classes/interface_method.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ';', expecting T_FUNCTION in hphp/test/zend/good/tests-classes/interface_method.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/interface_method.php.expectf b/hphp/test/zend/good/tests-classes/interface_method.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_method.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_method_final.php.exp b/hphp/test/zend/good/tests-classes/interface_method_final.php.exp deleted file mode 100644 index b339867cb..000000000 --- a/hphp/test/zend/good/tests-classes/interface_method_final.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot declare abstract method if_a::err() final in hphp/test/zend/good/tests-classes/interface_method_final.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/interface_method_final.php.expectf b/hphp/test/zend/good/tests-classes/interface_method_final.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_method_final.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_method_private.php.exp b/hphp/test/zend/good/tests-classes/interface_method_private.php.exp deleted file mode 100644 index e6967a9cd..000000000 --- a/hphp/test/zend/good/tests-classes/interface_method_private.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access type for interface method if_a::err() must be omitted in hphp/test/zend/good/tests-classes/interface_method_private.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/interface_method_private.php.expectf b/hphp/test/zend/good/tests-classes/interface_method_private.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_method_private.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_must_be_implemented.php.exp b/hphp/test/zend/good/tests-classes/interface_must_be_implemented.php.exp deleted file mode 100644 index 37ca61cce..000000000 --- a/hphp/test/zend/good/tests-classes/interface_must_be_implemented.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class derived_a contains abstract method (f_a) and must therefore be declared abstract or implement the remaining methods in hphp/test/zend/good/tests-classes/interface_must_be_implemented.php on line 7 diff --git a/hphp/test/zend/good/tests-classes/interface_must_be_implemented.php.expectf b/hphp/test/zend/good/tests-classes/interface_must_be_implemented.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_must_be_implemented.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_optional_arg.php.exp b/hphp/test/zend/good/tests-classes/interface_optional_arg.php.exp deleted file mode 100644 index 257cc5642..000000000 --- a/hphp/test/zend/good/tests-classes/interface_optional_arg.php.exp +++ /dev/null @@ -1 +0,0 @@ -foo diff --git a/hphp/test/zend/good/tests-classes/interface_optional_arg.php.expectf b/hphp/test/zend/good/tests-classes/interface_optional_arg.php.expectf new file mode 100644 index 000000000..191028156 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_optional_arg.php.expectf @@ -0,0 +1 @@ +foo \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_optional_arg_002.php.exp b/hphp/test/zend/good/tests-classes/interface_optional_arg_002.php.exp deleted file mode 100644 index 9ba94a3fd..000000000 --- a/hphp/test/zend/good/tests-classes/interface_optional_arg_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -int(2) diff --git a/hphp/test/zend/good/tests-classes/interface_optional_arg_002.php.expectf b/hphp/test/zend/good/tests-classes/interface_optional_arg_002.php.expectf new file mode 100644 index 000000000..c4f25cd82 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interface_optional_arg_002.php.expectf @@ -0,0 +1 @@ +int(2) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interfaces_001.php.exp b/hphp/test/zend/good/tests-classes/interfaces_001.php.exp deleted file mode 100644 index 257cc5642..000000000 --- a/hphp/test/zend/good/tests-classes/interfaces_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -foo diff --git a/hphp/test/zend/good/tests-classes/interfaces_001.php.expectf b/hphp/test/zend/good/tests-classes/interfaces_001.php.expectf new file mode 100644 index 000000000..191028156 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interfaces_001.php.expectf @@ -0,0 +1 @@ +foo \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interfaces_002.php.exp b/hphp/test/zend/good/tests-classes/interfaces_002.php.exp deleted file mode 100644 index af1e59078..000000000 --- a/hphp/test/zend/good/tests-classes/interfaces_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Class Exception_foo contains abstract method (getErrno) and must therefore be declared abstract or implement the remaining methods in hphp/test/zend/good/tests-classes/interfaces_002.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/interfaces_002.php.expectf b/hphp/test/zend/good/tests-classes/interfaces_002.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/interfaces_002.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/iterators_001.php.exp b/hphp/test/zend/good/tests-classes/iterators_001.php.exp deleted file mode 100644 index 9dde77386..000000000 --- a/hphp/test/zend/good/tests-classes/iterators_001.php.exp +++ /dev/null @@ -1,114 +0,0 @@ -===Array=== -array:0 -array:1 -array:2 -===Manual=== -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -0 -c_iter::next -c_iter::valid = true -c_iter::current -1 -c_iter::next -c_iter::valid = true -c_iter::current -2 -c_iter::next -c_iter::valid = false -===foreach/std=== -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -object:0 -c_iter::next -c_iter::valid = true -c_iter::current -object:1 -c_iter::next -c_iter::valid = true -c_iter::current -object:2 -c_iter::next -c_iter::valid = false -===foreach/rec=== -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -double:0:0 -c_iter::next -c_iter::valid = true -c_iter::current -double:0:1 -c_iter::next -c_iter::valid = true -c_iter::current -double:0:2 -c_iter::next -c_iter::valid = false -c_iter::next -c_iter::valid = true -c_iter::current -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -double:1:0 -c_iter::next -c_iter::valid = true -c_iter::current -double:1:1 -c_iter::next -c_iter::valid = true -c_iter::current -double:1:2 -c_iter::next -c_iter::valid = false -c_iter::next -c_iter::valid = true -c_iter::current -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -double:2:0 -c_iter::next -c_iter::valid = true -c_iter::current -double:2:1 -c_iter::next -c_iter::valid = true -c_iter::current -double:2:2 -c_iter::next -c_iter::valid = false -c_iter::next -c_iter::valid = false -===foreach/key=== -c::getIterator -c_iter::__construct -c_iter::valid = true -c_iter::current -c_iter::key -object:1st=>0 -c_iter::next -c_iter::valid = true -c_iter::current -c_iter::key -object:2nd=>1 -c_iter::next -c_iter::valid = true -c_iter::current -c_iter::key -object:3rd=>2 -c_iter::next -c_iter::valid = false -Done diff --git a/hphp/test/zend/good/tests-classes/iterators_001.php.expectf b/hphp/test/zend/good/tests-classes/iterators_001.php.expectf new file mode 100644 index 000000000..7cd9b3cbc --- /dev/null +++ b/hphp/test/zend/good/tests-classes/iterators_001.php.expectf @@ -0,0 +1,114 @@ +===Array=== +array:0 +array:1 +array:2 +===Manual=== +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +0 +c_iter::next +c_iter::valid = true +c_iter::current +1 +c_iter::next +c_iter::valid = true +c_iter::current +2 +c_iter::next +c_iter::valid = false +===foreach/std=== +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +object:0 +c_iter::next +c_iter::valid = true +c_iter::current +object:1 +c_iter::next +c_iter::valid = true +c_iter::current +object:2 +c_iter::next +c_iter::valid = false +===foreach/rec=== +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +double:0:0 +c_iter::next +c_iter::valid = true +c_iter::current +double:0:1 +c_iter::next +c_iter::valid = true +c_iter::current +double:0:2 +c_iter::next +c_iter::valid = false +c_iter::next +c_iter::valid = true +c_iter::current +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +double:1:0 +c_iter::next +c_iter::valid = true +c_iter::current +double:1:1 +c_iter::next +c_iter::valid = true +c_iter::current +double:1:2 +c_iter::next +c_iter::valid = false +c_iter::next +c_iter::valid = true +c_iter::current +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +double:2:0 +c_iter::next +c_iter::valid = true +c_iter::current +double:2:1 +c_iter::next +c_iter::valid = true +c_iter::current +double:2:2 +c_iter::next +c_iter::valid = false +c_iter::next +c_iter::valid = false +===foreach/key=== +c::getIterator +c_iter::__construct +c_iter::valid = true +c_iter::current +c_iter::key +object:1st=>0 +c_iter::next +c_iter::valid = true +c_iter::current +c_iter::key +object:2nd=>1 +c_iter::next +c_iter::valid = true +c_iter::current +c_iter::key +object:3rd=>2 +c_iter::next +c_iter::valid = false +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/iterators_002.php.exp b/hphp/test/zend/good/tests-classes/iterators_002.php.exp deleted file mode 100644 index 6e69246da..000000000 --- a/hphp/test/zend/good/tests-classes/iterators_002.php.exp +++ /dev/null @@ -1,40 +0,0 @@ -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -c_iter::key -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -double:0:0 -c_iter::__destruct -c_iter::next -c_iter::valid = true -c_iter::current -c_iter::key -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -double:1:0 -c_iter::__destruct -c_iter::next -c_iter::valid = true -c_iter::current -c_iter::key -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -double:2:0 -c_iter::__destruct -c_iter::next -c_iter::valid = false -c_iter::__destruct -c::__destruct -Done diff --git a/hphp/test/zend/good/tests-classes/iterators_002.php.expectf b/hphp/test/zend/good/tests-classes/iterators_002.php.expectf new file mode 100644 index 000000000..d46f27914 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/iterators_002.php.expectf @@ -0,0 +1,40 @@ +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +c_iter::key +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +double:0:0 +c_iter::__destruct +c_iter::next +c_iter::valid = true +c_iter::current +c_iter::key +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +double:1:0 +c_iter::__destruct +c_iter::next +c_iter::valid = true +c_iter::current +c_iter::key +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +double:2:0 +c_iter::__destruct +c_iter::next +c_iter::valid = false +c_iter::__destruct +c::__destruct +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/iterators_003.php.exp b/hphp/test/zend/good/tests-classes/iterators_003.php.exp deleted file mode 100644 index f506f432e..000000000 --- a/hphp/test/zend/good/tests-classes/iterators_003.php.exp +++ /dev/null @@ -1,42 +0,0 @@ -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -continue outer -c_iter::next -c_iter::valid = true -c_iter::current -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -double:1:0 -c_iter::next -c_iter::valid = true -c_iter::current -continue inner -c_iter::next -c_iter::valid = true -c_iter::current -break inner -c_iter::next -c_iter::valid = true -c_iter::current -c::getIterator -c_iter::__construct -c_iter::rewind -c_iter::valid = true -c_iter::current -double:2:0 -c_iter::next -c_iter::valid = true -c_iter::current -continue inner -c_iter::next -c_iter::valid = true -c_iter::current -break inner -break outer -Done diff --git a/hphp/test/zend/good/tests-classes/iterators_003.php.expectf b/hphp/test/zend/good/tests-classes/iterators_003.php.expectf new file mode 100644 index 000000000..168ffb168 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/iterators_003.php.expectf @@ -0,0 +1,42 @@ +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +continue outer +c_iter::next +c_iter::valid = true +c_iter::current +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +double:1:0 +c_iter::next +c_iter::valid = true +c_iter::current +continue inner +c_iter::next +c_iter::valid = true +c_iter::current +break inner +c_iter::next +c_iter::valid = true +c_iter::current +c::getIterator +c_iter::__construct +c_iter::rewind +c_iter::valid = true +c_iter::current +double:2:0 +c_iter::next +c_iter::valid = true +c_iter::current +continue inner +c_iter::next +c_iter::valid = true +c_iter::current +break inner +break outer +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/iterators_004.php.exp b/hphp/test/zend/good/tests-classes/iterators_004.php.exp deleted file mode 100644 index 6dca2384f..000000000 --- a/hphp/test/zend/good/tests-classes/iterators_004.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -1st try -2nd try -object:max=>3 -object:num=>0 -Done diff --git a/hphp/test/zend/good/tests-classes/iterators_004.php.expectf b/hphp/test/zend/good/tests-classes/iterators_004.php.expectf new file mode 100644 index 000000000..ab3b07471 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/iterators_004.php.expectf @@ -0,0 +1,5 @@ +1st try +2nd try +object:max=>3 +object:num=>0 +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/iterators_006.php.exp b/hphp/test/zend/good/tests-classes/iterators_006.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/iterators_006.php.exp rename to hphp/test/zend/good/tests-classes/iterators_006.php.expectf diff --git a/hphp/test/zend/good/tests-classes/iterators_007.php.exp b/hphp/test/zend/good/tests-classes/iterators_007.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-classes/iterators_007.php.exp rename to hphp/test/zend/good/tests-classes/iterators_007.php.expectf diff --git a/hphp/test/zend/good/tests-classes/iterators_008.php.exp b/hphp/test/zend/good/tests-classes/iterators_008.php.exp deleted file mode 100644 index bb782d2dc..000000000 --- a/hphp/test/zend/good/tests-classes/iterators_008.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -D::rewind(2) -D::valid(2) -D::current(2) -D::next(1) -D::valid(1) -D::current(1) -D::next(0) -D::valid(0) diff --git a/hphp/test/zend/good/tests-classes/iterators_008.php.expectf b/hphp/test/zend/good/tests-classes/iterators_008.php.expectf new file mode 100644 index 000000000..5c6e491f4 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/iterators_008.php.expectf @@ -0,0 +1,8 @@ +D::rewind(2) +D::valid(2) +D::current(2) +D::next(1) +D::valid(1) +D::current(1) +D::next(0) +D::valid(0) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/method_call_variation_001.php.exp b/hphp/test/zend/good/tests-classes/method_call_variation_001.php.exp deleted file mode 100644 index d65ce38a7..000000000 --- a/hphp/test/zend/good/tests-classes/method_call_variation_001.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Called C::foo(1, 2) -Called C::foo(3, 4) -Called global foo(5, 6) -Called global foo(7, 8) diff --git a/hphp/test/zend/good/tests-classes/method_call_variation_001.php.expectf b/hphp/test/zend/good/tests-classes/method_call_variation_001.php.expectf new file mode 100644 index 000000000..0d3d1e125 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/method_call_variation_001.php.expectf @@ -0,0 +1,4 @@ +Called C::foo(1, 2) +Called C::foo(3, 4) +Called global foo(5, 6) +Called global foo(7, 8) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/object_reference_001.php.exp b/hphp/test/zend/good/tests-classes/object_reference_001.php.exp deleted file mode 100644 index c26774398..000000000 --- a/hphp/test/zend/good/tests-classes/object_reference_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -I'm Foo! -I'm Bar! diff --git a/hphp/test/zend/good/tests-classes/object_reference_001.php.expectf b/hphp/test/zend/good/tests-classes/object_reference_001.php.expectf new file mode 100644 index 000000000..9c81b8368 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/object_reference_001.php.expectf @@ -0,0 +1,2 @@ +I'm Foo! +I'm Bar! \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_001.php.exp b/hphp/test/zend/good/tests-classes/private_001.php.exp deleted file mode 100644 index 1c9538715..000000000 --- a/hphp/test/zend/good/tests-classes/private_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from anonymous context in hphp/test/zend/good/tests-classes/private_001.php on line 14 diff --git a/hphp/test/zend/good/tests-classes/private_001.php.expectf b/hphp/test/zend/good/tests-classes/private_001.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_001.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_002.php.exp b/hphp/test/zend/good/tests-classes/private_002.php.exp deleted file mode 100644 index f99a20ff3..000000000 --- a/hphp/test/zend/good/tests-classes/private_002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Call pass::show() -Call fail::show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_002.php on line 18 diff --git a/hphp/test/zend/good/tests-classes/private_002.php.expectf b/hphp/test/zend/good/tests-classes/private_002.php.expectf new file mode 100644 index 000000000..dc87827b7 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_002.php.expectf @@ -0,0 +1,3 @@ +Call pass::show() +Call fail::show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_003.php.exp b/hphp/test/zend/good/tests-classes/private_003.php.exp deleted file mode 100644 index 2d557fb8a..000000000 --- a/hphp/test/zend/good/tests-classes/private_003.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_003.php on line 19 diff --git a/hphp/test/zend/good/tests-classes/private_003.php.expectf b/hphp/test/zend/good/tests-classes/private_003.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_003.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_003b.php.exp b/hphp/test/zend/good/tests-classes/private_003b.php.exp deleted file mode 100644 index 1e8440077..000000000 --- a/hphp/test/zend/good/tests-classes/private_003b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_003b.php on line 19 diff --git a/hphp/test/zend/good/tests-classes/private_003b.php.expectf b/hphp/test/zend/good/tests-classes/private_003b.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_003b.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_004.php.exp b/hphp/test/zend/good/tests-classes/private_004.php.exp deleted file mode 100644 index 66f4da839..000000000 --- a/hphp/test/zend/good/tests-classes/private_004.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_004.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/private_004.php.expectf b/hphp/test/zend/good/tests-classes/private_004.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_004.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_004b.php.exp b/hphp/test/zend/good/tests-classes/private_004b.php.exp deleted file mode 100644 index 0b524100c..000000000 --- a/hphp/test/zend/good/tests-classes/private_004b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_004b.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/private_004b.php.expectf b/hphp/test/zend/good/tests-classes/private_004b.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_004b.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_005.php.exp b/hphp/test/zend/good/tests-classes/private_005.php.exp deleted file mode 100644 index d292c726b..000000000 --- a/hphp/test/zend/good/tests-classes/private_005.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_005.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/private_005.php.expectf b/hphp/test/zend/good/tests-classes/private_005.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_005.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_005b.php.exp b/hphp/test/zend/good/tests-classes/private_005b.php.exp deleted file mode 100644 index 4230ebe9d..000000000 --- a/hphp/test/zend/good/tests-classes/private_005b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call show() -HipHop Fatal error: Call to private method pass::show from context fail in hphp/test/zend/good/tests-classes/private_005b.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/private_005b.php.expectf b/hphp/test/zend/good/tests-classes/private_005b.php.expectf new file mode 100644 index 000000000..4fc8b4e69 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_005b.php.expectf @@ -0,0 +1,2 @@ +Call show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_006.php.exp b/hphp/test/zend/good/tests-classes/private_006.php.exp deleted file mode 100644 index 86b0c9c2f..000000000 --- a/hphp/test/zend/good/tests-classes/private_006.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -Call show() -Call show() -Call show() -Done diff --git a/hphp/test/zend/good/tests-classes/private_006.php.expectf b/hphp/test/zend/good/tests-classes/private_006.php.expectf new file mode 100644 index 000000000..c4361225d --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_006.php.expectf @@ -0,0 +1,4 @@ +Call show() +Call show() +Call show() +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_006b.php.exp b/hphp/test/zend/good/tests-classes/private_006b.php.exp deleted file mode 100644 index 6c054cd3a..000000000 --- a/hphp/test/zend/good/tests-classes/private_006b.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Call show() -Call show() -Done diff --git a/hphp/test/zend/good/tests-classes/private_006b.php.expectf b/hphp/test/zend/good/tests-classes/private_006b.php.expectf new file mode 100644 index 000000000..3d98f956b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_006b.php.expectf @@ -0,0 +1,3 @@ +Call show() +Call show() +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_007.php.exp b/hphp/test/zend/good/tests-classes/private_007.php.exp deleted file mode 100644 index 1d424663a..000000000 --- a/hphp/test/zend/good/tests-classes/private_007.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Bar::priv() -Foo::priv() -Done diff --git a/hphp/test/zend/good/tests-classes/private_007.php.expectf b/hphp/test/zend/good/tests-classes/private_007.php.expectf new file mode 100644 index 000000000..722a9ecc9 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_007.php.expectf @@ -0,0 +1,3 @@ +Bar::priv() +Foo::priv() +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_007b.php.exp b/hphp/test/zend/good/tests-classes/private_007b.php.exp deleted file mode 100644 index 1d424663a..000000000 --- a/hphp/test/zend/good/tests-classes/private_007b.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Bar::priv() -Foo::priv() -Done diff --git a/hphp/test/zend/good/tests-classes/private_007b.php.expectf b/hphp/test/zend/good/tests-classes/private_007b.php.expectf new file mode 100644 index 000000000..722a9ecc9 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_007b.php.expectf @@ -0,0 +1,3 @@ +Bar::priv() +Foo::priv() +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_members.php.exp b/hphp/test/zend/good/tests-classes/private_members.php.exp deleted file mode 100644 index 553b99a5a..000000000 --- a/hphp/test/zend/good/tests-classes/private_members.php.exp +++ /dev/null @@ -1,47 +0,0 @@ -derived::__construct(begin) -base::__construct(begin) -base::test -derived Object -( - [member] => derived::member (default) - [member:base:private] => base::member -) -derived::test -derived Object -( - [member] => derived::member (default) - [member:base:private] => base::member -) -base::__construct(end) -base::test -derived Object -( - [member] => derived::member (default) - [member:base:private] => base::member -) -base::test -derived Object -( - [member] => derived::member (default) - [member:base:private] => base::member -) -derived::test -derived Object -( - [member] => derived::member (default) - [member:base:private] => base::member -) -derived::__construct(end) -base::test -derived Object -( - [member] => derived::member - [member:base:private] => base::member -) -derived::test -derived Object -( - [member] => derived::member - [member:base:private] => base::member -) -Done diff --git a/hphp/test/zend/good/tests-classes/private_members.php.expectf b/hphp/test/zend/good/tests-classes/private_members.php.expectf new file mode 100644 index 000000000..44f1d580c --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_members.php.expectf @@ -0,0 +1,47 @@ +derived::__construct(begin) +base::__construct(begin) +base::test +derived Object +( + [member] => derived::member (default) + [member:base:private] => base::member +) +derived::test +derived Object +( + [member] => derived::member (default) + [member:base:private] => base::member +) +base::__construct(end) +base::test +derived Object +( + [member] => derived::member (default) + [member:base:private] => base::member +) +base::test +derived Object +( + [member] => derived::member (default) + [member:base:private] => base::member +) +derived::test +derived Object +( + [member] => derived::member (default) + [member:base:private] => base::member +) +derived::__construct(end) +base::test +derived Object +( + [member] => derived::member + [member:base:private] => base::member +) +derived::test +derived Object +( + [member] => derived::member + [member:base:private] => base::member +) +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/private_redeclare.php.exp b/hphp/test/zend/good/tests-classes/private_redeclare.php.exp deleted file mode 100644 index 7209070d5..000000000 --- a/hphp/test/zend/good/tests-classes/private_redeclare.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -base -test -derived -base -HipHop Fatal error: Call to private method base::show from context derived in hphp/test/zend/good/tests-classes/private_redeclare.php on line 22 diff --git a/hphp/test/zend/good/tests-classes/private_redeclare.php.expectf b/hphp/test/zend/good/tests-classes/private_redeclare.php.expectf new file mode 100644 index 000000000..c0c121da3 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/private_redeclare.php.expectf @@ -0,0 +1,5 @@ +base +test +derived +base +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_private.php.exp b/hphp/test/zend/good/tests-classes/property_override_privateStatic_private.php.exp deleted file mode 100644 index b12f7bc0b..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_privateStatic_private.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_private.php.expectf b/hphp/test/zend/good/tests-classes/property_override_privateStatic_private.php.expectf new file mode 100644 index 000000000..cfd835e71 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_privateStatic_private.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_privateStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_privateStatic_privateStatic.php.exp deleted file mode 100644 index fa3d1775d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_privateStatic_privateStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_privateStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_privateStatic_privateStatic.php.expectf new file mode 100644 index 000000000..b902881f1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_privateStatic_privateStatic.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_protected.php.exp b/hphp/test/zend/good/tests-classes/property_override_privateStatic_protected.php.exp deleted file mode 100644 index b12f7bc0b..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_privateStatic_protected.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_override_privateStatic_protected.php.expectf new file mode 100644 index 000000000..cfd835e71 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_privateStatic_protected.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_protectedStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_privateStatic_protectedStatic.php.exp deleted file mode 100644 index fa3d1775d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_privateStatic_protectedStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_protectedStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_privateStatic_protectedStatic.php.expectf new file mode 100644 index 000000000..b902881f1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_privateStatic_protectedStatic.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_public.php.exp b/hphp/test/zend/good/tests-classes/property_override_privateStatic_public.php.exp deleted file mode 100644 index b12f7bc0b..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_privateStatic_public.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_public.php.expectf b/hphp/test/zend/good/tests-classes/property_override_privateStatic_public.php.expectf new file mode 100644 index 000000000..cfd835e71 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_privateStatic_public.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_publicStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_privateStatic_publicStatic.php.exp deleted file mode 100644 index fa3d1775d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_privateStatic_publicStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_privateStatic_publicStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_privateStatic_publicStatic.php.expectf new file mode 100644 index 000000000..b902881f1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_privateStatic_publicStatic.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_private_private.php.exp b/hphp/test/zend/good/tests-classes/property_override_private_private.php.exp deleted file mode 100644 index c50f5244a..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_private_private.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -A::p -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_private_private.php.expectf b/hphp/test/zend/good/tests-classes/property_override_private_private.php.expectf new file mode 100644 index 000000000..783e30723 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_private_private.php.expectf @@ -0,0 +1,3 @@ +A::p +A::p +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_private_privateStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_private_privateStatic.php.exp deleted file mode 100644 index abdfe50e0..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_private_privateStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -A::p -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_private_privateStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_private_privateStatic.php.expectf new file mode 100644 index 000000000..ac0089455 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_private_privateStatic.php.expectf @@ -0,0 +1,3 @@ +A::p +A::p +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_private_protected.php.exp b/hphp/test/zend/good/tests-classes/property_override_private_protected.php.exp deleted file mode 100644 index c50f5244a..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_private_protected.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -A::p -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_private_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_override_private_protected.php.expectf new file mode 100644 index 000000000..783e30723 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_private_protected.php.expectf @@ -0,0 +1,3 @@ +A::p +A::p +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_private_protectedStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_private_protectedStatic.php.exp deleted file mode 100644 index abdfe50e0..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_private_protectedStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -A::p -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_private_protectedStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_private_protectedStatic.php.expectf new file mode 100644 index 000000000..ac0089455 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_private_protectedStatic.php.expectf @@ -0,0 +1,3 @@ +A::p +A::p +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_private_public.php.exp b/hphp/test/zend/good/tests-classes/property_override_private_public.php.exp deleted file mode 100644 index c50f5244a..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_private_public.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -A::p -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_private_public.php.expectf b/hphp/test/zend/good/tests-classes/property_override_private_public.php.expectf new file mode 100644 index 000000000..783e30723 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_private_public.php.expectf @@ -0,0 +1,3 @@ +A::p +A::p +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_private_publicStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_private_publicStatic.php.exp deleted file mode 100644 index abdfe50e0..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_private_publicStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -A::p -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_private_publicStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_private_publicStatic.php.expectf new file mode 100644 index 000000000..ac0089455 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_private_publicStatic.php.expectf @@ -0,0 +1,3 @@ +A::p +A::p +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php.exp b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php.exp deleted file mode 100644 index 8c4ce612d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare static A::$p as non-static B::$p in hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php.exp deleted file mode 100644 index b1dcfc86c..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to B::$p() must be protected (as in class A) or weaker in hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php.exp b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php.exp deleted file mode 100644 index 188690619..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare static A::$p as non-static B::$p in hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protectedStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protectedStatic.php.exp deleted file mode 100644 index fa3d1775d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protectedStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protectedStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protectedStatic.php.expectf new file mode 100644 index 000000000..b902881f1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protectedStatic.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php.exp b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php.exp deleted file mode 100644 index f30ef6723..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare static A::$p as non-static B::$p in hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_publicStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_publicStatic.php.exp deleted file mode 100644 index fa3d1775d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_publicStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_publicStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_publicStatic.php.expectf new file mode 100644 index 000000000..b902881f1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protectedStatic_publicStatic.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_private.php.exp b/hphp/test/zend/good/tests-classes/property_override_protected_private.php.exp deleted file mode 100644 index 6ec05967f..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protected_private.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to B::$p() must be protected (as in class A) or weaker in hphp/test/zend/good/tests-classes/property_override_protected_private.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_private.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protected_private.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protected_private.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php.exp deleted file mode 100644 index 056d3a5a6..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare non-static A::$p as static B::$p in hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_protected.php.exp b/hphp/test/zend/good/tests-classes/property_override_protected_protected.php.exp deleted file mode 100644 index 3f81744a0..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protected_protected.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -B::p -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protected_protected.php.expectf new file mode 100644 index 000000000..2b362666b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protected_protected.php.expectf @@ -0,0 +1,3 @@ +A::p +B::p +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php.exp deleted file mode 100644 index 527982031..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare non-static A::$p as static B::$p in hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_public.php.exp b/hphp/test/zend/good/tests-classes/property_override_protected_public.php.exp deleted file mode 100644 index 3f81744a0..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protected_public.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -B::p -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_public.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protected_public.php.expectf new file mode 100644 index 000000000..2b362666b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protected_public.php.expectf @@ -0,0 +1,3 @@ +A::p +B::p +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php.exp deleted file mode 100644 index 2d1422a7d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare non-static A::$p as static B::$p in hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php.exp b/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php.exp deleted file mode 100644 index f65bec3f8..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare static A::$p as non-static B::$p in hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php.expectf b/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php.exp deleted file mode 100644 index 1a14d97ad..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to B::$p() must be public (as in class A) or weaker in hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php.exp b/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php.exp deleted file mode 100644 index 8fb82523d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare static A::$p as non-static B::$p in hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php.exp deleted file mode 100644 index f51c07d0d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to B::$p() must be public (as in class A) or weaker in hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php.exp b/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php.exp deleted file mode 100644 index 1fe699237..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare static A::$p as non-static B::$p in hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php.expectf b/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_publicStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_publicStatic_publicStatic.php.exp deleted file mode 100644 index fa3d1775d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_publicStatic_publicStatic.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p (static) -A::p (static) -B::p (static) diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_publicStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_publicStatic_publicStatic.php.expectf new file mode 100644 index 000000000..b902881f1 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_publicStatic_publicStatic.php.expectf @@ -0,0 +1,3 @@ +A::p (static) +A::p (static) +B::p (static) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_private.php.exp b/hphp/test/zend/good/tests-classes/property_override_public_private.php.exp deleted file mode 100644 index b9f48733d..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_public_private.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to B::$p() must be public (as in class A) or weaker in hphp/test/zend/good/tests-classes/property_override_public_private.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_public_private.php.expectf b/hphp/test/zend/good/tests-classes/property_override_public_private.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_public_private.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php.exp deleted file mode 100644 index aef22a554..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare non-static A::$p as static B::$p in hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_protected.php.exp b/hphp/test/zend/good/tests-classes/property_override_public_protected.php.exp deleted file mode 100644 index 927a39efc..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_public_protected.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to B::$p() must be public (as in class A) or weaker in hphp/test/zend/good/tests-classes/property_override_public_protected.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_public_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_override_public_protected.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_public_protected.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php.exp deleted file mode 100644 index 83544f93a..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare non-static A::$p as static B::$p in hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_public.php.exp b/hphp/test/zend/good/tests-classes/property_override_public_public.php.exp deleted file mode 100644 index 3f81744a0..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_public_public.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -A::p -B::p -B::p diff --git a/hphp/test/zend/good/tests-classes/property_override_public_public.php.expectf b/hphp/test/zend/good/tests-classes/property_override_public_public.php.expectf new file mode 100644 index 000000000..2b362666b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_public_public.php.expectf @@ -0,0 +1,3 @@ +A::p +B::p +B::p \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php.exp b/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php.exp deleted file mode 100644 index 26c1e2605..000000000 --- a/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot redeclare non-static A::$p as static B::$p in hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php.expectf b/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_recreate_private.php.exp b/hphp/test/zend/good/tests-classes/property_recreate_private.php.exp deleted file mode 100644 index 07ba3893c..000000000 --- a/hphp/test/zend/good/tests-classes/property_recreate_private.php.exp +++ /dev/null @@ -1,27 +0,0 @@ -Unset and recreate a superclass's private property: -object(D)#1 (1) { - ["p":"C":private]=> - string(7) "changed" -} - -Unset superclass's private property, and recreate it as public in subclass: -object(D)#2 (1) { - ["p"]=> - string(12) "changed in D" -} - -Unset superclass's private property, and recreate it as public at global scope: -object(D)#3 (1) { - ["p"]=> - string(34) "this will create a public property" -} - - -Unset and recreate a private property: -object(C)#4 (1) { - ["p":"C":private]=> - string(7) "changed" -} - -Unset a private property, and attempt to recreate at global scope (expecting failure): -HipHop Fatal error: Cannot access protected property in hphp/test/zend/good/tests-classes/property_recreate_private.php on line 46 diff --git a/hphp/test/zend/good/tests-classes/property_recreate_private.php.expectf b/hphp/test/zend/good/tests-classes/property_recreate_private.php.expectf new file mode 100644 index 000000000..50cc19b3a --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_recreate_private.php.expectf @@ -0,0 +1,27 @@ +Unset and recreate a superclass's private property: +object(D)#%d (1) { + [%u|b%"p":%u|b%"C":private]=> + %unicode|string%(7) "changed" +} + +Unset superclass's private property, and recreate it as public in subclass: +object(D)#%d (1) { + [%u|b%"p"]=> + %unicode|string%(12) "changed in D" +} + +Unset superclass's private property, and recreate it as public at global scope: +object(D)#%d (1) { + [%u|b%"p"]=> + %unicode|string%(34) "this will create a public property" +} + + +Unset and recreate a private property: +object(C)#%d (1) { + [%u|b%"p":%u|b%"C":private]=> + %unicode|string%(7) "changed" +} + +Unset a private property, and attempt to recreate at global scope (expecting failure): +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_recreate_protected.php.exp b/hphp/test/zend/good/tests-classes/property_recreate_protected.php.exp deleted file mode 100644 index 7f9095ad6..000000000 --- a/hphp/test/zend/good/tests-classes/property_recreate_protected.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -Unset and recreate a protected property from property's declaring class scope: -object(D)#1 (1) { - ["p":protected]=> - string(7) "changed" -} - -Unset and recreate a protected property from subclass: -object(D)#2 (1) { - ["p":protected]=> - string(12) "changed in D" -} - -Unset a protected property, and attempt to recreate it outside of scope (expected failure): -HipHop Fatal error: Cannot access protected property in hphp/test/zend/good/tests-classes/property_recreate_protected.php on line 32 diff --git a/hphp/test/zend/good/tests-classes/property_recreate_protected.php.expectf b/hphp/test/zend/good/tests-classes/property_recreate_protected.php.expectf new file mode 100644 index 000000000..8a3e4fcb8 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/property_recreate_protected.php.expectf @@ -0,0 +1,14 @@ +Unset and recreate a protected property from property's declaring class scope: +object(D)#%d (1) { + [%u|b%"p":protected]=> + %unicode|string%(7) "changed" +} + +Unset and recreate a protected property from subclass: +object(D)#%d (1) { + [%u|b%"p":protected]=> + %unicode|string%(12) "changed in D" +} + +Unset a protected property, and attempt to recreate it outside of scope (expected failure): +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/protected_001.php.exp b/hphp/test/zend/good/tests-classes/protected_001.php.exp deleted file mode 100644 index 57c033749..000000000 --- a/hphp/test/zend/good/tests-classes/protected_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call fail() -HipHop Fatal error: Call to protected method pass::fail from anonymous context in hphp/test/zend/good/tests-classes/protected_001.php on line 14 diff --git a/hphp/test/zend/good/tests-classes/protected_001.php.expectf b/hphp/test/zend/good/tests-classes/protected_001.php.expectf new file mode 100644 index 000000000..e29d59c10 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/protected_001.php.expectf @@ -0,0 +1,2 @@ +Call fail() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/protected_001b.php.exp b/hphp/test/zend/good/tests-classes/protected_001b.php.exp deleted file mode 100644 index c705ee477..000000000 --- a/hphp/test/zend/good/tests-classes/protected_001b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call fail() -HipHop Fatal error: Call to protected method pass::fail from anonymous context in hphp/test/zend/good/tests-classes/protected_001b.php on line 15 diff --git a/hphp/test/zend/good/tests-classes/protected_001b.php.expectf b/hphp/test/zend/good/tests-classes/protected_001b.php.expectf new file mode 100644 index 000000000..e29d59c10 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/protected_001b.php.expectf @@ -0,0 +1,2 @@ +Call fail() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/protected_002.php.exp b/hphp/test/zend/good/tests-classes/protected_002.php.exp deleted file mode 100644 index 2a5bad269..000000000 --- a/hphp/test/zend/good/tests-classes/protected_002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Call pass::show() -Call fail::show() -HipHop Fatal error: Call to protected method pass::show from context fail in hphp/test/zend/good/tests-classes/protected_002.php on line 18 diff --git a/hphp/test/zend/good/tests-classes/protected_002.php.expectf b/hphp/test/zend/good/tests-classes/protected_002.php.expectf new file mode 100644 index 000000000..dc87827b7 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/protected_002.php.expectf @@ -0,0 +1,3 @@ +Call pass::show() +Call fail::show() +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/singleton_001.php.exp b/hphp/test/zend/good/tests-classes/singleton_001.php.exp deleted file mode 100644 index 01e79c32a..000000000 --- a/hphp/test/zend/good/tests-classes/singleton_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -1 -2 -3 diff --git a/hphp/test/zend/good/tests-classes/singleton_001.php.expectf b/hphp/test/zend/good/tests-classes/singleton_001.php.expectf new file mode 100644 index 000000000..5f5fbe759 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/singleton_001.php.expectf @@ -0,0 +1,3 @@ +1 +2 +3 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_mix_1.php.exp b/hphp/test/zend/good/tests-classes/static_mix_1.php.exp deleted file mode 100644 index 5563a8bd9..000000000 --- a/hphp/test/zend/good/tests-classes/static_mix_1.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot change static method pass::show() to non-static in fail in hphp/test/zend/good/tests-classes/static_mix_1.php on line 9 diff --git a/hphp/test/zend/good/tests-classes/static_mix_1.php.expectf b/hphp/test/zend/good/tests-classes/static_mix_1.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_mix_1.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_mix_2.php.exp b/hphp/test/zend/good/tests-classes/static_mix_2.php.exp deleted file mode 100644 index 32ac55ddb..000000000 --- a/hphp/test/zend/good/tests-classes/static_mix_2.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot change non-static method pass::show() to static in fail in hphp/test/zend/good/tests-classes/static_mix_2.php on line 9 diff --git a/hphp/test/zend/good/tests-classes/static_mix_2.php.expectf b/hphp/test/zend/good/tests-classes/static_mix_2.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_mix_2.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_001.php.exp b/hphp/test/zend/good/tests-classes/static_properties_001.php.exp deleted file mode 100644 index 1db2a1051..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_001.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -array(0) { -} -array(1) { - [0]=> - int(1) -} -Done diff --git a/hphp/test/zend/good/tests-classes/static_properties_001.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_001.php.expectf new file mode 100644 index 000000000..925fefe5b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_001.php.expectf @@ -0,0 +1,7 @@ +array(0) { +} +array(1) { + [0]=> + int(1) +} +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php.exp b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php.exp deleted file mode 100644 index bb5f11bd8..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Invalid static property access: C::p in hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php on line 3 diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assign.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php.exp b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php.exp deleted file mode 100644 index 952682c41..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Invalid static property access: C::p in hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php on line 3 diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignInc.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php.exp b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php.exp deleted file mode 100644 index b6c0f94c7..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Invalid static property access: C::p in hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_undeclared_assignRef.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php.exp b/hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php.exp deleted file mode 100644 index b759fa9df..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Invalid static property access: C::p in hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php on line 3 diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_undeclared_inc.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_isset.php.exp b/hphp/test/zend/good/tests-classes/static_properties_undeclared_isset.php.exp deleted file mode 100644 index 5c0c0681d..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_undeclared_isset.php.exp +++ /dev/null @@ -1 +0,0 @@ -bool(false) diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_isset.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_undeclared_isset.php.expectf new file mode 100644 index 000000000..eb28e0c67 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_undeclared_isset.php.expectf @@ -0,0 +1 @@ +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php.exp b/hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php.exp deleted file mode 100644 index 58898c236..000000000 --- a/hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Invalid static property access: C::p in hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php on line 3 diff --git a/hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php.expectf b/hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_properties_undeclared_read.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_this.php.exp b/hphp/test/zend/good/tests-classes/static_this.php.exp deleted file mode 100644 index 6c2a749a3..000000000 --- a/hphp/test/zend/good/tests-classes/static_this.php.exp +++ /dev/null @@ -1,7 +0,0 @@ -HipHop Notice: Undefined variable: this in hphp/test/zend/good/tests-classes/static_this.php on line 13 -NULL -HipHop Notice: Undefined variable: this in hphp/test/zend/good/tests-classes/static_this.php on line 13 -NULL -object(stdClass)#2 (0) { -} -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/static_this.php.expectf b/hphp/test/zend/good/tests-classes/static_this.php.expectf new file mode 100644 index 000000000..2d3c6e389 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_this.php.expectf @@ -0,0 +1,7 @@ +HipHop Notice: %a +NULL +HipHop Notice: %a +NULL +object(stdClass)#%d (0) { +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/this.php.exp b/hphp/test/zend/good/tests-classes/this.php.exp deleted file mode 100644 index efbb39b55..000000000 --- a/hphp/test/zend/good/tests-classes/this.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-assign $this in hphp/test/zend/good/tests-classes/this.php on line 11 diff --git a/hphp/test/zend/good/tests-classes/this.php.expectf b/hphp/test/zend/good/tests-classes/this.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/this.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_000a.php.exp b/hphp/test/zend/good/tests-classes/visibility_000a.php.exp deleted file mode 100644 index eca43d4bd..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_000a.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f0() must be public (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_000a.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_000a.php.expectf b/hphp/test/zend/good/tests-classes/visibility_000a.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_000a.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_000b.php.exp b/hphp/test/zend/good/tests-classes/visibility_000b.php.exp deleted file mode 100644 index 48c2cefc4..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_000b.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f0() must be public (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_000b.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_000b.php.expectf b/hphp/test/zend/good/tests-classes/visibility_000b.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_000b.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_000c.php.exp b/hphp/test/zend/good/tests-classes/visibility_000c.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_000c.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_000c.php.expectf b/hphp/test/zend/good/tests-classes/visibility_000c.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_000c.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_001a.php.exp b/hphp/test/zend/good/tests-classes/visibility_001a.php.exp deleted file mode 100644 index af98087db..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_001a.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f1() must be public (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_001a.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_001a.php.expectf b/hphp/test/zend/good/tests-classes/visibility_001a.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_001a.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_001b.php.exp b/hphp/test/zend/good/tests-classes/visibility_001b.php.exp deleted file mode 100644 index 0d55230db..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_001b.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f1() must be public (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_001b.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_001b.php.expectf b/hphp/test/zend/good/tests-classes/visibility_001b.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_001b.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_001c.php.exp b/hphp/test/zend/good/tests-classes/visibility_001c.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_001c.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_001c.php.expectf b/hphp/test/zend/good/tests-classes/visibility_001c.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_001c.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_002a.php.exp b/hphp/test/zend/good/tests-classes/visibility_002a.php.exp deleted file mode 100644 index 1b170dc17..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_002a.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f2() must be public (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_002a.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_002a.php.expectf b/hphp/test/zend/good/tests-classes/visibility_002a.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_002a.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_002b.php.exp b/hphp/test/zend/good/tests-classes/visibility_002b.php.exp deleted file mode 100644 index a15ff393d..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_002b.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f2() must be public (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_002b.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_002b.php.expectf b/hphp/test/zend/good/tests-classes/visibility_002b.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_002b.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_002c.php.exp b/hphp/test/zend/good/tests-classes/visibility_002c.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_002c.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_002c.php.expectf b/hphp/test/zend/good/tests-classes/visibility_002c.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_002c.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_003a.php.exp b/hphp/test/zend/good/tests-classes/visibility_003a.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_003a.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_003a.php.expectf b/hphp/test/zend/good/tests-classes/visibility_003a.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_003a.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_003b.php.exp b/hphp/test/zend/good/tests-classes/visibility_003b.php.exp deleted file mode 100644 index c06763104..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_003b.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Access level to fail::f3() must be protected (as in class same) or weaker in hphp/test/zend/good/tests-classes/visibility_003b.php on line 21 diff --git a/hphp/test/zend/good/tests-classes/visibility_003b.php.expectf b/hphp/test/zend/good/tests-classes/visibility_003b.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_003b.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_003c.php.exp b/hphp/test/zend/good/tests-classes/visibility_003c.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_003c.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_003c.php.expectf b/hphp/test/zend/good/tests-classes/visibility_003c.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_003c.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_004a.php.exp b/hphp/test/zend/good/tests-classes/visibility_004a.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_004a.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_004a.php.expectf b/hphp/test/zend/good/tests-classes/visibility_004a.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_004a.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_004b.php.exp b/hphp/test/zend/good/tests-classes/visibility_004b.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_004b.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_004b.php.expectf b/hphp/test/zend/good/tests-classes/visibility_004b.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_004b.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_004c.php.exp b/hphp/test/zend/good/tests-classes/visibility_004c.php.exp deleted file mode 100644 index a965a70ed..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_004c.php.exp +++ /dev/null @@ -1 +0,0 @@ -Done diff --git a/hphp/test/zend/good/tests-classes/visibility_004c.php.expectf b/hphp/test/zend/good/tests-classes/visibility_004c.php.expectf new file mode 100644 index 000000000..8ad96f878 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_004c.php.expectf @@ -0,0 +1 @@ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/visibility_005.php.exp b/hphp/test/zend/good/tests-classes/visibility_005.php.exp deleted file mode 100644 index fefb6ec65..000000000 --- a/hphp/test/zend/good/tests-classes/visibility_005.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -===base::function=== -a=>1 -b=>2 -c=>3 -d=>4 -===base,foreach=== -a=>1 -d=>4 -===derived::function=== -a=>1 -b=>2 -c=>3 -d=>4 -===derived,foreach=== -a=>1 -d=>4 diff --git a/hphp/test/zend/good/tests-classes/visibility_005.php.expectf b/hphp/test/zend/good/tests-classes/visibility_005.php.expectf new file mode 100644 index 000000000..a705a4d34 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/visibility_005.php.expectf @@ -0,0 +1,16 @@ +===base::function=== +a=>1 +b=>2 +c=>3 +d=>4 +===base,foreach=== +a=>1 +d=>4 +===derived::function=== +a=>1 +b=>2 +c=>3 +d=>4 +===derived,foreach=== +a=>1 +d=>4 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-func/001.php.exp b/hphp/test/zend/good/tests-func/001.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-func/001.php.exp rename to hphp/test/zend/good/tests-func/001.php.expectf diff --git a/hphp/test/zend/good/tests-func/002.php.exp b/hphp/test/zend/good/tests-func/002.php.exp deleted file mode 100644 index 333c852cb..000000000 --- a/hphp/test/zend/good/tests-func/002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -hey=0, 0 -hey=1, -1 -hey=2, -2 diff --git a/hphp/test/zend/good/tests-func/002.php.expectf b/hphp/test/zend/good/tests-func/002.php.expectf new file mode 100644 index 000000000..066b46c5d --- /dev/null +++ b/hphp/test/zend/good/tests-func/002.php.expectf @@ -0,0 +1,3 @@ +hey=0, 0 +hey=1, -1 +hey=2, -2 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-func/003.php.exp b/hphp/test/zend/good/tests-func/003.php.exp deleted file mode 100644 index 2dbdcb41f..000000000 --- a/hphp/test/zend/good/tests-func/003.php.exp +++ /dev/null @@ -1,191 +0,0 @@ -hey -blah -hey -blah -Counting from 7 to 14 -7 -8 -9 -10 -11 -12 -13 -14 -hey -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -factorial(5) = 120 -factorial(6) = 720 -factorial(7) = 5040 -factorial(8) = 40320 -factorial(9) = 362880 -factorial(10) = 3628800 -and now, from a function... -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 -(it should break at 5...) -factorial(0) = 1 -factorial(1) = 1 -factorial(2) = 2 -factorial(3) = 6 -factorial(4) = 24 ------- -720 -840 -3 -4 -5 diff --git a/hphp/test/zend/good/tests-func/003.php.expectf b/hphp/test/zend/good/tests-func/003.php.expectf new file mode 100644 index 000000000..5e7bd3b0e --- /dev/null +++ b/hphp/test/zend/good/tests-func/003.php.expectf @@ -0,0 +1,191 @@ +hey +blah +hey +blah +Counting from 7 to 14 +7 +8 +9 +10 +11 +12 +13 +14 +hey +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +factorial(5) = 120 +factorial(6) = 720 +factorial(7) = 5040 +factorial(8) = 40320 +factorial(9) = 362880 +factorial(10) = 3628800 +and now, from a function... +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +(it should break at 5...) +factorial(0) = 1 +factorial(1) = 1 +factorial(2) = 2 +factorial(3) = 6 +factorial(4) = 24 +------ +720 +840 +3 +4 +5 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-func/004.php.exp b/hphp/test/zend/good/tests-func/004.php.exp deleted file mode 100644 index c445b2f42..000000000 --- a/hphp/test/zend/good/tests-func/004.php.exp +++ /dev/null @@ -1,28 +0,0 @@ -Before function declaration... -After function declaration... -Calling function for the first time... ----- -In function, printing the string "This works!" 10 times -0) This works! -1) This works! -2) This works! -3) This works! -4) This works! -5) This works! -6) This works! -7) This works! -8) This works! -9) This works! -Done with function... ------ -Returned from function call... -Calling the function for the second time... ----- -In function, printing the string "This like, really works and stuff..." 3 times -0) This like, really works and stuff... -1) This like, really works and stuff... -2) This like, really works and stuff... -Done with function... ------ -Returned from function call... -This is some other function, to ensure more than just one function works fine... diff --git a/hphp/test/zend/good/tests-func/004.php.expectf b/hphp/test/zend/good/tests-func/004.php.expectf new file mode 100644 index 000000000..5f6402eda --- /dev/null +++ b/hphp/test/zend/good/tests-func/004.php.expectf @@ -0,0 +1,28 @@ +Before function declaration... +After function declaration... +Calling function for the first time... +---- +In function, printing the string "This works!" 10 times +0) This works! +1) This works! +2) This works! +3) This works! +4) This works! +5) This works! +6) This works! +7) This works! +8) This works! +9) This works! +Done with function... +----- +Returned from function call... +Calling the function for the second time... +---- +In function, printing the string "This like, really works and stuff..." 3 times +0) This like, really works and stuff... +1) This like, really works and stuff... +2) This like, really works and stuff... +Done with function... +----- +Returned from function call... +This is some other function, to ensure more than just one function works fine... \ No newline at end of file diff --git a/hphp/test/zend/good/tests-func/005.php.exp b/hphp/test/zend/good/tests-func/005.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-func/005.php.exp rename to hphp/test/zend/good/tests-func/005.php.expectf diff --git a/hphp/test/zend/good/tests-lang/001.php.exp b/hphp/test/zend/good/tests-lang/001.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/001.php.exp rename to hphp/test/zend/good/tests-lang/001.php.expectf diff --git a/hphp/test/zend/good/tests-lang/002.php.exp b/hphp/test/zend/good/tests-lang/002.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/002.php.exp rename to hphp/test/zend/good/tests-lang/002.php.expectf diff --git a/hphp/test/zend/good/tests-lang/003.php.expectf b/hphp/test/zend/good/tests-lang/003.php.expectf new file mode 100644 index 000000000..476e93d57 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/003.php.expectf @@ -0,0 +1 @@ +good \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/004.php.exp b/hphp/test/zend/good/tests-lang/004.php.exp deleted file mode 100644 index c2cba7139..000000000 --- a/hphp/test/zend/good/tests-lang/004.php.exp +++ /dev/null @@ -1 +0,0 @@ -good \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/005.php.exp b/hphp/test/zend/good/tests-lang/005.php.exp deleted file mode 100644 index c2cba7139..000000000 --- a/hphp/test/zend/good/tests-lang/005.php.exp +++ /dev/null @@ -1 +0,0 @@ -good \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/006.php.exp b/hphp/test/zend/good/tests-lang/006.php.exp deleted file mode 100644 index c2cba7139..000000000 --- a/hphp/test/zend/good/tests-lang/006.php.exp +++ /dev/null @@ -1 +0,0 @@ -good \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/007.php.exp b/hphp/test/zend/good/tests-lang/007.php.exp deleted file mode 100644 index b124df2c3..000000000 --- a/hphp/test/zend/good/tests-lang/007.php.exp +++ /dev/null @@ -1 +0,0 @@ -1 5 2 2 10 5 2 5 3 2 10 5 3 5 4 2 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/008.php.exp b/hphp/test/zend/good/tests-lang/008.php.exp deleted file mode 100644 index d47a1e644..000000000 --- a/hphp/test/zend/good/tests-lang/008.php.exp +++ /dev/null @@ -1 +0,0 @@ -1 2 3 4 5 6 7 8 9 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/009.php.exp b/hphp/test/zend/good/tests-lang/009.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/009.php.exp rename to hphp/test/zend/good/tests-lang/009.php.expectf diff --git a/hphp/test/zend/good/tests-lang/010.php.exp b/hphp/test/zend/good/tests-lang/010.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/010.php.exp rename to hphp/test/zend/good/tests-lang/010.php.expectf diff --git a/hphp/test/zend/good/tests-lang/011.php.exp b/hphp/test/zend/good/tests-lang/011.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/011.php.exp rename to hphp/test/zend/good/tests-lang/011.php.expectf diff --git a/hphp/test/zend/good/tests-lang/012.php.exp b/hphp/test/zend/good/tests-lang/012.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/012.php.exp rename to hphp/test/zend/good/tests-lang/012.php.expectf diff --git a/hphp/test/zend/good/tests-lang/013.php.exp b/hphp/test/zend/good/tests-lang/013.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/013.php.exp rename to hphp/test/zend/good/tests-lang/013.php.expectf diff --git a/hphp/test/zend/good/tests-lang/014.php.exp b/hphp/test/zend/good/tests-lang/014.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/014.php.exp rename to hphp/test/zend/good/tests-lang/014.php.expectf diff --git a/hphp/test/zend/good/tests-lang/017.php.exp b/hphp/test/zend/good/tests-lang/017.php.exp deleted file mode 100644 index d00491fd7..000000000 --- a/hphp/test/zend/good/tests-lang/017.php.exp +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/hphp/test/zend/good/zend/bug45910.php.exp b/hphp/test/zend/good/tests-lang/017.php.expectf similarity index 100% rename from hphp/test/zend/good/zend/bug45910.php.exp rename to hphp/test/zend/good/tests-lang/017.php.expectf diff --git a/hphp/test/zend/good/tests-lang/018.php.exp b/hphp/test/zend/good/tests-lang/018.php.exp deleted file mode 100644 index db6601128..000000000 --- a/hphp/test/zend/good/tests-lang/018.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -hey -0 -hey -1 -hey -2 -hey -3 -hey -4 -hey -5 -hey -6 -hey -7 -hey -8 -hey -9 diff --git a/hphp/test/zend/good/tests-lang/018.php.expectf b/hphp/test/zend/good/tests-lang/018.php.expectf new file mode 100644 index 000000000..b1d643437 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/018.php.expectf @@ -0,0 +1,20 @@ +hey +0 +hey +1 +hey +2 +hey +3 +hey +4 +hey +5 +hey +6 +hey +7 +hey +8 +hey +9 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/020.php.exp b/hphp/test/zend/good/tests-lang/020.php.exp deleted file mode 100644 index 421d4e5cd..000000000 --- a/hphp/test/zend/good/tests-lang/020.php.exp +++ /dev/null @@ -1,30 +0,0 @@ -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 -In branch 1 -Inner default... -blah=100 diff --git a/hphp/test/zend/good/tests-lang/020.php.expectf b/hphp/test/zend/good/tests-lang/020.php.expectf new file mode 100644 index 000000000..fe5d7bf91 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/020.php.expectf @@ -0,0 +1,30 @@ +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 +In branch 1 +Inner default... +blah=100 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/021.php.exp b/hphp/test/zend/good/tests-lang/021.php.exp deleted file mode 100644 index ba1ecef2f..000000000 --- a/hphp/test/zend/good/tests-lang/021.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -i=0 -In branch 0 -i=1 -In branch 1 -i=2 -In branch 2 -i=3 -In branch 3 -hi diff --git a/hphp/test/zend/good/tests-lang/021.php.expectf b/hphp/test/zend/good/tests-lang/021.php.expectf new file mode 100644 index 000000000..344f18038 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/021.php.expectf @@ -0,0 +1,9 @@ +i=0 +In branch 0 +i=1 +In branch 1 +i=2 +In branch 2 +i=3 +In branch 3 +hi \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/022.php.exp b/hphp/test/zend/good/tests-lang/022.php.exp deleted file mode 100644 index c66951f81..000000000 --- a/hphp/test/zend/good/tests-lang/022.php.exp +++ /dev/null @@ -1,30 +0,0 @@ -zero -one -2 -3 -4 -5 -6 -7 -8 -9 -zero -one -2 -3 -4 -5 -6 -7 -8 -9 -zero -one -2 -3 -4 -5 -6 -7 -8 -9 diff --git a/hphp/test/zend/good/tests-lang/022.php.expectf b/hphp/test/zend/good/tests-lang/022.php.expectf new file mode 100644 index 000000000..62f64502b --- /dev/null +++ b/hphp/test/zend/good/tests-lang/022.php.expectf @@ -0,0 +1,30 @@ +zero +one +2 +3 +4 +5 +6 +7 +8 +9 +zero +one +2 +3 +4 +5 +6 +7 +8 +9 +zero +one +2 +3 +4 +5 +6 +7 +8 +9 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/025.php.exp b/hphp/test/zend/good/tests-lang/025.php.exp deleted file mode 100644 index 8ec0ef146..000000000 --- a/hphp/test/zend/good/tests-lang/025.php.exp +++ /dev/null @@ -1,512 +0,0 @@ - 0 a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 4 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 3 a 3 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 4 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 2 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 4 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 3 a 3 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 4 a 4 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 5 a 5 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 6 a 6 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 7 a 7 a 8 a 9 - b 10 - b 9 a 9 - b 10 - b 8 a 8 a 9 - b 10 - b 9 a 9 - b 10 diff --git a/hphp/test/zend/good/tests-lang/026.php.exp b/hphp/test/zend/good/tests-lang/026.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/026.php.exp rename to hphp/test/zend/good/tests-lang/026.php.expectf diff --git a/hphp/test/zend/good/tests-lang/027.php.exp b/hphp/test/zend/good/tests-lang/027.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/027.php.exp rename to hphp/test/zend/good/tests-lang/027.php.expectf diff --git a/hphp/test/zend/good/tests-lang/028.php.exp b/hphp/test/zend/good/tests-lang/028.php.exp deleted file mode 100644 index d902493f0..000000000 --- a/hphp/test/zend/good/tests-lang/028.php.exp +++ /dev/null @@ -1,1001 +0,0 @@ -0 -Dafna! -I'm still alive -Hey there!! -0 -1 -Dafna! -I'm still alive -Hey there!! -1 -2 -Dafna! -I'm still alive -Hey there!! -2 -3 -Dafna! -I'm still alive -Hey there!! -3 -4 -Dafna! -I'm still alive -Hey there!! -4 -5 -Dafna! -I'm still alive -Hey there!! -5 -6 -Dafna! -I'm still alive -Hey there!! -6 -7 -Dafna! -I'm still alive -Hey there!! -7 -8 -Dafna! -I'm still alive -Hey there!! -8 -9 -Dafna! -I'm still alive -Hey there!! -9 -10 -Dafna! -I'm still alive -Hey there!! -10 -11 -Dafna! -I'm still alive -Hey there!! -11 -12 -Dafna! -I'm still alive -Hey there!! -12 -13 -Dafna! -I'm still alive -Hey there!! -13 -14 -Dafna! -I'm still alive -Hey there!! -14 -15 -Dafna! -I'm still alive -Hey there!! -15 -16 -Dafna! -I'm still alive -Hey there!! -16 -17 -Dafna! -I'm still alive -Hey there!! -17 -18 -Dafna! -I'm still alive -Hey there!! -18 -19 -Dafna! -I'm still alive -Hey there!! -19 -20 -Dafna! -I'm still alive -Hey there!! -20 -21 -Dafna! -I'm still alive -Hey there!! -21 -22 -Dafna! -I'm still alive -Hey there!! -22 -23 -Dafna! -I'm still alive -Hey there!! -23 -24 -Dafna! -I'm still alive -Hey there!! -24 -25 -Dafna! -I'm still alive -Hey there!! -25 -26 -Dafna! -I'm still alive -Hey there!! -26 -27 -Dafna! -I'm still alive -Hey there!! -27 -28 -Dafna! -I'm still alive -Hey there!! -28 -29 -Dafna! -I'm still alive -Hey there!! -29 -30 -Dafna! -I'm still alive -Hey there!! -30 -31 -Dafna! -I'm still alive -Hey there!! -31 -32 -Dafna! -I'm still alive -Hey there!! -32 -33 -Dafna! -I'm still alive -Hey there!! -33 -34 -Dafna! -I'm still alive -Hey there!! -34 -35 -Dafna! -I'm still alive -Hey there!! -35 -36 -Dafna! -I'm still alive -Hey there!! -36 -37 -Dafna! -I'm still alive -Hey there!! -37 -38 -Dafna! -I'm still alive -Hey there!! -38 -39 -Dafna! -I'm still alive -Hey there!! -39 -40 -Dafna! -I'm still alive -Hey there!! -40 -41 -Dafna! -I'm still alive -Hey there!! -41 -42 -Dafna! -I'm still alive -Hey there!! -42 -43 -Dafna! -I'm still alive -Hey there!! -43 -44 -Dafna! -I'm still alive -Hey there!! -44 -45 -Dafna! -I'm still alive -Hey there!! -45 -46 -Dafna! -I'm still alive -Hey there!! -46 -47 -Dafna! -I'm still alive -Hey there!! -47 -48 -Dafna! -I'm still alive -Hey there!! -48 -49 -Dafna! -I'm still alive -Hey there!! -49 -50 -Dafna! -I'm still alive -Hey there!! -50 -51 -Dafna! -I'm still alive -Hey there!! -51 -52 -Dafna! -I'm still alive -Hey there!! -52 -53 -Dafna! -I'm still alive -Hey there!! -53 -54 -Dafna! -I'm still alive -Hey there!! -54 -55 -Dafna! -I'm still alive -Hey there!! -55 -56 -Dafna! -I'm still alive -Hey there!! -56 -57 -Dafna! -I'm still alive -Hey there!! -57 -58 -Dafna! -I'm still alive -Hey there!! -58 -59 -Dafna! -I'm still alive -Hey there!! -59 -60 -Dafna! -I'm still alive -Hey there!! -60 -61 -Dafna! -I'm still alive -Hey there!! -61 -62 -Dafna! -I'm still alive -Hey there!! -62 -63 -Dafna! -I'm still alive -Hey there!! -63 -64 -Dafna! -I'm still alive -Hey there!! -64 -65 -Dafna! -I'm still alive -Hey there!! -65 -66 -Dafna! -I'm still alive -Hey there!! -66 -67 -Dafna! -I'm still alive -Hey there!! -67 -68 -Dafna! -I'm still alive -Hey there!! -68 -69 -Dafna! -I'm still alive -Hey there!! -69 -70 -Dafna! -I'm still alive -Hey there!! -70 -71 -Dafna! -I'm still alive -Hey there!! -71 -72 -Dafna! -I'm still alive -Hey there!! -72 -73 -Dafna! -I'm still alive -Hey there!! -73 -74 -Dafna! -I'm still alive -Hey there!! -74 -75 -Dafna! -I'm still alive -Hey there!! -75 -76 -Dafna! -I'm still alive -Hey there!! -76 -77 -Dafna! -I'm still alive -Hey there!! -77 -78 -Dafna! -I'm still alive -Hey there!! -78 -79 -Dafna! -I'm still alive -Hey there!! -79 -80 -Dafna! -I'm still alive -Hey there!! -80 -81 -Dafna! -I'm still alive -Hey there!! -81 -82 -Dafna! -I'm still alive -Hey there!! -82 -83 -Dafna! -I'm still alive -Hey there!! -83 -84 -Dafna! -I'm still alive -Hey there!! -84 -85 -Dafna! -I'm still alive -Hey there!! -85 -86 -Dafna! -I'm still alive -Hey there!! -86 -87 -Dafna! -I'm still alive -Hey there!! -87 -88 -Dafna! -I'm still alive -Hey there!! -88 -89 -Dafna! -I'm still alive -Hey there!! -89 -90 -Dafna! -I'm still alive -Hey there!! -90 -91 -Dafna! -I'm still alive -Hey there!! -91 -92 -Dafna! -I'm still alive -Hey there!! -92 -93 -Dafna! -I'm still alive -Hey there!! -93 -94 -Dafna! -I'm still alive -Hey there!! -94 -95 -Dafna! -I'm still alive -Hey there!! -95 -96 -Dafna! -I'm still alive -Hey there!! -96 -97 -Dafna! -I'm still alive -Hey there!! -97 -98 -Dafna! -I'm still alive -Hey there!! -98 -99 -Dafna! -I'm still alive -Hey there!! -99 -100 -Dafna! -I'm still alive -Hey there!! -100 -101 -Dafna! -I'm still alive -Hey there!! -101 -102 -Dafna! -I'm still alive -Hey there!! -102 -103 -Dafna! -I'm still alive -Hey there!! -103 -104 -Dafna! -I'm still alive -Hey there!! -104 -105 -Dafna! -I'm still alive -Hey there!! -105 -106 -Dafna! -I'm still alive -Hey there!! -106 -107 -Dafna! -I'm still alive -Hey there!! -107 -108 -Dafna! -I'm still alive -Hey there!! -108 -109 -Dafna! -I'm still alive -Hey there!! -109 -110 -Dafna! -I'm still alive -Hey there!! -110 -111 -Dafna! -I'm still alive -Hey there!! -111 -112 -Dafna! -I'm still alive -Hey there!! -112 -113 -Dafna! -I'm still alive -Hey there!! -113 -114 -Dafna! -I'm still alive -Hey there!! -114 -115 -Dafna! -I'm still alive -Hey there!! -115 -116 -Dafna! -I'm still alive -Hey there!! -116 -117 -Dafna! -I'm still alive -Hey there!! -117 -118 -Dafna! -I'm still alive -Hey there!! -118 -119 -Dafna! -I'm still alive -Hey there!! -119 -120 -Dafna! -I'm still alive -Hey there!! -120 -121 -Dafna! -I'm still alive -Hey there!! -121 -122 -Dafna! -I'm still alive -Hey there!! -122 -123 -Dafna! -I'm still alive -Hey there!! -123 -124 -Dafna! -I'm still alive -Hey there!! -124 -125 -Dafna! -I'm still alive -Hey there!! -125 -126 -Dafna! -I'm still alive -Hey there!! -126 -127 -Dafna! -I'm still alive -Hey there!! -127 -128 -Dafna! -I'm still alive -Hey there!! -128 -129 -Dafna! -I'm still alive -Hey there!! -129 -130 -Dafna! -I'm still alive -Hey there!! -130 -131 -Dafna! -I'm still alive -Hey there!! -131 -132 -Dafna! -I'm still alive -Hey there!! -132 -133 -Dafna! -I'm still alive -Hey there!! -133 -134 -Dafna! -I'm still alive -Hey there!! -134 -135 -Dafna! -I'm still alive -Hey there!! -135 -136 -Dafna! -I'm still alive -Hey there!! -136 -137 -Dafna! -I'm still alive -Hey there!! -137 -138 -Dafna! -I'm still alive -Hey there!! -138 -139 -Dafna! -I'm still alive -Hey there!! -139 -140 -Dafna! -I'm still alive -Hey there!! -140 -141 -Dafna! -I'm still alive -Hey there!! -141 -142 -Dafna! -I'm still alive -Hey there!! -142 -143 -Dafna! -I'm still alive -Hey there!! -143 -144 -Dafna! -I'm still alive -Hey there!! -144 -145 -Dafna! -I'm still alive -Hey there!! -145 -146 -Dafna! -I'm still alive -Hey there!! -146 -147 -Dafna! -I'm still alive -Hey there!! -147 -148 -Dafna! -I'm still alive -Hey there!! -148 -149 -Dafna! -I'm still alive -Hey there!! -149 -150 -Dafna! -I'm still alive -Hey there!! -150 -151 -Dafna! -I'm still alive -Hey there!! -151 -152 -Dafna! -I'm still alive -Hey there!! -152 -153 -Dafna! -I'm still alive -Hey there!! -153 -154 -Dafna! -I'm still alive -Hey there!! -154 -155 -Dafna! -I'm still alive -Hey there!! -155 -156 -Dafna! -I'm still alive -Hey there!! -156 -157 -Dafna! -I'm still alive -Hey there!! -157 -158 -Dafna! -I'm still alive -Hey there!! -158 -159 -Dafna! -I'm still alive -Hey there!! -159 -160 -Dafna! -I'm still alive -Hey there!! -160 -161 -Dafna! -I'm still alive -Hey there!! -161 -162 -Dafna! -I'm still alive -Hey there!! -162 -163 -Dafna! -I'm still alive -Hey there!! -163 -164 -Dafna! -I'm still alive -Hey there!! -164 -165 -Dafna! -I'm still alive -Hey there!! -165 -166 -Dafna! -I'm still alive -Hey there!! -166 -167 -Dafna! -I'm still alive -Hey there!! -167 -168 -Dafna! -I'm still alive -Hey there!! -168 -169 -Dafna! -I'm still alive -Hey there!! -169 -170 -Dafna! -I'm still alive -Hey there!! -170 -171 -Dafna! -I'm still alive -Hey there!! -171 -172 -Dafna! -I'm still alive -Hey there!! -172 -173 -Dafna! -I'm still alive -Hey there!! -173 -174 -Dafna! -I'm still alive -Hey there!! -174 -175 -Dafna! -I'm still alive -Hey there!! -175 -176 -Dafna! -I'm still alive -Hey there!! -176 -177 -Dafna! -I'm still alive -Hey there!! -177 -178 -Dafna! -I'm still alive -Hey there!! -178 -179 -Dafna! -I'm still alive -Hey there!! -179 -180 -Dafna! -I'm still alive -Hey there!! -180 -181 -Dafna! -I'm still alive -Hey there!! -181 -182 -Dafna! -I'm still alive -Hey there!! -182 -183 -Dafna! -I'm still alive -Hey there!! -183 -184 -Dafna! -I'm still alive -Hey there!! -184 -185 -Dafna! -I'm still alive -Hey there!! -185 -186 -Dafna! -I'm still alive -Hey there!! -186 -187 -Dafna! -I'm still alive -Hey there!! -187 -188 -Dafna! -I'm still alive -Hey there!! -188 -189 -Dafna! -I'm still alive -Hey there!! -189 -190 -Dafna! -I'm still alive -Hey there!! -190 -191 -Dafna! -I'm still alive -Hey there!! -191 -192 -Dafna! -I'm still alive -Hey there!! -192 -193 -Dafna! -I'm still alive -Hey there!! -193 -194 -Dafna! -I'm still alive -Hey there!! -194 -195 -Dafna! -I'm still alive -Hey there!! -195 -196 -Dafna! -I'm still alive -Hey there!! -196 -197 -Dafna! -I'm still alive -Hey there!! -197 -198 -Dafna! -I'm still alive -Hey there!! -198 -199 -Dafna! -I'm still alive -Hey there!! -199 -Dafna diff --git a/hphp/test/zend/good/tests-lang/028.php.expectf b/hphp/test/zend/good/tests-lang/028.php.expectf new file mode 100644 index 000000000..43f4d9ffe --- /dev/null +++ b/hphp/test/zend/good/tests-lang/028.php.expectf @@ -0,0 +1,1001 @@ +0 +Dafna! +I'm still alive +Hey there!! +0 +1 +Dafna! +I'm still alive +Hey there!! +1 +2 +Dafna! +I'm still alive +Hey there!! +2 +3 +Dafna! +I'm still alive +Hey there!! +3 +4 +Dafna! +I'm still alive +Hey there!! +4 +5 +Dafna! +I'm still alive +Hey there!! +5 +6 +Dafna! +I'm still alive +Hey there!! +6 +7 +Dafna! +I'm still alive +Hey there!! +7 +8 +Dafna! +I'm still alive +Hey there!! +8 +9 +Dafna! +I'm still alive +Hey there!! +9 +10 +Dafna! +I'm still alive +Hey there!! +10 +11 +Dafna! +I'm still alive +Hey there!! +11 +12 +Dafna! +I'm still alive +Hey there!! +12 +13 +Dafna! +I'm still alive +Hey there!! +13 +14 +Dafna! +I'm still alive +Hey there!! +14 +15 +Dafna! +I'm still alive +Hey there!! +15 +16 +Dafna! +I'm still alive +Hey there!! +16 +17 +Dafna! +I'm still alive +Hey there!! +17 +18 +Dafna! +I'm still alive +Hey there!! +18 +19 +Dafna! +I'm still alive +Hey there!! +19 +20 +Dafna! +I'm still alive +Hey there!! +20 +21 +Dafna! +I'm still alive +Hey there!! +21 +22 +Dafna! +I'm still alive +Hey there!! +22 +23 +Dafna! +I'm still alive +Hey there!! +23 +24 +Dafna! +I'm still alive +Hey there!! +24 +25 +Dafna! +I'm still alive +Hey there!! +25 +26 +Dafna! +I'm still alive +Hey there!! +26 +27 +Dafna! +I'm still alive +Hey there!! +27 +28 +Dafna! +I'm still alive +Hey there!! +28 +29 +Dafna! +I'm still alive +Hey there!! +29 +30 +Dafna! +I'm still alive +Hey there!! +30 +31 +Dafna! +I'm still alive +Hey there!! +31 +32 +Dafna! +I'm still alive +Hey there!! +32 +33 +Dafna! +I'm still alive +Hey there!! +33 +34 +Dafna! +I'm still alive +Hey there!! +34 +35 +Dafna! +I'm still alive +Hey there!! +35 +36 +Dafna! +I'm still alive +Hey there!! +36 +37 +Dafna! +I'm still alive +Hey there!! +37 +38 +Dafna! +I'm still alive +Hey there!! +38 +39 +Dafna! +I'm still alive +Hey there!! +39 +40 +Dafna! +I'm still alive +Hey there!! +40 +41 +Dafna! +I'm still alive +Hey there!! +41 +42 +Dafna! +I'm still alive +Hey there!! +42 +43 +Dafna! +I'm still alive +Hey there!! +43 +44 +Dafna! +I'm still alive +Hey there!! +44 +45 +Dafna! +I'm still alive +Hey there!! +45 +46 +Dafna! +I'm still alive +Hey there!! +46 +47 +Dafna! +I'm still alive +Hey there!! +47 +48 +Dafna! +I'm still alive +Hey there!! +48 +49 +Dafna! +I'm still alive +Hey there!! +49 +50 +Dafna! +I'm still alive +Hey there!! +50 +51 +Dafna! +I'm still alive +Hey there!! +51 +52 +Dafna! +I'm still alive +Hey there!! +52 +53 +Dafna! +I'm still alive +Hey there!! +53 +54 +Dafna! +I'm still alive +Hey there!! +54 +55 +Dafna! +I'm still alive +Hey there!! +55 +56 +Dafna! +I'm still alive +Hey there!! +56 +57 +Dafna! +I'm still alive +Hey there!! +57 +58 +Dafna! +I'm still alive +Hey there!! +58 +59 +Dafna! +I'm still alive +Hey there!! +59 +60 +Dafna! +I'm still alive +Hey there!! +60 +61 +Dafna! +I'm still alive +Hey there!! +61 +62 +Dafna! +I'm still alive +Hey there!! +62 +63 +Dafna! +I'm still alive +Hey there!! +63 +64 +Dafna! +I'm still alive +Hey there!! +64 +65 +Dafna! +I'm still alive +Hey there!! +65 +66 +Dafna! +I'm still alive +Hey there!! +66 +67 +Dafna! +I'm still alive +Hey there!! +67 +68 +Dafna! +I'm still alive +Hey there!! +68 +69 +Dafna! +I'm still alive +Hey there!! +69 +70 +Dafna! +I'm still alive +Hey there!! +70 +71 +Dafna! +I'm still alive +Hey there!! +71 +72 +Dafna! +I'm still alive +Hey there!! +72 +73 +Dafna! +I'm still alive +Hey there!! +73 +74 +Dafna! +I'm still alive +Hey there!! +74 +75 +Dafna! +I'm still alive +Hey there!! +75 +76 +Dafna! +I'm still alive +Hey there!! +76 +77 +Dafna! +I'm still alive +Hey there!! +77 +78 +Dafna! +I'm still alive +Hey there!! +78 +79 +Dafna! +I'm still alive +Hey there!! +79 +80 +Dafna! +I'm still alive +Hey there!! +80 +81 +Dafna! +I'm still alive +Hey there!! +81 +82 +Dafna! +I'm still alive +Hey there!! +82 +83 +Dafna! +I'm still alive +Hey there!! +83 +84 +Dafna! +I'm still alive +Hey there!! +84 +85 +Dafna! +I'm still alive +Hey there!! +85 +86 +Dafna! +I'm still alive +Hey there!! +86 +87 +Dafna! +I'm still alive +Hey there!! +87 +88 +Dafna! +I'm still alive +Hey there!! +88 +89 +Dafna! +I'm still alive +Hey there!! +89 +90 +Dafna! +I'm still alive +Hey there!! +90 +91 +Dafna! +I'm still alive +Hey there!! +91 +92 +Dafna! +I'm still alive +Hey there!! +92 +93 +Dafna! +I'm still alive +Hey there!! +93 +94 +Dafna! +I'm still alive +Hey there!! +94 +95 +Dafna! +I'm still alive +Hey there!! +95 +96 +Dafna! +I'm still alive +Hey there!! +96 +97 +Dafna! +I'm still alive +Hey there!! +97 +98 +Dafna! +I'm still alive +Hey there!! +98 +99 +Dafna! +I'm still alive +Hey there!! +99 +100 +Dafna! +I'm still alive +Hey there!! +100 +101 +Dafna! +I'm still alive +Hey there!! +101 +102 +Dafna! +I'm still alive +Hey there!! +102 +103 +Dafna! +I'm still alive +Hey there!! +103 +104 +Dafna! +I'm still alive +Hey there!! +104 +105 +Dafna! +I'm still alive +Hey there!! +105 +106 +Dafna! +I'm still alive +Hey there!! +106 +107 +Dafna! +I'm still alive +Hey there!! +107 +108 +Dafna! +I'm still alive +Hey there!! +108 +109 +Dafna! +I'm still alive +Hey there!! +109 +110 +Dafna! +I'm still alive +Hey there!! +110 +111 +Dafna! +I'm still alive +Hey there!! +111 +112 +Dafna! +I'm still alive +Hey there!! +112 +113 +Dafna! +I'm still alive +Hey there!! +113 +114 +Dafna! +I'm still alive +Hey there!! +114 +115 +Dafna! +I'm still alive +Hey there!! +115 +116 +Dafna! +I'm still alive +Hey there!! +116 +117 +Dafna! +I'm still alive +Hey there!! +117 +118 +Dafna! +I'm still alive +Hey there!! +118 +119 +Dafna! +I'm still alive +Hey there!! +119 +120 +Dafna! +I'm still alive +Hey there!! +120 +121 +Dafna! +I'm still alive +Hey there!! +121 +122 +Dafna! +I'm still alive +Hey there!! +122 +123 +Dafna! +I'm still alive +Hey there!! +123 +124 +Dafna! +I'm still alive +Hey there!! +124 +125 +Dafna! +I'm still alive +Hey there!! +125 +126 +Dafna! +I'm still alive +Hey there!! +126 +127 +Dafna! +I'm still alive +Hey there!! +127 +128 +Dafna! +I'm still alive +Hey there!! +128 +129 +Dafna! +I'm still alive +Hey there!! +129 +130 +Dafna! +I'm still alive +Hey there!! +130 +131 +Dafna! +I'm still alive +Hey there!! +131 +132 +Dafna! +I'm still alive +Hey there!! +132 +133 +Dafna! +I'm still alive +Hey there!! +133 +134 +Dafna! +I'm still alive +Hey there!! +134 +135 +Dafna! +I'm still alive +Hey there!! +135 +136 +Dafna! +I'm still alive +Hey there!! +136 +137 +Dafna! +I'm still alive +Hey there!! +137 +138 +Dafna! +I'm still alive +Hey there!! +138 +139 +Dafna! +I'm still alive +Hey there!! +139 +140 +Dafna! +I'm still alive +Hey there!! +140 +141 +Dafna! +I'm still alive +Hey there!! +141 +142 +Dafna! +I'm still alive +Hey there!! +142 +143 +Dafna! +I'm still alive +Hey there!! +143 +144 +Dafna! +I'm still alive +Hey there!! +144 +145 +Dafna! +I'm still alive +Hey there!! +145 +146 +Dafna! +I'm still alive +Hey there!! +146 +147 +Dafna! +I'm still alive +Hey there!! +147 +148 +Dafna! +I'm still alive +Hey there!! +148 +149 +Dafna! +I'm still alive +Hey there!! +149 +150 +Dafna! +I'm still alive +Hey there!! +150 +151 +Dafna! +I'm still alive +Hey there!! +151 +152 +Dafna! +I'm still alive +Hey there!! +152 +153 +Dafna! +I'm still alive +Hey there!! +153 +154 +Dafna! +I'm still alive +Hey there!! +154 +155 +Dafna! +I'm still alive +Hey there!! +155 +156 +Dafna! +I'm still alive +Hey there!! +156 +157 +Dafna! +I'm still alive +Hey there!! +157 +158 +Dafna! +I'm still alive +Hey there!! +158 +159 +Dafna! +I'm still alive +Hey there!! +159 +160 +Dafna! +I'm still alive +Hey there!! +160 +161 +Dafna! +I'm still alive +Hey there!! +161 +162 +Dafna! +I'm still alive +Hey there!! +162 +163 +Dafna! +I'm still alive +Hey there!! +163 +164 +Dafna! +I'm still alive +Hey there!! +164 +165 +Dafna! +I'm still alive +Hey there!! +165 +166 +Dafna! +I'm still alive +Hey there!! +166 +167 +Dafna! +I'm still alive +Hey there!! +167 +168 +Dafna! +I'm still alive +Hey there!! +168 +169 +Dafna! +I'm still alive +Hey there!! +169 +170 +Dafna! +I'm still alive +Hey there!! +170 +171 +Dafna! +I'm still alive +Hey there!! +171 +172 +Dafna! +I'm still alive +Hey there!! +172 +173 +Dafna! +I'm still alive +Hey there!! +173 +174 +Dafna! +I'm still alive +Hey there!! +174 +175 +Dafna! +I'm still alive +Hey there!! +175 +176 +Dafna! +I'm still alive +Hey there!! +176 +177 +Dafna! +I'm still alive +Hey there!! +177 +178 +Dafna! +I'm still alive +Hey there!! +178 +179 +Dafna! +I'm still alive +Hey there!! +179 +180 +Dafna! +I'm still alive +Hey there!! +180 +181 +Dafna! +I'm still alive +Hey there!! +181 +182 +Dafna! +I'm still alive +Hey there!! +182 +183 +Dafna! +I'm still alive +Hey there!! +183 +184 +Dafna! +I'm still alive +Hey there!! +184 +185 +Dafna! +I'm still alive +Hey there!! +185 +186 +Dafna! +I'm still alive +Hey there!! +186 +187 +Dafna! +I'm still alive +Hey there!! +187 +188 +Dafna! +I'm still alive +Hey there!! +188 +189 +Dafna! +I'm still alive +Hey there!! +189 +190 +Dafna! +I'm still alive +Hey there!! +190 +191 +Dafna! +I'm still alive +Hey there!! +191 +192 +Dafna! +I'm still alive +Hey there!! +192 +193 +Dafna! +I'm still alive +Hey there!! +193 +194 +Dafna! +I'm still alive +Hey there!! +194 +195 +Dafna! +I'm still alive +Hey there!! +195 +196 +Dafna! +I'm still alive +Hey there!! +196 +197 +Dafna! +I'm still alive +Hey there!! +197 +198 +Dafna! +I'm still alive +Hey there!! +198 +199 +Dafna! +I'm still alive +Hey there!! +199 +Dafna \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/030.php.exp b/hphp/test/zend/good/tests-lang/030.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/030.php.exp rename to hphp/test/zend/good/tests-lang/030.php.expectf diff --git a/hphp/test/zend/good/tests-lang/032.php.exp b/hphp/test/zend/good/tests-lang/032.php.exp deleted file mode 100644 index d86bac9de..000000000 --- a/hphp/test/zend/good/tests-lang/032.php.exp +++ /dev/null @@ -1 +0,0 @@ -OK diff --git a/hphp/test/zend/good/tests-lang/032.php.expectf b/hphp/test/zend/good/tests-lang/032.php.expectf new file mode 100644 index 000000000..a0aba9318 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/032.php.expectf @@ -0,0 +1 @@ +OK \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/033.php.exp b/hphp/test/zend/good/tests-lang/033.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/033.php.exp rename to hphp/test/zend/good/tests-lang/033.php.expectf diff --git a/hphp/test/zend/good/tests-lang/035.php.exp b/hphp/test/zend/good/tests-lang/035.php.exp deleted file mode 100644 index 6dd5ac78c..000000000 --- a/hphp/test/zend/good/tests-lang/035.php.exp +++ /dev/null @@ -1 +0,0 @@ -There was an exception: 'This is an exception!' diff --git a/hphp/test/zend/good/tests-lang/035.php.expectf b/hphp/test/zend/good/tests-lang/035.php.expectf new file mode 100644 index 000000000..7164bb764 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/035.php.expectf @@ -0,0 +1 @@ +There was an exception: 'This is an exception!' \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/036.php.expectf b/hphp/test/zend/good/tests-lang/036.php.expectf new file mode 100644 index 000000000..191028156 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/036.php.expectf @@ -0,0 +1 @@ +foo \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/037.php.exp b/hphp/test/zend/good/tests-lang/037.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/037.php.exp rename to hphp/test/zend/good/tests-lang/037.php.expectf diff --git a/hphp/test/zend/good/tests-lang/038.php.exp b/hphp/test/zend/good/tests-lang/038.php.exp deleted file mode 100644 index a5a25064f..000000000 --- a/hphp/test/zend/good/tests-lang/038.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -string(15) "Error2Exception" -string(5) "fopen" -===DONE=== diff --git a/hphp/test/zend/good/tests-lang/038.php.expectf b/hphp/test/zend/good/tests-lang/038.php.expectf new file mode 100644 index 000000000..a104fd6df --- /dev/null +++ b/hphp/test/zend/good/tests-lang/038.php.expectf @@ -0,0 +1,3 @@ +string(15) "Error2Exception" +string(5) "fopen" +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/039.php.exp b/hphp/test/zend/good/tests-lang/039.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/039.php.exp rename to hphp/test/zend/good/tests-lang/039.php.expectf diff --git a/hphp/test/zend/good/tests-lang/040.php.exp b/hphp/test/zend/good/tests-lang/040.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/040.php.exp rename to hphp/test/zend/good/tests-lang/040.php.expectf diff --git a/hphp/test/zend/good/tests-lang/041.php.exp b/hphp/test/zend/good/tests-lang/041.php.exp deleted file mode 100644 index b67164509..000000000 --- a/hphp/test/zend/good/tests-lang/041.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -foo -HipHop Fatal error: Class undefined: B in hphp/test/zend/good/tests-lang/041.php on line 10 diff --git a/hphp/test/zend/good/tests-lang/041.php.expectf b/hphp/test/zend/good/tests-lang/041.php.expectf new file mode 100644 index 000000000..bc2901914 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/041.php.expectf @@ -0,0 +1,2 @@ +foo +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/042.php.exp b/hphp/test/zend/good/tests-lang/042.php.exp deleted file mode 100644 index a4fa11ecf..000000000 --- a/hphp/test/zend/good/tests-lang/042.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -foo -HipHop Fatal error: Class undefined: B in hphp/test/zend/good/tests-lang/042.php on line 10 diff --git a/hphp/test/zend/good/tests-lang/042.php.expectf b/hphp/test/zend/good/tests-lang/042.php.expectf new file mode 100644 index 000000000..bc2901914 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/042.php.expectf @@ -0,0 +1,2 @@ +foo +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/043.php.exp b/hphp/test/zend/good/tests-lang/043.php.exp deleted file mode 100644 index f498a01f9..000000000 --- a/hphp/test/zend/good/tests-lang/043.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -foo -HipHop Fatal error: Class undefined: B in hphp/test/zend/good/tests-lang/043.php on line 10 diff --git a/hphp/test/zend/good/tests-lang/043.php.expectf b/hphp/test/zend/good/tests-lang/043.php.expectf new file mode 100644 index 000000000..bc2901914 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/043.php.expectf @@ -0,0 +1,2 @@ +foo +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/044.php.exp b/hphp/test/zend/good/tests-lang/044.php.exp deleted file mode 100644 index 6a8753e6e..000000000 --- a/hphp/test/zend/good/tests-lang/044.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -foo -HipHop Fatal error: Class undefined: B in hphp/test/zend/good/tests-lang/044.php on line 12 diff --git a/hphp/test/zend/good/tests-lang/044.php.expectf b/hphp/test/zend/good/tests-lang/044.php.expectf new file mode 100644 index 000000000..bc2901914 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/044.php.expectf @@ -0,0 +1,2 @@ +foo +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bison1.php.exp b/hphp/test/zend/good/tests-lang/bison1.php.exp deleted file mode 100644 index 821cc182a..000000000 --- a/hphp/test/zend/good/tests-lang/bison1.php.exp +++ /dev/null @@ -1 +0,0 @@ -blah- diff --git a/hphp/test/zend/good/tests-lang/bison1.php.expectf b/hphp/test/zend/good/tests-lang/bison1.php.expectf new file mode 100644 index 000000000..c4e3cebb2 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bison1.php.expectf @@ -0,0 +1 @@ +blah- \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug17115.php.exp b/hphp/test/zend/good/tests-lang/bug17115.php.exp deleted file mode 100644 index cdf07fd0c..000000000 --- a/hphp/test/zend/good/tests-lang/bug17115.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(0) -int(1) -int(2) diff --git a/hphp/test/zend/good/tests-lang/bug17115.php.expectf b/hphp/test/zend/good/tests-lang/bug17115.php.expectf new file mode 100644 index 000000000..42e57b487 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug17115.php.expectf @@ -0,0 +1,3 @@ +int(0) +int(1) +int(2) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug18872.php.exp b/hphp/test/zend/good/tests-lang/bug18872.php.exp deleted file mode 100644 index 4188e1897..000000000 --- a/hphp/test/zend/good/tests-lang/bug18872.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -3 -3 - \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug19566.php b/hphp/test/zend/good/tests-lang/bug19566.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug19566.php rename to hphp/test/zend/good/tests-lang/bug19566.php diff --git a/hphp/test/zend/good/tests-lang/bug19566.php.expectf b/hphp/test/zend/good/tests-lang/bug19566.php.expectf new file mode 100644 index 000000000..eb5226c4a --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug19566.php.expectf @@ -0,0 +1 @@ +int(%d) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug19943.php.exp b/hphp/test/zend/good/tests-lang/bug19943.php.exp deleted file mode 100644 index f5938c2fc..000000000 --- a/hphp/test/zend/good/tests-lang/bug19943.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -0 -- 0 -1 -- 1 -2 -- 2 -3 -- 3 -4 -- 4 -5 -- 5 -6 -- 6 -7 -- 7 -8 -- 8 -9 -- 9 -string(10) "0123456780" diff --git a/hphp/test/zend/good/tests-lang/bug19943.php.expectf b/hphp/test/zend/good/tests-lang/bug19943.php.expectf new file mode 100644 index 000000000..7b4af160c --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug19943.php.expectf @@ -0,0 +1,11 @@ +0 -- 0 +1 -- 1 +2 -- 2 +3 -- 3 +4 -- 4 +5 -- 5 +6 -- 6 +7 -- 7 +8 -- 8 +9 -- 9 +string(10) "0123456780" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug21094.php.exp b/hphp/test/zend/good/tests-lang/bug21094.php.exp deleted file mode 100644 index 71779a4f6..000000000 --- a/hphp/test/zend/good/tests-lang/bug21094.php.exp +++ /dev/null @@ -1 +0,0 @@ -[1024] errstr: test, errfile: hphp/test/zend/good/tests-lang/bug21094.php, errline: 10 diff --git a/hphp/test/zend/good/tests-lang/bug21094.php.expectf b/hphp/test/zend/good/tests-lang/bug21094.php.expectf new file mode 100644 index 000000000..98e295ec5 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug21094.php.expectf @@ -0,0 +1 @@ +[1024] errstr: test, errfile: %s, errline: %d \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug21669.php.exp b/hphp/test/zend/good/tests-lang/bug21669.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug21669.php.exp rename to hphp/test/zend/good/tests-lang/bug21669.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug21849.php.exp b/hphp/test/zend/good/tests-lang/bug21849.php.exp deleted file mode 100644 index d894f2906..000000000 --- a/hphp/test/zend/good/tests-lang/bug21849.php.exp +++ /dev/null @@ -1 +0,0 @@ -fubar diff --git a/hphp/test/zend/good/tests-lang/bug21849.php.expectf b/hphp/test/zend/good/tests-lang/bug21849.php.expectf new file mode 100644 index 000000000..570de9c7c --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug21849.php.expectf @@ -0,0 +1 @@ +fubar \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug21961.php.exp b/hphp/test/zend/good/tests-lang/bug21961.php.exp deleted file mode 100644 index c19f98d6f..000000000 --- a/hphp/test/zend/good/tests-lang/bug21961.php.exp +++ /dev/null @@ -1 +0,0 @@ -string(14) "The old Tavern" diff --git a/hphp/test/zend/good/tests-lang/bug21961.php.expectf b/hphp/test/zend/good/tests-lang/bug21961.php.expectf new file mode 100644 index 000000000..f0616a4b3 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug21961.php.expectf @@ -0,0 +1 @@ +string(14) "The old Tavern" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug22690.php.exp b/hphp/test/zend/good/tests-lang/bug22690.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug22690.php.exp rename to hphp/test/zend/good/tests-lang/bug22690.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug23489.php.exp b/hphp/test/zend/good/tests-lang/bug23489.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug23489.php.exp rename to hphp/test/zend/good/tests-lang/bug23489.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug23524.php.exp b/hphp/test/zend/good/tests-lang/bug23524.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug23524.php.exp rename to hphp/test/zend/good/tests-lang/bug23524.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug23584.php.exp b/hphp/test/zend/good/tests-lang/bug23584.php.exp deleted file mode 100644 index 3ed48485e..000000000 --- a/hphp/test/zend/good/tests-lang/bug23584.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Notice: Undefined variable: foo in hphp/test/zend/good/tests-lang/bug23584.php on line 6 diff --git a/hphp/test/zend/bad/zend/constants_004.php.exp b/hphp/test/zend/good/tests-lang/bug23584.php.expectregex similarity index 100% rename from hphp/test/zend/bad/zend/constants_004.php.exp rename to hphp/test/zend/good/tests-lang/bug23584.php.expectregex diff --git a/hphp/test/zend/good/tests-lang/bug23922.php.expectf b/hphp/test/zend/good/tests-lang/bug23922.php.expectf new file mode 100644 index 000000000..e69de29bb diff --git a/hphp/test/zend/good/tests-lang/bug24396.php.exp b/hphp/test/zend/good/tests-lang/bug24396.php.exp deleted file mode 100644 index 751a9f454..000000000 --- a/hphp/test/zend/good/tests-lang/bug24396.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -(a => 1) -(b => 2) -(c => 3) diff --git a/hphp/test/zend/good/tests-lang/bug24396.php.expectf b/hphp/test/zend/good/tests-lang/bug24396.php.expectf new file mode 100644 index 000000000..3b6600d4c --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24396.php.expectf @@ -0,0 +1,3 @@ +(a => 1) +(b => 2) +(c => 3) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug24403.php.exp b/hphp/test/zend/good/tests-lang/bug24403.php.exp deleted file mode 100644 index 2abf58019..000000000 --- a/hphp/test/zend/good/tests-lang/bug24403.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: preg_replace is not going to be supported: Modifier /e must be used with the form f("") or f(""); in hphp/test/zend/good/tests-lang/bug24403.php on line 12 diff --git a/hphp/test/zend/good/tests-lang/bug24436.php.exp b/hphp/test/zend/good/tests-lang/bug24436.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug24436.php.exp rename to hphp/test/zend/good/tests-lang/bug24436.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug24499.php.exp b/hphp/test/zend/good/tests-lang/bug24499.php.exp deleted file mode 100644 index 7c782e882..000000000 --- a/hphp/test/zend/good/tests-lang/bug24499.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -stdClass Object -( - [foo] => bar - [id] => bar -) diff --git a/hphp/test/zend/good/tests-lang/bug24499.php.expectf b/hphp/test/zend/good/tests-lang/bug24499.php.expectf new file mode 100644 index 000000000..1f3813f66 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24499.php.expectf @@ -0,0 +1,5 @@ +stdClass Object +( + [foo] => bar + [id] => bar +) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug24573.php.exp b/hphp/test/zend/good/tests-lang/bug24573.php.exp deleted file mode 100644 index 075f60a59..000000000 --- a/hphp/test/zend/good/tests-lang/bug24573.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-assign $this in hphp/test/zend/good/tests-lang/bug24573.php on line 6 diff --git a/hphp/test/zend/good/tests-lang/bug24573.php.expectf b/hphp/test/zend/good/tests-lang/bug24573.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24573.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug24652.php.exp b/hphp/test/zend/good/tests-lang/bug24652.php.exp deleted file mode 100644 index 26d38a530..000000000 --- a/hphp/test/zend/good/tests-lang/bug24652.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -array(1) { - [7]=> - int(0) -} -bool(true) -bool(true) ----------- -array(1) { - [7]=> - int(0) -} -bool(true) -bool(true) diff --git a/hphp/test/zend/good/tests-lang/bug24652.php.expectf b/hphp/test/zend/good/tests-lang/bug24652.php.expectf new file mode 100644 index 000000000..bf2c34210 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24652.php.expectf @@ -0,0 +1,13 @@ +array(1) { + [7]=> + int(0) +} +bool(true) +bool(true) +---------- +array(1) { + [7]=> + int(0) +} +bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug24783.php.exp b/hphp/test/zend/good/tests-lang/bug24783.php.exp deleted file mode 100644 index 4fe7b1305..000000000 --- a/hphp/test/zend/good/tests-lang/bug24783.php.exp +++ /dev/null @@ -1 +0,0 @@ -7: foo%00bar => foo%00bar diff --git a/hphp/test/zend/good/tests-lang/bug24783.php.expectf b/hphp/test/zend/good/tests-lang/bug24783.php.expectf new file mode 100644 index 000000000..453f0793f --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24783.php.expectf @@ -0,0 +1 @@ +7: foo%00bar => foo%00bar \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug24926.php.exp b/hphp/test/zend/good/tests-lang/bug24926.php.exp deleted file mode 100644 index c11dc0b12..000000000 --- a/hphp/test/zend/good/tests-lang/bug24926.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -FOO -FOO diff --git a/hphp/test/zend/good/tests-lang/bug24926.php.expectf b/hphp/test/zend/good/tests-lang/bug24926.php.expectf new file mode 100644 index 000000000..777eefdae --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24926.php.expectf @@ -0,0 +1,2 @@ +FOO +FOO \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug25652.php.exp b/hphp/test/zend/good/tests-lang/bug25652.php.exp deleted file mode 100644 index f776add72..000000000 --- a/hphp/test/zend/good/tests-lang/bug25652.php.exp +++ /dev/null @@ -1 +0,0 @@ -testfunc testvalue diff --git a/hphp/test/zend/good/tests-lang/bug25652.php.expectf b/hphp/test/zend/good/tests-lang/bug25652.php.expectf new file mode 100644 index 000000000..f8b586989 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug25652.php.expectf @@ -0,0 +1 @@ +testfunc testvalue \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug26696.php.exp b/hphp/test/zend/good/tests-lang/bug26696.php.exp deleted file mode 100644 index 2c94e4837..000000000 --- a/hphp/test/zend/good/tests-lang/bug26696.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -OK -OK diff --git a/hphp/test/zend/good/tests-lang/bug26696.php.expectf b/hphp/test/zend/good/tests-lang/bug26696.php.expectf new file mode 100644 index 000000000..bcaba8626 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug26696.php.expectf @@ -0,0 +1,2 @@ +OK +OK \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug26866.php.exp b/hphp/test/zend/good/tests-lang/bug26866.php.exp deleted file mode 100644 index c196b8414..000000000 --- a/hphp/test/zend/good/tests-lang/bug26866.php.exp +++ /dev/null @@ -1 +0,0 @@ -Exception raised! diff --git a/hphp/test/zend/good/tests-lang/bug26866.php.expectf b/hphp/test/zend/good/tests-lang/bug26866.php.expectf new file mode 100644 index 000000000..60b161a1e --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug26866.php.expectf @@ -0,0 +1 @@ +Exception raised! \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug26869.php.exp b/hphp/test/zend/good/tests-lang/bug26869.php.exp deleted file mode 100644 index 53ac66ea2..000000000 --- a/hphp/test/zend/good/tests-lang/bug26869.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -array(1) { - [1]=> - int(1) -} -bool(true) diff --git a/hphp/test/zend/good/tests-lang/bug26869.php.expectf b/hphp/test/zend/good/tests-lang/bug26869.php.expectf new file mode 100644 index 000000000..9a5266071 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug26869.php.expectf @@ -0,0 +1,5 @@ +array(1) { + [1]=> + int(1) +} +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug27354.php.exp b/hphp/test/zend/good/tests-lang/bug27354.php.exp deleted file mode 100644 index c388a5526..000000000 --- a/hphp/test/zend/good/tests-lang/bug27354.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -int(0) -int(0) -int(0) -int(0) diff --git a/hphp/test/zend/good/tests-lang/bug27354.php.expectf b/hphp/test/zend/good/tests-lang/bug27354.php.expectf new file mode 100644 index 000000000..7f1cd2351 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug27354.php.expectf @@ -0,0 +1,4 @@ +int(%i) +int(%i) +int(%i) +int(%i) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug27443.php.exp b/hphp/test/zend/good/tests-lang/bug27443.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug27443.php.exp rename to hphp/test/zend/good/tests-lang/bug27443.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug27535.php.exp b/hphp/test/zend/good/tests-lang/bug27535.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug27535.php.exp rename to hphp/test/zend/good/tests-lang/bug27535.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug28800.php.exp b/hphp/test/zend/good/tests-lang/bug28800.php.exp deleted file mode 100644 index f7eb44d66..000000000 --- a/hphp/test/zend/good/tests-lang/bug28800.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -0 -0 -0 -0 -0 -0 diff --git a/hphp/test/zend/good/tests-lang/bug28800.php.expectf b/hphp/test/zend/good/tests-lang/bug28800.php.expectf new file mode 100644 index 000000000..630cca480 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug28800.php.expectf @@ -0,0 +1,6 @@ +0 +0 +0 +0 +0 +0 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug29893.php.exp b/hphp/test/zend/good/tests-lang/bug29893.php.exp deleted file mode 100644 index c96019c51..000000000 --- a/hphp/test/zend/good/tests-lang/bug29893.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/good/tests-lang/bug29893.php on line 3 -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug29893.php.expectf b/hphp/test/zend/good/tests-lang/bug29893.php.expectf new file mode 100644 index 000000000..48734b894 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug29893.php.expectf @@ -0,0 +1,2 @@ +HipHop Warning: %a +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug29944.php.exp b/hphp/test/zend/good/tests-lang/bug29944.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/bug29944.php.exp rename to hphp/test/zend/good/tests-lang/bug29944.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug30638.php.exp b/hphp/test/zend/good/tests-lang/bug30638.php.exp deleted file mode 100644 index f597765a2..000000000 --- a/hphp/test/zend/good/tests-lang/bug30638.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -decimal_point: , -thousands_sep: . diff --git a/hphp/test/zend/good/tests-lang/bug30638.php.expectf b/hphp/test/zend/good/tests-lang/bug30638.php.expectf new file mode 100644 index 000000000..eff8c975a --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug30638.php.expectf @@ -0,0 +1,2 @@ +decimal_point: , +thousands_sep: . \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug30726.php.exp b/hphp/test/zend/good/tests-lang/bug30726.php.exp deleted file mode 100644 index d00491fd7..000000000 --- a/hphp/test/zend/good/tests-lang/bug30726.php.exp +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/hphp/test/zend/good/zend/bug45910_2.php.exp b/hphp/test/zend/good/tests-lang/bug30726.php.expectf similarity index 100% rename from hphp/test/zend/good/zend/bug45910_2.php.exp rename to hphp/test/zend/good/tests-lang/bug30726.php.expectf diff --git a/hphp/test/zend/good/tests-lang/bug30862.php.exp b/hphp/test/zend/good/tests-lang/bug30862.php.exp deleted file mode 100644 index 35d4fb6e7..000000000 --- a/hphp/test/zend/good/tests-lang/bug30862.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -Array -( - [0] => false - [1] => true -) ----------- -Array -( - [0] => false - [1] => true -) diff --git a/hphp/test/zend/good/tests-lang/bug30862.php.expectf b/hphp/test/zend/good/tests-lang/bug30862.php.expectf new file mode 100644 index 000000000..3d583ee4d --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug30862.php.expectf @@ -0,0 +1,11 @@ +Array +( + [0] => false + [1] => true +) +---------- +Array +( + [0] => false + [1] => true +) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/compare_objects_basic1.php.exp b/hphp/test/zend/good/tests-lang/compare_objects_basic1.php.exp deleted file mode 100644 index e9da17d7b..000000000 --- a/hphp/test/zend/good/tests-lang/compare_objects_basic1.php.exp +++ /dev/null @@ -1,14 +0,0 @@ - -Simple test for standard compare object handler - --- The following compare should return TRUE -- -bool(true) - --- All the following compares should return FALSE -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/compare_objects_basic2.php.exp b/hphp/test/zend/good/tests-lang/compare_objects_basic2.php.exp deleted file mode 100644 index 94d613363..000000000 --- a/hphp/test/zend/good/tests-lang/compare_objects_basic2.php.exp +++ /dev/null @@ -1,4 +0,0 @@ - -Simple test comparing two objects with different compare callback handler -bool(false) -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/each_binary_safety.php.exp b/hphp/test/zend/good/tests-lang/each_binary_safety.php.exp deleted file mode 100644 index 4fe7b1305..000000000 --- a/hphp/test/zend/good/tests-lang/each_binary_safety.php.exp +++ /dev/null @@ -1 +0,0 @@ -7: foo%00bar => foo%00bar diff --git a/hphp/test/zend/good/tests-lang/each_binary_safety.php.expectf b/hphp/test/zend/good/tests-lang/each_binary_safety.php.expectf new file mode 100644 index 000000000..453f0793f --- /dev/null +++ b/hphp/test/zend/good/tests-lang/each_binary_safety.php.expectf @@ -0,0 +1 @@ +7: foo%00bar => foo%00bar \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/empty_variation.php.exp b/hphp/test/zend/good/tests-lang/empty_variation.php.exp deleted file mode 100644 index 14c72c273..000000000 --- a/hphp/test/zend/good/tests-lang/empty_variation.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -bool(true) -bool(true) -bool(true) diff --git a/hphp/test/zend/good/tests-lang/empty_variation.php.expectf b/hphp/test/zend/good/tests-lang/empty_variation.php.expectf new file mode 100644 index 000000000..a366e449a --- /dev/null +++ b/hphp/test/zend/good/tests-lang/empty_variation.php.expectf @@ -0,0 +1,3 @@ +bool(true) +bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php.exp deleted file mode 100644 index c5e7ea534..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php.exp +++ /dev/null @@ -1,78 +0,0 @@ - - -Order with local assignment: -in f() -in g() -string(14) "assigned value" - - -Order with array assignment: -in f() -in g() -array(1) { - ["name"]=> - string(14) "assigned value" -} - - -Order with object property assignment: -in f() -in g() -object(stdClass)#1 (1) { - ["assigned value"]=> - string(14) "assigned value" -} - - -Order with nested object property assignment: -in f() -in g() -object(stdClass)#2 (1) { - ["o1"]=> - object(stdClass)#3 (1) { - ["o2"]=> - object(stdClass)#4 (1) { - ["assigned value"]=> - string(14) "assigned value" - } - } -} - - -Order with dim_list property assignment: -in f() -in g() -object(stdClass)#5 (1) { - ["a"]=> - array(1) { - ["assigned value"]=> - string(14) "assigned value" - } -} - - -Order with static property assignment: -in f() -in g() -string(14) "assigned value" - - -Order with static array property assignment: -in f() -in g() -array(1) { - ["name"]=> - string(14) "assigned value" -} - - -Order with indexed string assignment: -in getOffset() -in newChar() -string(5) "jello" - - -Order with static string property assignment: -in getOffset() -in newChar() -string(5) "jello" diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php.exp deleted file mode 100644 index dda03cd7e..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php.exp +++ /dev/null @@ -1,40 +0,0 @@ -A=hello B=bye -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php on line 10 -array(2) { - [0]=> - int(10) - [1]=> - int(10) -} -array(2) { - [0]=> - int(30) - [1]=> - int(30) -} -array(3) { - [0]=> - int(1000) - [1]=> - int(2000) - [2]=> - int(3000) -} -L=100 M=200 N=300 -O= and P= -10 20 40 50 60 70 80 -HipHop Notice: Undefined index: 1 in hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php on line 66 -HipHop Notice: Undefined index: 0 in hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php on line 66 -Y=,Z= -HipHop Notice: Undefined index: 1 in hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php on line 70 -AA=10 -CC=10 DD=30 -Array -( - [0] => array created in f() - [array entry created after f()] => Array - ( - [1] => hello - ) - -) diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php.expectf b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php.expectf new file mode 100644 index 000000000..5dffb1c20 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_002.php.expectf @@ -0,0 +1,40 @@ +A=hello B=bye +HipHop Warning: %a +array(2) { + [0]=> + int(10) + [1]=> + int(10) +} +array(2) { + [0]=> + int(30) + [1]=> + int(30) +} +array(3) { + [0]=> + int(1000) + [1]=> + int(2000) + [2]=> + int(3000) +} +L=100 M=200 N=300 +O= and P= +10 20 40 50 60 70 80 +HipHop Notice: %a +HipHop Notice: %a +Y=,Z= +HipHop Notice: %a +AA=10 +CC=10 DD=30 +Array +( + [0] => array created in f() + [array entry created after f()] => Array + ( + [1] => hello + ) + +) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_003.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_003.php.exp deleted file mode 100644 index c80eff5c4..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_003.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -Good call -Good call -Expect 15 and get...15 -array(2) { - [0]=> - array(1) { - [0]=> - int(10) - } - [1]=> - int(3) -} diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_003.php.expectf b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_003.php.expectf new file mode 100644 index 000000000..68f643c64 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_003.php.expectf @@ -0,0 +1,12 @@ +Good call +Good call +Expect 15 and get...15 +array(2) { + [0]=> + array(1) { + [0]=> + int(10) + } + [1]=> + int(3) +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_004.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_004.php.exp deleted file mode 100644 index 9440c0fab..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_004.php.exp +++ /dev/null @@ -1,18 +0,0 @@ -i1 -i2 -i3 -i4 -array(6) { - [0]=> - int(10) - [1]=> - int(11) - [2]=> - int(0) - [3]=> - int(30) - [4]=> - int(40) - [5]=> - int(3) -} diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_004.php.expectf b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_004.php.expectf new file mode 100644 index 000000000..d21a6dd13 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_004.php.expectf @@ -0,0 +1,18 @@ +i1 +i2 +i3 +i4 +array(6) { + [0]=> + int(10) + [1]=> + int(11) + [2]=> + int(0) + [3]=> + int(30) + [4]=> + int(40) + [5]=> + int(3) +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_005.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_005.php.exp deleted file mode 100644 index 9a5b644e1..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_005.php.exp +++ /dev/null @@ -1,27 +0,0 @@ -i1 -i2 -i3 -i4 -i5 -i6 -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_005.php.expectf b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_005.php.expectf new file mode 100644 index 000000000..f35974d90 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_005.php.expectf @@ -0,0 +1,27 @@ +i1 +i2 +i3 +i4 +i5 +i6 +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_006.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_006.php.exp deleted file mode 100644 index 4b4439661..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_006.php.exp +++ /dev/null @@ -1,81 +0,0 @@ -i1 -i2 -i3 -i4 -i5 -i6 -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -i1 -i2 -i3 -i4 -i5 -i6 -array(1) { - [0]=> - array(1) { - [0]=> - int(-2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(-2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -i1 -i2 -i3 -i4 -i5 -i6 -array(1) { - [0]=> - array(1) { - [0]=> - int(-2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(2) - } -} diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_006.php.expectf b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_006.php.expectf new file mode 100644 index 000000000..302b0e74c --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_006.php.expectf @@ -0,0 +1,81 @@ +i1 +i2 +i3 +i4 +i5 +i6 +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +i1 +i2 +i3 +i4 +i5 +i6 +array(1) { + [0]=> + array(1) { + [0]=> + int(-2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(-2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +i1 +i2 +i3 +i4 +i5 +i6 +array(1) { + [0]=> + array(1) { + [0]=> + int(-2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} +array(1) { + [0]=> + array(1) { + [0]=> + int(2) + } +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_009.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_009.php.exp deleted file mode 100644 index 103c314aa..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_009.php.exp +++ /dev/null @@ -1,11 +0,0 @@ -Function call args: -f(0) f(1) bool(true) -f(0) f(1) bool(true) -f(0) f(1) bool(false) -f(0) f(1) bool(false) - -Array indices: -bool(true) -bool(true) -bool(false) -bool(false) diff --git a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_009.php.expectf b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_009.php.expectf new file mode 100644 index 000000000..eea4d61f6 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_009.php.expectf @@ -0,0 +1,11 @@ +Function call args: +f(0) f(1) bool(true) +f(0) f(1) bool(true) +f(0) f(1) bool(false) +f(0) f(1) bool(false) + +Array indices: +bool(true) +bool(true) +bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/error_2_exception_001.php.exp b/hphp/test/zend/good/tests-lang/error_2_exception_001.php.exp deleted file mode 100644 index b0c809ae9..000000000 --- a/hphp/test/zend/good/tests-lang/error_2_exception_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -There was an exception: 256, 'I will become an exception' diff --git a/hphp/test/zend/good/tests-lang/error_2_exception_001.php.expectf b/hphp/test/zend/good/tests-lang/error_2_exception_001.php.expectf new file mode 100644 index 000000000..0a8f6adde --- /dev/null +++ b/hphp/test/zend/good/tests-lang/error_2_exception_001.php.expectf @@ -0,0 +1 @@ +There was an exception: 256, 'I will become an exception' \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.002.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.002.php.exp deleted file mode 100644 index f9d0bf109..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.002.php.exp +++ /dev/null @@ -1,99 +0,0 @@ - -Directly changing array values. -string(10) "original.1" -string(10) "original.2" -string(10) "original.3" -array(3) { - [0]=> - string(9) "changed.0" - [1]=> - string(9) "changed.1" - [2]=> - string(9) "changed.2" -} - -Modifying the foreach $value. -array(3) { - [0]=> - string(10) "original.1" - [1]=> - string(10) "original.2" - [2]=> - string(10) "original.3" -} - -Modifying the foreach &$value. -array(3) { - [0]=> - string(9) "changed.0" - [1]=> - string(9) "changed.1" - [2]=> - &string(9) "changed.2" -} - -Pushing elements onto an unreferenced array. -array(6) { - [0]=> - string(10) "original.1" - [1]=> - string(10) "original.2" - [2]=> - string(10) "original.3" - [3]=> - string(5) "new.0" - [4]=> - string(5) "new.1" - [5]=> - string(5) "new.2" -} - -Pushing elements onto an unreferenced array, using &$value. -Loop detected -array(15) { - [0]=> - string(10) "original.1" - [1]=> - string(10) "original.2" - [2]=> - string(10) "original.3" - [3]=> - string(5) "new.0" - [4]=> - string(5) "new.1" - [5]=> - string(5) "new.2" - [6]=> - string(5) "new.3" - [7]=> - string(5) "new.4" - [8]=> - string(5) "new.5" - [9]=> - string(5) "new.6" - [10]=> - string(5) "new.7" - [11]=> - &string(5) "new.8" - [12]=> - string(5) "new.9" - [13]=> - string(6) "new.10" - [14]=> - string(6) "new.11" -} - -Popping elements off an unreferenced array. -string(10) "original.1" -string(10) "original.2" -string(10) "original.3" -array(0) { -} - -Popping elements off an unreferenced array, using &$value. -string(10) "original.1" -string(10) "original.2" -array(1) { - [0]=> - string(10) "original.1" -} diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.003.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.003.php.exp deleted file mode 100644 index 30f1e1f31..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.003.php.exp +++ /dev/null @@ -1,8 +0,0 @@ - -Not an array. -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/tests-lang/foreachLoop.003.php on line 6 -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/tests-lang/foreachLoop.003.php on line 11 -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/tests-lang/foreachLoop.003.php on line 16 -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/tests-lang/foreachLoop.003.php on line 21 -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/tests-lang/foreachLoop.003.php on line 26 -done. diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.004.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.004.php.exp deleted file mode 100644 index f7bbecd97..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.004.php.exp +++ /dev/null @@ -1,53 +0,0 @@ -array(1) { - [0]=> - string(1) "a" -} -array(1) { - [0]=> - string(1) "b" -} -array(1) { - [0]=> - string(1) "c" -} -array(3) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" -} -array(1) { - [0]=> - string(1) "c" -} - -int(0) -array(1) { - [0]=> - string(1) "a" -} -int(1) -array(1) { - [0]=> - string(1) "b" -} -int(2) -array(1) { - [0]=> - string(1) "c" -} -array(3) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - [2]=> - string(1) "c" -} -int(2) -array(1) { - [0]=> - string(1) "c" -} diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.004.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoop.004.php.expectf new file mode 100644 index 000000000..94a6e640b --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoop.004.php.expectf @@ -0,0 +1,53 @@ +array(1) { + [0]=> + string(1) "a" +} +array(1) { + [0]=> + string(1) "b" +} +array(1) { + [0]=> + string(1) "c" +} +array(3) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" +} +array(1) { + [0]=> + string(1) "c" +} + +int(0) +array(1) { + [0]=> + string(1) "a" +} +int(1) +array(1) { + [0]=> + string(1) "b" +} +int(2) +array(1) { + [0]=> + string(1) "c" +} +array(3) { + [0]=> + string(1) "a" + [1]=> + string(1) "b" + [2]=> + string(1) "c" +} +int(2) +array(1) { + [0]=> + string(1) "c" +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.005.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.005.php.exp deleted file mode 100644 index 86a73ef2b..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.005.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -After changing $a directly, $v@0 is: changed.0 -After changing $a directly, $v@1 is: changed.1 -After changing $a directly, $v@2 is: changed.2 diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.005.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoop.005.php.expectf new file mode 100644 index 000000000..7b632f243 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoop.005.php.expectf @@ -0,0 +1,3 @@ +After changing $a directly, $v@0 is: changed.0 +After changing $a directly, $v@1 is: changed.1 +After changing $a directly, $v@2 is: changed.2 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.006.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.006.php.exp deleted file mode 100644 index 669281d64..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Key element cannot be a reference in hphp/test/zend/good/tests-lang/foreachLoop.006.php on line 5 diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.006.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoop.006.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoop.006.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.010.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.010.php.exp deleted file mode 100644 index 1b87376ff..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.010.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(1) -int(2) -int(3) diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.010.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoop.010.php.expectf new file mode 100644 index 000000000..a230030fe --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoop.010.php.expectf @@ -0,0 +1,3 @@ +int(1) +int(2) +int(3) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.012.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.012.php.exp deleted file mode 100644 index 57dd4ba1f..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.012.php.exp +++ /dev/null @@ -1,423 +0,0 @@ - -Popping elements off end of an unreferenced array ----( Array with 1 element(s): )--- ---> State of array before loop: -array(1) { - [0]=> - string(3) "v.0" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 ---> State of array after loop: -array(0) { -} - ----( Array with 2 element(s): )--- ---> State of array before loop: -array(2) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 ---> State of array after loop: -array(0) { -} - ----( Array with 3 element(s): )--- ---> State of array before loop: -array(3) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 ---> State of array after loop: -array(0) { -} - ----( Array with 4 element(s): )--- ---> State of array before loop: -array(4) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(3) "v.3" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 - iteration 3: $k=3; $v=v.3 ---> State of array after loop: -array(0) { -} - - - -Shift elements off start of an unreferenced array ----( Array with 1 element(s): )--- ---> State of array before loop: -array(1) { - [0]=> - string(3) "v.0" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 ---> State of array after loop: -array(0) { -} - ----( Array with 2 element(s): )--- ---> State of array before loop: -array(2) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 ---> State of array after loop: -array(0) { -} - ----( Array with 3 element(s): )--- ---> State of array before loop: -array(3) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 ---> State of array after loop: -array(0) { -} - ----( Array with 4 element(s): )--- ---> State of array before loop: -array(4) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(3) "v.3" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 - iteration 3: $k=3; $v=v.3 ---> State of array after loop: -array(0) { -} - - - -Remove current element of an unreferenced array ----( Array with 1 element(s): )--- ---> State of array before loop: -array(1) { - [0]=> - string(3) "v.0" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 ---> State of array after loop: -array(0) { -} - ----( Array with 2 element(s): )--- ---> State of array before loop: -array(2) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 ---> State of array after loop: -array(0) { -} - ----( Array with 3 element(s): )--- ---> State of array before loop: -array(3) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 ---> State of array after loop: -array(0) { -} - ----( Array with 4 element(s): )--- ---> State of array before loop: -array(4) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(3) "v.3" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 - iteration 3: $k=3; $v=v.3 ---> State of array after loop: -array(0) { -} - - - -Adding elements to the end of an unreferenced array ----( Array with 1 element(s): )--- ---> State of array before loop: -array(1) { - [0]=> - string(3) "v.0" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 ---> State of array after loop: -array(2) { - [0]=> - string(3) "v.0" - [1]=> - string(5) "new.0" -} - ----( Array with 2 element(s): )--- ---> State of array before loop: -array(2) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 ---> State of array after loop: -array(4) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(5) "new.0" - [3]=> - string(5) "new.1" -} - ----( Array with 3 element(s): )--- ---> State of array before loop: -array(3) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 ---> State of array after loop: -array(6) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(5) "new.0" - [4]=> - string(5) "new.1" - [5]=> - string(5) "new.2" -} - ----( Array with 4 element(s): )--- ---> State of array before loop: -array(4) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(3) "v.3" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 - iteration 3: $k=3; $v=v.3 ---> State of array after loop: -array(8) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(3) "v.3" - [4]=> - string(5) "new.0" - [5]=> - string(5) "new.1" - [6]=> - string(5) "new.2" - [7]=> - string(5) "new.3" -} - - - -Adding elements to the start of an unreferenced array ----( Array with 1 element(s): )--- ---> State of array before loop: -array(1) { - [0]=> - string(3) "v.0" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 ---> State of array after loop: -array(2) { - [0]=> - string(5) "new.0" - [1]=> - string(3) "v.0" -} - ----( Array with 2 element(s): )--- ---> State of array before loop: -array(2) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 ---> State of array after loop: -array(4) { - [0]=> - string(5) "new.1" - [1]=> - string(5) "new.0" - [2]=> - string(3) "v.0" - [3]=> - string(3) "v.1" -} - ----( Array with 3 element(s): )--- ---> State of array before loop: -array(3) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 ---> State of array after loop: -array(6) { - [0]=> - string(5) "new.2" - [1]=> - string(5) "new.1" - [2]=> - string(5) "new.0" - [3]=> - string(3) "v.0" - [4]=> - string(3) "v.1" - [5]=> - string(3) "v.2" -} - ----( Array with 4 element(s): )--- ---> State of array before loop: -array(4) { - [0]=> - string(3) "v.0" - [1]=> - string(3) "v.1" - [2]=> - string(3) "v.2" - [3]=> - string(3) "v.3" -} ---> Do loop: - iteration 0: $k=0; $v=v.0 - iteration 1: $k=1; $v=v.1 - iteration 2: $k=2; $v=v.2 - iteration 3: $k=3; $v=v.3 ---> State of array after loop: -array(8) { - [0]=> - string(5) "new.3" - [1]=> - string(5) "new.2" - [2]=> - string(5) "new.1" - [3]=> - string(5) "new.0" - [4]=> - string(3) "v.0" - [5]=> - string(3) "v.1" - [6]=> - string(3) "v.2" - [7]=> - string(3) "v.3" -} diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.017.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.017.php.exp deleted file mode 100644 index 1ebed13a7..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoop.017.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -10 -Done - \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php.exp deleted file mode 100644 index 6f9cb8a01..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php.exp +++ /dev/null @@ -1,64 +0,0 @@ -object(MealIterator)#1 (2) { - ["pos":"MealIterator":private]=> - int(0) - ["myContent":"MealIterator":private]=> - array(3) { - [0]=> - string(9) "breakfast" - [1]=> - string(5) "lunch" - [2]=> - string(6) "dinner" - } -} ------( Simple iteration: )----- ---> MealIterator::rewind (0) ---> MealIterator::valid (0) ---> MealIterator::current (0) ---> MealIterator::key (0) -meal 0 => breakfast ---> MealIterator::next (0) ---> MealIterator::valid (1) ---> MealIterator::current (1) ---> MealIterator::key (1) -meal 1 => lunch ---> MealIterator::next (1) ---> MealIterator::valid (2) ---> MealIterator::current (2) ---> MealIterator::key (2) -meal 2 => dinner ---> MealIterator::next (2) ---> MealIterator::valid (3) ---> MealIterator::rewind (3) - - - ------( Nested iteration: )----- - --> MealIterator::rewind (0) - --> MealIterator::valid (0) - --> MealIterator::current (0) - --> MealIterator::key (0) - -Top level 1: -meal 0 => breakfast - --> MealIterator::rewind (0) - --> MealIterator::valid (0) - --> MealIterator::current (0) - --> MealIterator::key (0) - meal 0 => breakfast - --> MealIterator::next (0) - --> MealIterator::valid (1) - --> MealIterator::current (1) - --> MealIterator::key (1) - meal 1 => lunch - --> MealIterator::next (1) - --> MealIterator::valid (2) - --> MealIterator::current (2) - --> MealIterator::key (2) - meal 2 => dinner - --> MealIterator::next (2) - --> MealIterator::valid (3) - --> MealIterator::next (3) -HipHop Notice: Undefined index: 3 in hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php on line 16 - --> MealIterator::valid (4) -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php.expectf new file mode 100644 index 000000000..ee3d5d98b --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoopIterator.001.php.expectf @@ -0,0 +1,64 @@ +object(MealIterator)#%d (2) { + ["pos":"MealIterator":private]=> + int(0) + ["myContent":"MealIterator":private]=> + array(3) { + [0]=> + string(9) "breakfast" + [1]=> + string(5) "lunch" + [2]=> + string(6) "dinner" + } +} +-----( Simple iteration: )----- +--> MealIterator::rewind (0) +--> MealIterator::valid (0) +--> MealIterator::current (0) +--> MealIterator::key (0) +meal 0 => breakfast +--> MealIterator::next (0) +--> MealIterator::valid (1) +--> MealIterator::current (1) +--> MealIterator::key (1) +meal 1 => lunch +--> MealIterator::next (1) +--> MealIterator::valid (2) +--> MealIterator::current (2) +--> MealIterator::key (2) +meal 2 => dinner +--> MealIterator::next (2) +--> MealIterator::valid (3) +--> MealIterator::rewind (3) + + + +-----( Nested iteration: )----- + --> MealIterator::rewind (0) + --> MealIterator::valid (0) + --> MealIterator::current (0) + --> MealIterator::key (0) + +Top level 1: +meal 0 => breakfast + --> MealIterator::rewind (0) + --> MealIterator::valid (0) + --> MealIterator::current (0) + --> MealIterator::key (0) + meal 0 => breakfast + --> MealIterator::next (0) + --> MealIterator::valid (1) + --> MealIterator::current (1) + --> MealIterator::key (1) + meal 1 => lunch + --> MealIterator::next (1) + --> MealIterator::valid (2) + --> MealIterator::current (2) + --> MealIterator::key (2) + meal 2 => dinner + --> MealIterator::next (2) + --> MealIterator::valid (3) + --> MealIterator::next (3) +HipHop Notice: %a + --> MealIterator::valid (4) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php.exp deleted file mode 100644 index 31c9cecd3..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php.exp +++ /dev/null @@ -1,2 +0,0 @@ ------( Try to iterate with &$value: )----- -HipHop Fatal error: An iterator cannot be used with foreach by reference in hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php on line 15 diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php.expectf new file mode 100644 index 000000000..2cf2316bd --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php.expectf @@ -0,0 +1,2 @@ +-----( Try to iterate with &$value: )----- +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.exp deleted file mode 100644 index 2f8bf6b40..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.exp +++ /dev/null @@ -1,138 +0,0 @@ -object(EuropeanMeals)#1 (2) { - ["storedEnglishMealIterator":"EuropeanMeals":private]=> - object(EnglishMealIterator)#2 (2) { - ["pos":"EnglishMealIterator":private]=> - int(0) - ["myContent":"EnglishMealIterator":private]=> - array(3) { - [0]=> - string(9) "breakfast" - [1]=> - string(6) "dinner" - [2]=> - string(3) "tea" - } - } - ["storedFrenchMealIterator":"EuropeanMeals":private]=> - object(FrenchMealIterator)#3 (2) { - ["pos":"FrenchMealIterator":private]=> - int(0) - ["myContent":"FrenchMealIterator":private]=> - array(4) { - [0]=> - string(14) "petit dejeuner" - [1]=> - string(8) "dejeuner" - [2]=> - string(6) "gouter" - [3]=> - string(6) "dinner" - } - } -} ------( Simple iteration 1: )----- ---> EuropeanMeals::getIterator ---> EnglishMealIterator::rewind (0) ---> EnglishMealIterator::valid (0) ---> EnglishMealIterator::current (0) ---> EnglishMealIterator::key (0) -meal 0 => breakfast ---> EnglishMealIterator::next (0) ---> EnglishMealIterator::valid (1) ---> EnglishMealIterator::current (1) ---> EnglishMealIterator::key (1) -meal 1 => dinner ---> EnglishMealIterator::next (1) ---> EnglishMealIterator::valid (2) ---> EnglishMealIterator::current (2) ---> EnglishMealIterator::key (2) -meal 2 => tea ---> EnglishMealIterator::next (2) ---> EnglishMealIterator::valid (3) ------( Simple iteration 2: )----- ---> EuropeanMeals::getIterator ---> FrenchMealIterator::rewind (0) ---> FrenchMealIterator::valid (0) ---> FrenchMealIterator::current (0) ---> FrenchMealIterator::key (0) -meal 0 => petit dejeuner ---> FrenchMealIterator::next (0) ---> FrenchMealIterator::valid (1) ---> FrenchMealIterator::current (1) ---> FrenchMealIterator::key (1) -meal 1 => dejeuner ---> FrenchMealIterator::next (1) ---> FrenchMealIterator::valid (2) ---> FrenchMealIterator::current (2) ---> FrenchMealIterator::key (2) -meal 2 => gouter ---> FrenchMealIterator::next (2) ---> FrenchMealIterator::valid (3) ---> FrenchMealIterator::current (3) ---> FrenchMealIterator::key (3) -meal 3 => dinner ---> FrenchMealIterator::next (3) ---> FrenchMealIterator::valid (4) - - - ------( Nested iteration: )----- - --> EuropeanMeals::getIterator - --> EnglishMealIterator::rewind (3) - --> EnglishMealIterator::valid (0) - --> EnglishMealIterator::current (0) - --> EnglishMealIterator::key (0) - -Top level 1: -meal 0 => breakfast - --> EuropeanMeals::getIterator - --> FrenchMealIterator::rewind (4) - --> FrenchMealIterator::valid (0) - --> FrenchMealIterator::current (0) - --> FrenchMealIterator::key (0) - meal 0 => petit dejeuner - --> FrenchMealIterator::next (0) - --> FrenchMealIterator::valid (1) - --> FrenchMealIterator::current (1) - --> FrenchMealIterator::key (1) - meal 1 => dejeuner - --> FrenchMealIterator::next (1) - --> FrenchMealIterator::valid (2) - --> FrenchMealIterator::current (2) - --> FrenchMealIterator::key (2) - meal 2 => gouter - --> FrenchMealIterator::next (2) - --> FrenchMealIterator::valid (3) - --> FrenchMealIterator::current (3) - --> FrenchMealIterator::key (3) - meal 3 => dinner - --> FrenchMealIterator::next (3) - --> FrenchMealIterator::valid (4) - --> EnglishMealIterator::next (0) - --> EnglishMealIterator::valid (1) - --> EnglishMealIterator::current (1) - --> EnglishMealIterator::key (1) - -Top level 2: -meal 1 => dinner - --> EuropeanMeals::getIterator - --> EnglishMealIterator::rewind (1) - --> EnglishMealIterator::valid (0) - --> EnglishMealIterator::current (0) - --> EnglishMealIterator::key (0) - meal 0 => breakfast - --> EnglishMealIterator::next (0) - --> EnglishMealIterator::valid (1) - --> EnglishMealIterator::current (1) - --> EnglishMealIterator::key (1) - meal 1 => dinner - --> EnglishMealIterator::next (1) - --> EnglishMealIterator::valid (2) - --> EnglishMealIterator::current (2) - --> EnglishMealIterator::key (2) - meal 2 => tea - --> EnglishMealIterator::next (2) - --> EnglishMealIterator::valid (3) - --> EnglishMealIterator::next (3) - --> EnglishMealIterator::valid (4) -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.expectf b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.expectf new file mode 100644 index 000000000..551c8dfe6 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.expectf @@ -0,0 +1,138 @@ +object(EuropeanMeals)#%d (2) { + ["storedEnglishMealIterator":"EuropeanMeals":private]=> + object(EnglishMealIterator)#%d (2) { + ["pos":"EnglishMealIterator":private]=> + int(0) + ["myContent":"EnglishMealIterator":private]=> + array(3) { + [0]=> + string(9) "breakfast" + [1]=> + string(6) "dinner" + [2]=> + string(3) "tea" + } + } + ["storedFrenchMealIterator":"EuropeanMeals":private]=> + object(FrenchMealIterator)#%d (2) { + ["pos":"FrenchMealIterator":private]=> + int(0) + ["myContent":"FrenchMealIterator":private]=> + array(4) { + [0]=> + string(14) "petit dejeuner" + [1]=> + string(8) "dejeuner" + [2]=> + string(6) "gouter" + [3]=> + string(6) "dinner" + } + } +} +-----( Simple iteration 1: )----- +--> EuropeanMeals::getIterator +--> EnglishMealIterator::rewind (0) +--> EnglishMealIterator::valid (0) +--> EnglishMealIterator::current (0) +--> EnglishMealIterator::key (0) +meal 0 => breakfast +--> EnglishMealIterator::next (0) +--> EnglishMealIterator::valid (1) +--> EnglishMealIterator::current (1) +--> EnglishMealIterator::key (1) +meal 1 => dinner +--> EnglishMealIterator::next (1) +--> EnglishMealIterator::valid (2) +--> EnglishMealIterator::current (2) +--> EnglishMealIterator::key (2) +meal 2 => tea +--> EnglishMealIterator::next (2) +--> EnglishMealIterator::valid (3) +-----( Simple iteration 2: )----- +--> EuropeanMeals::getIterator +--> FrenchMealIterator::rewind (0) +--> FrenchMealIterator::valid (0) +--> FrenchMealIterator::current (0) +--> FrenchMealIterator::key (0) +meal 0 => petit dejeuner +--> FrenchMealIterator::next (0) +--> FrenchMealIterator::valid (1) +--> FrenchMealIterator::current (1) +--> FrenchMealIterator::key (1) +meal 1 => dejeuner +--> FrenchMealIterator::next (1) +--> FrenchMealIterator::valid (2) +--> FrenchMealIterator::current (2) +--> FrenchMealIterator::key (2) +meal 2 => gouter +--> FrenchMealIterator::next (2) +--> FrenchMealIterator::valid (3) +--> FrenchMealIterator::current (3) +--> FrenchMealIterator::key (3) +meal 3 => dinner +--> FrenchMealIterator::next (3) +--> FrenchMealIterator::valid (4) + + + +-----( Nested iteration: )----- + --> EuropeanMeals::getIterator + --> EnglishMealIterator::rewind (3) + --> EnglishMealIterator::valid (0) + --> EnglishMealIterator::current (0) + --> EnglishMealIterator::key (0) + +Top level 1: +meal 0 => breakfast + --> EuropeanMeals::getIterator + --> FrenchMealIterator::rewind (4) + --> FrenchMealIterator::valid (0) + --> FrenchMealIterator::current (0) + --> FrenchMealIterator::key (0) + meal 0 => petit dejeuner + --> FrenchMealIterator::next (0) + --> FrenchMealIterator::valid (1) + --> FrenchMealIterator::current (1) + --> FrenchMealIterator::key (1) + meal 1 => dejeuner + --> FrenchMealIterator::next (1) + --> FrenchMealIterator::valid (2) + --> FrenchMealIterator::current (2) + --> FrenchMealIterator::key (2) + meal 2 => gouter + --> FrenchMealIterator::next (2) + --> FrenchMealIterator::valid (3) + --> FrenchMealIterator::current (3) + --> FrenchMealIterator::key (3) + meal 3 => dinner + --> FrenchMealIterator::next (3) + --> FrenchMealIterator::valid (4) + --> EnglishMealIterator::next (0) + --> EnglishMealIterator::valid (1) + --> EnglishMealIterator::current (1) + --> EnglishMealIterator::key (1) + +Top level 2: +meal 1 => dinner + --> EuropeanMeals::getIterator + --> EnglishMealIterator::rewind (1) + --> EnglishMealIterator::valid (0) + --> EnglishMealIterator::current (0) + --> EnglishMealIterator::key (0) + meal 0 => breakfast + --> EnglishMealIterator::next (0) + --> EnglishMealIterator::valid (1) + --> EnglishMealIterator::current (1) + --> EnglishMealIterator::key (1) + meal 1 => dinner + --> EnglishMealIterator::next (1) + --> EnglishMealIterator::valid (2) + --> EnglishMealIterator::current (2) + --> EnglishMealIterator::key (2) + meal 2 => tea + --> EnglishMealIterator::next (2) + --> EnglishMealIterator::valid (3) + --> EnglishMealIterator::next (3) + --> EnglishMealIterator::valid (4) +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php.exp deleted file mode 100644 index 3714a5bb6..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php.exp +++ /dev/null @@ -1,58 +0,0 @@ - ------( A1: )----- ---> EnglishMealIterator::rewind (0) ---> EnglishMealIterator::valid (0) ---> EnglishMealIterator::current (0) ---> EnglishMealIterator::key (0) -meal 0 => breakfast ---> EnglishMealIterator::next (0) ---> EnglishMealIterator::valid (1) ---> EnglishMealIterator::current (1) ---> EnglishMealIterator::key (1) -meal 1 => dinner ---> EnglishMealIterator::next (1) ---> EnglishMealIterator::valid (2) ---> EnglishMealIterator::current (2) ---> EnglishMealIterator::key (2) -meal 2 => tea ---> EnglishMealIterator::next (2) ---> EnglishMealIterator::valid (3) - ------( A2: )----- ---> EnglishMealIterator::rewind (0) ---> EnglishMealIterator::valid (0) ---> EnglishMealIterator::current (0) ---> EnglishMealIterator::key (0) -meal 0 => breakfast ---> EnglishMealIterator::next (0) ---> EnglishMealIterator::valid (1) ---> EnglishMealIterator::current (1) ---> EnglishMealIterator::key (1) -meal 1 => dinner ---> EnglishMealIterator::next (1) ---> EnglishMealIterator::valid (2) ---> EnglishMealIterator::current (2) ---> EnglishMealIterator::key (2) -meal 2 => tea ---> EnglishMealIterator::next (2) ---> EnglishMealIterator::valid (3) - ------( A3: )----- ---> EnglishMealIterator::rewind (0) ---> EnglishMealIterator::valid (0) ---> EnglishMealIterator::current (0) ---> EnglishMealIterator::key (0) -meal 0 => breakfast ---> EnglishMealIterator::next (0) ---> EnglishMealIterator::valid (1) ---> EnglishMealIterator::current (1) ---> EnglishMealIterator::key (1) -meal 1 => dinner ---> EnglishMealIterator::next (1) ---> EnglishMealIterator::valid (2) ---> EnglishMealIterator::current (2) ---> EnglishMealIterator::key (2) -meal 2 => tea ---> EnglishMealIterator::next (2) ---> EnglishMealIterator::valid (3) -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.004.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.004.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.004.php.exp rename to hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.004.php.expectf diff --git a/hphp/test/zend/good/tests-lang/foreachLoopObjects.001.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopObjects.001.php.exp deleted file mode 100644 index 8ee02ac37..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopObjects.001.php.exp +++ /dev/null @@ -1,32 +0,0 @@ - - -Simple loop. -string(10) "Original a" -string(10) "Original b" -string(10) "Original c" -string(1) "a" -string(10) "Original a" -string(1) "b" -string(10) "Original b" -string(1) "c" -string(10) "Original c" - -Check key and value after the loop. -string(1) "c" -string(10) "Original c" - - -Object instantiated inside loop. -string(10) "Original a" -string(10) "Original b" -string(10) "Original c" -string(1) "a" -string(10) "Original a" -string(1) "b" -string(10) "Original b" -string(1) "c" -string(10) "Original c" - -Check key and value after the loop. -string(1) "c" -string(10) "Original c" diff --git a/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php.exp deleted file mode 100644 index 43fbe8e8b..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php.exp +++ /dev/null @@ -1,21 +0,0 @@ - -Removing the current element from an iterated object. -string(10) "Original a" -string(10) "Original b" -HipHop Notice: Undefined property: C::$b in hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php on line 15 -string(10) "Original c" -HipHop Notice: Undefined property: C::$b in hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php on line 15 -string(10) "Original d" -HipHop Notice: Undefined property: C::$b in hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php on line 15 -string(10) "Original e" -object(C)#1 (4) { - ["a"]=> - string(10) "Original a" - ["c"]=> - string(10) "Original c" - ["d"]=> - string(10) "Original d" - ["e"]=> - string(10) "Original e" -} -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreach_with_object_001.php.exp b/hphp/test/zend/good/tests-lang/foreach_with_object_001.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/foreach_with_object_001.php.exp rename to hphp/test/zend/good/tests-lang/foreach_with_object_001.php.expectf diff --git a/hphp/test/zend/good/tests-lang/foreach_with_references_001.php.exp b/hphp/test/zend/good/tests-lang/foreach_with_references_001.php.exp deleted file mode 100644 index 23d74bf6d..000000000 --- a/hphp/test/zend/good/tests-lang/foreach_with_references_001.php.exp +++ /dev/null @@ -1,12 +0,0 @@ -Array -( - [1] => one - [2] => two - [3] => three -) -Array -( - [1] => 1 - [2] => 2 - [3] => 3 -) diff --git a/hphp/test/zend/good/tests-lang/foreach_with_references_001.php.expectf b/hphp/test/zend/good/tests-lang/foreach_with_references_001.php.expectf new file mode 100644 index 000000000..a7f697fc5 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreach_with_references_001.php.expectf @@ -0,0 +1,12 @@ +Array +( + [1] => one + [2] => two + [3] => three +) +Array +( + [1] => 1 + [2] => 2 + [3] => 3 +) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_get_arg.002.php.exp b/hphp/test/zend/good/tests-lang/func_get_arg.002.php.exp deleted file mode 100644 index 5c8ce7e67..000000000 --- a/hphp/test/zend/good/tests-lang/func_get_arg.002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -int(3) -int(3) - diff --git a/hphp/test/zend/good/tests-lang/func_get_arg.004.php.exp b/hphp/test/zend/good/tests-lang/func_get_arg.004.php.exp deleted file mode 100644 index 9c581f1bd..000000000 --- a/hphp/test/zend/good/tests-lang/func_get_arg.004.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Warning: func_get_arg(): Argument 2 not passed to function in hphp/test/zend/good/tests-lang/func_get_arg.004.php on line 5 -bool(false) - diff --git a/hphp/test/zend/good/tests-lang/func_get_arg.005.php.exp b/hphp/test/zend/good/tests-lang/func_get_arg.005.php.exp deleted file mode 100644 index 92e3e1c9b..000000000 --- a/hphp/test/zend/good/tests-lang/func_get_arg.005.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -string(10) "original.a" -string(10) "original.a" diff --git a/hphp/test/zend/good/tests-lang/func_get_arg.005.php.expectf b/hphp/test/zend/good/tests-lang/func_get_arg.005.php.expectf new file mode 100644 index 000000000..134cebcc6 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/func_get_arg.005.php.expectf @@ -0,0 +1,2 @@ +string(10) "original.a" +string(10) "original.a" \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_get_args.001.php.exp b/hphp/test/zend/good/tests-lang/func_get_args.001.php.exp deleted file mode 100644 index 63a30c0d8..000000000 --- a/hphp/test/zend/good/tests-lang/func_get_args.001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -array(0) { -} diff --git a/hphp/test/zend/good/tests-lang/func_get_args.001.php.expectf b/hphp/test/zend/good/tests-lang/func_get_args.001.php.expectf new file mode 100644 index 000000000..82beeb215 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/func_get_args.001.php.expectf @@ -0,0 +1,2 @@ +array(0) { +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_get_args.002.php.exp b/hphp/test/zend/good/tests-lang/func_get_args.002.php.exp deleted file mode 100644 index 468e3cd42..000000000 --- a/hphp/test/zend/good/tests-lang/func_get_args.002.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} diff --git a/hphp/test/zend/good/tests-lang/func_get_args.002.php.expectf b/hphp/test/zend/good/tests-lang/func_get_args.002.php.expectf new file mode 100644 index 000000000..764fe4a92 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/func_get_args.002.php.expectf @@ -0,0 +1,8 @@ +array(3) { + [0]=> + int(1) + [1]=> + int(2) + [2]=> + int(3) +} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_num_args.001.php.exp b/hphp/test/zend/good/tests-lang/func_num_args.001.php.exp deleted file mode 100644 index 0bcaa956f..000000000 --- a/hphp/test/zend/good/tests-lang/func_num_args.001.php.exp +++ /dev/null @@ -1 +0,0 @@ -int(0) diff --git a/hphp/test/zend/good/tests-lang/func_num_args.001.php.expectf b/hphp/test/zend/good/tests-lang/func_num_args.001.php.expectf new file mode 100644 index 000000000..28fe0105d --- /dev/null +++ b/hphp/test/zend/good/tests-lang/func_num_args.001.php.expectf @@ -0,0 +1 @@ +int(0) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_num_args.002.php.exp b/hphp/test/zend/good/tests-lang/func_num_args.002.php.exp deleted file mode 100644 index 91ccc006f..000000000 --- a/hphp/test/zend/good/tests-lang/func_num_args.002.php.exp +++ /dev/null @@ -1 +0,0 @@ -int(3) diff --git a/hphp/test/zend/good/tests-lang/func_num_args.002.php.expectf b/hphp/test/zend/good/tests-lang/func_num_args.002.php.expectf new file mode 100644 index 000000000..fa7276a82 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/func_num_args.002.php.expectf @@ -0,0 +1 @@ +int(3) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/func_num_args.004.php.exp b/hphp/test/zend/good/tests-lang/func_num_args.004.php.exp deleted file mode 100644 index 302160c70..000000000 --- a/hphp/test/zend/good/tests-lang/func_num_args.004.php.exp +++ /dev/null @@ -1,16 +0,0 @@ - - --- Val, Ref -- -string(10) "original.a" -string(10) "original.a" -int(2) -int(2) -string(9) "changed.y" - - --- Ref, Val -- -string(10) "original.b" -string(10) "original.b" -int(2) -int(2) -string(9) "changed.x" diff --git a/hphp/test/zend/good/tests-lang/passByReference_001.php.exp b/hphp/test/zend/good/tests-lang/passByReference_001.php.exp deleted file mode 100644 index 60cb8e7bf..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_001.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -int(7) -int(15) -int(7) -int(16) -array(1) { - [0]=> - &int(1) -} -int(1) diff --git a/hphp/test/zend/good/tests-lang/passByReference_001.php.expectf b/hphp/test/zend/good/tests-lang/passByReference_001.php.expectf new file mode 100644 index 000000000..a8557d115 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/passByReference_001.php.expectf @@ -0,0 +1,9 @@ +int(7) +int(15) +int(7) +int(16) +array(1) { + [0]=> + &int(1) +} +int(1) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/passByReference_002.php.exp b/hphp/test/zend/good/tests-lang/passByReference_002.php.exp deleted file mode 100644 index 355ec4217..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot pass parameter 1 by reference in hphp/test/zend/good/tests-lang/passByReference_002.php on line 8 diff --git a/hphp/test/zend/good/tests-lang/passByReference_002.php.expectf b/hphp/test/zend/good/tests-lang/passByReference_002.php.expectf new file mode 100644 index 000000000..3dad4aedf --- /dev/null +++ b/hphp/test/zend/good/tests-lang/passByReference_002.php.expectf @@ -0,0 +1 @@ +HipHop Fatal error: %a \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/passByReference_003.php.exp b/hphp/test/zend/good/tests-lang/passByReference_003.php.exp deleted file mode 100644 index 6f268806a..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_003.php.exp +++ /dev/null @@ -1,21 +0,0 @@ - -Passing undefined by value -HipHop Notice: Undefined variable: undef1 in hphp/test/zend/good/tests-lang/passByReference_003.php on line 13 - -Inside passbyVal call: -NULL - -After call -HipHop Notice: Undefined variable: undef1 in hphp/test/zend/good/tests-lang/passByReference_003.php on line 15 -NULL - -Passing undefined by reference - -Inside passbyRef call: -NULL - -After call -array(1) { - [0]=> - NULL -} diff --git a/hphp/test/zend/good/tests-lang/passByReference_008.php.exp b/hphp/test/zend/good/tests-lang/passByReference_008.php.exp deleted file mode 100644 index 5531f9899..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_008.php.exp +++ /dev/null @@ -1,12 +0,0 @@ - - --- Val, Ref -- -string(10) "original.a" -string(10) "original.a" -string(9) "changed.y" - - --- Ref, Val -- -string(10) "original.b" -string(10) "original.b" -string(9) "changed.x" diff --git a/hphp/test/zend/good/tests-lang/passByReference_009.php.exp b/hphp/test/zend/good/tests-lang/passByReference_009.php.expectf similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_009.php.exp rename to hphp/test/zend/good/tests-lang/passByReference_009.php.expectf diff --git a/hphp/test/zend/good/tests-lang/returnByReference.001.php.exp b/hphp/test/zend/good/tests-lang/returnByReference.001.php.exp deleted file mode 100644 index 14ca2e2c1..000000000 --- a/hphp/test/zend/good/tests-lang/returnByReference.001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -int(7) -int(8) diff --git a/hphp/test/zend/good/tests-lang/returnByReference.001.php.expectf b/hphp/test/zend/good/tests-lang/returnByReference.001.php.expectf new file mode 100644 index 000000000..013eeaa95 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/returnByReference.001.php.expectf @@ -0,0 +1,2 @@ +int(7) +int(8) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/script_tag.php.exp b/hphp/test/zend/good/tests-lang/script_tag.php.exp deleted file mode 100644 index 7d22068c0..000000000 --- a/hphp/test/zend/good/tests-lang/script_tag.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -ola -ola2 -ola3 -texto