diff --git a/hphp/test/zend/good/tests-basic/bug45986.php b/hphp/test/zend/bad/tests-basic/bug45986.php similarity index 100% rename from hphp/test/zend/good/tests-basic/bug45986.php rename to hphp/test/zend/bad/tests-basic/bug45986.php diff --git a/hphp/test/zend/bad/tests-basic/bug45986.php.exp b/hphp/test/zend/bad/tests-basic/bug45986.php.exp new file mode 100644 index 000000000..808b3d465 --- /dev/null +++ b/hphp/test/zend/bad/tests-basic/bug45986.php.exp @@ -0,0 +1,3 @@ +HipHop\ Warning\:\ [^ +]+\ in\ [^ +]+bug45986\.php\ on\ line\ 2 \ 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 index 6f819cf3c..e20ee06a1 100644 --- a/hphp/test/zend/bad/tests-basic/bug51709_1.php.exp +++ b/hphp/test/zend/bad/tests-basic/bug51709_1.php.exp @@ -1 +1,4 @@ -Parse error: syntax error, unexpected %s, expecting %s in %sbug51709_1.php on line %d +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_2.php.exp b/hphp/test/zend/bad/tests-basic/bug51709_2.php.exp index df02b4dfb..3743b17ee 100644 --- a/hphp/test/zend/bad/tests-basic/bug51709_2.php.exp +++ b/hphp/test/zend/bad/tests-basic/bug51709_2.php.exp @@ -1 +1,4 @@ -Parse error: syntax error, unexpected %s, expecting %s in %sbug51709_2.php on line %d +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/bug54514.php.exp b/hphp/test/zend/bad/tests-basic/bug54514.php.exp index 19f86f493..348ebd949 100644 --- a/hphp/test/zend/bad/tests-basic/bug54514.php.exp +++ b/hphp/test/zend/bad/tests-basic/bug54514.php.exp @@ -1 +1 @@ -done +done \ No newline at end of file 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.exp index 1f824b18b..b9aedf479 100644 --- 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.exp @@ -1 +1 @@ -PHPE9568F36-D428-11d2-A769-00AA001ACF42 +PHPE9568F36-D428-11d2-A769-00AA001ACF42 \ No newline at end of file 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.exp index ffb6a4dab..a19f93d28 100644 --- a/hphp/test/zend/bad/tests-basic/zend_logo_guid.php.exp +++ b/hphp/test/zend/bad/tests-basic/zend_logo_guid.php.exp @@ -1 +1 @@ -PHPE9568F35-D428-11d2-A769-00AA001ACF42 +PHPE9568F35-D428-11d2-A769-00AA001ACF42 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/__call_002.php.exp b/hphp/test/zend/bad/tests-classes/__call_002.php.exp deleted file mode 100644 index effb9c2a9..000000000 --- a/hphp/test/zend/bad/tests-classes/__call_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d diff --git a/hphp/test/zend/bad/tests-classes/__call_005.php.exp b/hphp/test/zend/bad/tests-classes/__call_005.php.exp index 52101ec1d..0fe1f24e4 100644 --- a/hphp/test/zend/bad/tests-classes/__call_005.php.exp +++ b/hphp/test/zend/bad/tests-classes/__call_005.php.exp @@ -1,13 +1,14 @@ -HipHop Warning: The magic method __call() must have public visibility and cannot be static in %s__call_005.php on line 3 -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) { -} +HipHop\ Warning\:\ The\ magic\ method\ \_\_call\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ [^ +]+\_\_call\_005\.php\ on\ line\ 3\ +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 index f29c8b102..c1f611b91 100644 --- a/hphp/test/zend/bad/tests-classes/__call_007.php.exp +++ b/hphp/test/zend/bad/tests-classes/__call_007.php.exp @@ -1,20 +1,20 @@ -HipHop Warning: The magic method __call() must have public visibility and cannot be static in hphp/test/zend/bad/tests-classes/__call_007.php on line 3 ----> 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 +HipHop\ Warning\:\ The\ magic\ method\ \_\_call\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/tests\-classes\/\_\_call\_007\.php\ on\ line\ 3\ +\-\-\-\>\ 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/__set__get_002.php.exp b/hphp/test/zend/bad/tests-classes/__set__get_002.php.exp deleted file mode 100644 index 4ea1469ad..000000000 --- a/hphp/test/zend/bad/tests-classes/__set__get_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method Test::__get() must take exactly 1 argument in %s__set__get_002.php on line %d diff --git a/hphp/test/zend/bad/tests-classes/__set__get_003.php.exp b/hphp/test/zend/bad/tests-classes/__set__get_003.php.exp deleted file mode 100644 index 3f3c30be3..000000000 --- a/hphp/test/zend/bad/tests-classes/__set__get_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method Test::__set() must take exactly 2 arguments in %s__set__get_003.php on line %d diff --git a/hphp/test/zend/bad/tests-classes/abstract_by_interface_001.php.exp b/hphp/test/zend/bad/tests-classes/abstract_by_interface_001.php.exp index 8d96218b8..9b13dbdc8 100644 --- a/hphp/test/zend/bad/tests-classes/abstract_by_interface_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/abstract_by_interface_001.php.exp @@ -1,3 +1,4 @@ -object(Leaf)#%d (0) { -} -HipHop Fatal error: Class Fails contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (MyInterface::MyInterfaceFunc) in %sabstract_by_interface_001.php on line %d +object\(Leaf\)\#\d+\ \(0\)\ \{\ +\}\ +HipHop\ Fatal\ error\:\ Class\ Fails\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(MyInterface\:\:MyInterfaceFunc\)\ in\ [^ +]+abstract\_by\_interface\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/abstract_by_interface_002.php.exp b/hphp/test/zend/bad/tests-classes/abstract_by_interface_002.php.exp index 91d7b0863..1c15da42d 100644 --- a/hphp/test/zend/bad/tests-classes/abstract_by_interface_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/abstract_by_interface_002.php.exp @@ -1,3 +1,4 @@ -object(Leaf)#%d (0) { -} -HipHop Fatal error: Class Fails contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (MyInterface::MyInterfaceFunc) in %sabstract_by_interface_002.php on line %d +object\(Leaf\)\#\d+\ \(0\)\ \{\ +\}\ +HipHop\ Fatal\ error\:\ Class\ Fails\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(MyInterface\:\:MyInterfaceFunc\)\ in\ [^ +]+abstract\_by\_interface\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_derived.php b/hphp/test/zend/bad/tests-classes/abstract_derived.php similarity index 100% rename from hphp/test/zend/good/tests-classes/abstract_derived.php rename to hphp/test/zend/bad/tests-classes/abstract_derived.php diff --git a/hphp/test/zend/bad/tests-classes/abstract_derived.php.exp b/hphp/test/zend/bad/tests-classes/abstract_derived.php.exp new file mode 100644 index 000000000..2b6f148c8 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/abstract_derived.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Class\ derived\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(derived\:\:show\)\ in\ [^ +]+abstract\_derived\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_final.php b/hphp/test/zend/bad/tests-classes/abstract_final.php similarity index 100% rename from hphp/test/zend/good/tests-classes/abstract_final.php rename to hphp/test/zend/bad/tests-classes/abstract_final.php diff --git a/hphp/test/zend/bad/tests-classes/abstract_final.php.exp b/hphp/test/zend/bad/tests-classes/abstract_final.php.exp new file mode 100644 index 000000000..dd20dfd51 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/abstract_final.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ use\ the\ final\ modifier\ on\ an\ abstract\ class\ member\ in\ hphp\/test\/zend\/bad\/tests\-classes\/abstract\_final\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/abstract_not_declared.php.exp b/hphp/test/zend/bad/tests-classes/abstract_not_declared.php.exp index bd7551333..40ec060eb 100644 --- a/hphp/test/zend/bad/tests-classes/abstract_not_declared.php.exp +++ b/hphp/test/zend/bad/tests-classes/abstract_not_declared.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (fail::show) in hphp/test/zend/bad/tests-classes/abstract_not_declared.php on line %d +HipHop\ Fatal\ error\:\ Class\ fail\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(fail\:\:show\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/abstract\_not\_declared\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_redeclare.php b/hphp/test/zend/bad/tests-classes/abstract_redeclare.php similarity index 100% rename from hphp/test/zend/good/tests-classes/abstract_redeclare.php rename to hphp/test/zend/bad/tests-classes/abstract_redeclare.php diff --git a/hphp/test/zend/bad/tests-classes/abstract_redeclare.php.exp b/hphp/test/zend/bad/tests-classes/abstract_redeclare.php.exp new file mode 100644 index 000000000..401e617d7 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/abstract_redeclare.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Class\ fail\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(fail\:\:show\)\ in\ [^ +]+abstract\_redeclare\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/abstract_static.php b/hphp/test/zend/bad/tests-classes/abstract_static.php similarity index 100% rename from hphp/test/zend/good/tests-classes/abstract_static.php rename to hphp/test/zend/bad/tests-classes/abstract_static.php diff --git a/hphp/test/zend/bad/tests-classes/abstract_static.php.exp b/hphp/test/zend/bad/tests-classes/abstract_static.php.exp new file mode 100644 index 000000000..ba9bfe1a5 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/abstract_static.php.exp @@ -0,0 +1,6 @@ +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\:\ Class\ fail\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(fail\:\:func\)\ in\ [^ +]+abstract\_static\.php\(\d+\)\ \:\ eval\(\)\'d\ code\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_001.php.exp b/hphp/test/zend/bad/tests-classes/array_access_001.php.exp index ffd4de335..84654586d 100644 --- a/hphp/test/zend/bad/tests-classes/array_access_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/array_access_001.php.exp @@ -1,110 +1,112 @@ -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 %sarray_access_001.php on line %d -NULL -object::offsetGet(6) -HipHop Notice: Undefined offset: 6 in %sarray_access_001.php on line %d -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=== +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\ [^ +]+array\_access\_001\.php\ on\ line\ \d+\ +NULL\ +object\:\:offsetGet\(6\)\ +HipHop\ Notice\:\ Undefined\ offset\:\ 6\ in\ [^ +]+array\_access\_001\.php\ on\ line\ \d+\ +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/bad/tests-classes/array_access_002.php.exp b/hphp/test/zend/bad/tests-classes/array_access_002.php.exp index 003b93749..9166b9164 100644 --- a/hphp/test/zend/bad/tests-classes/array_access_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/array_access_002.php.exp @@ -1,110 +1,112 @@ -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 %sarray_access_002.php on line %d -NULL -object::offsetGet(6) -HipHop Notice: Undefined offset: 6 in %sarray_access_002.php on line %d -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=== +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\ [^ +]+array\_access\_002\.php\ on\ line\ \d+\ +NULL\ +object\:\:offsetGet\(6\)\ +HipHop\ Notice\:\ Undefined\ offset\:\ 6\ in\ [^ +]+array\_access\_002\.php\ on\ line\ \d+\ +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_004.php b/hphp/test/zend/bad/tests-classes/array_access_004.php similarity index 100% rename from hphp/test/zend/good/tests-classes/array_access_004.php rename to hphp/test/zend/bad/tests-classes/array_access_004.php 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 new file mode 100644 index 000000000..2f6802d70 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_004.php.exp @@ -0,0 +1,10 @@ +object\:\:offsetGet\(1\)\ +string\(6\)\ \"fooBar\"\ +object\:\:offsetGet\(2\)\ +int\(1\)\ +object\:\:offsetGet\(2\)\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ element\ of\ object\ has\ no\ effect\ in\ [^ +]+array\_access\_004\.php\ on\ line\ 39\ +object\:\:offsetGet\(2\)\ +int\(1\)\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_005.php b/hphp/test/zend/bad/tests-classes/array_access_005.php similarity index 100% rename from hphp/test/zend/good/tests-classes/array_access_005.php rename to hphp/test/zend/bad/tests-classes/array_access_005.php 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 new file mode 100644 index 000000000..e362bc816 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_005.php.exp @@ -0,0 +1,21 @@ +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\:\ Indirect\ modification\ of\ overloaded\ element\ of\ Peoples\ has\ no\ effect\ in\ [^ +]+array\_access\_005\.php\ on\ line\ 46\ +string\(6\)\ \"JoeFoo\"\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ element\ of\ Peoples\ has\ no\ effect\ in\ [^ +]+array\_access\_005\.php\ on\ line\ 48\ +string\(6\)\ \"JoeFoo\"\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_008.php b/hphp/test/zend/bad/tests-classes/array_access_008.php similarity index 100% rename from hphp/test/zend/good/tests-classes/array_access_008.php rename to hphp/test/zend/bad/tests-classes/array_access_008.php 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 new file mode 100644 index 000000000..baca8db38 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_008.php.exp @@ -0,0 +1,15 @@ +string\(3\)\ \"Foo\"\ +string\(6\)\ \"FooBar\"\ +string\(9\)\ \"FooBarBaz\"\ +\=\=\=ArrayOverloading\=\=\=\ +string\(3\)\ \"Foo\"\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ element\ of\ Peoples\ has\ no\ effect\ in\ [^ +]+array\_access\_008\.php\ on\ line\ 40\ +string\(3\)\ \"Foo\"\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ element\ of\ Peoples\ has\ no\ effect\ in\ [^ +]+array\_access\_008\.php\ on\ line\ 42\ +string\(3\)\ \"Foo\"\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ element\ of\ Peoples\ has\ no\ effect\ in\ [^ +]+array\_access\_008\.php\ on\ line\ 44\ +string\(3\)\ \"Foo\"\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_012.php b/hphp/test/zend/bad/tests-classes/array_access_012.php similarity index 100% rename from hphp/test/zend/good/tests-classes/array_access_012.php rename to hphp/test/zend/bad/tests-classes/array_access_012.php 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 new file mode 100644 index 000000000..030fb8fbf --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/array_access_012.php.exp @@ -0,0 +1,4 @@ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ element\ of\ ArrayAccessImpl\ has\ no\ effect\ in\ [^ +]+array\_access\_012\.php\ on\ line\ 24\ +HipHop\ Fatal\ error\:\ Cannot\ assign\ by\ reference\ to\ overloaded\ object\ in\ [^ +]+array\_access\_012\.php\ on\ line\ 24 \ 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.exp index 4f08d8076..4bdab2248 100644 --- a/hphp/test/zend/bad/tests-classes/arrayobject_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/arrayobject_001.php.exp @@ -1 +1 @@ -bar1bar +bar1bar \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_001.php.exp b/hphp/test/zend/bad/tests-classes/autoload_001.php.exp index b823f0259..f328ce541 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_001.php.exp @@ -1,3 +1,3 @@ __autoload(autoload_root) bool(true) -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_002.php.exp b/hphp/test/zend/bad/tests-classes/autoload_002.php.exp index 1404ed8af..1ba22cdb9 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_002.php.exp @@ -3,4 +3,4 @@ array(1) { [0]=> string(12) "testFunction" } -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_003.php.exp b/hphp/test/zend/bad/tests-classes/autoload_003.php.exp index bc16f03fc..cb2c3e7bf 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_003.php.exp @@ -1,4 +1,4 @@ __autoload(autoload_root) __autoload(autoload_derived) bool(true) -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_004.php.exp b/hphp/test/zend/bad/tests-classes/autoload_004.php.exp index 800408493..8ffece828 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_004.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_004.php.exp @@ -3,4 +3,4 @@ bool(false) __autoload(autoload_root) __autoload(autoload_derived) bool(true) -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_005.php.exp b/hphp/test/zend/bad/tests-classes/autoload_005.php.exp index b189f9b15..37eeb3ffd 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_005.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_005.php.exp @@ -1,10 +1,10 @@ -bool(false) -bool(false) -Test::__destruct -bool(false) -bool(false) -__autoload(autoload_root) -__autoload(autoload_derived) -object(autoload_derived)#%d (0) { -} -===DONE=== +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 index 59d5b1237..8436d4c0a 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_006.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_006.php.exp @@ -1,10 +1,10 @@ -bool(false) -bool(false) -__autoload(autoload_interface) -__autoload(Autoload_Implements) -object(autoload_implements)#%d (0) { -} -bool(true) -bool(true) -bool(true) -===DONE=== +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/good/tests-classes/autoload_009.php b/hphp/test/zend/bad/tests-classes/autoload_009.php similarity index 100% rename from hphp/test/zend/good/tests-classes/autoload_009.php rename to hphp/test/zend/bad/tests-classes/autoload_009.php diff --git a/hphp/test/zend/bad/tests-classes/autoload_009.php.exp b/hphp/test/zend/bad/tests-classes/autoload_009.php.exp new file mode 100644 index 000000000..b57294b3d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/autoload_009.php.exp @@ -0,0 +1,2 @@ +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_010.php.exp b/hphp/test/zend/bad/tests-classes/autoload_010.php.exp index a7d66be54..f83ce845e 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_010.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_010.php.exp @@ -1,2 +1,2 @@ -In autoload: string(6) "UndefI" -HipHop Fatal error: Interface 'UndefI' not found in hphp/test/zend/bad/tests-classes/autoload_010.php on line %d +In\ autoload\:\ string\(6\)\ \"UndefI\"\ +HipHop\ Fatal\ error\:\ Interface\ \'UndefI\'\ not\ found\ in\ hphp\/test\/zend\/bad\/tests\-classes\/autoload\_010\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_011.php.exp b/hphp/test/zend/bad/tests-classes/autoload_011.php.exp index 94efeee8e..cdfd5e8c1 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_011.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_011.php.exp @@ -1,2 +1,2 @@ -In autoload: string(9) "UndefBase" -HipHop Fatal error: Class 'UndefBase' not found in hphp/test/zend/bad/tests-classes/autoload_011.php on line %d +In\ autoload\:\ string\(9\)\ \"UndefBase\"\ +HipHop\ Fatal\ error\:\ Class\ \'UndefBase\'\ not\ found\ in\ hphp\/test\/zend\/bad\/tests\-classes\/autoload\_011\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/autoload_012.php.exp b/hphp/test/zend/bad/tests-classes/autoload_012.php.exp index f9a18dabd..d588c0ef8 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_012.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_012.php.exp @@ -1,2 +1,2 @@ -In autoload: string(6) "UndefC" -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in hphp/test/zend/bad/tests-classes/autoload_012.php on line %d +In\ autoload\:\ string\(6\)\ \"UndefC\"\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ class\ \'UndefC\'\ not\ found\ in\ hphp\/test\/zend\/bad\/tests\-classes\/autoload\_012\.php\ on\ line\ \d+ \ 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 index 788e4e041..3ce3cbfaa 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_014.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_014.php.exp @@ -1,2 +1,2 @@ -In autoload: string(6) "UndefC" -Class UndefC does not exist +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.exp b/hphp/test/zend/bad/tests-classes/autoload_016.php.exp index 5e0b59a4c..74504a264 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_016.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_016.php.exp @@ -1,2 +1,2 @@ -In autoload: string(6) "undefc" -Class undefc does not exist +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 index b42a88739..a2bbb938b 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_017.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_017.php.exp @@ -1,2 +1,2 @@ -In autoload: string(6) "UndefI" -Interface UndefI does not exist \ No newline at end of file +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 index 0a5018b36..0485fff32 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_019.php.exp +++ b/hphp/test/zend/bad/tests-classes/autoload_019.php.exp @@ -1 +1 @@ -__autoload unDefinedClass +\_\_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 index 5cda9fda2..31e7999f9 100644 --- a/hphp/test/zend/bad/tests-classes/bug26737.php.exp +++ b/hphp/test/zend/bad/tests-classes/bug26737.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: serialize(): "no_such" returned as member variable from __sleep() but does not exist in hphp/test/zend/bad/tests-classes/bug26737.php on line %d -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;}" +HipHop\ Notice\:\ serialize\(\)\:\ \"no\_such\"\ returned\ as\ member\ variable\ from\ \_\_sleep\(\)\ but\ does\ not\ exist\ in\ hphp\/test\/zend\/bad\/tests\-classes\/bug26737\.php\ on\ line\ \d+\ +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/bug27468.php.exp b/hphp/test/zend/bad/tests-classes/bug27468.php.exp deleted file mode 100644 index 09ff5362d..000000000 --- a/hphp/test/zend/bad/tests-classes/bug27468.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: Undefined property: foo::$x in %sbug27468.php on line 4 -HipHop Warning: Invalid argument supplied for foreach() in %sbug27468.php on line 4 -OK diff --git a/hphp/test/zend/bad/tests-classes/bug27504.php.exp b/hphp/test/zend/bad/tests-classes/bug27504.php.exp index 3bd956173..d52678672 100644 --- a/hphp/test/zend/bad/tests-classes/bug27504.php.exp +++ b/hphp/test/zend/bad/tests-classes/bug27504.php.exp @@ -1,3 +1,3 @@ -Called function foo:bar(1) -HipHop Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method foo::bar() in hphp/test/zend/bad/tests-classes/bug27504.php on line %d -HipHop Fatal error: Call to private method foo::bar() from context '' in hphp/test/zend/bad/tests-classes/bug27504.php on line %d +Called\ function\ foo\:bar\(1\)\ +HipHop\ Warning\:\ call\_user\_func\_array\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ cannot\ access\ private\ method\ foo\:\:bar\(\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/bug27504\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ foo\:\:bar\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/bug27504\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/bug29446.php.exp b/hphp/test/zend/bad/tests-classes/bug29446.php.exp index 2a04a3f55..d16f0ea9f 100644 --- a/hphp/test/zend/bad/tests-classes/bug29446.php.exp +++ b/hphp/test/zend/bad/tests-classes/bug29446.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot redefine class constant testClass::TEST_CONST in hphp/test/zend/bad/tests-classes/bug29446.php on line 5 \ No newline at end of file +HipHop\ Fatal\ error\:\ Cannot\ redefine\ class\ constant\ testClass\:\:TEST\_CONST\ in\ hphp\/test\/zend\/bad\/tests\-classes\/bug29446\.php\ on\ line\ 5 \ 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 index 10a537e90..af8e0a235 100644 --- a/hphp/test/zend/bad/tests-classes/constants_basic_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/constants_basic_001.php.exp @@ -1,27 +1,27 @@ - -HipHop Notice: Undefined variable: undef in hphp/test/zend/bad/tests-classes/constants_basic_001.php on line 5 - -Attempt to access various kinds of class constants: -HipHop Notice: Use of undefined constant UNDEFINED - assumed 'UNDEFINED' in hphp/test/zend/bad/tests-classes/constants_basic_001.php on line %d -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: Undefined class constant 'c19' in hphp/test/zend/bad/tests-classes/constants_basic_001.php on line 53 +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_basic\_001\.php\ on\ line\ 5\ +\ +Attempt\ to\ access\ various\ kinds\ of\ class\ constants\:\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ UNDEFINED\ \-\ assumed\ \'UNDEFINED\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_basic\_001\.php\ on\ line\ \d+\ +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\:\ Undefined\ class\ constant\ \'c19\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_basic\_001\.php\ on\ line\ 53 \ 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 index 2226b2741..09309e65a 100644 --- a/hphp/test/zend/bad/tests-classes/constants_basic_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/constants_basic_003.php.exp @@ -1,4 +1,4 @@ -string(12) "hello from A" -string(12) "hello from C" -string(12) "hello from A" -string(12) "hello from C" +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_error_001.php b/hphp/test/zend/bad/tests-classes/constants_error_001.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_error_001.php rename to hphp/test/zend/bad/tests-classes/constants_error_001.php diff --git a/hphp/test/zend/bad/tests-classes/constants_error_001.php.exp b/hphp/test/zend/bad/tests-classes/constants_error_001.php.exp new file mode 100644 index 000000000..5f58d58dd --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_001.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redefine\ class\ constant\ myclass\:\:myConst\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_error\_001\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_error_003.php b/hphp/test/zend/bad/tests-classes/constants_error_003.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_error_003.php rename to hphp/test/zend/bad/tests-classes/constants_error_003.php diff --git a/hphp/test/zend/bad/tests-classes/constants_error_003.php.exp b/hphp/test/zend/bad/tests-classes/constants_error_003.php.exp new file mode 100644 index 000000000..5adba802c --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_003.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Only\ variables\ can\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_error\_003\.php\ on\ line\ 12 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_error_004.php b/hphp/test/zend/bad/tests-classes/constants_error_004.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_error_004.php rename to hphp/test/zend/bad/tests-classes/constants_error_004.php 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 new file mode 100644 index 000000000..be14e2047 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_004.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Class\ \'D\'\ not\ found\ in\ hphp\/test\/zend\/bad\/tests\-classes\/constants\_error\_004\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/constants_error_005.php b/hphp/test/zend/bad/tests-classes/constants_error_005.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_error_005.php rename to hphp/test/zend/bad/tests-classes/constants_error_005.php 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 new file mode 100644 index 000000000..af6bf7ac7 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_005.php.exp @@ -0,0 +1,2 @@ +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/good/tests-classes/constants_error_006.php b/hphp/test/zend/bad/tests-classes/constants_error_006.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_error_006.php rename to hphp/test/zend/bad/tests-classes/constants_error_006.php 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 new file mode 100644 index 000000000..c654fe7da --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_006.php.exp @@ -0,0 +1,2 @@ +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/good/tests-classes/constants_error_007.php b/hphp/test/zend/bad/tests-classes/constants_error_007.php similarity index 100% rename from hphp/test/zend/good/tests-classes/constants_error_007.php rename to hphp/test/zend/bad/tests-classes/constants_error_007.php 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 new file mode 100644 index 000000000..04cf2b3ac --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/constants_error_007.php.exp @@ -0,0 +1,2 @@ +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/ctor_in_interface_01.php.exp b/hphp/test/zend/bad/tests-classes/ctor_in_interface_01.php.exp index 668e83496..d27ea7883 100644 --- a/hphp/test/zend/bad/tests-classes/ctor_in_interface_01.php.exp +++ b/hphp/test/zend/bad/tests-classes/ctor_in_interface_01.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of implem::__construct() must be compatible with constr::__construct() in hphp/test/zend/bad/tests-classes/ctor_in_interface_01.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ implem\:\:\_\_construct\(\)\ must\ be\ compatible\ with\ constr\:\:\_\_construct\(\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/ctor\_in\_interface\_01\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/ctor_in_interface_02.php.exp b/hphp/test/zend/bad/tests-classes/ctor_in_interface_02.php.exp index 021e98d68..c7c21c874 100644 --- a/hphp/test/zend/bad/tests-classes/ctor_in_interface_02.php.exp +++ b/hphp/test/zend/bad/tests-classes/ctor_in_interface_02.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of implem13::__construct() must be compatible with constr3::__construct($a) in hphp/test/zend/bad/tests-classes/ctor_in_interface_02.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ implem13\:\:\_\_construct\(\)\ must\ be\ compatible\ with\ constr3\:\:\_\_construct\(\$a\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/ctor\_in\_interface\_02\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/ctor_in_interface_03.php.exp b/hphp/test/zend/bad/tests-classes/ctor_in_interface_03.php.exp index 711607cc8..37bfd8ae7 100644 --- a/hphp/test/zend/bad/tests-classes/ctor_in_interface_03.php.exp +++ b/hphp/test/zend/bad/tests-classes/ctor_in_interface_03.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of derived::__construct() must be compatible with constr::__construct() in hphp/test/zend/bad/tests-classes/ctor_in_interface_03.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ derived\:\:\_\_construct\(\)\ must\ be\ compatible\ with\ constr\:\:\_\_construct\(\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/ctor\_in\_interface\_03\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/ctor_in_interface_04.php.exp b/hphp/test/zend/bad/tests-classes/ctor_in_interface_04.php.exp index 57f409c9f..c2dd52eaa 100644 --- a/hphp/test/zend/bad/tests-classes/ctor_in_interface_04.php.exp +++ b/hphp/test/zend/bad/tests-classes/ctor_in_interface_04.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of derived::__construct() must be compatible with constr::__construct() in hphp/test/zend/bad/tests-classes/ctor_in_interface_04.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ derived\:\:\_\_construct\(\)\ must\ be\ compatible\ with\ constr\:\:\_\_construct\(\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/ctor\_in\_interface\_04\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/ctor_visibility.php.exp b/hphp/test/zend/bad/tests-classes/ctor_visibility.php.exp index a68b829ff..88e74613a 100644 --- a/hphp/test/zend/bad/tests-classes/ctor_visibility.php.exp +++ b/hphp/test/zend/bad/tests-classes/ctor_visibility.php.exp @@ -1,5 +1,6 @@ -Derived::__construct() -Test::__construct() -TestPriv::__construct() -DerivedPriv::__construct() -HipHop Fatal error: Cannot call private TestPriv::__construct() in %sctor_visibility.php on line %d +Derived\:\:\_\_construct\(\)\ +Test\:\:\_\_construct\(\)\ +TestPriv\:\:\_\_construct\(\)\ +DerivedPriv\:\:\_\_construct\(\)\ +HipHop\ Fatal\ error\:\ Cannot\ call\ private\ TestPriv\:\:\_\_construct\(\)\ in\ [^ +]+ctor\_visibility\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/destructor_and_echo.php b/hphp/test/zend/bad/tests-classes/destructor_and_echo.php similarity index 100% rename from hphp/test/zend/good/tests-classes/destructor_and_echo.php rename to hphp/test/zend/bad/tests-classes/destructor_and_echo.php 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.exp new file mode 100644 index 000000000..b57690f1d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/destructor_and_echo.php.exp @@ -0,0 +1,3 @@ +Test::__construct +===DONE=== +Test::__destruct \ No newline at end of file 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 index e53d7bbe5..f545d3a65 100644 --- a/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.exp +++ b/hphp/test/zend/bad/tests-classes/destructor_and_exceptions.php.exp @@ -1,6 +1,6 @@ -FailClass::__destruct -Caught: FailClass -FatalException::__construct -FailClass::__destruct -Caught Exception: FailClass -===DONE=== +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 index 19d981008..c88135b02 100644 --- a/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/destructor_visibility_001.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Call to private Derived::__destruct() from context '' in %sdestructor_visibility_001.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ private\ Derived\:\:\_\_destruct\(\)\ from\ context\ \'\'\ in\ [^ +]+destructor\_visibility\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/destructor_visibility_002.php b/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/destructor_visibility_002.php rename to hphp/test/zend/bad/tests-classes/destructor_visibility_002.php 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 new file mode 100644 index 000000000..c53b6c4a2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/destructor_visibility_002.php.exp @@ -0,0 +1,2 @@ +\=\=\=DONE\=\=\=\ +HipHop\ Warning\:\ Call\ to\ private\ Derived\:\:\_\_destruct\(\)\ from\ context\ \'\'\ during\ shutdown\ ignored\ in\ Unknown\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_002.php b/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/factory_and_singleton_002.php rename to hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_002.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.exp similarity index 55% rename from hphp/test/zend/good/tests-classes/factory_and_singleton_002.php.exp rename to hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.exp index 7176e4aea..8931d733e 100644 --- a/hphp/test/zend/good/tests-classes/factory_and_singleton_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_002.php.exp @@ -14,3 +14,4 @@ Destruct y int(1) int(1) Done +HipHop Warning: Call to protected test::__destruct() from context '' during shutdown ignored in Unknown on line 0 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_003.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_003.php.exp index 6223bc6c4..16be59561 100644 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_003.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to protected test::__construct() from invalid context in hphp/test/zend/bad/tests-classes/factory_and_singleton_003.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ protected\ test\:\:\_\_construct\(\)\ from\ invalid\ context\ in\ hphp\/test\/zend\/bad\/tests\-classes\/factory\_and\_singleton\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/factory_and_singleton_004.php.exp b/hphp/test/zend/bad/tests-classes/factory_and_singleton_004.php.exp index 907cb866c..d3646482d 100644 --- a/hphp/test/zend/bad/tests-classes/factory_and_singleton_004.php.exp +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_004.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to private test::__construct() from invalid context in hphp/test/zend/bad/tests-classes/factory_and_singleton_004.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ private\ test\:\:\_\_construct\(\)\ from\ invalid\ context\ in\ hphp\/test\/zend\/bad\/tests\-classes\/factory\_and\_singleton\_004\.php\ on\ line\ \d+ \ 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 index 6769d7a7a..71a0441d7 100644 --- 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 @@ -1 +1,2 @@ -HipHop Fatal error: Call to protected test::__destruct() from context '' in %sfactory_and_singleton_005.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ protected\ test\:\:\_\_destruct\(\)\ from\ context\ \'\'\ in\ [^ +]+factory\_and\_singleton\_005\.php\ on\ line\ \d+ \ 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 index 08a214f4e..a2587fc0a 100644 --- 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 @@ -1,2 +1,2 @@ -HipHop Fatal error: Call to private test::__destruct() from context '' in %sfactory_and_singleton_006.php on line %d - +HipHop\ Fatal\ error\:\ Call\ to\ private\ test\:\:\_\_destruct\(\)\ from\ context\ \'\'\ in\ [^ +]+factory\_and\_singleton\_006\.php\ on\ line\ \d+ \ 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 index 76f72424e..271c2a739 100644 --- 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 @@ -1 +1,2 @@ -HipHop Fatal error: Call to protected test::__clone() from context '' %sfactory_and_singleton_007.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ protected\ test\:\:\_\_clone\(\)\ from\ context\ \'\'\ [^ +]+factory\_and\_singleton\_007\.php\ on\ line\ \d+ \ 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 index ba063e4bd..f4d23da89 100644 --- 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 @@ -1 +1,2 @@ -HipHop Fatal error: Call to private test::__clone() from context '' %sfactory_and_singleton_008.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ private\ test\:\:\_\_clone\(\)\ from\ context\ \'\'\ [^ +]+factory\_and\_singleton\_008\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_009.php b/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php similarity index 100% rename from hphp/test/zend/good/tests-classes/factory_and_singleton_009.php rename to hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php 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 new file mode 100644 index 000000000..25fce9096 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_009.php.exp @@ -0,0 +1,2 @@ +\=\=\=DONE\=\=\=\ +HipHop\ Warning\:\ Call\ to\ protected\ test\:\:\_\_destruct\(\)\ from\ context\ \'\'\ during\ shutdown\ ignored\ in\ Unknown\ on\ line\ 0 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_010.php b/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php similarity index 100% rename from hphp/test/zend/good/tests-classes/factory_and_singleton_010.php rename to hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php 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 new file mode 100644 index 000000000..2c63904d3 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/factory_and_singleton_010.php.exp @@ -0,0 +1,2 @@ +\=\=\=DONE\=\=\=\ +HipHop\ Warning\:\ Call\ to\ private\ test\:\:\_\_destruct\(\)\ from\ context\ \'\'\ during\ shutdown\ ignored\ in\ Unknown\ on\ line\ 0 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final_abstract.php b/hphp/test/zend/bad/tests-classes/final_abstract.php similarity index 100% rename from hphp/test/zend/good/tests-classes/final_abstract.php rename to hphp/test/zend/bad/tests-classes/final_abstract.php diff --git a/hphp/test/zend/bad/tests-classes/final_abstract.php.exp b/hphp/test/zend/bad/tests-classes/final_abstract.php.exp new file mode 100644 index 000000000..a5c56c447 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/final_abstract.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Cannot\ use\ the\ final\ modifier\ on\ an\ abstract\ class\ member\ in\ [^ +]+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final_ctor1.php b/hphp/test/zend/bad/tests-classes/final_ctor1.php similarity index 100% rename from hphp/test/zend/good/tests-classes/final_ctor1.php rename to hphp/test/zend/bad/tests-classes/final_ctor1.php diff --git a/hphp/test/zend/bad/tests-classes/final_ctor1.php.exp b/hphp/test/zend/bad/tests-classes/final_ctor1.php.exp new file mode 100644 index 000000000..141518c04 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/final_ctor1.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Cannot\ override\ final\ Base\:\:\_\_construct\(\)\ with\ Extended\:\:Extended\(\)\ in\ [^ +]+final\_ctor1\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/final_ctor2.php b/hphp/test/zend/bad/tests-classes/final_ctor2.php similarity index 100% rename from hphp/test/zend/good/tests-classes/final_ctor2.php rename to hphp/test/zend/bad/tests-classes/final_ctor2.php diff --git a/hphp/test/zend/bad/tests-classes/final_ctor2.php.exp b/hphp/test/zend/bad/tests-classes/final_ctor2.php.exp new file mode 100644 index 000000000..c8c88e12b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/final_ctor2.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Cannot\ override\ final\ Base\:\:Base\(\)\ with\ Extended\:\:\_\_construct\(\)\ in\ [^ +]+final\_ctor2\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.exp b/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.exp index 524146db2..f730279e9 100644 --- a/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php.exp @@ -1,92 +1,93 @@ - - ----( $c->boolFalse )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/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/bad/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/bad/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/bad/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/bad/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/bad/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/bad/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/bad/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/bad/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->boolTrue )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Attempt to %s property of non-object in hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Attempt to assign property of non-object in hphp/test/zend/bad/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/bad/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->nonEmptyString )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Attempt to %s property of non-object in hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Attempt to assign property of non-object in hphp/test/zend/bad/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/bad/tests-classes/implicit_instantiation_001.php on line 26 - - ----( $c->intZero )--- - --> Attempting implicit conversion to object using increment... -HipHop Warning: Attempt to %s property of non-object in hphp/test/zend/bad/tests-classes/implicit_instantiation_001.php on line 18 - - --> Attempting implicit conversion to object using assignment... -HipHop Warning: Attempt to assign property of non-object in hphp/test/zend/bad/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/bad/tests-classes/implicit_instantiation_001.php on line 26 - - - - --> 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 +\-\-\-\(\ \$c\-\>boolFalse\ \)\-\-\-\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ increment\.\.\.\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/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\/bad\/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\/bad\/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\/bad\/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\/bad\/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\/bad\/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\/bad\/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\/bad\/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\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 26\ +\ +\ +\-\-\-\(\ \$c\-\>boolTrue\ \)\-\-\-\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ increment\.\.\.\ +HipHop\ Warning\:\ Attempt\ to\ [^ +]+\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 18\ +\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ assignment\.\.\.\ +HipHop\ Warning\:\ Attempt\ to\ assign\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/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\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 26\ +\ +\ +\-\-\-\(\ \$c\-\>nonEmptyString\ \)\-\-\-\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ increment\.\.\.\ +HipHop\ Warning\:\ Attempt\ to\ [^ +]+\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 18\ +\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ assignment\.\.\.\ +HipHop\ Warning\:\ Attempt\ to\ assign\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/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\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 26\ +\ +\ +\-\-\-\(\ \$c\-\>intZero\ \)\-\-\-\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ increment\.\.\.\ +HipHop\ Warning\:\ Attempt\ to\ [^ +]+\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 18\ +\ +\ \ \-\-\>\ Attempting\ implicit\ conversion\ to\ object\ using\ assignment\.\.\.\ +HipHop\ Warning\:\ Attempt\ to\ assign\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/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\/bad\/tests\-classes\/implicit\_instantiation\_001\.php\ on\ line\ 26\ +\ +\ +\ +\ \-\-\>\ Resulting\ object\:object\(C\)\#\d+\ \(6\)\ \{\ +\ \ \[\"boolFalse\"\]\=\>\ +\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ +\ \ \ \ \[\"prop\"\]\=\>\ +\ \ \ \ string\(24\)\ \"\ Implicit\ instantiation\!\"\ +\ \ \}\ +\ \ \[\"emptyString\"\]\=\>\ +\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ +\ \ \ \ \[\"prop\"\]\=\>\ +\ \ \ \ string\(24\)\ \"\ Implicit\ instantiation\!\"\ +\ \ \}\ +\ \ \[\"null\"\]\=\>\ +\ \ object\(stdClass\)\#\d+\ \(1\)\ \{\ +\ \ \ \ \[\"prop\"\]\=\>\ +\ \ \ \ string\(24\)\ \"\ Implicit\ instantiation\!\"\ +\ \ \}\ +\ \ \[\"boolTrue\"\]\=\>\ +\ \ bool\(true\)\ +\ \ \[\"nonEmptyString\"\]\=\>\ +\ \ string\(5\)\ \"hello\"\ +\ \ \[\"intZero\"\]\=\>\ +\ \ int\(0\)\ +\} \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/inheritance_003.php b/hphp/test/zend/bad/tests-classes/inheritance_003.php similarity index 100% rename from hphp/test/zend/good/tests-classes/inheritance_003.php rename to hphp/test/zend/bad/tests-classes/inheritance_003.php diff --git a/hphp/test/zend/bad/tests-classes/inheritance_003.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_003.php.exp new file mode 100644 index 000000000..760be99a2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/inheritance_003.php.exp @@ -0,0 +1,3 @@ +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/good/tests-classes/inheritance_004.php b/hphp/test/zend/bad/tests-classes/inheritance_004.php similarity index 100% rename from hphp/test/zend/good/tests-classes/inheritance_004.php rename to hphp/test/zend/bad/tests-classes/inheritance_004.php diff --git a/hphp/test/zend/bad/tests-classes/inheritance_004.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_004.php.exp new file mode 100644 index 000000000..a7a3133fc --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/inheritance_004.php.exp @@ -0,0 +1,3 @@ +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_006.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_006.php.exp deleted file mode 100644 index 2be6750b1..000000000 --- a/hphp/test/zend/bad/tests-classes/inheritance_006.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -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/bad/tests-classes/inheritance_007.php.exp b/hphp/test/zend/bad/tests-classes/inheritance_007.php.exp index 02cb01e51..197f582b9 100644 --- a/hphp/test/zend/bad/tests-classes/inheritance_007.php.exp +++ b/hphp/test/zend/bad/tests-classes/inheritance_007.php.exp @@ -1,19 +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 +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/interface_and_extends.php.exp b/hphp/test/zend/bad/tests-classes/interface_and_extends.php.exp index f3b576e72..3755c9b36 100644 --- a/hphp/test/zend/bad/tests-classes/interface_and_extends.php.exp +++ b/hphp/test/zend/bad/tests-classes/interface_and_extends.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class Tester cannot extend from interface Test in %sinterface_and_extends.php on line %d +HipHop\ Fatal\ error\:\ Class\ Tester\ cannot\ extend\ from\ interface\ Test\ in\ [^ +]+interface\_and\_extends\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_001.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_constant_inheritance_001.php rename to hphp/test/zend/bad/tests-classes/interface_constant_inheritance_001.php diff --git a/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_001.php.exp b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_001.php.exp new file mode 100644 index 000000000..9dee0bd02 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_001.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ inherit\ previously\-inherited\ or\ override\ constant\ FOO\ from\ interface\ I1\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interface\_constant\_inheritance\_001\.php\ on\ line\ 6 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_constant_inheritance_002.php rename to hphp/test/zend/bad/tests-classes/interface_constant_inheritance_002.php diff --git a/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_002.php.exp b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_002.php.exp new file mode 100644 index 000000000..20105ae6a --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_002.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ inherit\ previously\-inherited\ or\ override\ constant\ FOO\ from\ interface\ I\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interface\_constant\_inheritance\_002\.php\ on\ line\ 6 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_003.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_constant_inheritance_003.php rename to hphp/test/zend/bad/tests-classes/interface_constant_inheritance_003.php diff --git a/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_003.php.exp b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_003.php.exp new file mode 100644 index 000000000..77ae40c40 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_constant_inheritance_003.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ inherit\ previously\-inherited\ or\ override\ constant\ FOO\ from\ interface\ I2\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interface\_constant\_inheritance\_003\.php\ on\ line\ 10 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_member.php b/hphp/test/zend/bad/tests-classes/interface_member.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_member.php rename to hphp/test/zend/bad/tests-classes/interface_member.php diff --git a/hphp/test/zend/bad/tests-classes/interface_member.php.exp b/hphp/test/zend/bad/tests-classes/interface_member.php.exp new file mode 100644 index 000000000..9675835df --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_member.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Interfaces\ may\ not\ include\ member\ variables\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interface\_member\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_method.php b/hphp/test/zend/bad/tests-classes/interface_method.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_method.php rename to hphp/test/zend/bad/tests-classes/interface_method.php diff --git a/hphp/test/zend/bad/tests-classes/interface_method.php.exp b/hphp/test/zend/bad/tests-classes/interface_method.php.exp new file mode 100644 index 000000000..49f3a07fe --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_method.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Interface\ function\ if\_a\:\:err\(\)\ cannot\ contain\ body\ [^ +]+\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interface_method_final.php b/hphp/test/zend/bad/tests-classes/interface_method_final.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interface_method_final.php rename to hphp/test/zend/bad/tests-classes/interface_method_final.php diff --git a/hphp/test/zend/bad/tests-classes/interface_method_final.php.exp b/hphp/test/zend/bad/tests-classes/interface_method_final.php.exp new file mode 100644 index 000000000..c7bc2447d --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interface_method_final.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ use\ the\ final\ modifier\ on\ an\ abstract\ class\ member\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interface\_method\_final\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/interface_must_be_implemented.php.exp b/hphp/test/zend/bad/tests-classes/interface_must_be_implemented.php.exp index 92970a998..a1977561e 100644 --- a/hphp/test/zend/bad/tests-classes/interface_must_be_implemented.php.exp +++ b/hphp/test/zend/bad/tests-classes/interface_must_be_implemented.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class derived_a contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (if_a::f_a) in hphp/test/zend/bad/tests-classes/interface_must_be_implemented.php on line %d +HipHop\ Fatal\ error\:\ Class\ derived\_a\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(if\_a\:\:f\_a\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interface\_must\_be\_implemented\.php\ on\ line\ \d+ \ 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 index c4f25cd82..b741a003c 100644 --- 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 @@ -1 +1 @@ -int(2) \ No newline at end of file +int\(2\) \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/interfaces_002.php b/hphp/test/zend/bad/tests-classes/interfaces_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/interfaces_002.php rename to hphp/test/zend/bad/tests-classes/interfaces_002.php diff --git a/hphp/test/zend/bad/tests-classes/interfaces_002.php.exp b/hphp/test/zend/bad/tests-classes/interfaces_002.php.exp new file mode 100644 index 000000000..943863c3e --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/interfaces_002.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Class\ Exception\_foo\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(Throwable\:\:getErrno\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/interfaces\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp b/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp index b2f9003fb..5f7e77ba7 100644 --- a/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/interfaces_003.php.exp @@ -1,2 +1,2 @@ - -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 +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/iterators_005.php.exp b/hphp/test/zend/bad/tests-classes/iterators_005.php.exp index e934fb7bc..5ceb705b5 100644 --- a/hphp/test/zend/bad/tests-classes/iterators_005.php.exp +++ b/hphp/test/zend/bad/tests-classes/iterators_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class test must implement interface Traversable as part of either Iterator or IteratorAggregate in hphp/test/zend/bad/tests-classes/iterators_005.php on line %d +HipHop\ Fatal\ error\:\ Class\ test\ must\ implement\ interface\ Traversable\ as\ part\ of\ either\ Iterator\ or\ IteratorAggregate\ in\ hphp\/test\/zend\/bad\/tests\-classes\/iterators\_005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/method_override_optional_arg_001.php b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php similarity index 100% rename from hphp/test/zend/good/tests-classes/method_override_optional_arg_001.php rename to hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php 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 new file mode 100644 index 000000000..73e3532bd --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_001.php.exp @@ -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/good/tests-classes/method_override_optional_arg_002.php b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/method_override_optional_arg_002.php rename to hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php 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 new file mode 100644 index 000000000..23e31457f --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/method_override_optional_arg_002.php.exp @@ -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/private_001.php.exp b/hphp/test/zend/bad/tests-classes/private_001.php.exp index 1be24c85a..9a918c7ab 100644 --- a/hphp/test/zend/bad/tests-classes/private_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_001.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context '' in hphp/test/zend/bad/tests-classes/private_001.php on line %d +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_002.php.exp b/hphp/test/zend/bad/tests-classes/private_002.php.exp index e6c31f224..31343db89 100644 --- a/hphp/test/zend/bad/tests-classes/private_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_002.php.exp @@ -1,3 +1,3 @@ -Call pass::show() -Call fail::show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_002.php on line %d +Call\ pass\:\:show\(\)\ +Call\ fail\:\:show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_003.php.exp b/hphp/test/zend/bad/tests-classes/private_003.php.exp index ff53533e5..11d872afe 100644 --- a/hphp/test/zend/bad/tests-classes/private_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_003.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_003.php on line %d +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_003b.php.exp b/hphp/test/zend/bad/tests-classes/private_003b.php.exp index f1ca48749..2b77f4bd9 100644 --- a/hphp/test/zend/bad/tests-classes/private_003b.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_003b.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_003b.php on line %d +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_003b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_004.php.exp b/hphp/test/zend/bad/tests-classes/private_004.php.exp index 307e55264..05bad488d 100644 --- a/hphp/test/zend/bad/tests-classes/private_004.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_004.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_004.php on line %d +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_004\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_004b.php.exp b/hphp/test/zend/bad/tests-classes/private_004b.php.exp index 527562706..e45ae76ab 100644 --- a/hphp/test/zend/bad/tests-classes/private_004b.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_004b.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_004b.php on line %d \ No newline at end of file +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_004b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_005.php.exp b/hphp/test/zend/bad/tests-classes/private_005.php.exp index fe339e6b5..0124e0209 100644 --- a/hphp/test/zend/bad/tests-classes/private_005.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_005.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_005.php on line %d +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_005b.php.exp b/hphp/test/zend/bad/tests-classes/private_005b.php.exp index 44148552d..8ddb2ee3b 100644 --- a/hphp/test/zend/bad/tests-classes/private_005b.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_005b.php.exp @@ -1,2 +1,2 @@ -Call show() -HipHop Fatal error: Call to private method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/private_005b.php on line %d \ No newline at end of file +Call\ show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_005b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/private_redeclare.php.exp b/hphp/test/zend/bad/tests-classes/private_redeclare.php.exp index 42bcbdc3e..ebd08c8e7 100644 --- a/hphp/test/zend/bad/tests-classes/private_redeclare.php.exp +++ b/hphp/test/zend/bad/tests-classes/private_redeclare.php.exp @@ -1,5 +1,5 @@ -base -test -derived -base -HipHop Fatal error: Call to private method base::show() from context 'derived' in hphp/test/zend/bad/tests-classes/private_redeclare.php on line %d +base\ +test\ +derived\ +base\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ base\:\:show\(\)\ from\ context\ \'derived\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/private\_redeclare\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_private.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protectedStatic_private.php rename to hphp/test/zend/bad/tests-classes/property_override_protectedStatic_private.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_private.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_private.php.exp new file mode 100644 index 000000000..8067ebea8 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_private.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ static\ A\:\:\$p\ as\ non\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protectedStatic\_private\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_privateStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protectedStatic_privateStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_protectedStatic_privateStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_privateStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_privateStatic.php.exp new file mode 100644 index 000000000..59eeb07ff --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_privateStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Access\ level\ to\ B\:\:\$p\ must\ be\ protected\ \(as\ in\ class\ A\)\ or\ weaker\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protectedStatic\_privateStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_protected.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protectedStatic_protected.php rename to hphp/test/zend/bad/tests-classes/property_override_protectedStatic_protected.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_protected.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_protected.php.exp new file mode 100644 index 000000000..a61b75ac1 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_protected.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ static\ A\:\:\$p\ as\ non\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protectedStatic\_protected\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_public.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protectedStatic_public.php rename to hphp/test/zend/bad/tests-classes/property_override_protectedStatic_public.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_public.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_public.php.exp new file mode 100644 index 000000000..7aedadeea --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protectedStatic_public.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ static\ A\:\:\$p\ as\ non\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protectedStatic\_public\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_private.php b/hphp/test/zend/bad/tests-classes/property_override_protected_private.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protected_private.php rename to hphp/test/zend/bad/tests-classes/property_override_protected_private.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protected_private.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protected_private.php.exp new file mode 100644 index 000000000..1c948dfdd --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protected_private.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Access\ level\ to\ B\:\:\$p\ must\ be\ protected\ \(as\ in\ class\ A\)\ or\ weaker\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protected\_private\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php b/hphp/test/zend/bad/tests-classes/property_override_protected_privateStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protected_privateStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_protected_privateStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protected_privateStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protected_privateStatic.php.exp new file mode 100644 index 000000000..8cc8ead5b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protected_privateStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ non\ static\ A\:\:\$p\ as\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protected\_privateStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php b/hphp/test/zend/bad/tests-classes/property_override_protected_protectedStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protected_protectedStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_protected_protectedStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protected_protectedStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protected_protectedStatic.php.exp new file mode 100644 index 000000000..6fddeb707 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protected_protectedStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ non\ static\ A\:\:\$p\ as\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protected\_protectedStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php b/hphp/test/zend/bad/tests-classes/property_override_protected_publicStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_protected_publicStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_protected_publicStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_protected_publicStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_protected_publicStatic.php.exp new file mode 100644 index 000000000..fe59f2f8c --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_protected_publicStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ non\ static\ A\:\:\$p\ as\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_protected\_publicStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_private.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_publicStatic_private.php rename to hphp/test/zend/bad/tests-classes/property_override_publicStatic_private.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_publicStatic_private.php.exp b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_private.php.exp new file mode 100644 index 000000000..3e85f9ec3 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_private.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ static\ A\:\:\$p\ as\ non\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_publicStatic\_private\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_privateStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_publicStatic_privateStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_publicStatic_privateStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_publicStatic_privateStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_privateStatic.php.exp new file mode 100644 index 000000000..8f077be8b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_privateStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Access\ level\ to\ B\:\:\$p\ must\ be\ public\ \(as\ in\ class\ A\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_publicStatic\_privateStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protected.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_publicStatic_protected.php rename to hphp/test/zend/bad/tests-classes/property_override_publicStatic_protected.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protected.php.exp b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protected.php.exp new file mode 100644 index 000000000..75d0744b2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protected.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ static\ A\:\:\$p\ as\ non\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_publicStatic\_protected\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protectedStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_publicStatic_protectedStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_publicStatic_protectedStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protectedStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protectedStatic.php.exp new file mode 100644 index 000000000..115dff08e --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_protectedStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Access\ level\ to\ B\:\:\$p\ must\ be\ public\ \(as\ in\ class\ A\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_publicStatic\_protectedStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_public.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_publicStatic_public.php rename to hphp/test/zend/bad/tests-classes/property_override_publicStatic_public.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_publicStatic_public.php.exp b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_public.php.exp new file mode 100644 index 000000000..350e8dfdb --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_publicStatic_public.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ static\ A\:\:\$p\ as\ non\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_publicStatic\_public\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_private.php b/hphp/test/zend/bad/tests-classes/property_override_public_private.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_public_private.php rename to hphp/test/zend/bad/tests-classes/property_override_public_private.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_public_private.php.exp b/hphp/test/zend/bad/tests-classes/property_override_public_private.php.exp new file mode 100644 index 000000000..c3e493f7b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_public_private.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Access\ level\ to\ B\:\:\$p\ must\ be\ public\ \(as\ in\ class\ A\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_public\_private\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php b/hphp/test/zend/bad/tests-classes/property_override_public_privateStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_public_privateStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_public_privateStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_public_privateStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_public_privateStatic.php.exp new file mode 100644 index 000000000..8eb12a8c2 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_public_privateStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ non\ static\ A\:\:\$p\ as\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_public\_privateStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_protected.php b/hphp/test/zend/bad/tests-classes/property_override_public_protected.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_public_protected.php rename to hphp/test/zend/bad/tests-classes/property_override_public_protected.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_public_protected.php.exp b/hphp/test/zend/bad/tests-classes/property_override_public_protected.php.exp new file mode 100644 index 000000000..aa8c41563 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_public_protected.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Access\ level\ to\ B\:\:\$p\ must\ be\ public\ \(as\ in\ class\ A\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_public\_protected\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php b/hphp/test/zend/bad/tests-classes/property_override_public_protectedStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_public_protectedStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_public_protectedStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_public_protectedStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_public_protectedStatic.php.exp new file mode 100644 index 000000000..1ea0b2194 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_public_protectedStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ non\ static\ A\:\:\$p\ as\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_public\_protectedStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php b/hphp/test/zend/bad/tests-classes/property_override_public_publicStatic.php similarity index 100% rename from hphp/test/zend/good/tests-classes/property_override_public_publicStatic.php rename to hphp/test/zend/bad/tests-classes/property_override_public_publicStatic.php diff --git a/hphp/test/zend/bad/tests-classes/property_override_public_publicStatic.php.exp b/hphp/test/zend/bad/tests-classes/property_override_public_publicStatic.php.exp new file mode 100644 index 000000000..6fc407d1b --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/property_override_public_publicStatic.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ non\ static\ A\:\:\$p\ as\ static\ B\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_override\_public\_publicStatic\.php\ on\ line\ 18 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/property_recreate_private.php.exp b/hphp/test/zend/bad/tests-classes/property_recreate_private.php.exp index 412762388..b9ed4414e 100644 --- a/hphp/test/zend/bad/tests-classes/property_recreate_private.php.exp +++ b/hphp/test/zend/bad/tests-classes/property_recreate_private.php.exp @@ -1,27 +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: Cannot access private property C::$p in hphp/test/zend/bad/tests-classes/property_recreate_private.php on line 46 \ No newline at end of file +Unset\ and\ recreate\ a\ superclass\'s\ private\ property\:\ +object\(D\)\#\d+\ \(1\)\ \{\ +\ \ \[\"p\"\:\"C\"\:private\]\=\>\ +\ \ string\(7\)\ \"changed\"\ +\}\ +\ +Unset\ superclass\'s\ private\ property\,\ and\ recreate\ it\ as\ public\ in\ subclass\:\ +object\(D\)\#\d+\ \(1\)\ \{\ +\ \ \[\"p\"\]\=\>\ +\ \ string\(12\)\ \"changed\ in\ D\"\ +\}\ +\ +Unset\ superclass\'s\ private\ property\,\ and\ recreate\ it\ as\ public\ at\ global\ scope\:\ +object\(D\)\#\d+\ \(1\)\ \{\ +\ \ \[\"p\"\]\=\>\ +\ \ string\(34\)\ \"this\ will\ create\ a\ public\ property\"\ +\}\ +\ +\ +Unset\ and\ recreate\ a\ private\ property\:\ +object\(C\)\#\d+\ \(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\ private\ property\ C\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_recreate\_private\.php\ on\ line\ 46 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/property_recreate_protected.php.exp b/hphp/test/zend/bad/tests-classes/property_recreate_protected.php.exp index e198f2c0d..744e8743b 100644 --- a/hphp/test/zend/bad/tests-classes/property_recreate_protected.php.exp +++ b/hphp/test/zend/bad/tests-classes/property_recreate_protected.php.exp @@ -1,14 +1,15 @@ -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: Cannot access protected property %s::$p in hphp/test/zend/bad/tests-classes/property_recreate_protected.php on line 32 \ No newline at end of file +Unset\ and\ recreate\ a\ protected\ property\ from\ property\'s\ declaring\ class\ scope\:\ +object\(D\)\#\d+\ \(1\)\ \{\ +\ \ \[\"p\"\:protected\]\=\>\ +\ \ string\(7\)\ \"changed\"\ +\}\ +\ +Unset\ and\ recreate\ a\ protected\ property\ from\ subclass\:\ +object\(D\)\#\d+\ \(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\ [^ +]+\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/property\_recreate\_protected\.php\ on\ line\ 32 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/protected_001.php.exp b/hphp/test/zend/bad/tests-classes/protected_001.php.exp index 48b087c11..0cf44bdc2 100644 --- a/hphp/test/zend/bad/tests-classes/protected_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/protected_001.php.exp @@ -1,2 +1,2 @@ -Call fail() -HipHop Fatal error: Call to protected method pass::fail() from context '' in hphp/test/zend/bad/tests-classes/protected_001.php on line %d +Call\ fail\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ pass\:\:fail\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/protected\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/protected_001b.php.exp b/hphp/test/zend/bad/tests-classes/protected_001b.php.exp index a66da2cf7..08e2c8b91 100644 --- a/hphp/test/zend/bad/tests-classes/protected_001b.php.exp +++ b/hphp/test/zend/bad/tests-classes/protected_001b.php.exp @@ -1,2 +1,2 @@ -Call fail() -HipHop Fatal error: Call to protected method pass::fail() from context '' in hphp/test/zend/bad/tests-classes/protected_001b.php on line %d +Call\ fail\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ pass\:\:fail\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/protected\_001b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/protected_002.php.exp b/hphp/test/zend/bad/tests-classes/protected_002.php.exp index 90b5f7573..b36985472 100644 --- a/hphp/test/zend/bad/tests-classes/protected_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/protected_002.php.exp @@ -1,3 +1,3 @@ -Call pass::show() -Call fail::show() -HipHop Fatal error: Call to protected method pass::show() from context 'fail' in hphp/test/zend/bad/tests-classes/protected_002.php on line %d +Call\ pass\:\:show\(\)\ +Call\ fail\:\:show\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ pass\:\:show\(\)\ from\ context\ \'fail\'\ in\ hphp\/test\/zend\/bad\/tests\-classes\/protected\_002\.php\ on\ line\ \d+ \ 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 index 37fdfcec8..9d28d3e15 100644 --- a/hphp/test/zend/bad/tests-classes/serialize_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/serialize_001.php.exp @@ -1,29 +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=== +\=\=\=\=\=\=\=\=\=\=\ +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/static_mix_1.php.exp b/hphp/test/zend/bad/tests-classes/static_mix_1.php.exp index 092af7d8d..33adb4bd7 100644 --- a/hphp/test/zend/bad/tests-classes/static_mix_1.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_mix_1.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot make static method pass::show() non static in class fail in hphp/test/zend/bad/tests-classes/static_mix_1.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Cannot\ make\ static\ method\ pass\:\:show\(\)\ non\ static\ in\ class\ fail\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_mix\_1\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_mix_2.php.exp b/hphp/test/zend/bad/tests-classes/static_mix_2.php.exp index 5e68695bc..4992b9862 100644 --- a/hphp/test/zend/bad/tests-classes/static_mix_2.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_mix_2.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot make non static method pass::show() static in class fail in hphp/test/zend/bad/tests-classes/static_mix_2.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Cannot\ make\ non\ static\ method\ pass\:\:show\(\)\ static\ in\ class\ fail\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_mix\_2\.php\ on\ line\ \d+ \ 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 index 6f7acbe7d..543d0557b 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_003.php.exp @@ -1,19 +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: Undefined property: C::$x in hphp/test/zend/bad/tests-classes/static_properties_003.php on line 12 - -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 +\-\-\>\ 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\:\ Undefined\ property\:\ C\:\:\$x\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\.php\ on\ line\ 12\ +\ +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_error1.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_003_error1.php.exp index 9dcd6439f..ae80c31cc 100644 --- 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 @@ -1,3 +1,2 @@ - ---> Access non-visible static prop like instance prop: -HipHop Fatal error: Cannot access protected property C::$y in hphp/test/zend/bad/tests-classes/static_properties_003_error1.php on line 8 +\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ +HipHop\ Fatal\ error\:\ Cannot\ access\ protected\ property\ C\:\:\$y\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\_error1\.php\ on\ line\ 8 \ 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 index d95eaed42..08dec96d5 100644 --- 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 @@ -1,3 +1,2 @@ - ---> Access non-visible static prop like instance prop: -HipHop Fatal error: Cannot access protected property C::$y in hphp/test/zend/bad/tests-classes/static_properties_003_error2.php on line 8 +\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ +HipHop\ Fatal\ error\:\ Cannot\ access\ protected\ property\ C\:\:\$y\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\_error2\.php\ on\ line\ 8 \ 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 index dc44b6c27..93958bf40 100644 --- 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 @@ -1,3 +1,2 @@ - ---> Access non-visible static prop like instance prop: -HipHop Fatal error: Cannot access protected property C::$y in hphp/test/zend/bad/tests-classes/static_properties_003_error3.php on line 8 +\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ +HipHop\ Fatal\ error\:\ Cannot\ access\ protected\ property\ C\:\:\$y\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\_error3\.php\ on\ line\ 8 \ 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 index 2b6433497..b6a4e3001 100644 --- 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 @@ -1,3 +1,2 @@ - ---> Access non-visible static prop like instance prop: -HipHop Fatal error: Cannot access protected property C::$y in hphp/test/zend/bad/tests-classes/static_properties_003_error4.php on line 8 +\-\-\>\ Access\ non\-visible\ static\ prop\ like\ instance\ prop\:\ +HipHop\ Fatal\ error\:\ Cannot\ access\ protected\ property\ C\:\:\$y\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_003\_error4\.php\ on\ line\ 8 \ 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 index 31ef22cdc..8becf9fbf 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_004.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_004.php.exp @@ -1,15 +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 +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_undeclared_assign.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assign.php.exp index 24ea2b50d..3259f67da 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assign.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assign.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: C::$p in hphp/test/zend/bad/tests-classes/static_properties_undeclared_assign.php on line 3 \ No newline at end of file +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ C\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_undeclared\_assign\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignInc.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignInc.php.exp index 55ad4cbc0..9806feb41 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignInc.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignInc.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: C::$p in hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignInc.php on line 3 \ No newline at end of file +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ C\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_undeclared\_assignInc\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignRef.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignRef.php.exp index 5d1267bf5..d29f890b4 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignRef.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignRef.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: C::$p in hphp/test/zend/bad/tests-classes/static_properties_undeclared_assignRef.php on line 4 \ No newline at end of file +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ C\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_undeclared\_assignRef\.php\ on\ line\ 4 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_inc.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_inc.php.exp index f250e1fd3..3bf7998a5 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_inc.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_inc.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: C::$p in hphp/test/zend/bad/tests-classes/static_properties_undeclared_inc.php on line 3 \ No newline at end of file +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ C\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_undeclared\_inc\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_read.php.exp b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_read.php.exp index 60b3e70eb..754a0c5b1 100644 --- a/hphp/test/zend/bad/tests-classes/static_properties_undeclared_read.php.exp +++ b/hphp/test/zend/bad/tests-classes/static_properties_undeclared_read.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: C::$p in hphp/test/zend/bad/tests-classes/static_properties_undeclared_read.php on line 3 \ No newline at end of file +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ C\:\:\$p\ in\ hphp\/test\/zend\/bad\/tests\-classes\/static\_properties\_undeclared\_read\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/static_this.php.exp b/hphp/test/zend/bad/tests-classes/static_this.php.exp deleted file mode 100644 index 8f8bc0ba7..000000000 --- a/hphp/test/zend/bad/tests-classes/static_this.php.exp +++ /dev/null @@ -1,8 +0,0 @@ - -HipHop Notice: Undefined variable: this in %sstatic_this.php on line %d -NULL -HipHop Notice: Undefined variable: this in %sstatic_this.php on line %d -NULL -object(stdClass)#%d (0) { -} -===DONE=== diff --git a/hphp/test/zend/bad/tests-classes/this.php.exp b/hphp/test/zend/bad/tests-classes/this.php.exp deleted file mode 100644 index 9559b698b..000000000 --- a/hphp/test/zend/bad/tests-classes/this.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-assign $this in %sthis.php on line %d diff --git a/hphp/test/zend/bad/tests-classes/tostring_001.php.exp b/hphp/test/zend/bad/tests-classes/tostring_001.php.exp index c4e699683..e19e1b9fd 100644 --- a/hphp/test/zend/bad/tests-classes/tostring_001.php.exp +++ b/hphp/test/zend/bad/tests-classes/tostring_001.php.exp @@ -1,53 +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==== +\=\=\=\=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/good/tests-classes/tostring_002.php b/hphp/test/zend/bad/tests-classes/tostring_002.php similarity index 100% rename from hphp/test/zend/good/tests-classes/tostring_002.php rename to hphp/test/zend/bad/tests-classes/tostring_002.php diff --git a/hphp/test/zend/bad/tests-classes/tostring_002.php.exp b/hphp/test/zend/bad/tests-classes/tostring_002.php.exp new file mode 100644 index 000000000..063ce915f --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/tostring_002.php.exp @@ -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 index a97b751de..8626aff54 100644 --- a/hphp/test/zend/bad/tests-classes/tostring_003.php.exp +++ b/hphp/test/zend/bad/tests-classes/tostring_003.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Method Test::__toString() must not throw an exception in %stostring_003.php on line %d +HipHop\ Fatal\ error\:\ Method\ Test\:\:\_\_toString\(\)\ must\ not\ throw\ an\ exception\ in\ [^ +]+tostring\_003\.php\ on\ line\ \d+ \ 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 index b9e29180e..58de9fea5 100644 --- a/hphp/test/zend/bad/tests-classes/tostring_004.php.exp +++ b/hphp/test/zend/bad/tests-classes/tostring_004.php.exp @@ -1,19 +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 - +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/good/tests-classes/type_hinting_001.php b/hphp/test/zend/bad/tests-classes/type_hinting_001.php similarity index 100% rename from hphp/test/zend/good/tests-classes/type_hinting_001.php rename to hphp/test/zend/bad/tests-classes/type_hinting_001.php 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 new file mode 100644 index 000000000..4dba1013e --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_001.php.exp @@ -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 index 110b75b13..e5d2d0667 100644 --- a/hphp/test/zend/bad/tests-classes/type_hinting_002.php.exp +++ b/hphp/test/zend/bad/tests-classes/type_hinting_002.php.exp @@ -1 +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 +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/good/tests-classes/type_hinting_003.php b/hphp/test/zend/bad/tests-classes/type_hinting_003.php similarity index 100% rename from hphp/test/zend/good/tests-classes/type_hinting_003.php rename to hphp/test/zend/bad/tests-classes/type_hinting_003.php 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 new file mode 100644 index 000000000..015fdd246 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_003.php.exp @@ -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 index 22c190379..855897b6f 100644 --- a/hphp/test/zend/bad/tests-classes/type_hinting_004.php.exp +++ b/hphp/test/zend/bad/tests-classes/type_hinting_004.php.exp @@ -1,31 +1,37 @@ ----> 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); +\-\-\-\>\ 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/good/tests-classes/type_hinting_005b.php b/hphp/test/zend/bad/tests-classes/type_hinting_005b.php similarity index 100% rename from hphp/test/zend/good/tests-classes/type_hinting_005b.php rename to hphp/test/zend/bad/tests-classes/type_hinting_005b.php 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 new file mode 100644 index 000000000..e4a9895c3 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_005b.php.exp @@ -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/good/tests-classes/type_hinting_005c.php b/hphp/test/zend/bad/tests-classes/type_hinting_005c.php similarity index 100% rename from hphp/test/zend/good/tests-classes/type_hinting_005c.php rename to hphp/test/zend/bad/tests-classes/type_hinting_005c.php 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 new file mode 100644 index 000000000..4b353d424 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_005c.php.exp @@ -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/good/tests-classes/type_hinting_005d.php b/hphp/test/zend/bad/tests-classes/type_hinting_005d.php similarity index 100% rename from hphp/test/zend/good/tests-classes/type_hinting_005d.php rename to hphp/test/zend/bad/tests-classes/type_hinting_005d.php 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 new file mode 100644 index 000000000..415ec4d97 --- /dev/null +++ b/hphp/test/zend/bad/tests-classes/type_hinting_005d.php.exp @@ -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 index e05cee293..9067499ab 100644 --- a/hphp/test/zend/bad/tests-classes/unset_properties.php.exp +++ b/hphp/test/zend/bad/tests-classes/unset_properties.php.exp @@ -1,24 +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"__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 +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/visibility_000a.php.exp b/hphp/test/zend/bad/tests-classes/visibility_000a.php.exp index fff157a0a..bb35a92f5 100644 --- a/hphp/test/zend/bad/tests-classes/visibility_000a.php.exp +++ b/hphp/test/zend/bad/tests-classes/visibility_000a.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to fail::f0() must be public (as in class same) in hphp/test/zend/bad/tests-classes/visibility_000a.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ fail\:\:f0\(\)\ must\ be\ public\ \(as\ in\ class\ same\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/visibility\_000a\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/visibility_000b.php.exp b/hphp/test/zend/bad/tests-classes/visibility_000b.php.exp index 9f21be279..364056763 100644 --- a/hphp/test/zend/bad/tests-classes/visibility_000b.php.exp +++ b/hphp/test/zend/bad/tests-classes/visibility_000b.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to fail::f0() must be public (as in class same) in hphp/test/zend/bad/tests-classes/visibility_000b.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ fail\:\:f0\(\)\ must\ be\ public\ \(as\ in\ class\ same\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/visibility\_000b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/visibility_001a.php.exp b/hphp/test/zend/bad/tests-classes/visibility_001a.php.exp index 5573827e8..abe166e94 100644 --- a/hphp/test/zend/bad/tests-classes/visibility_001a.php.exp +++ b/hphp/test/zend/bad/tests-classes/visibility_001a.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to fail::f1() must be public (as in class same) in hphp/test/zend/bad/tests-classes/visibility_001a.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ fail\:\:f1\(\)\ must\ be\ public\ \(as\ in\ class\ same\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/visibility\_001a\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/visibility_001b.php.exp b/hphp/test/zend/bad/tests-classes/visibility_001b.php.exp index 3d2116cb6..d8b7b4225 100644 --- a/hphp/test/zend/bad/tests-classes/visibility_001b.php.exp +++ b/hphp/test/zend/bad/tests-classes/visibility_001b.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to fail::f1() must be public (as in class same) in hphp/test/zend/bad/tests-classes/visibility_001b.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ fail\:\:f1\(\)\ must\ be\ public\ \(as\ in\ class\ same\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/visibility\_001b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/visibility_002a.php.exp b/hphp/test/zend/bad/tests-classes/visibility_002a.php.exp index 50cf46f8b..1a751b8be 100644 --- a/hphp/test/zend/bad/tests-classes/visibility_002a.php.exp +++ b/hphp/test/zend/bad/tests-classes/visibility_002a.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to fail::f2() must be public (as in class same) in hphp/test/zend/bad/tests-classes/visibility_002a.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ fail\:\:f2\(\)\ must\ be\ public\ \(as\ in\ class\ same\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/visibility\_002a\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/visibility_002b.php.exp b/hphp/test/zend/bad/tests-classes/visibility_002b.php.exp index edd62252a..65781c527 100644 --- a/hphp/test/zend/bad/tests-classes/visibility_002b.php.exp +++ b/hphp/test/zend/bad/tests-classes/visibility_002b.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to fail::f2() must be public (as in class same) in hphp/test/zend/bad/tests-classes/visibility_002b.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ fail\:\:f2\(\)\ must\ be\ public\ \(as\ in\ class\ same\)\ in\ hphp\/test\/zend\/bad\/tests\-classes\/visibility\_002b\.php\ on\ line\ \d+ \ 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.exp index ff885d550..9bdcc8e91 100644 --- a/hphp/test/zend/bad/tests-func/007.php.exp +++ b/hphp/test/zend/bad/tests-func/007.php.exp @@ -1,2 +1,2 @@ ini_set_works -ini_restore_works +ini_restore_works \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-func/010.php.exp b/hphp/test/zend/bad/tests-func/010.php.exp index 7320f251b..372b89541 100644 --- a/hphp/test/zend/bad/tests-func/010.php.exp +++ b/hphp/test/zend/bad/tests-func/010.php.exp @@ -5,4 +5,4 @@ bool(true) bool(true) bool(true) bool(true) -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-func/ini_alter.php.exp b/hphp/test/zend/bad/tests-func/ini_alter.php.exp index e225cd8f8..2c5fd165f 100644 --- a/hphp/test/zend/bad/tests-func/ini_alter.php.exp +++ b/hphp/test/zend/bad/tests-func/ini_alter.php.exp @@ -1,3 +1,2 @@ string(1) "1" -string(1) "0" - +string(1) "0" \ No newline at end of file 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.exp index 9d3b55694..7d8920e30 100644 --- 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.exp @@ -538,4 +538,4 @@ float(1.844674407371E+19) int(0) --- testing: 9223372036854775807 + -9.2233720368548E+18 --- float(0) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index de3f19335..888eb0bcf 100644 --- 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.exp @@ -538,5 +538,4 @@ int(-1) int(-1) --- testing: 9223372036854775807 | -9.2233720368548E+18 --- int(-1) -===DONE=== - \ No newline at end of file +===DONE=== \ No newline at end of file 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.exp index eea994aaf..5799b45e4 100644 --- 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.exp @@ -538,5 +538,4 @@ int(9223372036854775807) int(-2) --- testing: 9223372036854775807 << -9.2233720368548E+18 --- int(9223372036854775807) -===DONE=== - \ No newline at end of file +===DONE=== \ No newline at end of file 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.exp index 42eb18893..e8bc81ccf 100644 --- a/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/bitwiseShiftLeft_variationStr.php.exp @@ -390,5 +390,4 @@ string(2) "30" string(2) "30" --- testing: 'a5.9' << 'a5.9' --- string(2) "30" -===DONE=== - +===DONE=== \ No newline at end of file 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.exp index c448e869b..38249ee5a 100644 --- 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.exp @@ -538,5 +538,4 @@ int(9223372036854775807) int(4611686018427387903) --- testing: 9223372036854775807 >> -9.2233720368548E+18 --- int(9223372036854775807) -===DONE=== - \ No newline at end of file +===DONE=== \ No newline at end of file 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.exp index 83ce16f44..2a1898034 100644 --- 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.exp @@ -538,5 +538,4 @@ int(-1) int(-2) --- testing: 9223372036854775807 ^ -9.2233720368548E+18 --- int(-1) -===DONE=== - \ No newline at end of file +===DONE=== \ No newline at end of file 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.exp index 52d7661c2..3c2cff852 100644 --- 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.exp @@ -538,4 +538,4 @@ float(1) int(-1) --- testing: 9223372036854775807 / -9.2233720368548E+18 --- float(-1) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 1727531a8..4bf1247a7 100644 --- a/hphp/test/zend/bad/tests-lang-operators/divide_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/divide_variationStr.php.exp @@ -390,4 +390,4 @@ int(0) float(0) --- testing: 'a5.9' / 'a5.9' --- bool(false) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index c9ad4e869..68c29e814 100644 --- 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.exp @@ -538,4 +538,4 @@ float(8.5070591730235E+37) float(-8.5070591730235E+37) --- testing: 9223372036854775807 * -9.2233720368548E+18 --- float(-8.5070591730235E+37) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index be37d24c0..6de978769 100644 --- a/hphp/test/zend/bad/tests-lang-operators/multiply_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/multiply_variationStr.php.exp @@ -390,4 +390,4 @@ int(0) float(0) --- testing: 'a5.9' * 'a5.9' --- int(0) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index f619d3320..d09480b0a 100644 --- 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.exp @@ -28,4 +28,4 @@ float(-9.2233720368548E+18) int(9223372036854775807) --- testing: -9.2233720368548E+18 --- float(9.2233720368548E+18) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 4aa66d901..b80c7f414 100644 --- 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.exp @@ -28,4 +28,4 @@ float(9.2233720368548E+18) int(-9223372036854775808) --- testing: -9.2233720368548E+18 --- float(-9.2233720368548E+18) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 81b15c0f0..952397ac8 100644 --- a/hphp/test/zend/bad/tests-lang-operators/postdec_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/postdec_variationStr.php.exp @@ -26,4 +26,4 @@ string(7) "123abc " string(4) "3.4a" --- testing: 'a5.9' --- string(4) "a5.9" -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 13a1596a2..d7af24747 100644 --- 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.exp @@ -28,4 +28,4 @@ float(9.2233720368548E+18) int(-9223372036854775806) --- testing: -9.2233720368548E+18 --- float(-9.2233720368548E+18) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 250117731..48efef729 100644 --- a/hphp/test/zend/bad/tests-lang-operators/postinc_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/postinc_variationStr.php.exp @@ -26,4 +26,4 @@ string(7) "123abc " string(4) "3.4b" --- testing: 'a5.9' --- string(4) "a5.0" -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 4aa66d901..b80c7f414 100644 --- 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.exp @@ -28,4 +28,4 @@ float(9.2233720368548E+18) int(-9223372036854775808) --- testing: -9.2233720368548E+18 --- float(-9.2233720368548E+18) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 81b15c0f0..952397ac8 100644 --- a/hphp/test/zend/bad/tests-lang-operators/predec_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/predec_variationStr.php.exp @@ -26,4 +26,4 @@ string(7) "123abc " string(4) "3.4a" --- testing: 'a5.9' --- string(4) "a5.9" -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 13a1596a2..d7af24747 100644 --- 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.exp @@ -28,4 +28,4 @@ float(9.2233720368548E+18) int(-9223372036854775806) --- testing: -9.2233720368548E+18 --- float(-9.2233720368548E+18) -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 250117731..48efef729 100644 --- a/hphp/test/zend/bad/tests-lang-operators/preinc_variationStr.php.exp +++ b/hphp/test/zend/bad/tests-lang-operators/preinc_variationStr.php.exp @@ -26,4 +26,4 @@ string(7) "123abc " string(4) "3.4b" --- testing: 'a5.9' --- string(4) "a5.0" -===DONE=== +===DONE=== \ No newline at end of file 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.exp index 0ced03c82..db51fd35a 100644 --- 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.exp @@ -538,4 +538,4 @@ float(0) float(1.844674407371E+19) --- testing: 9223372036854775807 - -9.2233720368548E+18 --- float(1.844674407371E+19) -===DONE=== +===DONE=== \ 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.exp index e965047ad..5ab2f8a43 100644 --- a/hphp/test/zend/bad/tests-lang/015.php.exp +++ b/hphp/test/zend/bad/tests-lang/015.php.exp @@ -1 +1 @@ -Hello +Hello \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/016.php.exp b/hphp/test/zend/bad/tests-lang/016.php.exp index e965047ad..5ab2f8a43 100644 --- a/hphp/test/zend/bad/tests-lang/016.php.exp +++ b/hphp/test/zend/bad/tests-lang/016.php.exp @@ -1 +1 @@ -Hello +Hello \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/019.php b/hphp/test/zend/bad/tests-lang/019.php similarity index 100% rename from hphp/test/zend/good/tests-lang/019.php rename to hphp/test/zend/bad/tests-lang/019.php diff --git a/hphp/test/zend/bad/tests-lang/019.php.exp b/hphp/test/zend/bad/tests-lang/019.php.exp new file mode 100644 index 000000000..0cb2a7a82 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/019.php.exp @@ -0,0 +1,24 @@ +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/024.php.exp b/hphp/test/zend/bad/tests-lang/024.php.exp index 4321e9352..cfa07a486 100644 --- a/hphp/test/zend/bad/tests-lang/024.php.exp +++ b/hphp/test/zend/bad/tests-lang/024.php.exp @@ -11247,4 +11247,4 @@ and this is PHP code, 2+2=4 ******************************** -Tests completed. +Tests completed. \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/031.php b/hphp/test/zend/bad/tests-lang/031.php similarity index 100% rename from hphp/test/zend/good/tests-lang/031.php rename to hphp/test/zend/bad/tests-lang/031.php diff --git a/hphp/test/zend/good/tests-lang/031.php.exp b/hphp/test/zend/bad/tests-lang/031.php.exp similarity index 91% rename from hphp/test/zend/good/tests-lang/031.php.exp rename to hphp/test/zend/bad/tests-lang/031.php.exp index 9c3b91818..747429349 100644 --- a/hphp/test/zend/good/tests-lang/031.php.exp +++ b/hphp/test/zend/bad/tests-lang/031.php.exp @@ -9,8 +9,10 @@ inloop 1 for key1 What happens without inner loop reset but copy. inloop 0 for key1 inloop 1 for key1 +inloop 0 for key2 +inloop 1 for key2 What happens with inner loop reset over copy. inloop 0 for key1 inloop 1 for key1 inloop 0 for key2 -inloop 1 for key2 +inloop 1 for key2 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/041.php.exp b/hphp/test/zend/bad/tests-lang/041.php.exp index 504bbf606..d0dc315e6 100644 --- a/hphp/test/zend/bad/tests-lang/041.php.exp +++ b/hphp/test/zend/bad/tests-lang/041.php.exp @@ -1,2 +1,3 @@ -foo -HipHop Fatal error: Class 'B' not found in %s041.php on line %d +foo\ +HipHop\ Fatal\ error\:\ Class\ \'B\'\ not\ found\ in\ [^ +]+041\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/042.php.exp b/hphp/test/zend/bad/tests-lang/042.php.exp index c179d9a49..ba211201b 100644 --- a/hphp/test/zend/bad/tests-lang/042.php.exp +++ b/hphp/test/zend/bad/tests-lang/042.php.exp @@ -1,2 +1,3 @@ -foo -HipHop Fatal error: Class 'B' not found in %s042.php on line %d +foo\ +HipHop\ Fatal\ error\:\ Class\ \'B\'\ not\ found\ in\ [^ +]+042\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/043.php.exp b/hphp/test/zend/bad/tests-lang/043.php.exp index 7d35c4568..e342ce71d 100644 --- a/hphp/test/zend/bad/tests-lang/043.php.exp +++ b/hphp/test/zend/bad/tests-lang/043.php.exp @@ -1,2 +1,3 @@ -foo -HipHop Fatal error: Class 'B' not found in %s043.php on line %d +foo\ +HipHop\ Fatal\ error\:\ Class\ \'B\'\ not\ found\ in\ [^ +]+043\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/044.php.exp b/hphp/test/zend/bad/tests-lang/044.php.exp index bc50101cc..16d6de455 100644 --- a/hphp/test/zend/bad/tests-lang/044.php.exp +++ b/hphp/test/zend/bad/tests-lang/044.php.exp @@ -1,2 +1,3 @@ -foo -HipHop Fatal error: Class 'B' not found in %s044.php on line %d +foo\ +HipHop\ Fatal\ error\:\ Class\ \'B\'\ not\ found\ in\ [^ +]+044\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/045.php.exp b/hphp/test/zend/bad/tests-lang/045.php.exp index f1b22cb1b..45eabf859 100644 --- a/hphp/test/zend/bad/tests-lang/045.php.exp +++ b/hphp/test/zend/bad/tests-lang/045.php.exp @@ -1,2 +1,2 @@ -HipHop Fatal error: Maximum execution time of 1 second exceeded in hphp/test/zend/bad/tests-lang/045.php on line %d -HipHop Fatal error: Maximum execution time of 1 second exceeded in hphp/test/zend/bad/tests-lang/045.php on line %d +HipHop\ Fatal\ error\:\ Maximum\ execution\ time\ of\ 1\ second\ exceeded\ in\ hphp\/test\/zend\/bad\/tests\-lang\/045\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Maximum\ execution\ time\ of\ 1\ second\ exceeded\ in\ hphp\/test\/zend\/bad\/tests\-lang\/045\.php\ on\ line\ \d+ \ 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.exp index 9215c54be..9c7a5736c 100644 --- a/hphp/test/zend/bad/tests-lang/array_shortcut_001.php.exp +++ b/hphp/test/zend/bad/tests-lang/array_shortcut_001.php.exp @@ -3,4 +3,4 @@ Array [0] => 1 [1] => 2 [2] => 3 -) +) \ No newline at end of file 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.exp index 82eb22dfe..2cba81f62 100644 --- a/hphp/test/zend/bad/tests-lang/array_shortcut_002.php.exp +++ b/hphp/test/zend/bad/tests-lang/array_shortcut_002.php.exp @@ -3,4 +3,4 @@ Array [foo] => orange [bar] => apple [baz] => lemon -) +) \ No newline at end of file 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.exp index 09dfa0abf..ca6b1ac28 100644 --- a/hphp/test/zend/bad/tests-lang/array_shortcut_003.php.exp +++ b/hphp/test/zend/bad/tests-lang/array_shortcut_003.php.exp @@ -2,4 +2,4 @@ Array ( [0] => 2 [1] => 4 -) +) \ No newline at end of file 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.exp index a058680b0..ecebe0277 100644 --- a/hphp/test/zend/bad/tests-lang/array_shortcut_005.php.exp +++ b/hphp/test/zend/bad/tests-lang/array_shortcut_005.php.exp @@ -10,4 +10,4 @@ Array [baz] => lemon ) -) +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug21094.php.exp b/hphp/test/zend/bad/tests-lang/bug21094.php.exp deleted file mode 100644 index b1047e3b7..000000000 --- a/hphp/test/zend/bad/tests-lang/bug21094.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -[1024] errstr: test, errfile: %s, errline: %d - diff --git a/hphp/test/zend/bad/tests-lang/bug21820.php.exp b/hphp/test/zend/bad/tests-lang/bug21820.php.exp index ccce2a708..10c444a11 100644 --- a/hphp/test/zend/bad/tests-lang/bug21820.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug21820.php.exp @@ -1 +1,7 @@ -Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%sin %sbug21820.php on line %d +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/bug22592.php.exp b/hphp/test/zend/bad/tests-lang/bug22592.php.exp index 1b31d4e8b..dc81d4f0c 100644 --- a/hphp/test/zend/bad/tests-lang/bug22592.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug22592.php.exp @@ -13,4 +13,4 @@ string(1) "s" string(1) "4" string(1) "5" string(1) "5" -[Illegal string offset: -1] +[Illegal string offset: -1] \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug23279.php.exp b/hphp/test/zend/bad/tests-lang/bug23279.php.exp index 3e02f18d5..972263ed9 100644 --- a/hphp/test/zend/bad/tests-lang/bug23279.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug23279.php.exp @@ -1 +1 @@ -Goodbye Cruel World +Goodbye Cruel World \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug23624.php.exp b/hphp/test/zend/bad/tests-lang/bug23624.php.exp index 0a4ab0e41..353d7f639 100644 --- a/hphp/test/zend/bad/tests-lang/bug23624.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug23624.php.exp @@ -1,2 +1,2 @@ string(3) "one" -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug24054.php.exp b/hphp/test/zend/bad/tests-lang/bug24054.php.exp index 4183d27b5..ab4e5ad12 100644 --- a/hphp/test/zend/bad/tests-lang/bug24054.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug24054.php.exp @@ -1,2 +1,2 @@ 1,1,0,0 -OK +OK \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug24403.php.exp b/hphp/test/zend/bad/tests-lang/bug24403.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/tests-lang/bug24658.php.exp b/hphp/test/zend/bad/tests-lang/bug24658.php.exp index 40697ca43..5651bf330 100644 --- a/hphp/test/zend/bad/tests-lang/bug24658.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug24658.php.exp @@ -1,23 +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 +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.exp index fb889b005..8661800ee 100644 --- a/hphp/test/zend/bad/tests-lang/bug24951.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug24951.php.exp @@ -2,4 +2,4 @@ [Hello from t2 1 Hello from t2 2 ] -Hello from t3 2 ] +Hello from t3 2 ] \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug25145.php.exp b/hphp/test/zend/bad/tests-lang/bug25145.php.exp index 7acaf4cb0..d049acca4 100644 --- a/hphp/test/zend/bad/tests-lang/bug25145.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug25145.php.exp @@ -5,4 +5,4 @@ array(1) { string(4) "SEGV" } } -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug25547.php b/hphp/test/zend/bad/tests-lang/bug25547.php similarity index 100% rename from hphp/test/zend/good/tests-lang/bug25547.php rename to hphp/test/zend/bad/tests-lang/bug25547.php diff --git a/hphp/test/zend/bad/tests-lang/bug25547.php.exp b/hphp/test/zend/bad/tests-lang/bug25547.php.exp new file mode 100644 index 000000000..6a5bfed0b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug25547.php.exp @@ -0,0 +1,6 @@ +handler(Undefined index: foo) +Array +( + [foo] => 1 +) +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug27439.php.exp b/hphp/test/zend/bad/tests-lang/bug27439.php.exp index 7c7cff0fd..29e4c9d6e 100644 --- a/hphp/test/zend/bad/tests-lang/bug27439.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug27439.php.exp @@ -1,7 +1,7 @@ -123 -HipHop Notice: Undefined property: test::$foobar in hphp/test/zend/bad/tests-lang/bug27439.php on line %d -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/bug27439.php on line %d -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/bug27439.php on line %d -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/bug27439.php on line %d -123 -===DONE=== +123\ +HipHop\ Notice\:\ Undefined\ property\:\ test\:\:\$foobar\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug27439\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug27439\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug27439\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug27439\.php\ on\ line\ \d+\ +123\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug28213.php b/hphp/test/zend/bad/tests-lang/bug28213.php new file mode 100644 index 000000000..18214a01b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug28213.php @@ -0,0 +1,5 @@ + \ 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.exp new file mode 100644 index 000000000..514b0135e --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug28213.php.exp @@ -0,0 +1 @@ +.*#1\s*include.* \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug29566.php.exp b/hphp/test/zend/bad/tests-lang/bug29566.php.exp index e360327af..08279f895 100644 --- a/hphp/test/zend/bad/tests-lang/bug29566.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug29566.php.exp @@ -1,3 +1,5 @@ -HipHop Warning: Illegal string offset 'nosuchkey' in %sbug29566.php on line %d -HipHop Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d -===DONE=== +HipHop\ Warning\:\ Illegal\ string\ offset\ \'nosuchkey\'\ in\ [^ +]+bug29566\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ [^ +]+bug29566\.php\ on\ line\ \d+\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug29893.php.exp b/hphp/test/zend/bad/tests-lang/bug29893.php.exp deleted file mode 100644 index f65cf9c38..000000000 --- a/hphp/test/zend/bad/tests-lang/bug29893.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: Cannot use a scalar value as an array in %sbug29893.php on line %d -===DONE=== diff --git a/hphp/test/zend/bad/tests-lang/bug30578.php.exp b/hphp/test/zend/bad/tests-lang/bug30578.php.exp index c67450fda..f53c348c7 100644 --- a/hphp/test/zend/bad/tests-lang/bug30578.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug30578.php.exp @@ -1,2 +1,2 @@ This should be displayed first. -Buffered data: This should be displayed last. +Buffered data: This should be displayed last. \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug32828.php b/hphp/test/zend/bad/tests-lang/bug32828.php similarity index 100% rename from hphp/test/zend/good/tests-lang/bug32828.php rename to hphp/test/zend/bad/tests-lang/bug32828.php diff --git a/hphp/test/zend/bad/tests-lang/bug32828.php.exp b/hphp/test/zend/bad/tests-lang/bug32828.php.exp new file mode 100644 index 000000000..09a773b11 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/bug32828.php.exp @@ -0,0 +1,8 @@ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ in\ [^ +]+\:\d+\ +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/bug38579.php.exp b/hphp/test/zend/bad/tests-lang/bug38579.php.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/tests-lang/bug38579.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug38579.php.exp @@ -1 +1 @@ -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug43958.php.exp b/hphp/test/zend/bad/tests-lang/bug43958.php.exp index 42fdd6789..f8db4fb1f 100644 --- a/hphp/test/zend/bad/tests-lang/bug43958.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug43958.php.exp @@ -1,3 +1,5 @@ -HipHop Warning: include(file-which-does-not-exist-on-purpose.php): failed to open stream: No such file or directory in %sbug43958.php on line 5 -HipHop Warning: include(): Failed opening 'file-which-does-not-exist-on-purpose.php' for inclusion (include_path='%s') in %sbug43958.php on line 5 - +HipHop\ Warning\:\ include\(file\-which\-does\-not\-exist\-on\-purpose\.php\)\:\ failed\ to\ open\ stream\:\ No\ such\ file\ or\ directory\ in\ [^ +]+bug43958\.php\ on\ line\ 5\ +HipHop\ Warning\:\ include\(\)\:\ Failed\ opening\ \'file\-which\-does\-not\-exist\-on\-purpose\.php\'\ for\ inclusion\ \(include\_path\=\'[^ +]+\'\)\ in\ [^ +]+bug43958\.php\ on\ line\ 5 \ 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.exp index f9bd8ab36..4e6763d3c 100644 --- a/hphp/test/zend/bad/tests-lang/bug44654.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug44654.php.exp @@ -1 +1 @@ -#1##1 +#1##1 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug44827.php.exp b/hphp/test/zend/bad/tests-lang/bug44827.php.exp index fdd286d67..f6f562851 100644 --- a/hphp/test/zend/bad/tests-lang/bug44827.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug44827.php.exp @@ -1,4 +1,3 @@ -HipHop Warning: Class constants cannot be defined or redefined in hphp/test/zend/bad/tests-lang/bug44827.php on line %d -HipHop Warning: constant(): Couldn't find constant :: in hphp/test/zend/bad/tests-lang/bug44827.php on line %d -NULL - +HipHop\ Warning\:\ Class\ constants\ cannot\ be\ defined\ or\ redefined\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug44827\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ constant\(\)\:\ Couldn\'t\ find\ constant\ \:\:\ in\ hphp\/test\/zend\/bad\/tests\-lang\/bug44827\.php\ on\ line\ \d+\ +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.exp index c8e8a135c..096264973 100644 --- a/hphp/test/zend/bad/tests-lang/bug55754.php.exp +++ b/hphp/test/zend/bad/tests-lang/bug55754.php.exp @@ -1 +1 @@ -DONE +DONE \ No newline at end of file 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 index 6a5638988..4cf7a7fce 100644 --- a/hphp/test/zend/bad/tests-lang/catchable_error_001.php.exp +++ b/hphp/test/zend/bad/tests-lang/catchable_error_001.php.exp @@ -1 +1,3 @@ -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 +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_002.php.exp b/hphp/test/zend/bad/tests-lang/catchable_error_002.php.exp index 1110cc370..e2686e43c 100644 --- a/hphp/test/zend/bad/tests-lang/catchable_error_002.php.exp +++ b/hphp/test/zend/bad/tests-lang/catchable_error_002.php.exp @@ -1,14 +1,16 @@ -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! +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/good/tests-lang/comments.php b/hphp/test/zend/bad/tests-lang/comments.php similarity index 100% rename from hphp/test/zend/good/tests-lang/comments.php rename to hphp/test/zend/bad/tests-lang/comments.php diff --git a/hphp/test/zend/good/tests-lang/comments.php.exp b/hphp/test/zend/bad/tests-lang/comments.php.exp similarity index 50% rename from hphp/test/zend/good/tests-lang/comments.php.exp rename to hphp/test/zend/bad/tests-lang/comments.php.exp index b80315c69..0b7166bf9 100644 --- a/hphp/test/zend/good/tests-lang/comments.php.exp +++ b/hphp/test/zend/bad/tests-lang/comments.php.exp @@ -1,4 +1,5 @@ +#teste #teste2 #ola uhm # ah -e este, # hein? +e este, # hein? \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php.exp b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php.exp deleted file mode 100644 index 3f578ccab..000000000 --- a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php.exp +++ /dev/null @@ -1,78 +0,0 @@ - - -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" diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php.exp b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php.exp index c031a6089..0124a23d2 100644 --- a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php.exp +++ b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php.exp @@ -1,40 +1,40 @@ -A=hello B=bye -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php on line %d -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 offset: 1 in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php on line %d -HipHop Notice: Undefined offset: 0 in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php on line %d -Y=,Z= -HipHop Notice: Undefined offset: 1 in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_002.php on line %d -AA=10 -CC=10 DD=30 -Array -( - [0] => array created in f() - [array entry created after f()] => Array - ( - [1] => hello - ) - -) +A\=hello\ B\=bye\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_002\.php\ on\ line\ \d+\ +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\ offset\:\ 1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_002\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_002\.php\ on\ line\ \d+\ +Y\=\,Z\=\ +HipHop\ Notice\:\ Undefined\ offset\:\ 1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_002\.php\ on\ line\ \d+\ +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_007.php b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php similarity index 100% rename from hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_007.php rename to hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php 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 new file mode 100644 index 000000000..d461ffbfe --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_007.php.exp @@ -0,0 +1,35 @@ +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_008.php.exp b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.exp index b63b671b0..414f6d2d9 100644 --- a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.exp +++ b/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php.exp @@ -1,18 +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: Creating default object from empty value in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php on line %d -good -$i->p->q=f(): -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php on line %d -good -$i->p[0]=f(): good -$i->p[0]->p=f(): -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_008.php on line %d -good -C::$p=f(): good -C::$p[0]=f(): good -C::$p->q=f(): good +\$i\=f\(\)\:\ good\ +\$\$x\=f\(\)\:\ good\ +\$\{\'i\'\}\=f\(\)\:\ good\ +\$i\[0\]\=f\(\)\:\ good\ +\$i\[0\]\[0\]\=f\(\)\:\ good\ +\$i\-\>p\=f\(\)\:\ \ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_008\.php\ on\ line\ \d+\ +good\ +\$i\-\>p\-\>q\=f\(\)\:\ \ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_008\.php\ on\ line\ \d+\ +good\ +\$i\-\>p\[0\]\=f\(\)\:\ good\ +\$i\-\>p\[0\]\-\>p\=f\(\)\:\ \ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/engine\_assignExecutionOrder\_008\.php\ on\ line\ \d+\ +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/good/tests-lang/execution_order.php b/hphp/test/zend/bad/tests-lang/execution_order.php similarity index 100% rename from hphp/test/zend/good/tests-lang/execution_order.php rename to hphp/test/zend/bad/tests-lang/execution_order.php diff --git a/hphp/test/zend/good/tests-lang/execution_order.php.exp b/hphp/test/zend/bad/tests-lang/execution_order.php.exp similarity index 96% rename from hphp/test/zend/good/tests-lang/execution_order.php.exp rename to hphp/test/zend/bad/tests-lang/execution_order.php.exp index dab3cf78b..4fe109773 100644 --- a/hphp/test/zend/good/tests-lang/execution_order.php.exp +++ b/hphp/test/zend/bad/tests-lang/execution_order.php.exp @@ -21,4 +21,4 @@ 21)220 22)600 23)210 -24)600 +24)600 \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.exp index 78e448855..83af2f45f 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.003.php.exp @@ -1,13 +1,7 @@ - -Not an array. - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.003.php on line 4 - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.003.php on line 9 - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.003.php on line 14 - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.003.php on line 19 - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.003.php on line 24 -done. +Not\ an\ array\.\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.003\.php\ on\ line\ 4\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.003\.php\ on\ line\ 9\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.003\.php\ on\ line\ 14\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.003\.php\ on\ line\ 19\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.003\.php\ on\ line\ 24\ +done\. \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.006.php b/hphp/test/zend/bad/tests-lang/foreachLoop.006.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoop.006.php rename to hphp/test/zend/bad/tests-lang/foreachLoop.006.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.006.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.006.php.exp new file mode 100644 index 000000000..3e3198b8d --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.006.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Key\ element\ cannot\ be\ a\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.006\.php\ on\ line\ 3 \ 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 index e0f991343..5e0643c56 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.007.php.exp @@ -1 +1,2 @@ -Parse error: %s on line 3 +Parse\ error\:\ [^ +]+\ 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 index d9531b220..80af1297b 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.008.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot create references to elements of a temporary array expression in hphp/test/zend/bad/tests-lang/foreachLoop.008.php on line 2 +HipHop\ Fatal\ error\:\ Cannot\ create\ references\ to\ elements\ of\ a\ temporary\ array\ expression\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.008\.php\ on\ line\ 2 \ 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.exp index 3d33741b1..8653015f9 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.009.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.009.php.exp @@ -1,4 +1,3 @@ - Remove elements from a referenced array during loop key: 0; value: original.0 key: 1; value: original.1 @@ -25,5 +24,4 @@ key: 3; value: new.0 key: 4; value: new.1 key: 5; value: new.2 key: 6; value: new.3 -Loop detected, as expected. - +Loop detected, as expected. \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp index cfbf464b2..83be324de 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.011.php.exp @@ -1,10 +1,7 @@ - -Change from array to non iterable: -int(1) - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.011.php on line 5 - -Change from object to non iterable: -int(1) - -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/tests-lang/foreachLoop.011.php on line 15 \ No newline at end of file +Change\ from\ array\ to\ non\ iterable\:\ +int\(1\)\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.011\.php\ on\ line\ 5\ +\ +Change\ from\ object\ to\ non\ iterable\:\ +int\(1\)\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.011\.php\ on\ line\ 15 \ 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 index 1b33636c6..c6e22479f 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.013.php.exp @@ -1,484 +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" -} +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 index f23984ecc..1f6531914 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.014.php.exp @@ -1,483 +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 +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 index ded5d9f18..93242343b 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.015.php.exp @@ -1,484 +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" -} +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 index ed0bd954c..66bcb931b 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoop.016.php.exp @@ -1,86 +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: Creating default object from empty value in hphp/test/zend/bad/tests-lang/foreachLoop.016.php on line %d -array(1) { - [0]=> - string(8) "original" -} - -$a->b->c - -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/tests-lang/foreachLoop.016.php on line %d -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: Creating default object from empty value in hphp/test/zend/bad/tests-lang/foreachLoop.016.php on line %d -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: Creating default object from empty value in hphp/test/zend/bad/tests-lang/foreachLoop.016.php on line %d -array(1) { - [0]=> - string(8) "original" -} +\$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\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.016\.php\ on\ line\ \d+\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(8\)\ \"original\"\ +\}\ +\ +\$a\-\>b\-\>c\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.016\.php\ on\ line\ \d+\ +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\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.016\.php\ on\ line\ \d+\ +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\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoop\.016\.php\ on\ line\ \d+\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(8\)\ \"original\"\ +\} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.017.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoop.017.php.exp deleted file mode 100644 index f12f1112a..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoop.017.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -10 -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIterator.001.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopIterator.001.php.exp index 23b8a831b..f76a486ed 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopIterator.001.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoopIterator.001.php.exp @@ -1,64 +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: Undefined offset: 3 in hphp/test/zend/bad/tests-lang/foreachLoopIterator.001.php on line %d - --> MealIterator::valid (4) -===DONE=== \ No newline at end of file +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\:\ Undefined\ offset\:\ 3\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoopIterator\.001\.php\ on\ line\ \d+\ +\ \-\-\>\ MealIterator\:\:valid\ \(4\)\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php b/hphp/test/zend/bad/tests-lang/foreachLoopIterator.002.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoopIterator.002.php rename to hphp/test/zend/bad/tests-lang/foreachLoopIterator.002.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIterator.002.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopIterator.002.php.exp new file mode 100644 index 000000000..c403d69d6 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopIterator.002.php.exp @@ -0,0 +1,2 @@ +\-\-\-\-\-\(\ Try\ to\ iterate\ with\ \&\$value\:\ \)\-\-\-\-\-\ +HipHop\ Fatal\ error\:\ An\ iterator\ cannot\ be\ used\ with\ foreach\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/foreachLoopIterator\.002\.php\ on\ line\ 13 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.002.php b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php similarity index 100% rename from hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.002.php rename to hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.exp new file mode 100644 index 000000000..20f4b024a --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.002.php.exp @@ -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/bad/tests-lang/foreachLoopObjects.002.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.exp index b19c65624..d85c502d2 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.002.php.exp @@ -1,417 +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 +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 index 53e5e604d..0150ce28c 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.003.php.exp @@ -1,163 +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 +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.004.php.exp b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php.exp deleted file mode 100644 index d2b749d97..000000000 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php.exp +++ /dev/null @@ -1,20 +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/bad/tests-lang/foreachLoopObjects.004.php on line %d -string(10) "Original c" -HipHop Notice: Undefined property: C::$b in hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php on line %d -string(10) "Original d" -HipHop Notice: Undefined property: C::$b in hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php on line %d -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 index 0a479d213..a4c9e6611 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.005.php.exp @@ -1,33 +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" -} +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 index c60b63f5d..584fc3a3f 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.exp +++ b/hphp/test/zend/bad/tests-lang/foreachLoopObjects.006.php.exp @@ -1,75 +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" -} +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.003.php.exp b/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.exp index 01650bcf4..d1245957a 100644 --- a/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.exp +++ b/hphp/test/zend/bad/tests-lang/func_get_arg.003.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: func_get_arg(): Called from the global scope - no function context in hphp/test/zend/bad/tests-lang/func_get_arg.003.php on line %d -bool(false) +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Called\ from\ the\ global\ scope\ \-\ no\ function\ context\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_get\_arg\.003\.php\ on\ line\ \d+\ +bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.004.php.exp b/hphp/test/zend/bad/tests-lang/func_get_arg.004.php.exp deleted file mode 100644 index a87238d8c..000000000 --- a/hphp/test/zend/bad/tests-lang/func_get_arg.004.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -HipHop Warning: func_get_arg(): Argument 2 not passed to function in hphp/test/zend/bad/tests-lang/func_get_arg.004.php on line %d -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 index cfc269f4d..3618dde95 100644 --- 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 @@ -1,6 +1,5 @@ -HipHop Warning: Missing argument 1 for func_get_arg() in hphp/test/zend/bad/tests-lang/func_get_arg_variation.php on line %d -HipHop Warning: func_get_arg() expects exactly 1 parameter, 2 given in hphp/test/zend/bad/tests-lang/func_get_arg_variation.php on line %d -HipHop Warning: func_get_arg() expects parameter 1 to be long, string given in hphp/test/zend/bad/tests-lang/func_get_arg_variation.php on line %d -HipHop Warning: func_get_arg(): The argument number should be >= 0 in hphp/test/zend/bad/tests-lang/func_get_arg_variation.php on line %d -HipHop Warning: func_get_arg(): Argument 2 not passed to function in hphp/test/zend/bad/tests-lang/func_get_arg_variation.php on line %d - +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ func\_get\_arg\(\)\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_get\_arg\_variation\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ func\_get\_arg\(\)\ expects\ exactly\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_get\_arg\_variation\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ func\_get\_arg\(\)\ expects\ parameter\ 1\ to\ be\ long\,\ string\ given\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_get\_arg\_variation\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ The\ argument\ number\ should\ be\ \>\=\ 0\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_get\_arg\_variation\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 2\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_get\_arg\_variation\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/func_get_args.003.php b/hphp/test/zend/bad/tests-lang/func_get_args.003.php new file mode 100644 index 000000000..2ab67e586 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_args.003.php @@ -0,0 +1,5 @@ + \ 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 new file mode 100644 index 000000000..542074909 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_get_args.003.php.exp @@ -0,0 +1,2 @@ +Warning\: func_get_args\(\)\: Called from the global scope - no function context in \S* on line 3 +bool\(false\) \ No newline at end of file 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 index 961e5f739..562996031 100644 --- 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 @@ -1,35 +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 +\-\-\ 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/good/tests-lang/func_num_args.003.php b/hphp/test/zend/bad/tests-lang/func_num_args.003.php similarity index 100% rename from hphp/test/zend/good/tests-lang/func_num_args.003.php rename to hphp/test/zend/bad/tests-lang/func_num_args.003.php 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 new file mode 100644 index 000000000..ba04511c8 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/func_num_args.003.php.exp @@ -0,0 +1,2 @@ +HipHop\ Warning\:\ func\_num\_args\(\)\:\ \ Called\ from\ the\ global\ scope\ \-\ no\ function\ context\ in\ hphp\/test\/zend\/bad\/tests\-lang\/func\_num\_args\.003\.php\ on\ line\ \d+\ +int\(\-1\) \ 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.exp index 8e7a00a53..db051b885 100644 --- a/hphp/test/zend/bad/tests-lang/include_variation1.php.exp +++ b/hphp/test/zend/bad/tests-lang/include_variation1.php.exp @@ -1 +1 @@ -Included! +Included! \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/include_variation2.php.exp b/hphp/test/zend/bad/tests-lang/include_variation2.php.exp index 8e7a00a53..db051b885 100644 --- a/hphp/test/zend/bad/tests-lang/include_variation2.php.exp +++ b/hphp/test/zend/bad/tests-lang/include_variation2.php.exp @@ -1 +1 @@ -Included! +Included! \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/passByReference_002.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_002.php.exp index e4363dabb..48f3ca40b 100644 --- a/hphp/test/zend/bad/tests-lang/passByReference_002.php.exp +++ b/hphp/test/zend/bad/tests-lang/passByReference_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Only variables can be passed by reference in hphp/test/zend/bad/tests-lang/passByReference_002.php on line 8 +HipHop\ Fatal\ error\:\ Only\ variables\ can\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_002\.php\ on\ line\ 8 \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/passByReference_004.php b/hphp/test/zend/bad/tests-lang/passByReference_004.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_004.php rename to hphp/test/zend/bad/tests-lang/passByReference_004.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_004.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_004.php.exp new file mode 100644 index 000000000..9eb6d8588 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_004.php.exp @@ -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/good/tests-lang/passByReference_005.php b/hphp/test/zend/bad/tests-lang/passByReference_005.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_005.php rename to hphp/test/zend/bad/tests-lang/passByReference_005.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_005.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_005.php.exp new file mode 100644 index 000000000..2be4cc5eb --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_005.php.exp @@ -0,0 +1,83 @@ +\-\-\-\-\ Pass\ by\ ref\ \/\ pass\ by\ val\:\ functions\ \-\-\-\-\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 72\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 74\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 77\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 77\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 78\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 78\ +NULL\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 81\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 82\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 85\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 86\ +string\(11\)\ \"Ref\ changed\"\ +NULL\ +string\(12\)\ \"Ref1\ changed\"\ +string\(12\)\ \"Ref2\ changed\"\ +\ +\ +\ \-\-\-\-\ Pass\ by\ ref\ \/\ pass\ by\ val\:\ static\ method\ calls\ \-\-\-\-\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 95\ +\ +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\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 97\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 100\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 100\ +\ +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\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 101\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 101\ +NULL\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 104\ +\ +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\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 105\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 108\ +\ +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\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 109\ +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\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 117\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 118\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 121\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 123\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 126\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 126\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 127\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 127\ +NULL\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 130\ +HipHop\ Notice\:\ Undefined\ variable\:\ u1\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 131\ +NULL\ +string\(11\)\ \"Ref\ changed\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 134\ +HipHop\ Notice\:\ Undefined\ variable\:\ u2\ in\ hphp\/test\/zend\/bad\/tests\-lang\/passByReference\_005\.php\ on\ line\ 135\ +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 index bb3bb800d..4719dc59a 100644 --- a/hphp/test/zend/bad/tests-lang/passByReference_006.php.exp +++ b/hphp/test/zend/bad/tests-lang/passByReference_006.php.exp @@ -1,139 +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 +\-\-\-\-\ 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/good/tests-lang/passByReference_007.php b/hphp/test/zend/bad/tests-lang/passByReference_007.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_007.php rename to hphp/test/zend/bad/tests-lang/passByReference_007.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_007.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_007.php.exp new file mode 100644 index 000000000..968d4f90a --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_007.php.exp @@ -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_010.php b/hphp/test/zend/bad/tests-lang/passByReference_010.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_010.php rename to hphp/test/zend/bad/tests-lang/passByReference_010.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_010.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_010.php.exp new file mode 100644 index 000000000..e70bf2c4d --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_010.php.exp @@ -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/good/tests-lang/passByReference_012.php b/hphp/test/zend/bad/tests-lang/passByReference_012.php similarity index 100% rename from hphp/test/zend/good/tests-lang/passByReference_012.php rename to hphp/test/zend/bad/tests-lang/passByReference_012.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_012.php.exp b/hphp/test/zend/bad/tests-lang/passByReference_012.php.exp new file mode 100644 index 000000000..3baf1a797 --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/passByReference_012.php.exp @@ -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 index 984b4be6f..b944e508f 100644 --- a/hphp/test/zend/bad/tests-lang/returnByReference.002.php.exp +++ b/hphp/test/zend/bad/tests-lang/returnByReference.002.php.exp @@ -1,4 +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" +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 index 78f2065af..aae7fade6 100644 --- a/hphp/test/zend/bad/tests-lang/returnByReference.003.php.exp +++ b/hphp/test/zend/bad/tests-lang/returnByReference.003.php.exp @@ -1,16 +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: Only variable references should be returned by reference in hphp/test/zend/bad/tests-lang/returnByReference.003.php on line 7 -int(5) -int(100) - ----> 3. Trying to assign by reference the return value of a function that returns by ref: -int(5) -int(5) +\-\-\-\>\ 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\:\ Only\ variable\ references\ should\ be\ returned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.003\.php\ on\ line\ 7\ +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 index 33b6404e9..3944abfab 100644 --- a/hphp/test/zend/bad/tests-lang/returnByReference.004.php.exp +++ b/hphp/test/zend/bad/tests-lang/returnByReference.004.php.exp @@ -1,16 +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: Only variable references should be returned by reference in hphp/test/zend/bad/tests-lang/returnByReference.004.php on line 8 -int(5) -int(100) - ----> 3. Trying to assign by reference the return value of a function that returns by ref: -int(5) -int(5) +\-\-\-\>\ 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\:\ Only\ variable\ references\ should\ be\ returned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.004\.php\ on\ line\ 8\ +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 index 7b6ec4ab3..b1bf77782 100644 --- a/hphp/test/zend/bad/tests-lang/returnByReference.005.php.exp +++ b/hphp/test/zend/bad/tests-lang/returnByReference.005.php.exp @@ -1,16 +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: Only variable references should be returned by reference in hphp/test/zend/bad/tests-lang/returnByReference.005.php on line 8 -int(5) -int(100) - ----> 3. Trying to assign by reference the return value of a function that returns by ref: -int(5) -int(5) +\-\-\-\>\ 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\:\ Only\ variable\ references\ should\ be\ returned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.005\.php\ on\ line\ 8\ +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 index 6e88214ba..7856fc398 100644 --- a/hphp/test/zend/bad/tests-lang/returnByReference.009.php.exp +++ b/hphp/test/zend/bad/tests-lang/returnByReference.009.php.exp @@ -1,7 +1,6 @@ ----> 1. Return a variable by reference -> No warning: -int(1) - ----> 2. Return a value by reference -> HipHop Warning: - -HipHop Notice: Only variable references should be returned by reference in hphp/test/zend/bad/tests-lang/returnByReference.009.php on line %d -int(1) +\-\-\-\>\ 1\.\ Return\ a\ variable\ by\ reference\ \-\>\ No\ warning\:\ +int\(1\)\ +\ +\-\-\-\>\ 2\.\ Return\ a\ value\ by\ reference\ \-\>\ HipHop\ Warning\:\ +HipHop\ Notice\:\ Only\ variable\ references\ should\ be\ returned\ by\ reference\ in\ hphp\/test\/zend\/bad\/tests\-lang\/returnByReference\.009\.php\ on\ line\ \d+\ +int\(1\) \ 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.exp index c9d6fb0fe..4e8e15aa2 100644 --- a/hphp/test/zend/bad/tests-lang/throw_variation_001.php.exp +++ b/hphp/test/zend/bad/tests-lang/throw_variation_001.php.exp @@ -1 +1 @@ -caught exception +caught exception \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/type_hints_001.php b/hphp/test/zend/bad/tests-lang/type_hints_001.php similarity index 100% rename from hphp/test/zend/good/tests-lang/type_hints_001.php rename to hphp/test/zend/bad/tests-lang/type_hints_001.php 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 new file mode 100644 index 000000000..2705d040b --- /dev/null +++ b/hphp/test/zend/bad/tests-lang/type_hints_001.php.exp @@ -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 index b2ae5c825..f44672220 100644 --- a/hphp/test/zend/bad/tests-output/bug46897.php.exp +++ b/hphp/test/zend/bad/tests-output/bug46897.php.exp @@ -1,8 +1,8 @@ -[callback:1]Attempt to flush unerasable buffer - should fail... -HipHop Notice: ob_flush(): failed to flush buffer of callback (0) in hphp/test/zend/bad/tests-output/bug46897.php on line %d -bool(false) -string(%d) "Attempt to flush unerasable buffer - should fail... -HipHop Notice: ob_flush(): failed to flush buffer of callback (0) in hphp/test/zend/bad/tests-output/bug46897.php on line %d -bool(false) -" -Done +\[callback\:1\]Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ +HipHop\ Notice\:\ ob\_flush\(\)\:\ failed\ to\ flush\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/bug46897\.php\ on\ line\ \d+\ +bool\(false\)\ +string\(\d+\)\ \"Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ +HipHop\ Notice\:\ ob\_flush\(\)\:\ failed\ to\ flush\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/bug46897\.php\ on\ line\ \d+\ +bool\(false\)\ +\"\ +Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/bug60282.php b/hphp/test/zend/bad/tests-output/bug60282.php similarity index 100% rename from hphp/test/zend/good/tests-output/bug60282.php rename to hphp/test/zend/bad/tests-output/bug60282.php diff --git a/hphp/test/zend/bad/tests-output/bug60282.php.exp b/hphp/test/zend/bad/tests-output/bug60282.php.exp new file mode 100644 index 000000000..348ebd949 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/bug60282.php.exp @@ -0,0 +1 @@ +done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/bug60322.php.exp b/hphp/test/zend/bad/tests-output/bug60322.php.exp index 5c0c0681d..eb28e0c67 100644 --- a/hphp/test/zend/bad/tests-output/bug60322.php.exp +++ b/hphp/test/zend/bad/tests-output/bug60322.php.exp @@ -1 +1 @@ -bool(false) +bool(false) \ No newline at end of file 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 index 083c5d409..51ba9b9f7 100644 --- a/hphp/test/zend/bad/tests-output/flush_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/flush_error_001.php.exp @@ -1,2 +1,2 @@ -Too many arguments +Too\ many\ arguments\ NULL \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_010.php b/hphp/test/zend/bad/tests-output/ob_010.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_010.php rename to hphp/test/zend/bad/tests-output/ob_010.php diff --git a/hphp/test/zend/bad/tests-output/ob_010.php.exp b/hphp/test/zend/bad/tests-output/ob_010.php.exp new file mode 100644 index 000000000..db1ad5279 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_010.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ print\_r\(\)\:\ Cannot\ use\ output\ buffering\ in\ output\ buffering\ display\ handlers\ in\ [^ +]+ob\_010\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_011.php b/hphp/test/zend/bad/tests-output/ob_011.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_011.php rename to hphp/test/zend/bad/tests-output/ob_011.php diff --git a/hphp/test/zend/bad/tests-output/ob_011.php.exp b/hphp/test/zend/bad/tests-output/ob_011.php.exp new file mode 100644 index 000000000..7125eee7e --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_011.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ ob\_get\_flush\(\)\:\ Cannot\ use\ output\ buffering\ in\ output\ buffering\ display\ handlers\ in\ [^ +]+ob\_011\.php\ on\ line\ \d+ \ 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 index d72e42984..aae20ebc1 100644 --- a/hphp/test/zend/bad/tests-output/ob_013.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_013.php.exp @@ -1,77 +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 - ) - -) +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 index e913f7045..02e068cc3 100644 --- a/hphp/test/zend/bad/tests-output/ob_014.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_014.php.exp @@ -1,7 +1,8 @@ -Array -( - [type] => 2 - [message] => str_rot13() expects exactly 1 parameter, 2 given - [file] => %s - [line] => 7 -) +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.exp b/hphp/test/zend/bad/tests-output/ob_015.php.exp index e913f7045..02e068cc3 100644 --- a/hphp/test/zend/bad/tests-output/ob_015.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_015.php.exp @@ -1,7 +1,8 @@ -Array -( - [type] => 2 - [message] => str_rot13() expects exactly 1 parameter, 2 given - [file] => %s - [line] => 7 -) +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_017.php.exp b/hphp/test/zend/bad/tests-output/ob_017.php.exp index e4192e87b..11aad316a 100644 --- a/hphp/test/zend/bad/tests-output/ob_017.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_017.php.exp @@ -9,4 +9,4 @@ Array [3] => 0: yes! [4] => 10: no -) +) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_020.php.exp b/hphp/test/zend/bad/tests-output/ob_020.php.exp index 413a9ce6a..d35a566d7 100644 --- a/hphp/test/zend/bad/tests-output/ob_020.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_020.php.exp @@ -16,4 +16,4 @@ Array ) Array ( -) +) \ No newline at end of file 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 index b6410f05e..8d8b7fd84 100644 --- 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 @@ -1,8 +1,8 @@ -*** Testing ob_clean() : basic functionality *** - --- Testing ob_clean() function with Zero arguments -- -HipHop Notice: ob_clean(): failed to delete buffer. No buffer to delete in hphp/test/zend/bad/tests-output/ob_clean_basic_001.php on line 12 -bool(false) -string(61) "bool(true) -Ensure the buffer is still active after the clean." -Done +\*\*\*\ Testing\ ob\_clean\(\)\ \:\ basic\ functionality\ \*\*\*\ +\ +\-\-\ Testing\ ob\_clean\(\)\ function\ with\ Zero\ arguments\ \-\-\ +HipHop\ Notice\:\ ob\_clean\(\)\:\ failed\ to\ delete\ buffer\.\ No\ buffer\ to\ delete\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_clean\_basic\_001\.php\ on\ line\ 12\ +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_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_clean_error_001.php.exp index 5b669eaaa..7ff7aef8e 100644 --- a/hphp/test/zend/bad/tests-output/ob_clean_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_clean_error_001.php.exp @@ -1,6 +1,6 @@ -*** Testing ob_clean() : error conditions *** - --- Testing ob_clean() function with one argument -- -HipHop Warning: Missing argument 0 for ob_clean() in hphp/test/zend/bad/tests-output/ob_clean_error_001.php on line 13 -NULL +\*\*\*\ Testing\ ob\_clean\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +\-\-\ Testing\ ob\_clean\(\)\ function\ with\ one\ argument\ \-\-\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_clean\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_clean\_error\_001\.php\ on\ line\ 13\ +NULL\ Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_end_clean_basic_001.php b/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_end_clean_basic_001.php rename to hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php 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 new file mode 100644 index 000000000..8fbb81747 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_end_clean_basic_001.php.exp @@ -0,0 +1,6 @@ +HipHop\ Notice\:\ ob\_end\_clean\(\)\:\ failed\ to\ delete\ buffer\.\ No\ buffer\ to\ delete\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_end\_clean\_basic\_001\.php\ on\ line\ 7\ +bool\(false\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ ob\_end\_clean\(\)\:\ failed\ to\ delete\ buffer\.\ No\ buffer\ to\ delete\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_end\_clean\_basic\_001\.php\ on\ line\ 16\ +bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.exp index 1b6ec6299..6a0bb3909 100644 --- a/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php.exp @@ -1,4 +1,3 @@ - -Too many arguments -HipHop Warning: Missing argument 0 for ob_end_clean() in hphp/test/zend/bad/tests-output/ob_end_clean_error_001.php on line 10 -NULL +Too\ many\ arguments\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_end\_clean\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_end\_clean\_error\_001\.php\ on\ line\ 10\ +NULL \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_end_flush_basic_001.php b/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_end_flush_basic_001.php rename to hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php 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 new file mode 100644 index 000000000..61989c090 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_end_flush_basic_001.php.exp @@ -0,0 +1,11 @@ +\*\*\*\ Testing\ ob\_end\_flush\(\)\ \:\ basic\ functionality\ \*\*\*\ +\ +\-\-\ Testing\ ob\_end\_flush\(\)\ function\ with\ Zero\ arguments\ \-\-\ +HipHop\ Notice\:\ ob\_end\_flush\(\)\:\ failed\ to\ delete\ and\ flush\ buffer\.\ No\ buffer\ to\ delete\ or\ flush\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_end\_flush\_basic\_001\.php\ on\ line\ 12\ +bool\(false\)\ +bool\(true\)\ +Hello\ +bool\(true\)\ +HipHop\ Notice\:\ ob\_end\_flush\(\)\:\ failed\ to\ delete\ and\ flush\ buffer\.\ No\ buffer\ to\ delete\ or\ flush\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_end\_flush\_basic\_001\.php\ on\ line\ 21\ +bool\(false\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_end_flush_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_end_flush_error_001.php.exp index 52a1a0b42..762f048e7 100644 --- a/hphp/test/zend/bad/tests-output/ob_end_flush_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_end_flush_error_001.php.exp @@ -1,6 +1,6 @@ -*** Testing ob_end_flush() : error conditions *** - --- Testing ob_end_flush() function with one argument -- -HipHop Warning: Missing argument 0 for ob_end_flush() in hphp/test/zend/bad/tests-output/ob_end_flush_error_001.php on line 13 -NULL -Done +\*\*\*\ Testing\ ob\_end\_flush\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +\-\-\ Testing\ ob\_end\_flush\(\)\ function\ with\ one\ argument\ \-\-\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_end\_flush\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_end\_flush\_error\_001\.php\ on\ line\ 13\ +NULL\ +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 index 956f9adc2..2d1c7390a 100644 --- 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 @@ -1,10 +1,10 @@ -*** Testing ob_flush() : basic functionality *** - --- Testing ob_flush() function with Zero arguments -- -HipHop Notice: ob_flush(): failed to flush buffer. No buffer to flush in hphp/test/zend/bad/tests-output/ob_flush_basic_001.php on line 12 -bool(false) -This should get flushed. -bool(true) -Ensure the buffer is still active after the flush. -bool(true) -Done +\*\*\*\ Testing\ ob\_flush\(\)\ \:\ basic\ functionality\ \*\*\*\ +\ +\-\-\ Testing\ ob\_flush\(\)\ function\ with\ Zero\ arguments\ \-\-\ +HipHop\ Notice\:\ ob\_flush\(\)\:\ failed\ to\ flush\ buffer\.\ No\ buffer\ to\ flush\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_flush\_basic\_001\.php\ on\ line\ 12\ +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_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_flush_error_001.php.exp index e1cdba1a7..b6e2d2752 100644 --- a/hphp/test/zend/bad/tests-output/ob_flush_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_flush_error_001.php.exp @@ -1,6 +1,6 @@ -*** Testing ob_flush() : error conditions *** - --- Testing ob_flush() function with one argument -- -HipHop Warning: Missing argument 0 for ob_flush() in hphp/test/zend/bad/tests-output/ob_flush_error_001.php on line 13 -NULL -Done +\*\*\*\ Testing\ ob\_flush\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +\-\-\ Testing\ ob\_flush\(\)\ function\ with\ one\ argument\ \-\-\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_flush\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_flush\_error\_001\.php\ on\ line\ 13\ +NULL\ +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 index 20c82a5e7..45a1ace66 100644 --- 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 @@ -1,2 +1,2 @@ -bool(false) -string(11) "Hello World" +bool\(false\)\ +string\(11\)\ \"Hello\ World\" \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.exp index c075cf43c..d024b7dc7 100644 --- a/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php.exp @@ -1,4 +1,3 @@ - -Too many arguments -HipHop Warning: Missing argument 0 for ob_get_clean() in hphp/test/zend/bad/tests-output/ob_get_clean_error_001.php on line 10 +Too\ many\ arguments\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_get\_clean\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_get\_clean\_error\_001\.php\ on\ line\ 10\ 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 index de4736310..559c7ef4e 100644 --- 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 @@ -1,21 +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) +\*\*\*\ 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_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_contents_error_001.php.exp index 3b8d240f2..6f97d4d08 100644 --- a/hphp/test/zend/bad/tests-output/ob_get_contents_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_get_contents_error_001.php.exp @@ -1,6 +1,6 @@ -*** Testing ob_get_contents() : error cases *** -HipHop Warning: Missing argument 0 for ob_get_contents() in hphp/test/zend/bad/tests-output/ob_get_contents_error_001.php on line 11 -NULL -HipHop Warning: Missing argument 0 for ob_get_contents() in hphp/test/zend/bad/tests-output/ob_get_contents_error_001.php on line 15 -NULL -Done +\*\*\*\ Testing\ ob\_get\_contents\(\)\ \:\ error\ cases\ \*\*\*\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_get\_contents\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_get\_contents\_error\_001\.php\ on\ line\ 11\ +NULL\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_get\_contents\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_get\_contents\_error\_001\.php\ on\ line\ 15\ +NULL\ +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 index a1da814ee..52088cf1c 100644 --- 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 @@ -1,9 +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 +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_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php.exp index 634b5e78c..ca336d5ed 100644 --- a/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_get_length_error_001.php.exp @@ -1,4 +1,3 @@ - -Too many arguments -HipHop Warning: Missing argument 0 for ob_get_length() in hphp/test/zend/bad/tests-output/ob_get_length_error_001.php on line 10 +Too\ many\ arguments\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_get\_length\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_get\_length\_error\_001\.php\ on\ line\ 10\ NULL \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_get_level_basic_001.php b/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_get_level_basic_001.php rename to hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php 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 new file mode 100644 index 000000000..9bbb894e7 --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_get_level_basic_001.php.exp @@ -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\:\ ob\_end\_flush\(\)\:\ failed\ to\ delete\ and\ flush\ buffer\.\ No\ buffer\ to\ delete\ or\ flush\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_get\_level\_basic\_001\.php\ on\ line\ 26\ +int\(0\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_get_level_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_get_level_error_001.php.exp index bf5768463..e6df5d1e4 100644 --- a/hphp/test/zend/bad/tests-output/ob_get_level_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_get_level_error_001.php.exp @@ -1,6 +1,6 @@ -*** Testing ob_get_level() : error conditions *** - --- Testing ob_get_level() function with one argument -- -HipHop Warning: Missing argument 0 for ob_get_level() in hphp/test/zend/bad/tests-output/ob_get_level_error_001.php on line 13 -NULL +\*\*\*\ Testing\ ob\_get\_level\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +\-\-\ Testing\ ob\_get\_level\(\)\ function\ with\ one\ argument\ \-\-\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ ob\_get\_level\(\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_get\_level\_error\_001\.php\ on\ line\ 13\ +NULL\ 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.exp index 80304d825..e79239f11 100644 --- a/hphp/test/zend/bad/tests-output/ob_get_status.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_get_status.php.exp @@ -16,4 +16,4 @@ array(1) { ["buffer_used"]=> int(0) } -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-output/ob_implicit_flush_error_001.php.exp b/hphp/test/zend/bad/tests-output/ob_implicit_flush_error_001.php.exp index 632560ee8..b66e0cf8d 100644 --- a/hphp/test/zend/bad/tests-output/ob_implicit_flush_error_001.php.exp +++ b/hphp/test/zend/bad/tests-output/ob_implicit_flush_error_001.php.exp @@ -1,6 +1,6 @@ -*** Testing ob_implicit_flush() : error conditions *** - --- Testing ob_implicit_flush() function with more than expected no. of arguments -- -HipHop Warning: ob_implicit_flush() expects at most 1 parameter, 2 given in hphp/test/zend/bad/tests-output/ob_implicit_flush_error_001.php on line 15 -NULL +\*\*\*\ Testing\ ob\_implicit\_flush\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +\-\-\ Testing\ ob\_implicit\_flush\(\)\ function\ with\ more\ than\ expected\ no\.\ of\ arguments\ \-\-\ +HipHop\ Warning\:\ ob\_implicit\_flush\(\)\ expects\ at\ most\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_implicit\_flush\_error\_001\.php\ on\ line\ 15\ +NULL\ Done \ No newline at end of file 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 index e0d6afca2..f8b865c6e 100644 --- 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 @@ -1,88 +1,100 @@ -*** 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-- +\*\*\*\ 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_start_basic_002.php.exp b/hphp/test/zend/bad/tests-output/ob_start_basic_002.php.exp index 20d0312e7..0f7c4aee6 100644 --- 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 @@ -1,16 +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 +\-\-\>\ 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 index 2aab1e250..da52ef4be 100644 --- 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 @@ -1 +1 @@ -I have stolen your output \ No newline at end of file +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 index 9d6a17146..7294cb3ce 100644 --- 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 @@ -1,98 +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 +\-\-\-\-\(\ 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/good/tests-output/ob_start_basic_005.php b/hphp/test/zend/bad/tests-output/ob_start_basic_005.php similarity index 100% rename from hphp/test/zend/good/tests-output/ob_start_basic_005.php rename to hphp/test/zend/bad/tests-output/ob_start_basic_005.php 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 new file mode 100644 index 000000000..1612fc75d --- /dev/null +++ b/hphp/test/zend/bad/tests-output/ob_start_basic_005.php.exp @@ -0,0 +1,6 @@ +HipHop\ Warning\:\ ob\_start\(\)\:\ non\-static\ method\ C\:\:h\(\)\ should\ not\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_005\.php\ on\ line\ 20\ +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 index 23f55046d..5c140dfe4 100644 --- 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 @@ -1,49 +1,49 @@ - ---> Test arrays: -HipHop Warning: ob_start(): array must have exactly two members in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 44 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 44 -bool(false) -Array -( -) -HipHop Warning: ob_start(): class 'f' not found in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 47 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 47 -bool(false) -Array -( -) -HipHop Warning: ob_start(): array must have exactly two members in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 50 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 50 -bool(false) -Array -( -) -HipHop Warning: ob_start(): array must have exactly two members in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 53 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 53 -bool(false) -Array -( -) -HipHop Warning: ob_start(): array must have exactly two members in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 56 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 56 -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: ob_start(): array must have exactly two members in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 68 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_basic_006.php on line 68 -bool(false) -Array -( -) +\-\-\-\>\ Test\ arrays\:\ \ +HipHop\ Warning\:\ ob\_start\(\)\:\ array\ must\ have\ exactly\ two\ members\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 44\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 44\ +bool\(false\)\ +Array\ +\(\ +\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ class\ \'f\'\ not\ found\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 47\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 47\ +bool\(false\)\ +Array\ +\(\ +\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ array\ must\ have\ exactly\ two\ members\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 50\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 50\ +bool\(false\)\ +Array\ +\(\ +\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ array\ must\ have\ exactly\ two\ members\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 53\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 53\ +bool\(false\)\ +Array\ +\(\ +\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ array\ must\ have\ exactly\ two\ members\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 56\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 56\ +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\:\ ob\_start\(\)\:\ array\ must\ have\ exactly\ two\ members\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 68\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_006\.php\ on\ line\ 68\ +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 index d803758cb..7e6aa9f7c 100644 --- 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 @@ -1,9 +1,9 @@ -[callback:1]All of the following calls will fail to clean/remove the topmost buffer: -HipHop Notice: ob_clean(): failed to delete buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php on line 11 -bool(false) -HipHop Notice: ob_end_clean(): failed to discard buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php on line 12 -bool(false) -HipHop Notice: ob_end_flush(): failed to send buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_002.php on line 13 -bool(false) -The OB nesting will still be 1 level deep: -int(1) \ No newline at end of file +\[callback\:1\]All\ of\ the\ following\ calls\ will\ fail\ to\ clean\/remove\ the\ topmost\ buffer\:\ +HipHop\ Notice\:\ ob\_clean\(\)\:\ failed\ to\ delete\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_002\.php\ on\ line\ 11\ +bool\(false\)\ +HipHop\ Notice\:\ ob\_end\_clean\(\)\:\ failed\ to\ discard\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_002\.php\ on\ line\ 12\ +bool\(false\)\ +HipHop\ Notice\:\ ob\_end\_flush\(\)\:\ failed\ to\ send\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_002\.php\ on\ line\ 13\ +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 index b5e7fa80c..35d85308e 100644 --- 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 @@ -1,4 +1,4 @@ -[callback:1]This call will obtain the content, but will not clean the buffer. -HipHop Notice: ob_get_clean(): failed to discard buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php on line 11 -HipHop Notice: ob_get_clean(): failed to delete buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_003.php on line 11 -string(65) "This call will obtain the content, but will not clean the buffer." \ No newline at end of file +\[callback\:1\]This\ call\ will\ obtain\ the\ content\,\ but\ will\ not\ clean\ the\ buffer\.\ +HipHop\ Notice\:\ ob\_get\_clean\(\)\:\ failed\ to\ discard\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_003\.php\ on\ line\ 11\ +HipHop\ Notice\:\ ob\_get\_clean\(\)\:\ failed\ to\ delete\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_003\.php\ on\ line\ 11\ +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 index 7c888b9d2..31d4f998f 100644 --- 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 @@ -1,4 +1,4 @@ -[callback:1]This call will obtain the content, but will not flush the buffer. -HipHop Notice: ob_get_flush(): failed to send buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php on line 11 -HipHop Notice: ob_get_flush(): failed to delete buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_004.php on line 11 -string(65) "This call will obtain the content, but will not flush the buffer." \ No newline at end of file +\[callback\:1\]This\ call\ will\ obtain\ the\ content\,\ but\ will\ not\ flush\ the\ buffer\.\ +HipHop\ Notice\:\ ob\_get\_flush\(\)\:\ failed\ to\ send\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_004\.php\ on\ line\ 11\ +HipHop\ Notice\:\ ob\_get\_flush\(\)\:\ failed\ to\ delete\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_004\.php\ on\ line\ 11\ +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 index 82786a2fd..c8a413088 100644 --- 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 @@ -1,7 +1,7 @@ -[callback:1]Attempt to flush unerasable buffer - should fail... -HipHop Notice: ob_flush(): failed to flush buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php on line 11 -bool(false) -string(%d) "Attempt to flush unerasable buffer - should fail... -HipHop Notice: ob_flush(): failed to flush buffer of callback (0) in hphp/test/zend/bad/tests-output/ob_start_basic_unerasable_005.php on line 11 -bool(false) -" +\[callback\:1\]Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ \ +HipHop\ Notice\:\ ob\_flush\(\)\:\ failed\ to\ flush\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_005\.php\ on\ line\ 11\ +bool\(false\)\ +string\(\d+\)\ \"Attempt\ to\ flush\ unerasable\ buffer\ \-\ should\ fail\.\.\.\ \ +HipHop\ Notice\:\ ob\_flush\(\)\:\ failed\ to\ flush\ buffer\ of\ callback\ \(0\)\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_basic\_unerasable\_005\.php\ on\ line\ 11\ +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 index fdeee3c8b..f44356b22 100644 --- 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 @@ -1,16 +1,16 @@ -- Too many arguments -HipHop Warning: ob_start() expects at most 3 parameters, 4 given in hphp/test/zend/bad/tests-output/ob_start_error_001.php on line 17 -NULL - -- Arg 1 wrong type -HipHop Warning: ob_start(): no array or string given in hphp/test/zend/bad/tests-output/ob_start_error_001.php on line 20 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_001.php on line 20 -bool(false) - -- Arg 2 wrong type -HipHop Warning: ob_start() expects parameter 2 to be long, string given in hphp/test/zend/bad/tests-output/ob_start_error_001.php on line 23 -NULL - -- Arg 3 wrong type -HipHop Warning: ob_start() expects parameter 3 to be long, string given in hphp/test/zend/bad/tests-output/ob_start_error_001.php on line 26 -NULL +\-\ Too\ many\ arguments\ +HipHop\ Warning\:\ ob\_start\(\)\ expects\ at\ most\ 3\ parameters\,\ 4\ given\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_001\.php\ on\ line\ 17\ +NULL\ +\ +\-\ Arg\ 1\ wrong\ type\ +HipHop\ Warning\:\ ob\_start\(\)\:\ no\ array\ or\ string\ given\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_001\.php\ on\ line\ 20\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_001\.php\ on\ line\ 20\ +bool\(false\)\ +\ +\-\ Arg\ 2\ wrong\ type\ +HipHop\ Warning\:\ ob\_start\(\)\ expects\ parameter\ 2\ to\ be\ long\,\ string\ given\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_001\.php\ on\ line\ 23\ +NULL\ +\ +\-\ Arg\ 3\ wrong\ type\ +HipHop\ Warning\:\ ob\_start\(\)\ expects\ parameter\ 3\ to\ be\ long\,\ string\ given\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_001\.php\ on\ line\ 26\ +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 index b0c5d2489..68bd15366 100644 --- 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 @@ -1,13 +1,13 @@ -HipHop Warning: ob_start(): class 'nonExistent' not found in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 13 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 13 -bool(false) -HipHop Warning: ob_start(): class 'C' does not have a method 'nonExistent' in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 14 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 14 -bool(false) -HipHop Warning: ob_start(): class 'C' does not have a method 'no' in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 15 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 15 -bool(false) -HipHop Warning: ob_start(): function 'no' not found or invalid function name in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 16 -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_002.php on line 16 -bool(false) -done +HipHop\ Warning\:\ ob\_start\(\)\:\ class\ \'nonExistent\'\ not\ found\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 13\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 13\ +bool\(false\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ class\ \'C\'\ does\ not\ have\ a\ method\ \'nonExistent\'\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 14\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 14\ +bool\(false\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ class\ \'C\'\ does\ not\ have\ a\ method\ \'no\'\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 15\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 15\ +bool\(false\)\ +HipHop\ Warning\:\ ob\_start\(\)\:\ function\ \'no\'\ not\ found\ or\ invalid\ function\ name\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 16\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_002\.php\ on\ line\ 16\ +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 index c559e7725..a49561f80 100644 --- 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 @@ -1,4 +1,4 @@ -HipHop Warning: ob_start(): array must have exactly two members in hphp/test/zend/bad/tests-output/ob_start_error_003.php on line %d -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_003.php on line 11 -bool(false) -done +HipHop\ Warning\:\ ob\_start\(\)\:\ array\ must\ have\ exactly\ two\ members\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_003\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_003\.php\ on\ line\ 11\ +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 index a080d4cd3..baccdfefe 100644 --- 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 @@ -1,4 +1,4 @@ -HipHop Warning: ob_start(): class 'C' does not have a method 'f' in hphp/test/zend/bad/tests-output/ob_start_error_004.php on line %d -HipHop Notice: ob_start(): failed to create buffer in hphp/test/zend/bad/tests-output/ob_start_error_004.php on line 11 -bool(false) -done +HipHop\ Warning\:\ ob\_start\(\)\:\ class\ \'C\'\ does\ not\ have\ a\ method\ \'f\'\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_004\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ ob\_start\(\)\:\ failed\ to\ create\ buffer\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_004\.php\ on\ line\ 11\ +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 index 78fa83ecb..43478a876 100644 --- 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 @@ -1 +1 @@ -HipHop Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in hphp/test/zend/bad/tests-output/ob_start_error_005.php on line 9 \ No newline at end of file +HipHop\ Fatal\ error\:\ ob\_start\(\)\:\ Cannot\ use\ output\ buffering\ in\ output\ buffering\ display\ handlers\ in\ hphp\/test\/zend\/bad\/tests\-output\/ob\_start\_error\_005\.php\ on\ line\ 9 \ 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 index 80be5d4ce..5c5809ab8 100644 --- a/hphp/test/zend/bad/tests-run-test/test005.php.exp +++ b/hphp/test/zend/bad/tests-run-test/test005.php.exp @@ -1,7 +1,9 @@ -string(1) "1" -string(5) "32767" -string(1) "0" -string(1) "1" -string(1) "0" -NULL -string(%d) "%sivision by zer%s" +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/test007.php.exp b/hphp/test/zend/bad/tests-run-test/test007.php.exp index fdb03aa42..cc0f73622 100644 Binary files a/hphp/test/zend/bad/tests-run-test/test007.php.exp and b/hphp/test/zend/bad/tests-run-test/test007.php.exp differ diff --git a/hphp/test/zend/bad/tests-run-test/test008.php.exp b/hphp/test/zend/bad/tests-run-test/test008.php.exp index 0f5dfb6bc..2938774dc 100644 --- a/hphp/test/zend/bad/tests-run-test/test008.php.exp +++ b/hphp/test/zend/bad/tests-run-test/test008.php.exp @@ -1,8 +1,14 @@ -%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" +[^ +]+\:\ [^ +]+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/test008a.php.exp b/hphp/test/zend/bad/tests-run-test/test008a.php.exp index 80be5d4ce..5c5809ab8 100644 --- a/hphp/test/zend/bad/tests-run-test/test008a.php.exp +++ b/hphp/test/zend/bad/tests-run-test/test008a.php.exp @@ -1,7 +1,9 @@ -string(1) "1" -string(5) "32767" -string(1) "0" -string(1) "1" -string(1) "0" -NULL -string(%d) "%sivision by zer%s" +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-security/open_basedir_linkinfo.php.exp b/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.exp index 2d98b0d6d..55f4c1822 100644 --- a/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.exp +++ b/hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php.exp @@ -1,17 +1,17 @@ -*** 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: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_linkinfo.php on line %d -bool(false) -int(%d) -bool(true) -*** Finished testing open_basedir configuration [linkinfo] *** - +\*\*\*\ 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\:\ symlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\([^ +]+\/test\/bad\/bad\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_linkinfo\.php\ on\ line\ \d+\ +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 index c0d2e3922..7dc6a74b4 100644 --- a/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.exp +++ b/hphp/test/zend/bad/tests-security/open_basedir_readlink.php.exp @@ -1,22 +1,24 @@ -*** Testing open_basedir configuration [readlink] *** -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -HipHop Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -HipHop Warning: readlink(): open_basedir restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -HipHop Warning: readlink(): open_basedir restriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -HipHop Warning: readlink(): open_basedir restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -HipHop Warning: readlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -HipHop Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -HipHop Warning: readlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in hphp/test/zend/bad/tests-security/open_basedir_readlink.php on line %d -bool(false) -*** Finished testing open_basedir configuration [readlink] *** - +\*\*\*\ Testing\ open\_basedir\ configuration\ \[readlink\]\ \*\*\*\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Warning\:\ readlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\(symlink\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ readlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\(\.\.\/ok\/symlink\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ readlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\(\.\.\/ok\/\.\/symlink\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ readlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\(\.\/symlink\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ readlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\([^ +]+\/test\/ok\/symlink\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ symlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\([^ +]+\/test\/bad\/bad\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ readlink\(\)\:\ open\_basedir\ restriction\ in\ effect\.\ File\([^ +]+\/test\/ok\/symlink\.txt\)\ is\ not\ within\ the\ allowed\ path\(s\)\:\ \(\.\)\ in\ hphp\/test\/zend\/bad\/tests\-security\/open\_basedir\_readlink\.php\ on\ line\ \d+\ +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.exp index d332cb792..b21d17e4a 100644 --- a/hphp/test/zend/bad/tests-strings/001.php.exp +++ b/hphp/test/zend/bad/tests-strings/001.php.exp @@ -13,4 +13,4 @@ Testing ufirst: passed Testing strtr: passed Testing addslashes: passed Testing stripslashes: passed -Testing uniqid: passed +Testing uniqid: passed \ No newline at end of file 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 index 09375487d..58e3d6864 100644 --- a/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.exp +++ b/hphp/test/zend/bad/zend-constants/dir-constant-eval.php.exp @@ -1 +1,3 @@ -%stests%sconstants +[^ +]+tests[^ +]+constants \ 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 index 26584acd1..27eec818f 100644 --- a/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.exp +++ b/hphp/test/zend/bad/zend-constants/dir-constant-includes.php.exp @@ -1,10 +1,46 @@ -%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 +[^ +]+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-nested_includes.php.exp b/hphp/test/zend/bad/zend-constants/dir-constant-nested_includes.php.exp index 7f9f51004..846cf2478 100644 --- 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 @@ -1,42 +1,238 @@ -%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 +[^ +]+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-normal.php.exp b/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.exp index 2b02b3204..54b644740 100644 --- a/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.exp +++ b/hphp/test/zend/bad/zend-constants/dir-constant-normal.php.exp @@ -1,2 +1,6 @@ -%stests%sconstants -%stests%sconstants +[^ +]+tests[^ +]+constants\ +[^ +]+tests[^ +]+constants \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods01.php.exp b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods01.php.exp index 144aa1045..73099c0d8 100644 --- a/hphp/test/zend/bad/zend-traits-bugs/abstract-methods01.php.exp +++ b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods01.php.exp @@ -1 +1,3 @@ -HipHop Fatal error: Class %s contains %d abstract method and must therefore be declared abstract or implement the remaining methods (%s) in hphp/test/zend/bad/abstract-methods01.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Class\ [^ +]+\ contains\ \d+\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \([^ +]+\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/abstract\-methods01\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits-bugs/abstract-methods05.php b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php similarity index 100% rename from hphp/test/zend/good/zend-traits-bugs/abstract-methods05.php rename to hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php 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 new file mode 100644 index 000000000..d29e3ca30 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods05.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Declaration\ of\ THelloA\:\:hello\(\$a\)\ must\ be\ compatible\ with\ THelloB\:\:hello\(\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/abstract\-methods05\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits-bugs/abstract-methods06.php b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php similarity index 100% rename from hphp/test/zend/good/zend-traits-bugs/abstract-methods06.php rename to hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php 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 new file mode 100644 index 000000000..32cd091d5 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits-bugs/abstract-methods06.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Declaration\ of\ THelloB\:\:hello\(\)\ must\ be\ compatible\ with\ THelloA\:\:hello\(\$a\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/abstract\-methods06\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/alias01.php.exp b/hphp/test/zend/bad/zend-traits-bugs/alias01.php.exp index e9f7fa40a..128892f01 100644 --- a/hphp/test/zend/bad/zend-traits-bugs/alias01.php.exp +++ b/hphp/test/zend/bad/zend-traits-bugs/alias01.php.exp @@ -1,4 +1,4 @@ -T:m1 -T:m1 -T:m2 -HipHop Fatal error: Call to undefined method C1::a2() in hphp/test/zend/bad/alias01.php on line %d +T\:m1\ +T\:m1\ +T\:m2\ +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ method\ C1\:\:a2\(\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/alias01\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/case-sensitive.php.exp b/hphp/test/zend/bad/zend-traits-bugs/case-sensitive.php.exp index f2bc00aca..3d81e4bc9 100644 --- a/hphp/test/zend/bad/zend-traits-bugs/case-sensitive.php.exp +++ b/hphp/test/zend/bad/zend-traits-bugs/case-sensitive.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method M1 has not been applied, because there are collisions with other trait methods on MyClass in hphp/test/zend/bad/case-sensitive.php on line %d +HipHop\ Fatal\ error\:\ Trait\ method\ M1\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ MyClass\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/case\-sensitive\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/interfaces.php.exp b/hphp/test/zend/bad/zend-traits-bugs/interfaces.php.exp index 880929788..41abe1c5f 100644 --- a/hphp/test/zend/bad/zend-traits-bugs/interfaces.php.exp +++ b/hphp/test/zend/bad/zend-traits-bugs/interfaces.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'MyInterface' as interface on 'THello' since it is a Trait in hphp/test/zend/bad/interfaces.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Cannot\ use\ \'MyInterface\'\ as\ interface\ on\ \'THello\'\ since\ it\ is\ a\ Trait\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/interfaces\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/missing-trait.php.exp b/hphp/test/zend/bad/zend-traits-bugs/missing-trait.php.exp deleted file mode 100644 index 2a27e08a8..000000000 --- a/hphp/test/zend/bad/zend-traits-bugs/missing-trait.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Trait 'THello' not found in hphp/test/zend/bad/missing-trait.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits-bugs/overridding-conflicting-property-initializer.php.exp b/hphp/test/zend/bad/zend-traits-bugs/overridding-conflicting-property-initializer.php.exp index 9f747986a..0fc30f968 100644 --- a/hphp/test/zend/bad/zend-traits-bugs/overridding-conflicting-property-initializer.php.exp +++ b/hphp/test/zend/bad/zend-traits-bugs/overridding-conflicting-property-initializer.php.exp @@ -1 +1 @@ -HipHop Fatal error: baz and foo define the same property ($zoo) in the composition of baz. However, the definition differs and is considered incompatible. Class was composed in hphp/test/zend/bad/overridding-conflicting-property-initializer.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ baz\ and\ foo\ define\ the\ same\ property\ \(\$zoo\)\ in\ the\ composition\ of\ baz\.\ However\,\ the\ definition\ differs\ and\ is\ considered\ incompatible\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\-bugs\/overridding\-conflicting\-property\-initializer\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug54441.php.exp b/hphp/test/zend/bad/zend-traits/bug54441.php.exp index 375822768..ef02a8dbf 100644 --- a/hphp/test/zend/bad/zend-traits/bug54441.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug54441.php.exp @@ -1 +1 @@ -HipHop Fatal error: The modifiers for the trait alias dontKnow() need to be changed in the same statment in which the alias is defined. Error in hphp/test/zend/bad/bug54441.php on line %d +HipHop\ Fatal\ error\:\ The\ modifiers\ for\ the\ trait\ alias\ dontKnow\(\)\ need\ to\ be\ changed\ in\ the\ same\ statment\ in\ which\ the\ alias\ is\ defined\.\ Error\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug54441\.php\ on\ line\ \d+ \ 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.exp index bb5c370ca..aed478541 100644 --- a/hphp/test/zend/bad/zend-traits/bug55214.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55214.php.exp @@ -5,4 +5,4 @@ string(9) "SomeClass" string(13) "UsingIndirect" string(13) "UsingIndirect" string(13) "UsingIndirect" -string(13) "UsingIndirect" +string(13) "UsingIndirect" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55524.php.exp b/hphp/test/zend/bad/zend-traits/bug55524.php.exp index b3f99a944..812d77d9f 100644 --- a/hphp/test/zend/bad/zend-traits/bug55524.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55524.php.exp @@ -1 +1 @@ -HipHop Fatal error: A trait (Foo) cannot extend a class. Traits can only be composed from other traits with the 'use' keyword. Error in hphp/test/zend/bad/bug55524.php on line %d +HipHop\ Fatal\ error\:\ A\ trait\ \(Foo\)\ cannot\ extend\ a\ class\.\ Traits\ can\ only\ be\ composed\ from\ other\ traits\ with\ the\ \'use\'\ keyword\.\ Error\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug55524\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554a.php.exp b/hphp/test/zend/bad/zend-traits/bug55554a.php.exp index 2cb0ad88a..28ad8678e 100644 --- a/hphp/test/zend/bad/zend-traits/bug55554a.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55554a.php.exp @@ -1,2 +1,2 @@ New constructor: ctor executed -Legacy constructor: ctor executed +Legacy constructor: ctor executed \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554b.php.exp b/hphp/test/zend/bad/zend-traits/bug55554b.php.exp index a4ed960a6..00de3817e 100644 --- a/hphp/test/zend/bad/zend-traits/bug55554b.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55554b.php.exp @@ -1,4 +1,3 @@ -OverridingIsSilent1 __construct -OverridingIsSilent2 OverridingIsSilent2 -HipHop Fatal error: ReportCollision has colliding constructor definitions coming from traits in hphp/test/zend/bad/bug55554b.php on line %d - +OverridingIsSilent1\ \_\_construct\ +OverridingIsSilent2\ OverridingIsSilent2\ +HipHop\ Fatal\ error\:\ ReportCollision\ has\ colliding\ constructor\ definitions\ coming\ from\ traits\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug55554b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/bug55554d.php b/hphp/test/zend/bad/zend-traits/bug55554d.php similarity index 100% rename from hphp/test/zend/good/zend-traits/bug55554d.php rename to hphp/test/zend/bad/zend-traits/bug55554d.php diff --git a/hphp/test/zend/bad/zend-traits/bug55554d.php.exp b/hphp/test/zend/bad/zend-traits/bug55554d.php.exp new file mode 100644 index 000000000..40962eb10 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/bug55554d.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ ReportCollision\ has\ colliding\ constructor\ definitions\ coming\ from\ traits\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug55554d\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug55554e.php.exp b/hphp/test/zend/bad/zend-traits/bug55554e.php.exp index 44380dc83..8748ff36d 100644 --- a/hphp/test/zend/bad/zend-traits/bug55554e.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55554e.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method ReportCollision has not been applied, because there are collisions with other trait methods on ReportCollision in hphp/test/zend/bad/bug55554e.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Trait\ method\ ReportCollision\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ ReportCollision\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug55554e\.php\ on\ line\ \d+ \ 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 index 8338875e7..32d551b5a 100644 --- a/hphp/test/zend/bad/zend-traits/bug55554f.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55554f.php.exp @@ -1 +1 @@ -HipHop Fatal error: ReportCollision has colliding constructor definitions coming from traits in hphp/test/zend/bad/bug55554f.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ ReportCollision\ has\ colliding\ constructor\ definitions\ coming\ from\ traits\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug55554f\.php\ on\ line\ \d+ \ 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 index b5ef090cf..bc9064e79 100644 --- a/hphp/test/zend/bad/zend-traits/bug55554g.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug55554g.php.exp @@ -1 +1 @@ -HipHop Fatal error: ReportCollision has colliding constructor definitions coming from traits in hphp/test/zend/bad/bug55554g.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ ReportCollision\ has\ colliding\ constructor\ definitions\ coming\ from\ traits\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug55554g\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60145.php.exp b/hphp/test/zend/bad/zend-traits/bug60145.php.exp index dbba543cd..f15c4e31a 100644 --- a/hphp/test/zend/bad/zend-traits/bug60145.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60145.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use traits inside of interfaces. foo is used in MyInterface in hphp/test/zend/bad/bug60145.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ traits\ inside\ of\ interfaces\.\ foo\ is\ used\ in\ MyInterface\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60145\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60153.php.exp b/hphp/test/zend/bad/zend-traits/bug60153.php.exp index 7d6d95297..c4406d7b7 100644 --- a/hphp/test/zend/bad/zend-traits/bug60153.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60153.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of TFoo::oneArgument() must be compatible with IFoo::oneArgument($a) in hphp/test/zend/bad/bug60153.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ TFoo\:\:oneArgument\(\)\ must\ be\ compatible\ with\ IFoo\:\:oneArgument\(\$a\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60153\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60165a.php.exp b/hphp/test/zend/bad/zend-traits/bug60165a.php.exp index 2730ba519..607766db4 100644 --- a/hphp/test/zend/bad/zend-traits/bug60165a.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60165a.php.exp @@ -1 +1 @@ -HipHop Fatal error: An alias (barA) was defined for method nonExistent(), but this method does not exist in hphp/test/zend/bad/bug60165a.php on line %d +HipHop\ Fatal\ error\:\ An\ alias\ \(barA\)\ was\ defined\ for\ method\ nonExistent\(\)\,\ but\ this\ method\ does\ not\ exist\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60165a\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60165b.php.exp b/hphp/test/zend/bad/zend-traits/bug60165b.php.exp index 6d8db1fc8..cdef3a505 100644 --- a/hphp/test/zend/bad/zend-traits/bug60165b.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60165b.php.exp @@ -1 +1 @@ -HipHop Fatal error: An alias was defined for A::nonExistent but this method does not exist in hphp/test/zend/bad/bug60165b.php on line %d +HipHop\ Fatal\ error\:\ An\ alias\ was\ defined\ for\ A\:\:nonExistent\ but\ this\ method\ does\ not\ exist\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60165b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60165c.php.exp b/hphp/test/zend/bad/zend-traits/bug60165c.php.exp index 7683be6b7..b5fd0b9b5 100644 --- a/hphp/test/zend/bad/zend-traits/bug60165c.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60165c.php.exp @@ -1 +1 @@ -HipHop Fatal error: An alias (foobar) was defined for method baz(), but this method does not exist in hphp/test/zend/bad/bug60165c.php on line %d +HipHop\ Fatal\ error\:\ An\ alias\ \(foobar\)\ was\ defined\ for\ method\ baz\(\)\,\ but\ this\ method\ does\ not\ exist\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60165c\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60165d.php.exp b/hphp/test/zend/bad/zend-traits/bug60165d.php.exp index 7f4cd7429..b42500a27 100644 --- a/hphp/test/zend/bad/zend-traits/bug60165d.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60165d.php.exp @@ -1 +1 @@ -HipHop Fatal error: A precedence rule was defined for A::bar but this method does not exist in hphp/test/zend/bad/bug60165d.php on line %d +HipHop\ Fatal\ error\:\ A\ precedence\ rule\ was\ defined\ for\ A\:\:bar\ but\ this\ method\ does\ not\ exist\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60165d\.php\ on\ line\ \d+ \ 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 index 03b0c5241..84c1061ce 100644 --- a/hphp/test/zend/bad/zend-traits/bug60217b.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60217b.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of TBroken2::foo($a, $b = 0) must be compatible with TBroken1::foo($a) in hphp/test/zend/bad/bug60217b.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ TBroken2\:\:foo\(\$a\,\ \$b\ \=\ 0\)\ must\ be\ compatible\ with\ TBroken1\:\:foo\(\$a\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60217b\.php\ on\ line\ \d+ \ 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 index 3f8ce0239..356526bb1 100644 --- a/hphp/test/zend/bad/zend-traits/bug60217c.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60217c.php.exp @@ -1 +1 @@ -HipHop Fatal error: Declaration of TBroken2::foo($a) must be compatible with TBroken1::foo($a, $b = 0) in hphp/test/zend/bad/bug60217c.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ TBroken2\:\:foo\(\$a\)\ must\ be\ compatible\ with\ TBroken1\:\:foo\(\$a\,\ \$b\ \=\ 0\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60217c\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug60369.php.exp b/hphp/test/zend/bad/zend-traits/bug60369.php.exp index cf2ad81a7..8e3d00612 100644 --- a/hphp/test/zend/bad/zend-traits/bug60369.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug60369.php.exp @@ -1 +1 @@ -HipHop Fatal error: Properties and PropertiesTrait define the same property ($same) in the composition of Properties. However, the definition differs and is considered incompatible. Class was composed in hphp/test/zend/bad/bug60369.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Properties\ and\ PropertiesTrait\ define\ the\ same\ property\ \(\$same\)\ in\ the\ composition\ of\ Properties\.\ However\,\ the\ definition\ differs\ and\ is\ considered\ incompatible\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug60369\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/bug61052.php.exp b/hphp/test/zend/bad/zend-traits/bug61052.php.exp index 8871afbb7..a630f13cd 100644 --- a/hphp/test/zend/bad/zend-traits/bug61052.php.exp +++ b/hphp/test/zend/bad/zend-traits/bug61052.php.exp @@ -1 +1 @@ -HipHop Fatal error: Inconsistent insteadof definition. The method foo is to be used from T1, but T1 is also on the exclude list in hphp/test/zend/bad/bug61052.php on line %d +HipHop\ Fatal\ error\:\ Inconsistent\ insteadof\ definition\.\ The\ method\ foo\ is\ to\ be\ used\ from\ T1\,\ but\ T1\ is\ also\ on\ the\ exclude\ list\ in\ hphp\/test\/zend\/bad\/zend\-traits\/bug61052\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/conflict001.php.exp b/hphp/test/zend/bad/zend-traits/conflict001.php.exp index 7785b84b4..67c18721e 100644 --- a/hphp/test/zend/bad/zend-traits/conflict001.php.exp +++ b/hphp/test/zend/bad/zend-traits/conflict001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method hello has not been applied, because there are collisions with other trait methods on TraitsTest in hphp/test/zend/bad/conflict001.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Trait\ method\ hello\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ TraitsTest\ in\ hphp\/test\/zend\/bad\/zend\-traits\/conflict001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/conflict003.php.exp b/hphp/test/zend/bad/zend-traits/conflict003.php.exp index 814a407d4..306b74619 100644 --- a/hphp/test/zend/bad/zend-traits/conflict003.php.exp +++ b/hphp/test/zend/bad/zend-traits/conflict003.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method smallTalk has not been applied, because there are collisions with other trait methods on Talker in hphp/test/zend/bad/conflict003.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Trait\ method\ smallTalk\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ Talker\ in\ hphp\/test\/zend\/bad\/zend\-traits\/conflict003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_001.php.exp b/hphp/test/zend/bad/zend-traits/error_001.php.exp index dd899280b..5c494931d 100644 --- a/hphp/test/zend/bad/zend-traits/error_001.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class A cannot extend from trait foo in hphp/test/zend/bad/error_001.php on line %d +HipHop\ Fatal\ error\:\ Class\ A\ cannot\ extend\ from\ trait\ foo\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_002.php.exp b/hphp/test/zend/bad/zend-traits/error_002.php.exp deleted file mode 100644 index 613c8443e..000000000 --- a/hphp/test/zend/bad/zend-traits/error_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Trait 'abc' not found in hphp/test/zend/bad/error_002.php on line %d diff --git a/hphp/test/zend/bad/zend-traits/error_008.php.exp b/hphp/test/zend/bad/zend-traits/error_008.php.exp deleted file mode 100644 index 3feb9a146..000000000 --- a/hphp/test/zend/bad/zend-traits/error_008.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: foo cannot implement abc - it is not an interface in hphp/test/zend/bad/error_008.php on line %d diff --git a/hphp/test/zend/bad/zend-traits/error_009.php.exp b/hphp/test/zend/bad/zend-traits/error_009.php.exp index 813d974b2..41ac20305 100644 --- a/hphp/test/zend/bad/zend-traits/error_009.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_009.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class foo cannot extend from trait abc in hphp/test/zend/bad/error_009.php on line %d +HipHop\ Fatal\ error\:\ Class\ foo\ cannot\ extend\ from\ trait\ abc\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_009\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_010.php.exp b/hphp/test/zend/bad/zend-traits/error_010.php.exp index c628cb092..7de8703dd 100644 --- a/hphp/test/zend/bad/zend-traits/error_010.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_010.php.exp @@ -1 +1 @@ -HipHop Fatal error: Failed to evaluate a trait precedence (test). Method of trait foo was defined to be excluded multiple times in hphp/test/zend/bad/error_010.php on line %d +HipHop\ Fatal\ error\:\ Failed\ to\ evaluate\ a\ trait\ precedence\ \(test\)\.\ Method\ of\ trait\ foo\ was\ defined\ to\ be\ excluded\ multiple\ times\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_010\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_011.php.exp b/hphp/test/zend/bad/zend-traits/error_011.php.exp index 48a573d23..63f01a2f2 100644 --- a/hphp/test/zend/bad/zend-traits/error_011.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_011.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method test has not been applied, because there are collisions with other trait methods on bar in hphp/test/zend/bad/error_011.php on line %d +HipHop\ Fatal\ error\:\ Trait\ method\ test\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ bar\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_011\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_012.php.exp b/hphp/test/zend/bad/zend-traits/error_012.php.exp index 8669d198d..1b86e421b 100644 --- a/hphp/test/zend/bad/zend-traits/error_012.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_012.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to protected method bar::test() from context '' in hphp/test/zend/bad/error_012.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ bar\:\:test\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_012\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_013.php.exp b/hphp/test/zend/bad/zend-traits/error_013.php.exp index 942fe9802..fb1565c9a 100644 --- a/hphp/test/zend/bad/zend-traits/error_013.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_013.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'static' as method modifier in hphp/test/zend/bad/error_013.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \'static\'\ as\ method\ modifier\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_013\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/error_015.php.exp b/hphp/test/zend/bad/zend-traits/error_015.php.exp index fbcfa9415..b1886216f 100644 --- a/hphp/test/zend/bad/zend-traits/error_015.php.exp +++ b/hphp/test/zend/bad/zend-traits/error_015.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method test has not been applied, because there are collisions with other trait methods on bar in hphp/test/zend/bad/error_015.php on line %d +HipHop\ Fatal\ error\:\ Trait\ method\ test\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ bar\ in\ hphp\/test\/zend\/bad\/zend\-traits\/error\_015\.php\ on\ line\ \d+ \ 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.exp index 28211a3a2..87c46b9ae 100644 --- 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.exp @@ -1,4 +1,4 @@ array(1) { [0]=> string(6) "test\c" -} +} \ No newline at end of file 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 index 357c0ba9a..d6b68fad0 100644 --- 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 @@ -1,10 +1,10 @@ -%astring(1) "a" - [%d]=> - string(1) "d" - [%d]=> - string(1) "e" -} -array(1) { - [0]=> - string(1) "c" -} +.+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/inheritance003.php.exp b/hphp/test/zend/bad/zend-traits/inheritance003.php.exp index 73901eb93..2d841accb 100644 --- a/hphp/test/zend/bad/zend-traits/inheritance003.php.exp +++ b/hphp/test/zend/bad/zend-traits/inheritance003.php.exp @@ -1,2 +1,2 @@ -World! -HipHop Fatal error: Declaration of SayWorld::sayHello(Base $d) must be compatible with Base::sayHello(array $a) in hphp/test/zend/bad/inheritance003.php on line %d +World\!\ +HipHop\ Fatal\ error\:\ Declaration\ of\ SayWorld\:\:sayHello\(Base\ \$d\)\ must\ be\ compatible\ with\ Base\:\:sayHello\(array\ \$a\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\/inheritance003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/interface_002.php.exp b/hphp/test/zend/bad/zend-traits/interface_002.php.exp index 9f99c3133..a5d0c45ed 100644 --- a/hphp/test/zend/bad/zend-traits/interface_002.php.exp +++ b/hphp/test/zend/bad/zend-traits/interface_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class bar contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (baz::abc) in hphp/test/zend/bad/interface_002.php on line %d +HipHop\ Fatal\ error\:\ Class\ bar\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(baz\:\:abc\)\ in\ hphp\/test\/zend\/bad\/zend\-traits\/interface\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language008a.php.exp b/hphp/test/zend/bad/zend-traits/language008a.php.exp index 25a322fcd..d7e5cf696 100644 --- a/hphp/test/zend/bad/zend-traits/language008a.php.exp +++ b/hphp/test/zend/bad/zend-traits/language008a.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to protected method MyClass::sayHello() from context '' in hphp/test/zend/bad/language008a.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ MyClass\:\:sayHello\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language008a\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/language008b.php b/hphp/test/zend/bad/zend-traits/language008b.php similarity index 100% rename from hphp/test/zend/good/zend-traits/language008b.php rename to hphp/test/zend/bad/zend-traits/language008b.php diff --git a/hphp/test/zend/bad/zend-traits/language008b.php.exp b/hphp/test/zend/bad/zend-traits/language008b.php.exp new file mode 100644 index 000000000..33bf99f30 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/language008b.php.exp @@ -0,0 +1,2 @@ +Hello\ World\!Hello\ World\!\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ MyClass\:\:sayHelloWorld\(\)\ from\ context\ \'\'\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language008b\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language010.php.exp b/hphp/test/zend/bad/zend-traits/language010.php.exp index 52ce19ae0..491e6337e 100644 --- a/hphp/test/zend/bad/zend-traits/language010.php.exp +++ b/hphp/test/zend/bad/zend-traits/language010.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method world has not been applied, because there are collisions with other trait methods on MyClass in hphp/test/zend/bad/language010.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Trait\ method\ world\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ MyClass\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language010\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language011.php.exp b/hphp/test/zend/bad/zend-traits/language011.php.exp index ce6171c53..faa3e8a23 100644 --- a/hphp/test/zend/bad/zend-traits/language011.php.exp +++ b/hphp/test/zend/bad/zend-traits/language011.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method sayHello has not been applied, because there are collisions with other trait methods on MyClass in hphp/test/zend/bad/language011.php on line %d +HipHop\ Fatal\ error\:\ Trait\ method\ sayHello\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ MyClass\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language011\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language014.php.exp b/hphp/test/zend/bad/zend-traits/language014.php.exp index 76e3ee56d..454210c59 100644 --- a/hphp/test/zend/bad/zend-traits/language014.php.exp +++ b/hphp/test/zend/bad/zend-traits/language014.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method hello has not been applied, because there are collisions with other trait methods on MyClass in hphp/test/zend/bad/language014.php on line %d +HipHop\ Fatal\ error\:\ Trait\ method\ hello\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ MyClass\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language014\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language015.php.exp b/hphp/test/zend/bad/zend-traits/language015.php.exp index f0334cc00..2f796a6a0 100644 --- a/hphp/test/zend/bad/zend-traits/language015.php.exp +++ b/hphp/test/zend/bad/zend-traits/language015.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait T2 is not used in hphp/test/zend/bad/language015.php on line %d +HipHop\ Fatal\ error\:\ Trait\ T2\ is\ not\ used\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language015\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language016.php.exp b/hphp/test/zend/bad/zend-traits/language016.php.exp index 56c39cb68..62ec24a15 100644 --- a/hphp/test/zend/bad/zend-traits/language016.php.exp +++ b/hphp/test/zend/bad/zend-traits/language016.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait T2 is not used in hphp/test/zend/bad/language016.php on line %d +HipHop\ Fatal\ error\:\ Trait\ T2\ is\ not\ used\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language016\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/language017.php b/hphp/test/zend/bad/zend-traits/language017.php similarity index 100% rename from hphp/test/zend/good/zend-traits/language017.php rename to hphp/test/zend/bad/zend-traits/language017.php diff --git a/hphp/test/zend/bad/zend-traits/language017.php.exp b/hphp/test/zend/bad/zend-traits/language017.php.exp new file mode 100644 index 000000000..1e979608c --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/language017.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Trait\ T2\ is\ not\ used\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language017\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/language018.php.exp b/hphp/test/zend/bad/zend-traits/language018.php.exp index 006f8e7fa..941a5e0b1 100644 --- a/hphp/test/zend/bad/zend-traits/language018.php.exp +++ b/hphp/test/zend/bad/zend-traits/language018.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'abstract' as method modifier in hphp/test/zend/bad/language018.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \'abstract\'\ as\ method\ modifier\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language018\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/language019.php b/hphp/test/zend/bad/zend-traits/language019.php similarity index 100% rename from hphp/test/zend/good/zend-traits/language019.php rename to hphp/test/zend/bad/zend-traits/language019.php diff --git a/hphp/test/zend/bad/zend-traits/language019.php.exp b/hphp/test/zend/bad/zend-traits/language019.php.exp new file mode 100644 index 000000000..b06314cf4 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/language019.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ use\ \'final\'\ as\ method\ modifier\ in\ hphp\/test\/zend\/bad\/zend\-traits\/language019\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/methods_002.php.exp b/hphp/test/zend/bad/zend-traits/methods_002.php.exp index 2e65f7d5d..da2406c01 100644 --- a/hphp/test/zend/bad/zend-traits/methods_002.php.exp +++ b/hphp/test/zend/bad/zend-traits/methods_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Trait method __clone has not been applied, because there are collisions with other trait methods on bar in hphp/test/zend/bad/methods_002.php on line %d +HipHop\ Fatal\ error\:\ Trait\ method\ \_\_clone\ has\ not\ been\ applied\,\ because\ there\ are\ collisions\ with\ other\ trait\ methods\ on\ bar\ in\ hphp\/test\/zend\/bad\/zend\-traits\/methods\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/property001.php b/hphp/test/zend/bad/zend-traits/property001.php similarity index 100% rename from hphp/test/zend/good/zend-traits/property001.php rename to hphp/test/zend/bad/zend-traits/property001.php diff --git a/hphp/test/zend/bad/zend-traits/property001.php.exp b/hphp/test/zend/bad/zend-traits/property001.php.exp new file mode 100644 index 000000000..3cbb2c9b3 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property001.php.exp @@ -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/property003.php.exp b/hphp/test/zend/bad/zend-traits/property003.php.exp index 0fd4ef538..9ea9e31e0 100644 --- a/hphp/test/zend/bad/zend-traits/property003.php.exp +++ b/hphp/test/zend/bad/zend-traits/property003.php.exp @@ -1,2 +1,2 @@ -PRE-CLASS-GUARD -HipHop Fatal error: THello1 and THello2 define the same property ($hello) in the composition of TraitsTest. However, the definition differs and is considered incompatible. Class was composed in hphp/test/zend/bad/property003.php on line %d \ No newline at end of file +PRE\-CLASS\-GUARD\ +HipHop\ Fatal\ error\:\ THello1\ and\ THello2\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ TraitsTest\.\ However\,\ the\ definition\ differs\ and\ is\ considered\ incompatible\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend-traits/property004.php.exp b/hphp/test/zend/bad/zend-traits/property004.php.exp index 7e97158bc..f484ba8fb 100644 --- a/hphp/test/zend/bad/zend-traits/property004.php.exp +++ b/hphp/test/zend/bad/zend-traits/property004.php.exp @@ -1,2 +1,2 @@ -PRE-CLASS-GUARD -HipHop Fatal error: THello1 and THello2 define the same property ($hello) in the composition of TraitsTest. However, the definition differs and is considered incompatible. Class was composed in hphp/test/zend/bad/property004.php on line %d \ No newline at end of file +PRE\-CLASS\-GUARD\ +HipHop\ Fatal\ error\:\ THello1\ and\ THello2\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ TraitsTest\.\ However\,\ the\ definition\ differs\ and\ is\ considered\ incompatible\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property004\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/property005.php b/hphp/test/zend/bad/zend-traits/property005.php similarity index 100% rename from hphp/test/zend/good/zend-traits/property005.php rename to hphp/test/zend/bad/zend-traits/property005.php diff --git a/hphp/test/zend/bad/zend-traits/property005.php.exp b/hphp/test/zend/bad/zend-traits/property005.php.exp new file mode 100644 index 000000000..6bb4acd2d --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property005.php.exp @@ -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\:\ TraitsTest\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ TraitsTest\.\ However\,\ the\ definition\ differs\ and\ is\ considered\ incompatible\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\-traits\/property005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend-traits/property006.php b/hphp/test/zend/bad/zend-traits/property006.php similarity index 100% rename from hphp/test/zend/good/zend-traits/property006.php rename to hphp/test/zend/bad/zend-traits/property006.php diff --git a/hphp/test/zend/bad/zend-traits/property006.php.exp b/hphp/test/zend/bad/zend-traits/property006.php.exp new file mode 100644 index 000000000..64de66a99 --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property006.php.exp @@ -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/good/zend-traits/property007.php b/hphp/test/zend/bad/zend-traits/property007.php similarity index 100% rename from hphp/test/zend/good/zend-traits/property007.php rename to hphp/test/zend/bad/zend-traits/property007.php diff --git a/hphp/test/zend/bad/zend-traits/property007.php.exp b/hphp/test/zend/bad/zend-traits/property007.php.exp new file mode 100644 index 000000000..4e2b914bc --- /dev/null +++ b/hphp/test/zend/bad/zend-traits/property007.php.exp @@ -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 index 891e793f8..f7d78eb47 100644 --- a/hphp/test/zend/bad/zend-traits/property009.php.exp +++ b/hphp/test/zend/bad/zend-traits/property009.php.exp @@ -1,15 +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/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/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 +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/001.php.exp b/hphp/test/zend/bad/zend/001.php.exp index de30f3991..b55008395 100644 --- a/hphp/test/zend/bad/zend/001.php.exp +++ b/hphp/test/zend/bad/zend/001.php.exp @@ -1,13 +1,13 @@ -int(0) -int(1) -HipHop Warning: Missing argument 1 for test2(), called in hphp/test/zend/bad/001.php on line %d -int(0) -int(2) -int(0) -HipHop Warning: Missing argument 2 for test3() in hphp/test/zend/bad/001.php on line %d -int(1) -int(2) -int(1) -HipHop Warning: func_num_args(): Called from the global scope - no function context in hphp/test/zend/bad/001.php on line %d -int(-1) -Done +int\(0\)\ +int\(1\)\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ test2\(\)\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/001\.php\ on\ line\ \d+\ +int\(0\)\ +int\(2\)\ +int\(0\)\ +HipHop\ Warning\:\ Missing\ argument\ 2\ for\ test3\(\)\ in\ hphp\/test\/zend\/bad\/zend\/001\.php\ on\ line\ \d+\ +int\(1\)\ +int\(2\)\ +int\(1\)\ +HipHop\ Warning\:\ func\_num\_args\(\)\:\ \ Called\ from\ the\ global\ scope\ \-\ no\ function\ context\ in\ hphp\/test\/zend\/bad\/zend\/001\.php\ on\ line\ \d+\ +int\(\-1\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/002.php.exp b/hphp/test/zend/bad/zend/002.php.exp index 89c1c1f1c..126240ebe 100644 --- a/hphp/test/zend/bad/zend/002.php.exp +++ b/hphp/test/zend/bad/zend/002.php.exp @@ -1,45 +1,45 @@ -HipHop Warning: func_get_arg(): The argument number should be >= 0 in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Argument 0 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): The argument number should be >= 0 in hphp/test/zend/bad/002.php on line %d -bool(false) -int(10) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -int(1) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: Missing argument 1 for test2(), called in hphp/test/zend/bad/002.php on line %d and defined in hphp/test/zend/bad/002.php on line %d -HipHop Warning: func_get_arg(): Argument 0 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -int(1) -int(2) -HipHop Warning: func_get_arg(): Argument 2 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): The argument number should be >= 0 in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Argument 0 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: Missing argument 2 for test3() in hphp/test/zend/bad/002.php on line %d -int(1) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Argument 2 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -int(1) -int(2) -HipHop Warning: func_get_arg(): Argument 2 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -int(1) -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/002.php on line %d -bool(false) -HipHop Warning: func_get_arg(): Called from the global scope - no function context in hphp/test/zend/bad/002.php on line %d -bool(false) -Done +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ The\ argument\ number\ should\ be\ \>\=\ 0\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 0\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ The\ argument\ number\ should\ be\ \>\=\ 0\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(10\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(1\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ test2\(\)\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 0\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(1\)\ +int\(2\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 2\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ The\ argument\ number\ should\ be\ \>\=\ 0\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 0\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ Missing\ argument\ 2\ for\ test3\(\)\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 2\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(1\)\ +int\(2\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 2\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(1\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Called\ from\ the\ global\ scope\ \-\ no\ function\ context\ in\ hphp\/test\/zend\/bad\/zend\/002\.php\ on\ line\ \d+\ +bool\(false\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/003.php.exp b/hphp/test/zend/bad/zend/003.php.exp index e546da3d3..4485d03aa 100644 --- a/hphp/test/zend/bad/zend/003.php.exp +++ b/hphp/test/zend/bad/zend/003.php.exp @@ -1,39 +1,39 @@ -array(0) { -} -array(1) { - [0]=> - int(10) -} -array(1) { - [0]=> - int(1) -} -HipHop Warning: Missing argument 1 for test2(), called in hphp/test/zend/bad/003.php on line %d and defined in hphp/test/zend/bad/003.php on line %d -array(0) { -} -array(2) { - [0]=> - int(1) - [1]=> - int(2) -} -array(0) { -} -HipHop Warning: Missing argument 2 for test3() in hphp/test/zend/bad/003.php on line %d -array(1) { - [0]=> - int(1) -} -array(2) { - [0]=> - int(1) - [1]=> - int(2) -} -array(1) { - [0]=> - int(1) -} -HipHop Warning: func_get_args(): Called from the global scope - no function context in hphp/test/zend/bad/003.php on line %d -bool(false) -Done +array\(0\)\ \{\ +\}\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(10\)\ +\}\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(1\)\ +\}\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ test2\(\)\,\ called\ in\ hphp\/test\/zend\/bad\/zend\/003\.php\ on\ line\ \d+\ and\ defined\ in\ hphp\/test\/zend\/bad\/zend\/003\.php\ on\ line\ \d+\ +array\(0\)\ \{\ +\}\ +array\(2\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(1\)\ +\ \ \[1\]\=\>\ +\ \ int\(2\)\ +\}\ +array\(0\)\ \{\ +\}\ +HipHop\ Warning\:\ Missing\ argument\ 2\ for\ test3\(\)\ in\ hphp\/test\/zend\/bad\/zend\/003\.php\ on\ line\ \d+\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(1\)\ +\}\ +array\(2\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(1\)\ +\ \ \[1\]\=\>\ +\ \ int\(2\)\ +\}\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(1\)\ +\}\ +HipHop\ Warning\:\ func\_get\_args\(\)\:\ \ Called\ from\ the\ global\ scope\ \-\ no\ function\ context\ in\ hphp\/test\/zend\/bad\/zend\/003\.php\ on\ line\ \d+\ +bool\(false\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/004.php.exp b/hphp/test/zend/bad/zend/004.php.exp index 33ed1efc3..38b782e1d 100644 --- a/hphp/test/zend/bad/zend/004.php.exp +++ b/hphp/test/zend/bad/zend/004.php.exp @@ -1,9 +1,9 @@ -HipHop Warning: Missing argument 3 for strncmp() in hphp/test/zend/bad/004.php on line %d -NULL -int(0) -HipHop Warning: Length must be greater than or equal to 0 in hphp/test/zend/bad/004.php on line %d -bool(false) -int(0) -int(0) -int(-1) -Done +HipHop\ Warning\:\ Missing\ argument\ 3\ for\ strncmp\(\)\ in\ hphp\/test\/zend\/bad\/zend\/004\.php\ on\ line\ \d+\ +NULL\ +int\(0\)\ +HipHop\ Warning\:\ Length\ must\ be\ greater\ than\ or\ equal\ to\ 0\ in\ hphp\/test\/zend\/bad\/zend\/004\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(0\)\ +int\(0\)\ +int\(\-1\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/005.php.exp b/hphp/test/zend/bad/zend/005.php.exp index 1ec6a40c2..b1f8db937 100644 --- a/hphp/test/zend/bad/zend/005.php.exp +++ b/hphp/test/zend/bad/zend/005.php.exp @@ -1,10 +1,10 @@ -HipHop Warning: Missing argument 2 for strcasecmp() in hphp/test/zend/bad/005.php on line %d -NULL -int(0) -int(-3) -int(-1) -int(0) -int(0) -int(0) -int(0) -Done +HipHop\ Warning\:\ Missing\ argument\ 2\ for\ strcasecmp\(\)\ in\ hphp\/test\/zend\/bad\/zend\/005\.php\ on\ line\ \d+\ +NULL\ +int\(0\)\ +int\(\-3\)\ +int\(\-1\)\ +int\(0\)\ +int\(0\)\ +int\(0\)\ +int\(0\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/006.php.exp b/hphp/test/zend/bad/zend/006.php.exp index 864e36df2..7689ce3a9 100644 --- a/hphp/test/zend/bad/zend/006.php.exp +++ b/hphp/test/zend/bad/zend/006.php.exp @@ -1,12 +1,12 @@ -HipHop Warning: Missing argument 3 for strncasecmp() in hphp/test/zend/bad/006.php on line %d -NULL -HipHop Warning: Length must be greater than or equal to 0 in hphp/test/zend/bad/006.php on line %d -bool(false) -int(0) -int(-3) -int(0) -int(0) -int(2) -int(0) -int(0) -Done +HipHop\ Warning\:\ Missing\ argument\ 3\ for\ strncasecmp\(\)\ in\ hphp\/test\/zend\/bad\/zend\/006\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ Length\ must\ be\ greater\ than\ or\ equal\ to\ 0\ in\ hphp\/test\/zend\/bad\/zend\/006\.php\ on\ line\ \d+\ +bool\(false\)\ +int\(0\)\ +int\(\-3\)\ +int\(0\)\ +int\(0\)\ +int\(2\)\ +int\(0\)\ +int\(0\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/007.php.exp b/hphp/test/zend/bad/zend/007.php.exp index 6ba7ddbf0..9f8000af0 100644 --- a/hphp/test/zend/bad/zend/007.php.exp +++ b/hphp/test/zend/bad/zend/007.php.exp @@ -1,37 +1,37 @@ -HipHop Warning: Missing argument 1 for each() in hphp/test/zend/bad/007.php on line %d -NULL -HipHop Warning: Invalid operand type was used: expecting an array in hphp/test/zend/bad/007.php on line %d -NULL -HipHop Warning: Invalid operand type was used: expecting an array in hphp/test/zend/bad/007.php on line %d -NULL -array(4) { - [1]=> - int(1) - ["value"]=> - int(1) - [0]=> - int(0) - ["key"]=> - int(0) -} -array(4) { - [1]=> - int(1) - ["value"]=> - int(1) - [0]=> - string(1) "a" - ["key"]=> - string(1) "a" -} -array(4) { - [1]=> - int(1) - ["value"]=> - int(1) - [0]=> - int(0) - ["key"]=> - int(0) -} -Done +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ each\(\)\ in\ hphp\/test\/zend\/bad\/zend\/007\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ Invalid\ operand\ type\ was\ used\:\ expecting\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/007\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ Invalid\ operand\ type\ was\ used\:\ expecting\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/007\.php\ on\ line\ \d+\ +NULL\ +array\(4\)\ \{\ +\ \ \[1\]\=\>\ +\ \ int\(1\)\ +\ \ \[\"value\"\]\=\>\ +\ \ int\(1\)\ +\ \ \[0\]\=\>\ +\ \ int\(0\)\ +\ \ \[\"key\"\]\=\>\ +\ \ int\(0\)\ +\}\ +array\(4\)\ \{\ +\ \ \[1\]\=\>\ +\ \ int\(1\)\ +\ \ \[\"value\"\]\=\>\ +\ \ int\(1\)\ +\ \ \[0\]\=\>\ +\ \ string\(1\)\ \"a\"\ +\ \ \[\"key\"\]\=\>\ +\ \ string\(1\)\ \"a\"\ +\}\ +array\(4\)\ \{\ +\ \ \[1\]\=\>\ +\ \ int\(1\)\ +\ \ \[\"value\"\]\=\>\ +\ \ int\(1\)\ +\ \ \[0\]\=\>\ +\ \ int\(0\)\ +\ \ \[\"key\"\]\=\>\ +\ \ int\(0\)\ +\}\ +Done \ 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 index 6e3291ee8..c6e8d6d23 100644 --- a/hphp/test/zend/bad/zend/008.php.exp +++ b/hphp/test/zend/bad/zend/008.php.exp @@ -1,22 +1,22 @@ -HipHop Warning: define() expects at least 2 parameters, 0 given in hphp/test/zend/bad/008.php on line %d -NULL -HipHop Warning: define() expects at least 2 parameters, 1 given in hphp/test/zend/bad/008.php on line %d -NULL -bool(true) -HipHop Warning: define() expects parameter 3 to be boolean, array given in hphp/test/zend/bad/008.php on line %d -NULL -HipHop Warning: define() expects parameter 1 to be string, array given in hphp/test/zend/bad/008.php on line %d -NULL -bool(true) -bool(true) -bool(true) -HipHop Notice: Constant test const already defined in hphp/test/zend/bad/008.php on line %d -bool(false) -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/zend/bad/008.php on line %d -bool(false) -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/zend/bad/008.php on line %d -bool(false) -int(1) -int(2) -int(3) -Done +HipHop\ Warning\:\ define\(\)\ expects\ at\ least\ 2\ parameters\,\ 0\ given\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ define\(\)\ expects\ at\ least\ 2\ parameters\,\ 1\ given\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +NULL\ +bool\(true\)\ +HipHop\ Warning\:\ define\(\)\ expects\ parameter\ 3\ to\ be\ boolean\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ define\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +NULL\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Constant\ test\ const\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ Constants\ may\ only\ evaluate\ to\ scalar\ values\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ Constants\ may\ only\ evaluate\ to\ scalar\ values\ in\ hphp\/test\/zend\/bad\/zend\/008\.php\ on\ line\ \d+\ +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 index 55eb9fc82..3ec78afe7 100644 --- a/hphp/test/zend/bad/zend/009.php.exp +++ b/hphp/test/zend/bad/zend/009.php.exp @@ -1,14 +1,14 @@ -Strict Standards: Non-static method foo::bar() should not be called statically in hphp/test/zend/bad/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/009.php on line %d -string(3) "foo" -string(3) "foo" -string(3) "foo" -HipHop Warning: get_class() called without object from outside a class in hphp/test/zend/bad/009.php on line %d -bool(false) -HipHop Warning: get_class() expects parameter 1 to be object, string given in hphp/test/zend/bad/009.php on line %d -bool(false) -string(3) "foo" -string(4) "foo2" -Done +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\:\ get\_class\(\)\ called\ without\ object\ from\ outside\ a\ class\ in\ hphp\/test\/zend\/bad\/zend\/009\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ get\_class\(\)\ expects\ parameter\ 1\ to\ be\ object\,\ string\ given\ in\ hphp\/test\/zend\/bad\/zend\/009\.php\ on\ line\ \d+\ +bool\(false\)\ +string\(3\)\ \"foo\"\ +string\(4\)\ \"foo2\"\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/011.php.exp b/hphp/test/zend/bad/zend/011.php.exp index 273fcf24e..eb92d58c8 100644 --- a/hphp/test/zend/bad/zend/011.php.exp +++ b/hphp/test/zend/bad/zend/011.php.exp @@ -1,30 +1,30 @@ -HipHop Warning: Missing argument 2 for property_exists() in hphp/test/zend/bad/011.php on line %d -NULL -HipHop Warning: Missing argument 2 for property_exists() in hphp/test/zend/bad/011.php on line %d -NULL -bool(true) -bool(true) -bool(true) -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -bool(true) -bool(true) -bool(true) -bool(false) -bool(false) -HipHop Warning: First parameter must either be an object or the name of an existing class in hphp/test/zend/bad/011.php on line %d -NULL -HipHop Warning: First parameter must either be an object or the name of an existing class in hphp/test/zend/bad/011.php on line %d -NULL -HipHop Warning: First parameter must either be an object or the name of an existing class in hphp/test/zend/bad/011.php on line %d -NULL -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -Done +HipHop\ Warning\:\ Missing\ argument\ 2\ for\ property\_exists\(\)\ in\ hphp\/test\/zend\/bad\/zend\/011\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ Missing\ argument\ 2\ for\ property\_exists\(\)\ in\ hphp\/test\/zend\/bad\/zend\/011\.php\ on\ line\ \d+\ +NULL\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Warning\:\ First\ parameter\ must\ either\ be\ an\ object\ or\ the\ name\ of\ an\ existing\ class\ in\ hphp\/test\/zend\/bad\/zend\/011\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ First\ parameter\ must\ either\ be\ an\ object\ or\ the\ name\ of\ an\ existing\ class\ in\ hphp\/test\/zend\/bad\/zend\/011\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ First\ parameter\ must\ either\ be\ an\ object\ or\ the\ name\ of\ an\ existing\ class\ in\ hphp\/test\/zend\/bad\/zend\/011\.php\ on\ line\ \d+\ +NULL\ +bool\(true\)\ +bool\(true\)\ +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.exp b/hphp/test/zend/bad/zend/012.php.exp index 34c681a29..66124157d 100644 --- a/hphp/test/zend/bad/zend/012.php.exp +++ b/hphp/test/zend/bad/zend/012.php.exp @@ -1,12 +1,12 @@ -HipHop Warning: class_exists() expects at least 1 parameter, 0 given in hphp/test/zend/bad/012.php on line %d -NULL -bool(false) -bool(false) -HipHop Warning: class_exists() expects parameter 1 to be string, array given in hphp/test/zend/bad/012.php on line %d -NULL -bool(false) -bool(true) -bool(true) -bool(true) -bool(true) -Done +HipHop\ Warning\:\ class\_exists\(\)\ expects\ at\ least\ 1\ parameter\,\ 0\ given\ in\ hphp\/test\/zend\/bad\/zend\/012\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Warning\:\ class\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/012\.php\ on\ line\ \d+\ +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 index 345bc04d2..daa073aee 100644 --- a/hphp/test/zend/bad/zend/013.php.exp +++ b/hphp/test/zend/bad/zend/013.php.exp @@ -1,12 +1,12 @@ -HipHop Warning: interface_exists() expects at least 1 parameter, 0 given in hphp/test/zend/bad/013.php on line %d -NULL -bool(false) -bool(false) -HipHop Warning: interface_exists() expects parameter 1 to be string, array given in hphp/test/zend/bad/013.php on line %d -NULL -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -Done +HipHop\ Warning\:\ interface\_exists\(\)\ expects\ at\ least\ 1\ parameter\,\ 0\ given\ in\ hphp\/test\/zend\/bad\/zend\/013\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Warning\:\ interface\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/013\.php\ on\ line\ \d+\ +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 index 00389e371..aa2810549 100644 --- a/hphp/test/zend/bad/zend/014.php.exp +++ b/hphp/test/zend/bad/zend/014.php.exp @@ -1,27 +1,34 @@ -array(1) { - [0]=> - string(%d) "%s" -} -array(2) { - [0]=> - string(%d) "%s" - [1]=> - string(%d) "%s" -} -HipHop Warning: Missing argument 0 for get_included_files() in hphp/test/zend/bad/014.php on line %d -NULL -array(2) { - [0]=> - string(%d) "%s" - [1]=> - string(%d) "%s" -} -HipHop Warning: Missing argument 0 for get_included_files() in hphp/test/zend/bad/014.php on line %d -NULL -array(2) { - [0]=> - string(%d) "%s" - [1]=> - string(%d) "%s" -} -Done +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\}\ +array\(2\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\ \ \[1\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\}\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ get\_included\_files\(\)\ in\ hphp\/test\/zend\/bad\/zend\/014\.php\ on\ line\ \d+\ +NULL\ +array\(2\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\ \ \[1\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\}\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ get\_included\_files\(\)\ in\ hphp\/test\/zend\/bad\/zend\/014\.php\ on\ line\ \d+\ +NULL\ +array\(2\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\ \ \[1\]\=\>\ +\ \ string\(\d+\)\ \"[^ +]+\"\ +\}\ +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 index 157e0ba19..8a868db2a 100644 --- a/hphp/test/zend/bad/zend/015.php.exp +++ b/hphp/test/zend/bad/zend/015.php.exp @@ -1,16 +1,16 @@ -HipHop Warning: trigger_error() expects at least 1 parameter, 0 given in hphp/test/zend/bad/015.php on line %d -NULL -HipHop Notice: error in hphp/test/zend/bad/015.php on line %d -bool(true) -HipHop Warning: trigger_error() expects parameter 1 to be string, array given in hphp/test/zend/bad/015.php on line %d -NULL -HipHop Warning: Invalid error type specified in hphp/test/zend/bad/015.php on line %d -bool(false) -HipHop Warning: Invalid error type specified in hphp/test/zend/bad/015.php on line %d -bool(false) -HipHop Warning: error in hphp/test/zend/bad/015.php on line %d -bool(true) - -Deprecated: error in hphp/test/zend/bad/015.php on line %d -bool(true) -Done +HipHop\ Warning\:\ trigger\_error\(\)\ expects\ at\ least\ 1\ parameter\,\ 0\ given\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ error\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Warning\:\ trigger\_error\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ Invalid\ error\ type\ specified\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ Invalid\ error\ type\ specified\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ error\ in\ hphp\/test\/zend\/bad\/zend\/015\.php\ on\ line\ \d+\ +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 index a1210b0a5..7b53a9dd2 100644 --- a/hphp/test/zend/bad/zend/017.php.exp +++ b/hphp/test/zend/bad/zend/017.php.exp @@ -1,33 +1,33 @@ -HipHop Warning: Missing argument 1 for get_resource_type() in hphp/test/zend/bad/017.php on line %d -NULL -HipHop Warning: get_resource_type() expects parameter 1 to be resource, string given in hphp/test/zend/bad/017.php on line %d -NULL -string(6) "stream" -string(7) "Unknown" -string(5) "array" -int(%d) -string(5) "array" -int(%d) -HipHop Warning: get_loaded_extensions() expects at most 1 parameter, 2 given in hphp/test/zend/bad/017.php on line %d -NULL -HipHop Warning: get_defined_constants() expects at most 1 parameter, 2 given in hphp/test/zend/bad/017.php on line %d -NULL -string(5) "array" -string(5) "array" -int(%d) -HipHop Warning: Missing argument 0 for get_defined_functions() in hphp/test/zend/bad/017.php on line %d -NULL -string(5) "array" -int(%d) -HipHop Warning: Missing argument 0 for get_declared_interfaces() in hphp/test/zend/bad/017.php on line %d -NULL -string(5) "array" -int(%d) -HipHop Warning: Missing argument 1 for get_extension_funcs() in hphp/test/zend/bad/017.php on line %d -NULL -bool(false) -string(5) "array" -int(%d) -string(5) "array" -int(%d) -Done +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ get\_resource\_type\(\)\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ get\_resource\_type\(\)\ expects\ parameter\ 1\ to\ be\ resource\,\ string\ given\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +NULL\ +string\(6\)\ \"stream\"\ +string\(7\)\ \"Unknown\"\ +string\(5\)\ \"array\"\ +int\(\d+\)\ +string\(5\)\ \"array\"\ +int\(\d+\)\ +HipHop\ Warning\:\ get\_loaded\_extensions\(\)\ expects\ at\ most\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ get\_defined\_constants\(\)\ expects\ at\ most\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +NULL\ +string\(5\)\ \"array\"\ +string\(5\)\ \"array\"\ +int\(\d+\)\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ get\_defined\_functions\(\)\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +NULL\ +string\(5\)\ \"array\"\ +int\(\d+\)\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ get\_declared\_interfaces\(\)\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +NULL\ +string\(5\)\ \"array\"\ +int\(\d+\)\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ get\_extension\_funcs\(\)\ in\ hphp\/test\/zend\/bad\/zend\/017\.php\ on\ line\ \d+\ +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 index 777878bea..5a94bf267 100644 --- a/hphp/test/zend/bad/zend/018.php.exp +++ b/hphp/test/zend/bad/zend/018.php.exp @@ -1,11 +1,11 @@ -HipHop Warning: Missing argument 1 for constant() in hphp/test/zend/bad/018.php on line %d -NULL -HipHop Warning: constant() expects exactly 1 parameter, 2 given in hphp/test/zend/bad/018.php on line %d -NULL -HipHop Warning: constant(): Couldn't find constant in hphp/test/zend/bad/018.php on line %d -NULL -HipHop Warning: constant() expects parameter 1 to be string, array given in hphp/test/zend/bad/018.php on line %d -NULL -int(1) -string(4) "test" -Done +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ constant\(\)\ in\ hphp\/test\/zend\/bad\/zend\/018\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ constant\(\)\ expects\ exactly\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/zend\/018\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ constant\(\)\:\ Couldn\'t\ find\ constant\ \ in\ hphp\/test\/zend\/bad\/zend\/018\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ constant\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/018\.php\ on\ line\ \d+\ +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 index e63eb4e6a..1bc3dcc67 100644 --- a/hphp/test/zend/bad/zend/019.php.exp +++ b/hphp/test/zend/bad/zend/019.php.exp @@ -1,861 +1,861 @@ -*** Testing unset(), empty() & isset() with scalar variables *** --- Iteration 1 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 2 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 3 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 4 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 5 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 6 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 7 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 8 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 9 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 10 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 11 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 12 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 13 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 14 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 15 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 16 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 17 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 18 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 19 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 20 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 21 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 22 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 23 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 24 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 25 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 26 -- -bool(true) -bool(true) -bool(false) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -NULL -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) --- Iteration 27 -- -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined variable: scalar_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(2) { - [2]=> - int(3) - [3]=> - int(4) -} --- Innerloop Iteration 3 of Outerloop Iteration 6 -- -array(1) { - [3]=> - int(4) -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(1) { - [3]=> - int(4) -} --- Innerloop Iteration 4 of Outerloop Iteration 6 -- -array(0) { -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(1) { - [2]=> - float(5.6) -} --- Innerloop Iteration 3 of Outerloop Iteration 7 -- -array(0) { -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(1) { - [2]=> - string(3) "two" -} --- Innerloop Iteration 2 of Outerloop Iteration 8 -- -array(0) { -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(1) { - ["Age"]=> - string(2) "30" -} --- Innerloop Iteration 2 of Outerloop Iteration 9 -- -array(0) { -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(2) { - [2]=> - string(3) "two" - [""]=> - string(0) "" -} --- Innerloop Iteration 4 of Outerloop Iteration 10 -- -array(1) { - [""]=> - string(0) "" -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(1) { - [""]=> - string(0) "" -} --- Innerloop Iteration 5 of Outerloop Iteration 10 -- -array(0) { -} -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: key_val in hphp/test/zend/bad/019.php on line %d -bool(true) -array(0) { -} -HipHop Notice: Undefined variable: array_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: resource in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: resource in hphp/test/zend/bad/019.php on line %d -NULL -HipHop Notice: Undefined variable: resources in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: lable in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: lable in hphp/test/zend/bad/019.php on line %d -bool(true) -HipHop Notice: Undefined variable: lable in hphp/test/zend/bad/019.php on line %d -bool(false) -HipHop Notice: Undefined variable: lable in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: point1 in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: static_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: static_var in hphp/test/zend/bad/019.php on line %d -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: Undefined variable: static_var in hphp/test/zend/bad/019.php on line %d -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=== +\*\*\*\ Testing\ unset\(\)\,\ empty\(\)\ \&\ isset\(\)\ with\ scalar\ variables\ \*\*\*\ +\-\-\ Iteration\ 1\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 2\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 3\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 4\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 5\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 6\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 7\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 8\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 9\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 10\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 11\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 12\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 13\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 14\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 15\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 16\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 17\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 18\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 19\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 20\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 21\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 22\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 23\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 24\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 25\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 26\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +\-\-\ Iteration\ 27\ \-\-\ +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ scalar\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(2\)\ \{\ +\ \ \[2\]\=\>\ +\ \ int\(3\)\ +\ \ \[3\]\=\>\ +\ \ int\(4\)\ +\}\ +\-\-\ Innerloop\ Iteration\ 3\ of\ Outerloop\ Iteration\ 6\ \-\-\ +array\(1\)\ \{\ +\ \ \[3\]\=\>\ +\ \ int\(4\)\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[3\]\=\>\ +\ \ int\(4\)\ +\}\ +\-\-\ Innerloop\ Iteration\ 4\ of\ Outerloop\ Iteration\ 6\ \-\-\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[2\]\=\>\ +\ \ float\(5\.6\)\ +\}\ +\-\-\ Innerloop\ Iteration\ 3\ of\ Outerloop\ Iteration\ 7\ \-\-\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[2\]\=\>\ +\ \ string\(3\)\ \"two\"\ +\}\ +\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 8\ \-\-\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[\"Age\"\]\=\>\ +\ \ string\(2\)\ \"30\"\ +\}\ +\-\-\ Innerloop\ Iteration\ 2\ of\ Outerloop\ Iteration\ 9\ \-\-\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(2\)\ \{\ +\ \ \[2\]\=\>\ +\ \ string\(3\)\ \"two\"\ +\ \ \[\"\"\]\=\>\ +\ \ string\(0\)\ \"\"\ +\}\ +\-\-\ Innerloop\ Iteration\ 4\ of\ Outerloop\ Iteration\ 10\ \-\-\ +array\(1\)\ \{\ +\ \ \[\"\"\]\=\>\ +\ \ string\(0\)\ \"\"\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[\"\"\]\=\>\ +\ \ string\(0\)\ \"\"\ +\}\ +\-\-\ Innerloop\ Iteration\ 5\ of\ Outerloop\ Iteration\ 10\ \-\-\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ key\_val\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(0\)\ \{\ +\}\ +HipHop\ Notice\:\ Undefined\ variable\:\ array\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ resource\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ resource\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ resources\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ lable\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ lable\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ lable\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ lable\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ point1\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ static\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ static\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ static\_var\ in\ hphp\/test\/zend\/bad\/zend\/019\.php\ on\ line\ \d+\ +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 index 74d6ef725..c01d03c3a 100644 --- a/hphp/test/zend/bad/zend/020.php.exp +++ b/hphp/test/zend/bad/zend/020.php.exp @@ -1,9 +1,9 @@ -HipHop Warning: func_get_arg() expects exactly 1 parameter, 3 given in hphp/test/zend/bad/020.php on line %d -NULL -HipHop Warning: func_get_arg(): Called from the global scope - no function context in hphp/test/zend/bad/020.php on line %d -bool(false) -HipHop Warning: Missing argument 1 for func_get_arg() in hphp/test/zend/bad/020.php on line %d -NULL -HipHop Warning: func_get_arg(): Argument 1 not passed to function in hphp/test/zend/bad/020.php on line %d -bool(false) -Done +HipHop\ Warning\:\ func\_get\_arg\(\)\ expects\ exactly\ 1\ parameter\,\ 3\ given\ in\ hphp\/test\/zend\/bad\/zend\/020\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Called\ from\ the\ global\ scope\ \-\ no\ function\ context\ in\ hphp\/test\/zend\/bad\/zend\/020\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ func\_get\_arg\(\)\ in\ hphp\/test\/zend\/bad\/zend\/020\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ func\_get\_arg\(\)\:\ \ Argument\ 1\ not\ passed\ to\ function\ in\ hphp\/test\/zend\/bad\/zend\/020\.php\ on\ line\ \d+\ +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 index 7c7b991c1..49332ed3a 100644 --- a/hphp/test/zend/bad/zend/024.php.exp +++ b/hphp/test/zend/bad/zend/024.php.exp @@ -1,22 +1,26 @@ -HipHop Notice: Undefined variable: a in hphp/test/zend/bad/024.php on line %d -NULL -HipHop Notice: Undefined variable: %s in hphp/test/zend/bad/024.php on line %d -HipHop Notice: Undefined variable: %s in hphp/test/zend/bad/024.php on line %d -NULL -HipHop Notice: Undefined variable: a in hphp/test/zend/bad/024.php on line %d -int(1) -HipHop Notice: Undefined variable: %s in hphp/test/zend/bad/024.php on line %d -HipHop Notice: Undefined variable: %s in hphp/test/zend/bad/024.php on line %d -int(0) -HipHop Notice: Undefined variable: a in hphp/test/zend/bad/024.php on line %d -NULL -HipHop Notice: Undefined variable: b in hphp/test/zend/bad/024.php on line %d -int(1) -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/024.php on line %d -NULL -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/024.php on line %d -NULL -HipHop Notice: Undefined variable: c in hphp/test/zend/bad/024.php on line %d -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/024.php on line %d -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/024.php on line %d -NULL +HipHop\ Notice\:\ Undefined\ variable\:\ a\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ [^ +]+\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ [^ +]+\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ a\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ [^ +]+\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ [^ +]+\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +int\(0\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ a\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ b\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ c\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/024\.php\ on\ line\ \d+\ +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 index 5895d2eea..ff9c05de1 100644 --- a/hphp/test/zend/bad/zend/026.php.exp +++ b/hphp/test/zend/bad/zend/026.php.exp @@ -1,4 +1,4 @@ -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/026.php on line %d -ok -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/026.php on line %d -ok +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/026\.php\ on\ line\ \d+\ +ok\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/zend\/026\.php\ on\ line\ \d+\ +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/028.php.exp b/hphp/test/zend/bad/zend/028.php.exp index f9ec098f9..7956344bc 100644 --- a/hphp/test/zend/bad/zend/028.php.exp +++ b/hphp/test/zend/bad/zend/028.php.exp @@ -1,5 +1,5 @@ -bool(true) -bool(true) -bool(true) -HipHop Notice: Undefined offset: 2 in hphp/test/zend/bad/028.php on line %d -HipHop Fatal error: Function name must be a string in hphp/test/zend/bad/028.php on line %d +bool\(true\)\ +bool\(true\)\ +bool\(true\)\ +HipHop\ Notice\:\ Undefined\ offset\:\ 2\ in\ hphp\/test\/zend\/bad\/zend\/028\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Function\ name\ must\ be\ a\ string\ in\ hphp\/test\/zend\/bad\/zend\/028\.php\ on\ line\ \d+ \ 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 index c7811161d..47a82457f 100644 --- a/hphp/test/zend/bad/zend/030.php.exp +++ b/hphp/test/zend/bad/zend/030.php.exp @@ -1,37 +1,39 @@ -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 +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/031.php.exp b/hphp/test/zend/bad/zend/031.php.exp index e53e06ff5..352f32d04 100644 --- a/hphp/test/zend/bad/zend/031.php.exp +++ b/hphp/test/zend/bad/zend/031.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/bad/031.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \[\]\ for\ reading\ in\ hphp\/test\/zend\/bad\/zend\/031\.php\ on\ line\ \d+ \ 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 index d07e1246d..d04cb38dd 100644 --- a/hphp/test/zend/bad/zend/033.php.exp +++ b/hphp/test/zend/bad/zend/033.php.exp @@ -1,7 +1,6 @@ - -HipHop Notice: Undefined variable: arr in hphp/test/zend/bad/033.php on line %d -HipHop Notice: Undefined variable: arr in hphp/test/zend/bad/033.php on line %d -HipHop Notice: Undefined variable: arr in hphp/test/zend/bad/033.php on line %d -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/033.php on line %d -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/033.php on line %d -HipHop Warning: Creating default object from empty value in hphp/test/zend/bad/033.php on line %d +HipHop\ Notice\:\ Undefined\ variable\:\ arr\ in\ hphp\/test\/zend\/bad\/zend\/033\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ arr\ in\ hphp\/test\/zend\/bad\/zend\/033\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ arr\ in\ hphp\/test\/zend\/bad\/zend\/033\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/033\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/zend\/033\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ hphp\/test\/zend\/bad\/zend\/033\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/036.php.exp b/hphp/test/zend/bad/zend/036.php.exp index bc2b10175..39467c064 100644 --- a/hphp/test/zend/bad/zend/036.php.exp +++ b/hphp/test/zend/bad/zend/036.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: Illegal offset type in hphp/test/zend/bad/036.php on line %d -HipHop Warning: Illegal offset type in hphp/test/zend/bad/036.php on line %d +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/036\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/036\.php\ on\ line\ \d+ \ 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 index 38b494d98..4482e3943 100644 --- a/hphp/test/zend/bad/zend/037.php.exp +++ b/hphp/test/zend/bad/zend/037.php.exp @@ -1,2 +1,2 @@ -int(1) -HipHop Fatal error: Access to undeclared static property: Closure::$x in hphp/test/zend/bad/037.php on line %d +int\(1\)\ +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ Closure\:\:\$x\ in\ hphp\/test\/zend\/bad\/zend\/037\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/038.php.exp b/hphp/test/zend/bad/zend/038.php.exp index efc7d9c86..dd5c1c906 100644 --- a/hphp/test/zend/bad/zend/038.php.exp +++ b/hphp/test/zend/bad/zend/038.php.exp @@ -1,3 +1,3 @@ -HipHop Warning: Illegal offset type in hphp/test/zend/bad/038.php on line %d -array(0) { -} +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/038\.php\ on\ line\ \d+\ +array\(0\)\ \{\ +\} \ No newline at end of file diff --git a/hphp/test/zend/good/zend/abstract-static.php b/hphp/test/zend/bad/zend/abstract-static.php similarity index 100% rename from hphp/test/zend/good/zend/abstract-static.php rename to hphp/test/zend/bad/zend/abstract-static.php diff --git a/hphp/test/zend/bad/zend/abstract-static.php.exp b/hphp/test/zend/bad/zend/abstract-static.php.exp new file mode 100644 index 000000000..2a2969be6 --- /dev/null +++ b/hphp/test/zend/bad/zend/abstract-static.php.exp @@ -0,0 +1,3 @@ +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/access_modifiers_001.php.exp b/hphp/test/zend/bad/zend/access_modifiers_001.php.exp index 9537d6349..d09de7d78 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_001.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple access type modifiers are not allowed in hphp/test/zend/bad/access_modifiers_001.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ access\ type\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_002.php.exp b/hphp/test/zend/bad/zend/access_modifiers_002.php.exp index 1a4b0334b..0edc709ab 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_002.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple access type modifiers are not allowed in hphp/test/zend/bad/access_modifiers_002.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ access\ type\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_002\.php\ on\ line\ \d+ \ 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 index 8c642d7cf..5ae2b8bfb 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_003.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_003.php.exp @@ -1 +1,4 @@ -Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/access_modifiers_003.php on line %d +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_004.php.exp b/hphp/test/zend/bad/zend/access_modifiers_004.php.exp index 2b035009d..945f2cc88 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_004.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_004.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple abstract modifiers are not allowed in hphp/test/zend/bad/access_modifiers_004.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ abstract\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_004\.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 index 2a56853de..66c79cc6c 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_005.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple final modifiers are not allowed in hphp/test/zend/bad/access_modifiers_005.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ final\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_005\.php\ on\ line\ \d+ \ 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 index bae5e63f0..9c0ab45ee 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_006.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_006.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple static modifiers are not allowed in hphp/test/zend/bad/access_modifiers_006.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ static\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_006\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_007.php.exp b/hphp/test/zend/bad/zend/access_modifiers_007.php.exp index 932312441..63dd73393 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_007.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_007.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use the final modifier on an abstract class member in hphp/test/zend/bad/access_modifiers_007.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ the\ final\ modifier\ on\ an\ abstract\ class\ member\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_007\.php\ on\ line\ \d+ \ 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 index 173cee463..a1f0ad500 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_008.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_008.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to protected method B1::f() from context 'B2' in hphp/test/zend/bad/access_modifiers_008.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ B1\:\:f\(\)\ from\ context\ \'B2\'\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_008\.php\ on\ line\ \d+ \ 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 index f6ef702ba..bd74dac62 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_009.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_009.php.exp @@ -1,2 +1,2 @@ -bool(false) -HipHop Fatal error: Call to protected method B1::f() from context 'B2' in hphp/test/zend/bad/access_modifiers_009.php on line %d +bool\(false\)\ +HipHop\ Fatal\ error\:\ Call\ to\ protected\ method\ B1\:\:f\(\)\ from\ context\ \'B2\'\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_009\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/access_modifiers_010.php.exp b/hphp/test/zend/bad/zend/access_modifiers_010.php.exp index 2e2f128b6..37543d3e8 100644 --- a/hphp/test/zend/bad/zend/access_modifiers_010.php.exp +++ b/hphp/test/zend/bad/zend/access_modifiers_010.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to private method d::test2() from context 'a' in hphp/test/zend/bad/access_modifiers_010.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ d\:\:test2\(\)\ from\ context\ \'a\'\ in\ hphp\/test\/zend\/bad\/zend\/access\_modifiers\_010\.php\ on\ line\ \d+ \ 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 index ca7912635..41ec9e215 100644 --- a/hphp/test/zend/bad/zend/add_002.php.exp +++ b/hphp/test/zend/bad/zend/add_002.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/add_002.php on line %d -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/add_002.php on line %d +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/add\_002\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/add\_002\.php\ on\ line\ \d+ \ 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 index 6895a8e26..6f763ab4c 100644 --- a/hphp/test/zend/bad/zend/add_003.php.exp +++ b/hphp/test/zend/bad/zend/add_003.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/add_003.php on line %d -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/add_003.php on line %d +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/add\_003\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/add\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/add_004.php.exp b/hphp/test/zend/bad/zend/add_004.php.exp index 95b4ad2c5..7d01c4634 100644 --- a/hphp/test/zend/bad/zend/add_004.php.exp +++ b/hphp/test/zend/bad/zend/add_004.php.exp @@ -1 +1 @@ -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/add_004.php on line %d +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/add\_004\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/add_007.php.exp b/hphp/test/zend/bad/zend/add_007.php.exp index fd3c7510f..33d430679 100644 --- a/hphp/test/zend/bad/zend/add_007.php.exp +++ b/hphp/test/zend/bad/zend/add_007.php.exp @@ -1 +1 @@ -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/add_007.php on line %d +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/add\_007\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/argument_restriction_001.php b/hphp/test/zend/bad/zend/argument_restriction_001.php similarity index 100% rename from hphp/test/zend/good/zend/argument_restriction_001.php rename to hphp/test/zend/bad/zend/argument_restriction_001.php diff --git a/hphp/test/zend/bad/zend/argument_restriction_001.php.exp b/hphp/test/zend/bad/zend/argument_restriction_001.php.exp new file mode 100644 index 000000000..9f154cb71 --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_001.php.exp @@ -0,0 +1,2 @@ +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/good/zend/argument_restriction_002.php b/hphp/test/zend/bad/zend/argument_restriction_002.php similarity index 100% rename from hphp/test/zend/good/zend/argument_restriction_002.php rename to hphp/test/zend/bad/zend/argument_restriction_002.php diff --git a/hphp/test/zend/bad/zend/argument_restriction_002.php.exp b/hphp/test/zend/bad/zend/argument_restriction_002.php.exp new file mode 100644 index 000000000..d8d5f0dff --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_002.php.exp @@ -0,0 +1,2 @@ +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/good/zend/argument_restriction_003.php b/hphp/test/zend/bad/zend/argument_restriction_003.php similarity index 100% rename from hphp/test/zend/good/zend/argument_restriction_003.php rename to hphp/test/zend/bad/zend/argument_restriction_003.php diff --git a/hphp/test/zend/bad/zend/argument_restriction_003.php.exp b/hphp/test/zend/bad/zend/argument_restriction_003.php.exp new file mode 100644 index 000000000..3d53e5bff --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_003.php.exp @@ -0,0 +1,2 @@ +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_005.php.exp b/hphp/test/zend/bad/zend/argument_restriction_005.php.exp index f6ac563ca..af74de57b 100644 --- a/hphp/test/zend/bad/zend/argument_restriction_005.php.exp +++ b/hphp/test/zend/bad/zend/argument_restriction_005.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Declaration of Sub::offsetSet() must be compatible with ArrayAccess::offsetSet($offset, $value) in %sargument_restriction_005.php on line %d +HipHop\ Fatal\ error\:\ Declaration\ of\ Sub\:\:offsetSet\(\)\ must\ be\ compatible\ with\ ArrayAccess\:\:offsetSet\(\$offset\,\ \$value\)\ in\ [^ +]+argument\_restriction\_005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/argument_restriction_006.php b/hphp/test/zend/bad/zend/argument_restriction_006.php similarity index 100% rename from hphp/test/zend/good/zend/argument_restriction_006.php rename to hphp/test/zend/bad/zend/argument_restriction_006.php diff --git a/hphp/test/zend/bad/zend/argument_restriction_006.php.exp b/hphp/test/zend/bad/zend/argument_restriction_006.php.exp new file mode 100644 index 000000000..15fe6a81a --- /dev/null +++ b/hphp/test/zend/bad/zend/argument_restriction_006.php.exp @@ -0,0 +1,2 @@ +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/good/zend/array_type_hint_001.php b/hphp/test/zend/bad/zend/array_type_hint_001.php similarity index 100% rename from hphp/test/zend/good/zend/array_type_hint_001.php rename to hphp/test/zend/bad/zend/array_type_hint_001.php 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 new file mode 100644 index 000000000..0fe44706f --- /dev/null +++ b/hphp/test/zend/bad/zend/array_type_hint_001.php.exp @@ -0,0 +1,5 @@ +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/assign_to_var_003.php.exp b/hphp/test/zend/bad/zend/assign_to_var_003.php.exp index a985f5280..593af825d 100644 --- a/hphp/test/zend/bad/zend/assign_to_var_003.php.exp +++ b/hphp/test/zend/bad/zend/assign_to_var_003.php.exp @@ -1,3 +1,3 @@ -NULL -NULL -Done +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.exp index 7d7b76d01..e183b38ab 100644 --- a/hphp/test/zend/bad/zend/bug21478.php.exp +++ b/hphp/test/zend/bad/zend/bug21478.php.exp @@ -1,2 +1,2 @@ Done. -THIS IS A TEST. +THIS IS A TEST. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug24773.php.exp b/hphp/test/zend/bad/zend/bug24773.php.exp index f32c79dcc..ea2a4e83c 100644 --- a/hphp/test/zend/bad/zend/bug24773.php.exp +++ b/hphp/test/zend/bad/zend/bug24773.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot unset string offsets in hphp/test/zend/bad/bug24773.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ unset\ string\ offsets\ in\ hphp\/test\/zend\/bad\/zend\/bug24773\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug24884.php.exp b/hphp/test/zend/bad/zend/bug24884.php.exp deleted file mode 100644 index 9926379da..000000000 --- a/hphp/test/zend/bad/zend/bug24884.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -object(Test)#%d (0) { -} diff --git a/hphp/test/zend/bad/zend/bug26166.php.exp b/hphp/test/zend/bad/zend/bug26166.php.exp index 9a62567ff..d28c839b9 100644 --- a/hphp/test/zend/bad/zend/bug26166.php.exp +++ b/hphp/test/zend/bad/zend/bug26166.php.exp @@ -1,5 +1,6 @@ -Hello World! -===NONE=== -string(52) "Method None::__toString() must return a string value" -===THROW=== -HipHop Fatal error: Method Error::__toString() must not throw an exception in %sbug26166.php on line %d +Hello\ World\!\ +\=\=\=NONE\=\=\=\ +string\(52\)\ \"Method\ None\:\:\_\_toString\(\)\ must\ return\ a\ string\ value\"\ +\=\=\=THROW\=\=\=\ +HipHop\ Fatal\ error\:\ Method\ Error\:\:\_\_toString\(\)\ must\ not\ throw\ an\ exception\ in\ [^ +]+bug26166\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug26229.php b/hphp/test/zend/bad/zend/bug26229.php similarity index 100% rename from hphp/test/zend/good/zend/bug26229.php rename to hphp/test/zend/bad/zend/bug26229.php diff --git a/hphp/test/zend/bad/zend/bug26229.php.exp b/hphp/test/zend/bad/zend/bug26229.php.exp new file mode 100644 index 000000000..01c88d588 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug26229.php.exp @@ -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 index 680339598..57df7b78e 100644 --- a/hphp/test/zend/bad/zend/bug26697.php.exp +++ b/hphp/test/zend/bad/zend/bug26697.php.exp @@ -1,5 +1,5 @@ -__autoload(NotExistingClass) -bool(false) -__autoload(NotExistingClass), done -bool(false) -===DONE=== +\_\_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.exp index 5afec6b87..e34d600ec 100644 --- a/hphp/test/zend/bad/zend/bug27798.php.exp +++ b/hphp/test/zend/bad/zend/bug27798.php.exp @@ -33,4 +33,4 @@ array(1) { ["Foo"]=> int(1) } -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug28444.php.exp b/hphp/test/zend/bad/zend/bug28444.php.exp index f041d8fe6..8a482165e 100644 --- a/hphp/test/zend/bad/zend/bug28444.php.exp +++ b/hphp/test/zend/bad/zend/bug28444.php.exp @@ -1,23 +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=== +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/bug29015.php.exp b/hphp/test/zend/bad/zend/bug29015.php.exp deleted file mode 100644 index a77e62ded..000000000 --- a/hphp/test/zend/bad/zend/bug29015.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot access empty property in %sbug29015.php on line 4 diff --git a/hphp/test/zend/good/zend/bug29689.php b/hphp/test/zend/bad/zend/bug29689.php similarity index 100% rename from hphp/test/zend/good/zend/bug29689.php rename to hphp/test/zend/bad/zend/bug29689.php diff --git a/hphp/test/zend/bad/zend/bug29689.php.exp b/hphp/test/zend/bad/zend/bug29689.php.exp new file mode 100644 index 000000000..ae29958bd --- /dev/null +++ b/hphp/test/zend/bad/zend/bug29689.php.exp @@ -0,0 +1,10 @@ +foo\:\ foo\ foo2\ +bar\:\ bar\ \ +HipHop\ Notice\:\ Undefined\ property\:\ bar\:\:\$foo2\ in\ hphp\/test\/zend\/bad\/zend\/bug29689\.php\ on\ line\ \d+\ +\ +\-\-\-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.exp index d4fa5a1f0..202567b10 100644 --- a/hphp/test/zend/bad/zend/bug29890.php.exp +++ b/hphp/test/zend/bad/zend/bug29890.php.exp @@ -1 +1 @@ -error :Constant TEST already defined +error :Constant TEST already defined \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug29896.php.exp b/hphp/test/zend/bad/zend/bug29896.php.exp index 5b804c99d..2cb419e1a 100644 --- a/hphp/test/zend/bad/zend/bug29896.php.exp +++ b/hphp/test/zend/bad/zend/bug29896.php.exp @@ -1,4 +1,7 @@ -#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] - +\#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/bug30162.php.exp b/hphp/test/zend/bad/zend/bug30162.php.exp deleted file mode 100644 index 7fe4042b6..000000000 --- a/hphp/test/zend/bad/zend/bug30162.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -HipHop Notice: Undefined variable: db in %sbug30162.php on line 35 -NULL -object(hariCow)#%d (2) { - ["x"]=> - string(1) "x" - ["y"]=> - string(1) "y" -} -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug30519.php.exp b/hphp/test/zend/bad/zend/bug30519.php.exp index b0f0aa2bf..e1bdc9baf 100644 --- a/hphp/test/zend/bad/zend/bug30519.php.exp +++ b/hphp/test/zend/bad/zend/bug30519.php.exp @@ -1,2 +1,2 @@ -HipHop Fatal error: Interface 'a' not found in %sbug30519.php on line 2 - +HipHop\ Fatal\ error\:\ Interface\ \'a\'\ not\ found\ in\ [^ +]+bug30519\.php\ on\ line\ 2 \ 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.exp index d069c4153..6c4bf32a3 100644 --- a/hphp/test/zend/bad/zend/bug30791.php.exp +++ b/hphp/test/zend/bad/zend/bug30791.php.exp @@ -5,4 +5,4 @@ string(50) "Object of class a could not be converted to string" object(a)#2 (1) { ["a"]=> int(4) -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug30828.php.exp b/hphp/test/zend/bad/zend/bug30828.php.exp index e36c18f59..12a55a062 100644 --- a/hphp/test/zend/bad/zend/bug30828.php.exp +++ b/hphp/test/zend/bad/zend/bug30828.php.exp @@ -1,12 +1,18 @@ -#0 A->__construct() called at [%sbug30828.php:30] -#1 B->__construct() called at [%sbug30828.php:42] -A->__construct -B->__construct -#0 A->foo() called at [%sbug30828.php:34] -#1 B->foo() called at [%sbug30828.php:43] -A->foo -B->foo -#0 A::bar() called at [%sbug30828.php:38] -#1 B::bar() called at [%sbug30828.php:44] -A::bar -B::bar +\#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/bug30922.php.exp b/hphp/test/zend/bad/zend/bug30922.php.exp index 05507665e..b0bce528b 100644 --- a/hphp/test/zend/bad/zend/bug30922.php.exp +++ b/hphp/test/zend/bad/zend/bug30922.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Interface RecurisiveFooFar cannot implement itself in %sbug30922.php on line %d +HipHop\ Fatal\ error\:\ Interface\ RecurisiveFooFar\ cannot\ implement\ itself\ in\ [^ +]+bug30922\.php\ on\ line\ \d+ \ 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 index 3a98a20ad..f7e9a2726 100644 --- a/hphp/test/zend/bad/zend/bug30998.php.exp +++ b/hphp/test/zend/bad/zend/bug30998.php.exp @@ -1,3 +1,4 @@ -fopen(/tmp/blah): failed to open stream: No such file or directory (2) in %s:%d -HipHop Warning: fopen(/tmp/blah): failed to open stream: No such file or directory in hphp/test/zend/bad/bug30998.php on line %d -===DONE=== +fopen\(\/tmp\/blah\)\:\ failed\ to\ open\ stream\:\ No\ such\ file\ or\ directory\ \(2\)\ in\ [^ +]+\:\d+\ +HipHop\ Warning\:\ fopen\(\/tmp\/blah\)\:\ failed\ to\ open\ stream\:\ No\ such\ file\ or\ directory\ in\ hphp\/test\/zend\/bad\/zend\/bug30998\.php\ on\ line\ \d+\ +\=\=\=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 index a52b1b09b..50cd7a729 100644 --- a/hphp/test/zend/bad/zend/bug31098.php.exp +++ b/hphp/test/zend/bad/zend/bug31098.php.exp @@ -1,20 +1,20 @@ -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -ok -ok -ok -ok -ok -ok -ok -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/bug31098.php on line %d -ok -HipHop Warning: Illegal string offset 'wrong' in hphp/test/zend/bad/bug31098.php on line %d -ok -ok -HipHop Warning: Illegal string offset 'wrong' in hphp/test/zend/bad/bug31098.php on line %d +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +bool\(false\)\ +ok\ +ok\ +ok\ +ok\ +ok\ +ok\ +ok\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/bug31098\.php\ on\ line\ \d+\ +ok\ +HipHop\ Warning\:\ Illegal\ string\ offset\ \'wrong\'\ in\ hphp\/test\/zend\/bad\/zend\/bug31098\.php\ on\ line\ \d+\ +ok\ +ok\ +HipHop\ Warning\:\ Illegal\ string\ offset\ \'wrong\'\ in\ hphp\/test\/zend\/bad\/zend\/bug31098\.php\ on\ line\ \d+\ 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 index b4a4f35a8..a9a87da10 100644 --- a/hphp/test/zend/bad/zend/bug31102.php.exp +++ b/hphp/test/zend/bad/zend/bug31102.php.exp @@ -1,6 +1,7 @@ -__autoload(Test1,1) -Caught: Test1::__construct -__autoload(Test2,2) -Caught: __autoload -__autoload(Test3,3) -HipHop Fatal error: Class 'Test3' not found in %sbug31102.php(%d) : eval()'d code on line 1 +\_\_autoload\(Test1\,1\)\ +Caught\:\ Test1\:\:\_\_construct\ +\_\_autoload\(Test2\,2\)\ +Caught\:\ \_\_autoload\ +\_\_autoload\(Test3\,3\)\ +HipHop\ Fatal\ error\:\ Class\ \'Test3\'\ not\ found\ in\ [^ +]+bug31102\.php\(\d+\)\ \:\ eval\(\)\'d\ code\ on\ line\ 1 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug31720.php.exp b/hphp/test/zend/bad/zend/bug31720.php.exp index efdebda08..a43305b1e 100644 --- a/hphp/test/zend/bad/zend/bug31720.php.exp +++ b/hphp/test/zend/bad/zend/bug31720.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Undefined variable: nonesuchvar in hphp/test/zend/bad/bug31720.php on line %d -HipHop Warning: array_walk() expects parameter 2 to be a valid callback, first array member is not a valid class name or object in hphp/test/zend/bad/bug31720.php on line %d -===DONE=== +HipHop\ Notice\:\ Undefined\ variable\:\ nonesuchvar\ in\ hphp\/test\/zend\/bad\/zend\/bug31720\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ array\_walk\(\)\ expects\ parameter\ 2\ to\ be\ a\ valid\ callback\,\ first\ array\ member\ is\ not\ a\ valid\ class\ name\ or\ object\ in\ hphp\/test\/zend\/bad\/zend\/bug31720\.php\ on\ line\ \d+\ +\=\=\=DONE\=\=\= \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug32660.php.exp b/hphp/test/zend/bad/zend/bug32660.php.exp index c2ac17cfe..e3f5ebf3a 100644 --- a/hphp/test/zend/bad/zend/bug32660.php.exp +++ b/hphp/test/zend/bad/zend/bug32660.php.exp @@ -1,7 +1,10 @@ -HipHop Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php on line 20 -A Object -( - [q] => 3 -) -HipHop Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php on line 23 -HipHop Fatal error: Cannot assign by reference to overloaded object in %sbug32660.php on line 23 +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ A\:\:\$whatever\ has\ no\ effect\ in\ [^ +]+bug32660\.php\ on\ line\ 20\ +A\ Object\ +\(\ +\ \ \ \ \[q\]\ \=\>\ 3\ +\)\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ A\:\:\$whatever\ has\ no\ effect\ in\ [^ +]+bug32660\.php\ on\ line\ 23\ +HipHop\ Fatal\ error\:\ Cannot\ assign\ by\ reference\ to\ overloaded\ object\ in\ [^ +]+bug32660\.php\ on\ line\ 23 \ 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.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/zend/bug32674.php.exp +++ b/hphp/test/zend/bad/zend/bug32674.php.exp @@ -1 +1 @@ -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug33318.php.exp b/hphp/test/zend/bad/zend/bug33318.php.exp index cd9687fd5..b4ebb36d2 100644 --- a/hphp/test/zend/bad/zend/bug33318.php.exp +++ b/hphp/test/zend/bad/zend/bug33318.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Can only throw objects in %sbug33318.php on line 2 \ No newline at end of file +HipHop\ Fatal\ error\:\ Can\ only\ throw\ objects\ in\ [^ +]+bug33318\.php\ on\ line\ 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug34064.php.exp b/hphp/test/zend/bad/zend/bug34064.php.exp index 37681ba59..d881b80a8 100644 --- a/hphp/test/zend/bad/zend/bug34064.php.exp +++ b/hphp/test/zend/bad/zend/bug34064.php.exp @@ -1,6 +1,6 @@ -array(1) { - [0]=> - string(2) "ok" -} -HipHop Fatal error: Cannot use [] for reading in %sbug34064.php on line 18 - +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(2\)\ \"ok\"\ +\}\ +HipHop\ Fatal\ error\:\ Cannot\ use\ \[\]\ for\ reading\ in\ [^ +]+bug34064\.php\ on\ line\ 18 \ 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.exp index d0dcaeca4..ce24742e1 100644 --- a/hphp/test/zend/bad/zend/bug34199.php.exp +++ b/hphp/test/zend/bad/zend/bug34199.php.exp @@ -1,4 +1,3 @@ bool(false) ok -ok - +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug35163.php.exp b/hphp/test/zend/bad/zend/bug35163.php.exp index f8417e8dc..768a07360 100644 --- a/hphp/test/zend/bad/zend/bug35163.php.exp +++ b/hphp/test/zend/bad/zend/bug35163.php.exp @@ -8,4 +8,4 @@ array(1) { [2]=> *RECURSION* } -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug35239.php.exp b/hphp/test/zend/bad/zend/bug35239.php.exp index 95979137d..0737821f0 100644 --- a/hphp/test/zend/bad/zend/bug35239.php.exp +++ b/hphp/test/zend/bad/zend/bug35239.php.exp @@ -1,12 +1,12 @@ -object(stdClass)#%d (1) { - ["x0"]=> - &object(stdClass)#%d (3) { - ["y0"]=> - string(1) "b" - ["y1"]=> - *RECURSION* - ["y2"]=> - *RECURSION* - } -} -ok +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/good/zend/bug35437.php b/hphp/test/zend/bad/zend/bug35437.php similarity index 100% rename from hphp/test/zend/good/zend/bug35437.php rename to hphp/test/zend/bad/zend/bug35437.php diff --git a/hphp/test/zend/bad/zend/bug35437.php.exp b/hphp/test/zend/bad/zend/bug35437.php.exp new file mode 100644 index 000000000..7ca12d49b --- /dev/null +++ b/hphp/test/zend/bad/zend/bug35437.php.exp @@ -0,0 +1 @@ +Catched: Error occuried: Non-static method TestClass::testMethod() should not be called statically \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug36214.php.exp b/hphp/test/zend/bad/zend/bug36214.php.exp index 83493cf5b..a91878495 100644 --- a/hphp/test/zend/bad/zend/bug36214.php.exp +++ b/hphp/test/zend/bad/zend/bug36214.php.exp @@ -1,21 +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) - } -} +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 index 4a016388d..7404a661b 100644 --- a/hphp/test/zend/bad/zend/bug36268.php.exp +++ b/hphp/test/zend/bad/zend/bug36268.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Call to undefined function bar() in %sbug36268.php on line 8 +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ function\ bar\(\)\ in\ [^ +]+bug36268\.php\ on\ line\ 8 \ 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 index bce9d68b8..fcb1997ba 100644 --- a/hphp/test/zend/bad/zend/bug36303.php.exp +++ b/hphp/test/zend/bad/zend/bug36303.php.exp @@ -1,3 +1,5 @@ -HipHop Warning: Attempt to modify property of non-object in %sbug36303.php on line 3 -HipHop Warning: Invalid argument supplied for foreach() in %sbug36303.php on line 3 -ok +HipHop\ Warning\:\ Attempt\ to\ modify\ property\ of\ non\-object\ in\ [^ +]+bug36303\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Invalid\ argument\ supplied\ for\ foreach\(\)\ in\ [^ +]+bug36303\.php\ on\ line\ 3\ +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.exp index 3032ffa5c..c90703abf 100644 --- a/hphp/test/zend/bad/zend/bug36513.php.exp +++ b/hphp/test/zend/bad/zend/bug36513.php.exp @@ -1,4 +1,4 @@ 135 '5' +'5' \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug36759.php b/hphp/test/zend/bad/zend/bug36759.php similarity index 100% rename from hphp/test/zend/good/zend/bug36759.php rename to hphp/test/zend/bad/zend/bug36759.php diff --git a/hphp/test/zend/good/zend/bug36759.php.exp b/hphp/test/zend/bad/zend/bug36759.php.exp similarity index 50% rename from hphp/test/zend/good/zend/bug36759.php.exp rename to hphp/test/zend/bad/zend/bug36759.php.exp index 952a2c21a..9748c0f27 100644 --- a/hphp/test/zend/good/zend/bug36759.php.exp +++ b/hphp/test/zend/bad/zend/bug36759.php.exp @@ -1,2 +1,2 @@ -Bar::__destruct Foo::__destruct +Bar::__destruct \ 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 index dd40c0e85..defedb419 100644 --- a/hphp/test/zend/bad/zend/bug37632.php.exp +++ b/hphp/test/zend/bad/zend/bug37632.php.exp @@ -1,6 +1,7 @@ -B1::doTest -C1::test -B2::doTest -C2::test -B4::doTest -HipHop Fatal error: Call to protected C4::__construct() from context 'B4' in %sbug37632.php on line %d +B1\:\:doTest\ +C1\:\:test\ +B2\:\:doTest\ +C2\:\:test\ +B4\:\:doTest\ +HipHop\ Fatal\ error\:\ Call\ to\ protected\ C4\:\:\_\_construct\(\)\ from\ context\ \'B4\'\ in\ [^ +]+bug37632\.php\ on\ line\ \d+ \ 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 index 2a166f772..351a86178 100644 --- a/hphp/test/zend/bad/zend/bug37667.php.exp +++ b/hphp/test/zend/bad/zend/bug37667.php.exp @@ -1,20 +1,23 @@ -string(3) "bar" -HipHop Notice: Undefined offset: 2 in %sbug37667.php on line 16 -NULL -object(Test)#%d (1) { - ["property":protected]=> - array(1) { - ["foo"]=> - string(3) "bar" - } -} -HipHop Notice: Indirect modification of overloaded property Test::$property has no effect in %sbug37667.php on line 20 -HipHop Notice: Indirect modification of overloaded property Test::$property has no effect in %sbug37667.php on line 21 -object(Test)#%d (1) { - ["property":protected]=> - array(1) { - ["foo"]=> - string(3) "bar" - } -} -===DONE=== +string\(3\)\ \"bar\"\ +HipHop\ Notice\:\ Undefined\ offset\:\ 2\ in\ [^ +]+bug37667\.php\ on\ line\ 16\ +NULL\ +object\(Test\)\#\d+\ \(1\)\ \{\ +\ \ \[\"property\"\:protected\]\=\>\ +\ \ array\(1\)\ \{\ +\ \ \ \ \[\"foo\"\]\=\>\ +\ \ \ \ string\(3\)\ \"bar\"\ +\ \ \}\ +\}\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Test\:\:\$property\ has\ no\ effect\ in\ [^ +]+bug37667\.php\ on\ line\ 20\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Test\:\:\$property\ has\ no\ effect\ in\ [^ +]+bug37667\.php\ on\ line\ 21\ +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 index 2d7ce81a7..2677009cb 100644 --- a/hphp/test/zend/bad/zend/bug37811.php.exp +++ b/hphp/test/zend/bad/zend/bug37811.php.exp @@ -1,5 +1,7 @@ -string(3) "Foo" -HipHop Warning: Constants may only evaluate to scalar values in %sbug37811.php on line %d -HipHop Notice: Use of undefined constant Baz - assumed 'Baz' in %sbug37811.php on line %d -string(3) "Baz" -===DONE=== +string\(3\)\ \"Foo\"\ +HipHop\ Warning\:\ Constants\ may\ only\ evaluate\ to\ scalar\ values\ in\ [^ +]+bug37811\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ Baz\ \-\ assumed\ \'Baz\'\ in\ [^ +]+bug37811\.php\ on\ line\ \d+\ +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 index 6e9fef9c7..61b3183f3 100644 --- a/hphp/test/zend/bad/zend/bug38047.php.exp +++ b/hphp/test/zend/bad/zend/bug38047.php.exp @@ -1,9 +1,16 @@ -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() +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/bug38461.php.exp b/hphp/test/zend/bad/zend/bug38461.php.exp index a965a70ed..8ad96f878 100644 --- a/hphp/test/zend/bad/zend/bug38461.php.exp +++ b/hphp/test/zend/bad/zend/bug38461.php.exp @@ -1 +1 @@ -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38624.php.exp b/hphp/test/zend/bad/zend/bug38624.php.exp index 517bab183..c785faef7 100644 --- a/hphp/test/zend/bad/zend/bug38624.php.exp +++ b/hphp/test/zend/bad/zend/bug38624.php.exp @@ -1,6 +1,9 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message 'doesn't work' in %s:%d -Stack trace: -#0 %s(%d): impl->__get('counter') -#1 %s(%d): impl->__construct() -#2 {main} - thrown in hphp/test/zend/bad/bug38624.php on line %d +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'doesn\'t\ work\'\ in\ [^ +]+\:\d+\ +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/good/zend/bug38772.php b/hphp/test/zend/bad/zend/bug38772.php similarity index 100% rename from hphp/test/zend/good/zend/bug38772.php rename to hphp/test/zend/bad/zend/bug38772.php diff --git a/hphp/test/zend/good/zend/bug38772.php.exp b/hphp/test/zend/bad/zend/bug38772.php.exp similarity index 75% rename from hphp/test/zend/good/zend/bug38772.php.exp rename to hphp/test/zend/bad/zend/bug38772.php.exp index 1073c1950..fd2aeaa48 100644 --- a/hphp/test/zend/good/zend/bug38772.php.exp +++ b/hphp/test/zend/bad/zend/bug38772.php.exp @@ -1,4 +1,4 @@ A::foo A::foo A::foo -A::foo +A::foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug38779.php.exp b/hphp/test/zend/bad/zend/bug38779.php.exp index e99b890c8..e9cca6a2b 100644 --- a/hphp/test/zend/bad/zend/bug38779.php.exp +++ b/hphp/test/zend/bad/zend/bug38779.php.exp @@ -1 +1,3 @@ -Parse error: %s error%sin Loader://qqq.php on line %d +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_1.php.exp b/hphp/test/zend/bad/zend/bug38779_1.php.exp index c0d4fb95d..bc35ee34b 100644 --- a/hphp/test/zend/bad/zend/bug38779_1.php.exp +++ b/hphp/test/zend/bad/zend/bug38779_1.php.exp @@ -1,3 +1,5 @@ -Parse error: %s error%sin hphp/test/zend/bad/bug38779_1.php on line %d -string(6) "flush!" -string(6) "close!" +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/bug39003.php.exp b/hphp/test/zend/bad/zend/bug39003.php.exp index f811c9a60..314d65057 100644 --- a/hphp/test/zend/bad/zend/bug39003.php.exp +++ b/hphp/test/zend/bad/zend/bug39003.php.exp @@ -1 +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/bug39003.php on line %d and defined in hphp/test/zend/bad/bug39003.php on line %d +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/bug39017.php.exp b/hphp/test/zend/bad/zend/bug39017.php.exp deleted file mode 100644 index 5d34ee087..000000000 --- a/hphp/test/zend/bad/zend/bug39017.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -object(A)#%d (0) { -} diff --git a/hphp/test/zend/bad/zend/bug39018.php.exp b/hphp/test/zend/bad/zend/bug39018.php.exp index dd220657a..7cdf4884b 100644 --- a/hphp/test/zend/bad/zend/bug39018.php.exp +++ b/hphp/test/zend/bad/zend/bug39018.php.exp @@ -1,21 +1,21 @@ -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 0 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 0 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: %i in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: %i in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 0 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 4 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 4 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 4 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 4 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 4 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 12 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: Uninitialized string offset: 12 in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/bug39018.php on line %d -b -Done +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ [+-]?\d+\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ [+-]?\d+\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 4\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 4\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 4\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 4\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 4\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 12\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 12\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/bug39018\.php\ on\ line\ \d+\ +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 index 66c64076d..a8499586b 100644 --- a/hphp/test/zend/bad/zend/bug39036.php.exp +++ b/hphp/test/zend/bad/zend/bug39036.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Undefined variable: key in hphp/test/zend/bad/bug39036.php on line %d -NULL -Done +HipHop\ Notice\:\ Undefined\ variable\:\ key\ in\ hphp\/test\/zend\/bad\/zend\/bug39036\.php\ on\ line\ \d+\ +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 index 26c00da36..07016487b 100644 --- a/hphp/test/zend/bad/zend/bug39127.php.exp +++ b/hphp/test/zend/bad/zend/bug39127.php.exp @@ -1,5 +1,5 @@ -string(13) "a::a() called" -bool(true) -bool(false) -bool(false) -Done +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 index 0edb872eb..48bb46629 100644 --- a/hphp/test/zend/bad/zend/bug39304.php.exp +++ b/hphp/test/zend/bad/zend/bug39304.php.exp @@ -1,5 +1,7 @@ -HipHop Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d -HipHop Notice: Uninitialized string offset: 1 in %sbug39304.php on line %d -HipHop Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d -I am alive - +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ [^ +]+bug39304\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 1\ in\ [^ +]+bug39304\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ [^ +]+bug39304\.php\ on\ line\ \d+\ +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 index 278a48a2e..608d8403e 100644 --- a/hphp/test/zend/bad/zend/bug39304_2_4.php.exp +++ b/hphp/test/zend/bad/zend/bug39304_2_4.php.exp @@ -1,5 +1,8 @@ -HipHop Notice: Uninitialized string offset: 0 in %sbug39304_2_4.php on line %d -HipHop Notice: Uninitialized string offset: 1 in %sbug39304_2_4.php on line %d -HipHop Notice: Uninitialized string offset: 0 in %sbug39304_2_4.php on line %d -string(0) "" -string(0) "" +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ [^ +]+bug39304\_2\_4\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 1\ in\ [^ +]+bug39304\_2\_4\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 0\ in\ [^ +]+bug39304\_2\_4\.php\ on\ line\ \d+\ +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.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/zend/bug39542.php.exp +++ b/hphp/test/zend/bad/zend/bug39542.php.exp @@ -1 +1 @@ -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug39775.php b/hphp/test/zend/bad/zend/bug39775.php similarity index 100% rename from hphp/test/zend/good/zend/bug39775.php rename to hphp/test/zend/bad/zend/bug39775.php diff --git a/hphp/test/zend/bad/zend/bug39775.php.exp b/hphp/test/zend/bad/zend/bug39775.php.exp new file mode 100644 index 000000000..14ad17d42 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug39775.php.exp @@ -0,0 +1,5 @@ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ test\:\:\$anything\ has\ no\ effect\ in\ [^ +]+bug39775\.php\ on\ line\ 10\ +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 index c9d54b088..98851952c 100644 --- a/hphp/test/zend/bad/zend/bug40236.php.exp +++ b/hphp/test/zend/bad/zend/bug40236.php.exp @@ -1,3 +1,4 @@ -Interactive %s - -ok +Interactive\ [^ +]+\ +\ +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.exp index 50fcc185b..e81271bc9 100644 --- a/hphp/test/zend/bad/zend/bug40509.php.exp +++ b/hphp/test/zend/bad/zend/bug40509.php.exp @@ -1,4 +1,4 @@ int(0) int(0) int(0) -NULL +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40621.php.exp b/hphp/test/zend/bad/zend/bug40621.php.exp index 039c8a787..21f276a78 100644 --- a/hphp/test/zend/bad/zend/bug40621.php.exp +++ b/hphp/test/zend/bad/zend/bug40621.php.exp @@ -1,2 +1,2 @@ -Strict Standards: Non-static method Foo::get() should not be called statically in hphp/test/zend/bad/bug40621.php on line %d -HipHop Fatal error: Non-static method Foo::__construct() cannot be called statically in hphp/test/zend/bad/bug40621.php on line %d +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\:\ Non\-static\ method\ Foo\:\:\_\_construct\(\)\ cannot\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/bug40621\.php\ on\ line\ \d+ \ 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.exp index ac8585c3b..177bab8ff 100644 --- a/hphp/test/zend/bad/zend/bug40705.php.exp +++ b/hphp/test/zend/bad/zend/bug40705.php.exp @@ -3,4 +3,4 @@ int(0) int(0) int(1) int(2) -NULL +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40784.php.exp b/hphp/test/zend/bad/zend/bug40784.php.exp index 95e195f8e..447f1cfe0 100644 --- a/hphp/test/zend/bad/zend/bug40784.php.exp +++ b/hphp/test/zend/bad/zend/bug40784.php.exp @@ -1,3 +1,3 @@ -I'm A -I'm A -Done +I\'m\ A\ +I\'m\ A\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug40815.php.exp b/hphp/test/zend/bad/zend/bug40815.php.exp deleted file mode 100644 index 257cc5642..000000000 --- a/hphp/test/zend/bad/zend/bug40815.php.exp +++ /dev/null @@ -1 +0,0 @@ -foo diff --git a/hphp/test/zend/bad/zend/bug41026.php.exp b/hphp/test/zend/bad/zend/bug41026.php.exp index 2519c3373..c9afe2e74 100644 --- a/hphp/test/zend/bad/zend/bug41026.php.exp +++ b/hphp/test/zend/bad/zend/bug41026.php.exp @@ -1,2 +1,2 @@ -Done -HipHop Warning: (Registered shutdown functions) Unable to call self::on_shutdown() - function does not exist in Unknown on line 0 +Done\ +HipHop\ Warning\:\ \(Registered\ shutdown\ functions\)\ Unable\ to\ call\ self\:\:on\_shutdown\(\)\ \-\ function\ does\ not\ exist\ in\ Unknown\ on\ line\ 0 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41117_1.php.exp b/hphp/test/zend/bad/zend/bug41117_1.php.exp index a6697137c..e487ba0ce 100644 --- a/hphp/test/zend/bad/zend/bug41117_1.php.exp +++ b/hphp/test/zend/bad/zend/bug41117_1.php.exp @@ -1,2 +1,2 @@ -HipHop Fatal error: Cannot re-assign $this in %sbug41117_1.php on line 3 - +HipHop\ Fatal\ error\:\ Cannot\ re\-assign\ \$this\ in\ [^ +]+bug41117\_1\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41209.php.exp b/hphp/test/zend/bad/zend/bug41209.php.exp index f024ae575..72a5db321 100644 --- a/hphp/test/zend/bad/zend/bug41209.php.exp +++ b/hphp/test/zend/bad/zend/bug41209.php.exp @@ -1,5 +1,9 @@ -HipHop Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: id' in %s:%d -Stack trace: -#0 %s(%d): env::errorHandler(8, '%s', '%s', 34, Array) -#1 {main} - thrown in hphp/test/zend/bad/bug41209.php on line %d +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'ErrorException\'\ with\ message\ \'Undefined\ variable\:\ id\'\ in\ [^ +]+\:\d+\ +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/bug41421.php.exp b/hphp/test/zend/bad/zend/bug41421.php.exp index 9b85ae3f8..7af40b624 100644 --- a/hphp/test/zend/bad/zend/bug41421.php.exp +++ b/hphp/test/zend/bad/zend/bug41421.php.exp @@ -1,7 +1,9 @@ -HipHop Warning: feof(): wrapper::stream_eof is not implemented! Assuming EOF in hphp/test/zend/bad/bug41421.php on line %d -HipHop Fatal error: Uncaught exception 'Exception' in %s:%d -Stack trace: -#0 [internal function]: wrapper->stream_eof() -#1 %s(%d): feof(Resource id #6) -#2 {main} - thrown in hphp/test/zend/bad/bug41421.php on line %d +HipHop\ Warning\:\ feof\(\)\:\ wrapper\:\:stream\_eof\ is\ not\ implemented\!\ Assuming\ EOF\ in\ hphp\/test\/zend\/bad\/zend\/bug41421\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ in\ [^ +]+\:\d+\ +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/bug41633_2.php.exp b/hphp/test/zend/bad/zend/bug41633_2.php.exp index 1f823eebc..4f76688a9 100644 --- a/hphp/test/zend/bad/zend/bug41633_2.php.exp +++ b/hphp/test/zend/bad/zend/bug41633_2.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined class constant 'self::B' in %sbug41633_2.php on line 5 +HipHop\ Fatal\ error\:\ Undefined\ class\ constant\ \'self\:\:B\'\ in\ [^ +]+bug41633\_2\.php\ on\ line\ 5 \ 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 index 222f33613..ef79d6484 100644 --- a/hphp/test/zend/bad/zend/bug41633_3.php.exp +++ b/hphp/test/zend/bad/zend/bug41633_3.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ declare\ self\-referencing\ constant\ \'Foo\:\:B\'\ in\ [^ +]+bug41633\_3\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41813.php.exp b/hphp/test/zend/bad/zend/bug41813.php.exp index 42cfd7c18..e6f5e6082 100644 --- a/hphp/test/zend/bad/zend/bug41813.php.exp +++ b/hphp/test/zend/bad/zend/bug41813.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use string offset as an array in hphp/test/zend/bad/bug41813.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ string\ offset\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/bug41813\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41919.php.exp b/hphp/test/zend/bad/zend/bug41919.php.exp index a9f3b7575..6b7b317eb 100644 --- a/hphp/test/zend/bad/zend/bug41919.php.exp +++ b/hphp/test/zend/bad/zend/bug41919.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot use string offset as an object in %sbug41919.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ string\ offset\ as\ an\ object\ in\ [^ +]+bug41919\.php\ on\ line\ \d+ \ 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 index 5d54797f5..381df0709 100644 --- a/hphp/test/zend/bad/zend/bug42802.php.exp +++ b/hphp/test/zend/bad/zend/bug42802.php.exp @@ -1,6 +1,8 @@ -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 +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/bug42817.php.exp b/hphp/test/zend/bad/zend/bug42817.php.exp index 137c52576..592d597cc 100644 --- a/hphp/test/zend/bad/zend/bug42817.php.exp +++ b/hphp/test/zend/bad/zend/bug42817.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: __clone method called on non-object in %sbug42817.php on line 2 +HipHop\ Fatal\ error\:\ \_\_clone\ method\ called\ on\ non\-object\ in\ [^ +]+bug42817\.php\ on\ line\ 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42818.php.exp b/hphp/test/zend/bad/zend/bug42818.php.exp index 9ddfc691c..57ceb659f 100644 --- a/hphp/test/zend/bad/zend/bug42818.php.exp +++ b/hphp/test/zend/bad/zend/bug42818.php.exp @@ -1,2 +1,2 @@ -HipHop Fatal error: __clone method called on non-object in %sbug42818.php on line 2 - +HipHop\ Fatal\ error\:\ \_\_clone\ method\ called\ on\ non\-object\ in\ [^ +]+bug42818\.php\ on\ line\ 2 \ 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 index 1d06905ff..ace55b619 100644 --- a/hphp/test/zend/bad/zend/bug42819.php.exp +++ b/hphp/test/zend/bad/zend/bug42819.php.exp @@ -1,157 +1,158 @@ -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: Undefined constant 'foo\foo\unknown' in %sbug42819.php on line %d \ No newline at end of file +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\:\ Undefined\ constant\ \'foo\\foo\\unknown\'\ in\ [^ +]+bug42819\.php\ on\ line\ \d+ \ 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.exp index c5237b6e7..0448f0e1e 100644 --- a/hphp/test/zend/bad/zend/bug42820.php.exp +++ b/hphp/test/zend/bad/zend/bug42820.php.exp @@ -7,5 +7,4 @@ bool(false) bool(true) bool(false) bool(false) -bool(false) - +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug42859.php b/hphp/test/zend/bad/zend/bug42859.php similarity index 100% rename from hphp/test/zend/good/zend/bug42859.php rename to hphp/test/zend/bad/zend/bug42859.php diff --git a/hphp/test/zend/bad/zend/bug42859.php.exp b/hphp/test/zend/bad/zend/bug42859.php.exp new file mode 100644 index 000000000..ceb1aafe4 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug42859.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Cannot\ use\ Blah\\Ex\ as\ Ex\ because\ the\ name\ is\ already\ in\ use\ in\ [^ +]+bug42859\.php\ on\ line\ 6 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug42937.php.exp b/hphp/test/zend/bad/zend/bug42937.php.exp index aa1837a23..f168ed13d 100644 --- a/hphp/test/zend/bad/zend/bug42937.php.exp +++ b/hphp/test/zend/bad/zend/bug42937.php.exp @@ -1,7 +1,8 @@ -test -test1 -test2 -test3 -test4 -test5 -HipHop Fatal error: Call to undefined method C::test6() in %sbug42937.php on line 21 +test\ +test1\ +test2\ +test3\ +test4\ +test5\ +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ method\ C\:\:test6\(\)\ in\ [^ +]+bug42937\.php\ on\ line\ 21 \ 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.exp index 042fde61b..8d30a2203 100644 --- a/hphp/test/zend/bad/zend/bug43175.php.exp +++ b/hphp/test/zend/bad/zend/bug43175.php.exp @@ -1 +1 @@ -__call via traditional factory should be caught +__call via traditional factory should be caught \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug43200.php b/hphp/test/zend/bad/zend/bug43200.php similarity index 100% rename from hphp/test/zend/good/zend/bug43200.php rename to hphp/test/zend/bad/zend/bug43200.php diff --git a/hphp/test/zend/bad/zend/bug43200.php.exp b/hphp/test/zend/bad/zend/bug43200.php.exp new file mode 100644 index 000000000..39b9549cd --- /dev/null +++ b/hphp/test/zend/bad/zend/bug43200.php.exp @@ -0,0 +1,28 @@ +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/bug43201.php.exp b/hphp/test/zend/bad/zend/bug43201.php.exp index 47e64106e..5964afd9f 100644 --- a/hphp/test/zend/bad/zend/bug43201.php.exp +++ b/hphp/test/zend/bad/zend/bug43201.php.exp @@ -1,16 +1,31 @@ -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 13 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 14 -HipHop Notice: Undefined variable: ref in %sbug43201.php on line 14 -HipHop Notice: Undefined variable: undef in %sbug43201.php on line 16 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 -HipHop Notice: Undefined variable: undef in %sbug43201.php on line 16 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 -HipHop Notice: Undefined variable: undef in %sbug43201.php on line 16 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 -HipHop Notice: Undefined variable: undef in %sbug43201.php on line 16 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 -HipHop Notice: Undefined variable: undef in %sbug43201.php on line 16 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 -HipHop Notice: Undefined variable: undef in %sbug43201.php on line 16 -HipHop Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 -ok +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 13\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 14\ +HipHop\ Notice\:\ Undefined\ variable\:\ ref\ in\ [^ +]+bug43201\.php\ on\ line\ 14\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ [^ +]+bug43201\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 17\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ [^ +]+bug43201\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 17\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ [^ +]+bug43201\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 17\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ [^ +]+bug43201\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 17\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ [^ +]+bug43201\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 17\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\ in\ [^ +]+bug43201\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Indirect\ modification\ of\ overloaded\ property\ Foo\:\:\$arr\ has\ no\ effect\ in\ [^ +]+bug43201\.php\ on\ line\ 17\ +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43323.php.exp b/hphp/test/zend/bad/zend/bug43323.php.exp index 180f6ed2a..8815eec57 100644 --- a/hphp/test/zend/bad/zend/bug43323.php.exp +++ b/hphp/test/zend/bad/zend/bug43323.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (bar::bar) in %sbug43323.php on line 7 +HipHop\ Fatal\ error\:\ Class\ foo\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(bar\:\:bar\)\ in\ [^ +]+bug43323\.php\ on\ line\ 7 \ 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 index 8ecf78a1c..9e29d0fcc 100644 --- a/hphp/test/zend/bad/zend/bug43332_1.php.exp +++ b/hphp/test/zend/bad/zend/bug43332_1.php.exp @@ -1 +1,3 @@ -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 +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_2.php.exp b/hphp/test/zend/bad/zend/bug43332_2.php.exp index d67107d65..3a9fe44da 100644 --- a/hphp/test/zend/bad/zend/bug43332_2.php.exp +++ b/hphp/test/zend/bad/zend/bug43332_2.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: '\self' is an invalid class name in %sbug43332_2.php on line 5 +HipHop\ Fatal\ error\:\ \'\\self\'\ is\ an\ invalid\ class\ name\ in\ [^ +]+bug43332\_2\.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 index 7a8f56e05..ece03dd08 100644 --- a/hphp/test/zend/bad/zend/bug43343.php.exp +++ b/hphp/test/zend/bad/zend/bug43343.php.exp @@ -1 +1,6 @@ -Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5 +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/bug43344_1.php.exp b/hphp/test/zend/bad/zend/bug43344_1.php.exp index 129ce758f..60440bc60 100644 --- a/hphp/test/zend/bad/zend/bug43344_1.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_1.php.exp @@ -1,8 +1,12 @@ -HipHop Notice: Use of undefined constant bar - assumed 'bar' in %sbug43344_1.php on line 13 -bar -HipHop Notice: Use of undefined constant bar - assumed 'bar' in %sbug43344_1.php on line 3 -bar -HipHop Notice: Use of undefined constant bar - assumed 'bar' in %sbug43344_1.php on line 6 -bar -HipHop Notice: Use of undefined constant bar - assumed 'bar' in %sbug43344_1.php on line 9 -bar +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ bar\ \-\ assumed\ \'bar\'\ in\ [^ +]+bug43344\_1\.php\ on\ line\ 13\ +bar\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ bar\ \-\ assumed\ \'bar\'\ in\ [^ +]+bug43344\_1\.php\ on\ line\ 3\ +bar\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ bar\ \-\ assumed\ \'bar\'\ in\ [^ +]+bug43344\_1\.php\ on\ line\ 6\ +bar\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ bar\ \-\ assumed\ \'bar\'\ in\ [^ +]+bug43344\_1\.php\ on\ line\ 9\ +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 index a8e9a41b4..d92829b6f 100644 --- a/hphp/test/zend/bad/zend/bug43344_10.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_10.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'bar' in %sbug43344_10.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'bar\'\ in\ [^ +]+bug43344\_10\.php\ on\ line\ \d+ \ 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 index ebd905bdf..e1db4de5b 100644 --- a/hphp/test/zend/bad/zend/bug43344_11.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_11.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'bar' in %sbug43344_11.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'bar\'\ in\ [^ +]+bug43344\_11\.php\ on\ line\ \d+ \ 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 index 1a9aaaba5..a8dde7cd6 100644 --- a/hphp/test/zend/bad/zend/bug43344_12.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_12.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'bar' in %sbug43344_12.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'bar\'\ in\ [^ +]+bug43344\_12\.php\ on\ line\ \d+ \ 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 index 121f60379..07d215a24 100644 --- a/hphp/test/zend/bad/zend/bug43344_13.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_13.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'bar' in %sbug43344_13.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'bar\'\ in\ [^ +]+bug43344\_13\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_2.php.exp b/hphp/test/zend/bad/zend/bug43344_2.php.exp index 2e659ef60..9e688610a 100644 --- a/hphp/test/zend/bad/zend/bug43344_2.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_2.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class 'Foo\Foo' not found in %sbug43344_2.php on line %d +HipHop\ Fatal\ error\:\ Class\ \'Foo\\Foo\'\ not\ found\ in\ [^ +]+bug43344\_2\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_3.php.exp b/hphp/test/zend/bad/zend/bug43344_3.php.exp index 85b39b11b..8969b30a5 100644 --- a/hphp/test/zend/bad/zend/bug43344_3.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_3.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class 'Foo\Foo' not found in %sbug43344_3.php on line %d +HipHop\ Fatal\ error\:\ Class\ \'Foo\\Foo\'\ not\ found\ in\ [^ +]+bug43344\_3\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_4.php.exp b/hphp/test/zend/bad/zend/bug43344_4.php.exp index da6f216b4..5f578a66c 100644 --- a/hphp/test/zend/bad/zend/bug43344_4.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_4.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class 'Foo\Foo' not found in %sbug43344_4.php on line %d +HipHop\ Fatal\ error\:\ Class\ \'Foo\\Foo\'\ not\ found\ in\ [^ +]+bug43344\_4\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_5.php.exp b/hphp/test/zend/bad/zend/bug43344_5.php.exp index 7ddd7ff3c..8ab9245f3 100644 --- a/hphp/test/zend/bad/zend/bug43344_5.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_5.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class 'Foo\Foo' not found in %sbug43344_5.php on line %d +HipHop\ Fatal\ error\:\ Class\ \'Foo\\Foo\'\ not\ found\ in\ [^ +]+bug43344\_5\.php\ on\ line\ \d+ \ 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 index afaf91e03..f50713bf6 100644 --- a/hphp/test/zend/bad/zend/bug43344_6.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_6.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'Foo\bar' in %sbug43344_6.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'Foo\\bar\'\ in\ [^ +]+bug43344\_6\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_7.php.exp b/hphp/test/zend/bad/zend/bug43344_7.php.exp index 3492a6422..45f5844c8 100644 --- a/hphp/test/zend/bad/zend/bug43344_7.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_7.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'Foo\bar' in %sbug43344_7.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'Foo\\bar\'\ in\ [^ +]+bug43344\_7\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_8.php.exp b/hphp/test/zend/bad/zend/bug43344_8.php.exp index 32cc39508..b696789f1 100644 --- a/hphp/test/zend/bad/zend/bug43344_8.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_8.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'Foo\bar' in %sbug43344_8.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'Foo\\bar\'\ in\ [^ +]+bug43344\_8\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43344_9.php.exp b/hphp/test/zend/bad/zend/bug43344_9.php.exp index 03bc8c54a..06426eb50 100644 --- a/hphp/test/zend/bad/zend/bug43344_9.php.exp +++ b/hphp/test/zend/bad/zend/bug43344_9.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'Foo\bar' in %sbug43344_9.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'Foo\\bar\'\ in\ [^ +]+bug43344\_9\.php\ on\ line\ \d+ \ 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.exp index 7ef22e9a4..465701e34 100644 --- a/hphp/test/zend/bad/zend/bug43450.php.exp +++ b/hphp/test/zend/bad/zend/bug43450.php.exp @@ -1 +1 @@ -PASS +PASS \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43651.php.exp b/hphp/test/zend/bad/zend/bug43651.php.exp index 44a8dc9f2..d7a4ae897 100644 --- a/hphp/test/zend/bad/zend/bug43651.php.exp +++ b/hphp/test/zend/bad/zend/bug43651.php.exp @@ -13,4 +13,4 @@ bool(false) bool(true) bool(true) bool(true) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43703.php.exp b/hphp/test/zend/bad/zend/bug43703.php.exp index c8e8a135c..096264973 100644 --- a/hphp/test/zend/bad/zend/bug43703.php.exp +++ b/hphp/test/zend/bad/zend/bug43703.php.exp @@ -1 +1 @@ -DONE +DONE \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug43918.php.exp b/hphp/test/zend/bad/zend/bug43918.php.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/zend/bug43918.php.exp +++ b/hphp/test/zend/bad/zend/bug43918.php.exp @@ -1 +1 @@ -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44141.php.exp b/hphp/test/zend/bad/zend/bug44141.php.exp index 41750100f..71ddc1091 100644 --- a/hphp/test/zend/bad/zend/bug44141.php.exp +++ b/hphp/test/zend/bad/zend/bug44141.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Call to private X::__construct() from context 'Y' in %sbug44141.php on line 15 +HipHop\ Fatal\ error\:\ Call\ to\ private\ X\:\:\_\_construct\(\)\ from\ context\ \'Y\'\ in\ [^ +]+bug44141\.php\ on\ line\ 15 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44414.php.exp b/hphp/test/zend/bad/zend/bug44414.php.exp index 63473d8b8..34b4b79f6 100644 --- a/hphp/test/zend/bad/zend/bug44414.php.exp +++ b/hphp/test/zend/bad/zend/bug44414.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class C contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (A::foo, B::bar) in %sbug44414.php on line 9 +HipHop\ Fatal\ error\:\ Class\ C\ contains\ 2\ abstract\ methods\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(A\:\:foo\,\ B\:\:bar\)\ in\ [^ +]+bug44414\.php\ on\ line\ 9 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44653.php.exp b/hphp/test/zend/bad/zend/bug44653.php.exp index a84e923bb..3a1178b6e 100644 --- a/hphp/test/zend/bad/zend/bug44653.php.exp +++ b/hphp/test/zend/bad/zend/bug44653.php.exp @@ -3,4 +3,4 @@ bag1 A\fooBar bag2 B\fooBar -B\fooBar +B\fooBar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug44660.php.exp b/hphp/test/zend/bad/zend/bug44660.php.exp index d26b400fb..480a7dc11 100644 --- a/hphp/test/zend/bad/zend/bug44660.php.exp +++ b/hphp/test/zend/bad/zend/bug44660.php.exp @@ -1,20 +1,26 @@ ---> read access: -HipHop Notice: Trying to get property of non-object in %sbug44660.php on line 6 - ---> direct assignment: -HipHop Warning: Attempt to assign property of non-object in %sbug44660.php on line 9 - ---> increment: -HipHop Warning: Attempt to increment/decrement property of non-object in %sbug44660.php on line 12 - ---> reference assignment: -HipHop Warning: Attempt to modify property of non-object in %sbug44660.php on line 15 - ---> reference assignment: -HipHop Warning: Attempt to modify property of non-object in %sbug44660.php on line 18 - ---> indexed assignment: -HipHop Warning: Attempt to modify property of non-object in %sbug44660.php on line 21 - ---> Confirm assignments have had no impact: -bool(true) +\-\-\>\ read\ access\:\ \ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ [^ +]+bug44660\.php\ on\ line\ 6\ +\ +\-\-\>\ direct\ assignment\:\ \ +HipHop\ Warning\:\ Attempt\ to\ assign\ property\ of\ non\-object\ in\ [^ +]+bug44660\.php\ on\ line\ 9\ +\ +\-\-\>\ increment\:\ \ +HipHop\ Warning\:\ Attempt\ to\ increment\/decrement\ property\ of\ non\-object\ in\ [^ +]+bug44660\.php\ on\ line\ 12\ +\ +\-\-\>\ reference\ assignment\:\ +HipHop\ Warning\:\ Attempt\ to\ modify\ property\ of\ non\-object\ in\ [^ +]+bug44660\.php\ on\ line\ 15\ +\ +\-\-\>\ reference\ assignment\:\ +HipHop\ Warning\:\ Attempt\ to\ modify\ property\ of\ non\-object\ in\ [^ +]+bug44660\.php\ on\ line\ 18\ +\ +\-\-\>\ indexed\ assignment\:\ +HipHop\ Warning\:\ Attempt\ to\ modify\ property\ of\ non\-object\ in\ [^ +]+bug44660\.php\ on\ line\ 21\ +\ +\-\-\>\ Confirm\ assignments\ have\ had\ no\ impact\:\ +bool\(true\) \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug44827.php b/hphp/test/zend/bad/zend/bug44827.php similarity index 100% rename from hphp/test/zend/good/zend/bug44827.php rename to hphp/test/zend/bad/zend/bug44827.php diff --git a/hphp/test/zend/bad/zend/bug44827.php.exp b/hphp/test/zend/bad/zend/bug44827.php.exp new file mode 100644 index 000000000..6fb203f59 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug44827.php.exp @@ -0,0 +1,4 @@ +HipHop\ Warning\:\ Class\ constants\ cannot\ be\ defined\ or\ redefined\ in\ [^ +]+bug44827\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Class\ constants\ cannot\ be\ defined\ or\ redefined\ in\ [^ +]+bug44827\.php\ on\ line\ \d+ \ 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 index 00ef8b69c..d0e8226b9 100644 --- a/hphp/test/zend/bad/zend/bug44899.php.exp +++ b/hphp/test/zend/bad/zend/bug44899.php.exp @@ -1,4 +1,4 @@ -isset -empty -HipHop Notice: Undefined property: myclass::$foo in hphp/test/zend/bad/bug44899.php on line %d -empty +isset\ +empty\ +HipHop\ Notice\:\ Undefined\ property\:\ myclass\:\:\$foo\ in\ hphp\/test\/zend\/bad\/zend\/bug44899\.php\ on\ line\ \d+\ +empty \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45147.php.exp b/hphp/test/zend/bad/zend/bug45147.php.exp deleted file mode 100644 index 839eec2ff..000000000 --- a/hphp/test/zend/bad/zend/bug45147.php.exp +++ /dev/null @@ -1 +0,0 @@ - # diff --git a/hphp/test/zend/bad/zend/bug45178.php.exp b/hphp/test/zend/bad/zend/bug45178.php.exp index 73b84c632..da08cc6cb 100644 --- a/hphp/test/zend/bad/zend/bug45178.php.exp +++ b/hphp/test/zend/bad/zend/bug45178.php.exp @@ -1,7 +1,9 @@ -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) -} +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/bug45186.php.exp b/hphp/test/zend/bad/zend/bug45186.php.exp index de729f2a0..d8cd4827b 100644 --- a/hphp/test/zend/bad/zend/bug45186.php.exp +++ b/hphp/test/zend/bad/zend/bug45186.php.exp @@ -1,16 +1,17 @@ -__call: -string(3) "ABC" -__call: -string(3) "ABC" -__call: -string(3) "xyz" -__call: -string(3) "www" -__call: -string(1) "y" -__call: -string(1) "y" -ok -__callstatic: -string(3) "www" -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access self:: when no class scope is active in %sbug45186.php on line 31 +\_\_call\:\ +string\(3\)\ \"ABC\"\ +\_\_call\:\ +string\(3\)\ \"ABC\"\ +\_\_call\:\ +string\(3\)\ \"xyz\"\ +\_\_call\:\ +string\(3\)\ \"www\"\ +\_\_call\:\ +string\(1\)\ \"y\"\ +\_\_call\:\ +string\(1\)\ \"y\"\ +ok\ +\_\_callstatic\:\ +string\(3\)\ \"www\"\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ cannot\ access\ self\:\:\ when\ no\ class\ scope\ is\ active\ in\ [^ +]+bug45186\.php\ on\ line\ 31 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug45186_2.php.exp b/hphp/test/zend/bad/zend/bug45186_2.php.exp index d35141bab..35dfdd90a 100644 --- a/hphp/test/zend/bad/zend/bug45186_2.php.exp +++ b/hphp/test/zend/bad/zend/bug45186_2.php.exp @@ -1,15 +1,16 @@ -__call: -string(3) "ABC" -__call: -string(3) "ABC" -__call: -string(3) "xyz" -__call: -string(3) "www" -__call: -string(1) "y" -__call: -string(1) "y" -ok -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, class 'bar' does not have a method 'www' in hphp/test/zend/bad/bug45186_2.php on line %d -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access self:: when no class scope is active in %sbug45186_2.php on line 27 +\_\_call\:\ +string\(3\)\ \"ABC\"\ +\_\_call\:\ +string\(3\)\ \"ABC\"\ +\_\_call\:\ +string\(3\)\ \"xyz\"\ +\_\_call\:\ +string\(3\)\ \"www\"\ +\_\_call\:\ +string\(1\)\ \"y\"\ +\_\_call\:\ +string\(1\)\ \"y\"\ +ok\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ class\ \'bar\'\ does\ not\ have\ a\ method\ \'www\'\ in\ hphp\/test\/zend\/bad\/zend\/bug45186\_2\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ cannot\ access\ self\:\:\ when\ no\ class\ scope\ is\ active\ in\ [^ +]+bug45186\_2\.php\ on\ line\ 27 \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug45805.php b/hphp/test/zend/bad/zend/bug45805.php similarity index 100% rename from hphp/test/zend/good/zend/bug45805.php rename to hphp/test/zend/bad/zend/bug45805.php diff --git a/hphp/test/zend/bad/zend/bug45805.php.exp b/hphp/test/zend/bad/zend/bug45805.php.exp new file mode 100644 index 000000000..71753a380 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug45805.php.exp @@ -0,0 +1,14 @@ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'RuntimeException\'\ in\ [^ +]+bug45805\.php\:\d+\ +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/good/zend/bug45862.php b/hphp/test/zend/bad/zend/bug45862.php similarity index 100% rename from hphp/test/zend/good/zend/bug45862.php rename to hphp/test/zend/bad/zend/bug45862.php diff --git a/hphp/test/zend/good/zend/bug45862.php.exp b/hphp/test/zend/bad/zend/bug45862.php.exp similarity index 87% rename from hphp/test/zend/good/zend/bug45862.php.exp rename to hphp/test/zend/bad/zend/bug45862.php.exp index 50a3ddd7c..40d6bb902 100644 --- a/hphp/test/zend/good/zend/bug45862.php.exp +++ b/hphp/test/zend/bad/zend/bug45862.php.exp @@ -1,5 +1,4 @@ - - From parent scope +From parent scope array(1) { ["prot"]=> string(13) "protected var" @@ -10,4 +9,4 @@ string(13) "protected var" array(1) { ["prot"]=> string(13) "protected var" -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46238.php.exp b/hphp/test/zend/bad/zend/bug46238.php.exp index 637c0baac..763c6094e 100644 --- a/hphp/test/zend/bad/zend/bug46238.php.exp +++ b/hphp/test/zend/bad/zend/bug46238.php.exp @@ -85,4 +85,4 @@ array(2) { [1]=> array(0) { } -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46304.php.exp b/hphp/test/zend/bad/zend/bug46304.php.exp index 3f0b5b77f..59c92894a 100644 --- a/hphp/test/zend/bad/zend/bug46304.php.exp +++ b/hphp/test/zend/bad/zend/bug46304.php.exp @@ -1,22 +1,23 @@ -value1 -value1 -value1 -value2 -value2 -value2 -value3 -value3 -value3 -value4 -value4 -value4 -value4 -value5 -value5 -value5 -value5 -value6 -value6 -value6 -value6 -HipHop Fatal error: Undefined constant 'NS1\ns2\coNSt1' in %sbug46304.php on line %d +value1\ +value1\ +value1\ +value2\ +value2\ +value2\ +value3\ +value3\ +value3\ +value4\ +value4\ +value4\ +value4\ +value5\ +value5\ +value5\ +value5\ +value6\ +value6\ +value6\ +value6\ +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'NS1\\ns2\\coNSt1\'\ in\ [^ +]+bug46304\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46381.php.exp b/hphp/test/zend/bad/zend/bug46381.php.exp index 48f5b412e..4c09ce1e0 100644 --- a/hphp/test/zend/bad/zend/bug46381.php.exp +++ b/hphp/test/zend/bad/zend/bug46381.php.exp @@ -1 +1 @@ -HipHop Fatal error: Non-static method ArrayIterator::current() cannot be called statically, assuming $this from incompatible context in hphp/test/zend/bad/bug46381.php on line %d +HipHop\ Fatal\ error\:\ Non\-static\ method\ ArrayIterator\:\:current\(\)\ cannot\ be\ called\ statically\,\ assuming\ \$this\ from\ incompatible\ context\ in\ hphp\/test\/zend\/bad\/zend\/bug46381\.php\ on\ line\ \d+ \ 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 index 0ac1dbc76..d32a1e014 100644 --- a/hphp/test/zend/bad/zend/bug46665.php.exp +++ b/hphp/test/zend/bad/zend/bug46665.php.exp @@ -1 +1 @@ -%string|unicode%(11) "Foo\Bar\Baz" +string\(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.exp index cc718b5c6..582a30964 100644 --- a/hphp/test/zend/bad/zend/bug46701.php.exp +++ b/hphp/test/zend/bad/zend/bug46701.php.exp @@ -10,4 +10,4 @@ int(2) array(1) { [-835350528]=> int(3) -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug46813.php.exp b/hphp/test/zend/bad/zend/bug46813.php.exp index 61d28241b..99cf7d0d6 100644 --- a/hphp/test/zend/bad/zend/bug46813.php.exp +++ b/hphp/test/zend/bad/zend/bug46813.php.exp @@ -1,4 +1,4 @@ autoload == true: bool(true) autoload == false: -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47054.php.exp b/hphp/test/zend/bad/zend/bug47054.php.exp index b9d2bc92d..0216dcb00 100644 --- a/hphp/test/zend/bad/zend/bug47054.php.exp +++ b/hphp/test/zend/bad/zend/bug47054.php.exp @@ -1,7 +1,7 @@ -Called class: D -Called class: C -Called class: C -HipHop Warning: get_called_class() called from outside a class in hphp/test/zend/bad/bug47054.php on line %d - -Strict Standards: Non-static method D::m() should not be called statically in hphp/test/zend/bad/bug47054.php on line %d -HipHop Fatal error: Using $this when not in object context in hphp/test/zend/bad/bug47054.php on line %d +Called\ class\:\ D\ +Called\ class\:\ C\ +Called\ class\:\ C\ +HipHop\ Warning\:\ get\_called\_class\(\)\ called\ from\ outside\ a\ class\ in\ hphp\/test\/zend\/bad\/zend\/bug47054\.php\ on\ line\ \d+\ +\ +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\:\ Using\ \$this\ when\ not\ in\ object\ context\ in\ hphp\/test\/zend\/bad\/zend\/bug47054\.php\ on\ line\ \d+ \ 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 index 35a135dbc..569b2b707 100644 --- a/hphp/test/zend/bad/zend/bug47109.php.exp +++ b/hphp/test/zend/bad/zend/bug47109.php.exp @@ -1,3 +1,4 @@ -HipHop Notice: Undefined variable: a in %sbug47109.php on line 2 -HipHop Notice: Trying to get property of non-object in %sbug47109.php on line 2 - +HipHop\ Notice\:\ Undefined\ variable\:\ a\ in\ [^ +]+bug47109\.php\ on\ line\ 2\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ [^ +]+bug47109\.php\ on\ line\ 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47343.php.exp b/hphp/test/zend/bad/zend/bug47343.php.exp deleted file mode 100644 index c8e8a135c..000000000 --- a/hphp/test/zend/bad/zend/bug47343.php.exp +++ /dev/null @@ -1 +0,0 @@ -DONE diff --git a/hphp/test/zend/bad/zend/bug47516.php.exp b/hphp/test/zend/bad/zend/bug47516.php.exp index 74ec2e70b..64a47d63b 100644 --- a/hphp/test/zend/bad/zend/bug47516.php.exp +++ b/hphp/test/zend/bad/zend/bug47516.php.exp @@ -1,3 +1,3 @@ abc abc -abc +abc \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47593.php.exp b/hphp/test/zend/bad/zend/bug47593.php.exp index df2b47304..d71f46901 100644 --- a/hphp/test/zend/bad/zend/bug47593.php.exp +++ b/hphp/test/zend/bad/zend/bug47593.php.exp @@ -2,4 +2,4 @@ bool(true) bool(true) int(11) bool(true) -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug47699.php b/hphp/test/zend/bad/zend/bug47699.php similarity index 100% rename from hphp/test/zend/good/zend/bug47699.php rename to hphp/test/zend/bad/zend/bug47699.php diff --git a/hphp/test/zend/bad/zend/bug47699.php.exp b/hphp/test/zend/bad/zend/bug47699.php.exp new file mode 100644 index 000000000..b2f51b222 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug47699.php.exp @@ -0,0 +1,3 @@ +BB\ +HipHop\ Fatal\ error\:\ Class\ \'X\'\ not\ found\ in\ [^ +]+bug47699\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47704.php.exp b/hphp/test/zend/bad/zend/bug47704.php.exp index d3c907d02..2a3d6b044 100644 --- a/hphp/test/zend/bad/zend/bug47704.php.exp +++ b/hphp/test/zend/bad/zend/bug47704.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot use string offset as an object in %sbug47704.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ string\ offset\ as\ an\ object\ in\ [^ +]+bug47704\.php\ on\ line\ \d+ \ 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.exp index 38c54e37b..84830a35d 100644 --- a/hphp/test/zend/bad/zend/bug47714.php.exp +++ b/hphp/test/zend/bad/zend/bug47714.php.exp @@ -1 +1 @@ -exception +exception \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug47836.php.exp b/hphp/test/zend/bad/zend/bug47836.php.exp deleted file mode 100644 index 2149dfd07..000000000 --- a/hphp/test/zend/bad/zend/bug47836.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -HipHop Warning: Cannot add element to the array as the next element is already occupied in hphp/test/zend/bad/bug47836.php on line 4 -array(1) { - [%d]=> - int(1) -} diff --git a/hphp/test/zend/bad/zend/bug48215_2.php.exp b/hphp/test/zend/bad/zend/bug48215_2.php.exp index 5ad2995f7..fbba09c70 100644 --- a/hphp/test/zend/bad/zend/bug48215_2.php.exp +++ b/hphp/test/zend/bad/zend/bug48215_2.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to undefined method b::b() in hphp/test/zend/bad/bug48215_2.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ method\ b\:\:b\(\)\ in\ hphp\/test\/zend\/bad\/zend\/bug48215\_2\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug48228.php b/hphp/test/zend/bad/zend/bug48228.php similarity index 100% rename from hphp/test/zend/good/zend/bug48228.php rename to hphp/test/zend/bad/zend/bug48228.php diff --git a/hphp/test/zend/bad/zend/bug48228.php.exp b/hphp/test/zend/bad/zend/bug48228.php.exp new file mode 100644 index 000000000..d48cdd15a --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48228.php.exp @@ -0,0 +1,10 @@ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ in\ [^ +]+\ +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/bug48248.php.exp b/hphp/test/zend/bad/zend/bug48248.php.exp index 9dda8e967..1c2829ddc 100644 --- a/hphp/test/zend/bad/zend/bug48248.php.exp +++ b/hphp/test/zend/bad/zend/bug48248.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Undefined property: B::$test in hphp/test/zend/bad/bug48248.php on line %d -HipHop Notice: Only variable references should be returned by reference in hphp/test/zend/bad/bug48248.php on line %d -NULL +HipHop\ Notice\:\ Undefined\ property\:\ B\:\:\$test\ in\ hphp\/test\/zend\/bad\/zend\/bug48248\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Only\ variable\ references\ should\ be\ returned\ by\ reference\ in\ hphp\/test\/zend\/bad\/zend\/bug48248\.php\ on\ line\ \d+\ +NULL \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug48408.php b/hphp/test/zend/bad/zend/bug48408.php similarity index 100% rename from hphp/test/zend/good/zend/bug48408.php rename to hphp/test/zend/bad/zend/bug48408.php diff --git a/hphp/test/zend/bad/zend/bug48408.php.exp b/hphp/test/zend/bad/zend/bug48408.php.exp new file mode 100644 index 000000000..de934a08e --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48408.php.exp @@ -0,0 +1,8 @@ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ in\ [^ +]+\ +Stack\ trace\:\ +\#0\ [^ +]+\(\d+\)\:\ C\-\>generate\(0\)\ +\#1\ \{main\}\ +\ \ thrown\ in\ [^ +]+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug48533.php b/hphp/test/zend/bad/zend/bug48533.php similarity index 100% rename from hphp/test/zend/good/zend/bug48533.php rename to hphp/test/zend/bad/zend/bug48533.php diff --git a/hphp/test/zend/bad/zend/bug48533.php.exp b/hphp/test/zend/bad/zend/bug48533.php.exp new file mode 100644 index 000000000..5ca623294 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48533.php.exp @@ -0,0 +1,8 @@ +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/good/zend/bug48667_1.php b/hphp/test/zend/bad/zend/bug48667_1.php similarity index 100% rename from hphp/test/zend/good/zend/bug48667_1.php rename to hphp/test/zend/bad/zend/bug48667_1.php diff --git a/hphp/test/zend/bad/zend/bug48667_1.php.exp b/hphp/test/zend/bad/zend/bug48667_1.php.exp new file mode 100644 index 000000000..49a8beecd --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48667_1.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Class\ A\ cannot\ implement\ both\ IteratorAggregate\ and\ Iterator\ at\ the\ same\ time\ in\ hphp\/test\/zend\/bad\/zend\/bug48667\_1\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug48667_2.php b/hphp/test/zend/bad/zend/bug48667_2.php similarity index 100% rename from hphp/test/zend/good/zend/bug48667_2.php rename to hphp/test/zend/bad/zend/bug48667_2.php diff --git a/hphp/test/zend/bad/zend/bug48667_2.php.exp b/hphp/test/zend/bad/zend/bug48667_2.php.exp new file mode 100644 index 000000000..f4510a6cd --- /dev/null +++ b/hphp/test/zend/bad/zend/bug48667_2.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Class\ A\ cannot\ implement\ both\ Iterator\ and\ IteratorAggregate\ at\ the\ same\ time\ in\ hphp\/test\/zend\/bad\/zend\/bug48667\_2\.php\ on\ line\ \d+ \ 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 index 0d9ebca94..c2c27b636 100644 --- a/hphp/test/zend/bad/zend/bug48693.php.exp +++ b/hphp/test/zend/bad/zend/bug48693.php.exp @@ -1,8 +1,12 @@ -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) +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/bug48770.php.exp b/hphp/test/zend/bad/zend/bug48770.php.exp index 36743f432..da38eb8a9 100644 --- a/hphp/test/zend/bad/zend/bug48770.php.exp +++ b/hphp/test/zend/bad/zend/bug48770.php.exp @@ -1 +1 @@ -%unicode|string%(26) "A::func: This should work!" +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 index 75fa5b994..5b6709076 100644 --- a/hphp/test/zend/bad/zend/bug48770_2.php.exp +++ b/hphp/test/zend/bad/zend/bug48770_2.php.exp @@ -1,4 +1,4 @@ -%unicode|string%(27) "A::func2: This should work!" -%unicode|string%(27) "A::func3: This should work!" -HipHop Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method A::func22() in hphp/test/zend/bad/bug48770_2.php on line %d -HipHop Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'A' does not have a method 'inexistent' in hphp/test/zend/bad/bug48770_2.php on line %d +string\(27\)\ \"A\:\:func2\:\ This\ should\ work\!\"\ +string\(27\)\ \"A\:\:func3\:\ This\ should\ work\!\"\ +HipHop\ Warning\:\ call\_user\_func\_array\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ cannot\ access\ private\ method\ A\:\:func22\(\)\ in\ hphp\/test\/zend\/bad\/zend\/bug48770\_2\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ call\_user\_func\_array\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ class\ \'A\'\ does\ not\ have\ a\ method\ \'inexistent\'\ in\ hphp\/test\/zend\/bad\/zend\/bug48770\_2\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48770_3.php.exp b/hphp/test/zend/bad/zend/bug48770_3.php.exp index 3736782a9..0908331f2 100644 --- a/hphp/test/zend/bad/zend/bug48770_3.php.exp +++ b/hphp/test/zend/bad/zend/bug48770_3.php.exp @@ -1,3 +1,3 @@ -%unicode|string%(27) "B::func2: This should work!" -%unicode|string%(27) "B::func3: This should work!" -HipHop Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'B' does not have a method 'inexistent' in hphp/test/zend/bad/bug48770_3.php on line %d +string\(27\)\ \"B\:\:func2\:\ This\ should\ work\!\"\ +string\(27\)\ \"B\:\:func3\:\ This\ should\ work\!\"\ +HipHop\ Warning\:\ call\_user\_func\_array\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ class\ \'B\'\ does\ not\ have\ a\ method\ \'inexistent\'\ in\ hphp\/test\/zend\/bad\/zend\/bug48770\_3\.php\ on\ line\ \d+ \ 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.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/zend/bug48912.php.exp +++ b/hphp/test/zend/bad/zend/bug48912.php.exp @@ -1 +1 @@ -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug48930.php.exp b/hphp/test/zend/bad/zend/bug48930.php.exp index 0d30f43b6..01ad1424d 100644 --- a/hphp/test/zend/bad/zend/bug48930.php.exp +++ b/hphp/test/zend/bad/zend/bug48930.php.exp @@ -1 +1 @@ -__COMPILER_HALT_OFFSET__ is 116 +__COMPILER_HALT_OFFSET__ is 116 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug49472.php.exp b/hphp/test/zend/bad/zend/bug49472.php.exp index aa20c6578..ca3156cfd 100644 --- a/hphp/test/zend/bad/zend/bug49472.php.exp +++ b/hphp/test/zend/bad/zend/bug49472.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot inherit previously-inherited or override constant c from interface ia in hphp/test/zend/bad/bug49472.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ inherit\ previously\-inherited\ or\ override\ constant\ c\ from\ interface\ ia\ in\ hphp\/test\/zend\/bad\/zend\/bug49472\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug49866.php.exp b/hphp/test/zend/bad/zend/bug49866.php.exp index d20dc0407..656f7902f 100644 --- a/hphp/test/zend/bad/zend/bug49866.php.exp +++ b/hphp/test/zend/bad/zend/bug49866.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot create references to/from string offsets nor overloaded objects in %sbug49866.php on line 3 +HipHop\ Fatal\ error\:\ Cannot\ create\ references\ to\/from\ string\ offsets\ nor\ overloaded\ objects\ in\ [^ +]+bug49866\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug49908.php.exp b/hphp/test/zend/bad/zend/bug49908.php.exp index b8e7e7503..988e20b43 100644 --- a/hphp/test/zend/bad/zend/bug49908.php.exp +++ b/hphp/test/zend/bad/zend/bug49908.php.exp @@ -1,8 +1,11 @@ -%unicode|string%(3) "Foo" -%unicode|string%(3) "Bar" -HipHop Fatal error: Uncaught exception 'Exception' with message 'Bar' in %s:%d -Stack trace: -#0 %s(7): __autoload('Bar') -#1 %s(13): __autoload('Foo') -#2 {main} - thrown in hphp/test/zend/bad/bug49908.php on line %d +string\(3\)\ \"Foo\"\ +string\(3\)\ \"Bar\"\ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'Bar\'\ in\ [^ +]+\:\d+\ +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/bug50005.php.exp b/hphp/test/zend/bad/zend/bug50005.php.exp index a13db50da..36adc1972 100644 --- a/hphp/test/zend/bad/zend/bug50005.php.exp +++ b/hphp/test/zend/bad/zend/bug50005.php.exp @@ -1,4 +1,4 @@ -HipHop Fatal error: Uncaught exception 'a' in :%d -Stack trace: -#0 {main} - thrown in Unknown on line %d +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'a\'\ in\ \:\d+\ +Stack\ trace\:\ +\#0\ \{main\}\ +\ \ thrown\ in\ Unknown\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug50146.php b/hphp/test/zend/bad/zend/bug50146.php similarity index 100% rename from hphp/test/zend/good/zend/bug50146.php rename to hphp/test/zend/bad/zend/bug50146.php diff --git a/hphp/test/zend/bad/zend/bug50146.php.exp b/hphp/test/zend/bad/zend/bug50146.php.exp new file mode 100644 index 000000000..da897c6a0 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug50146.php.exp @@ -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 index 4de73b5ad..6abd389ec 100644 --- a/hphp/test/zend/bad/zend/bug50383.php.exp +++ b/hphp/test/zend/bad/zend/bug50383.php.exp @@ -1,92 +1,98 @@ -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 - ( - ) - - ) - -) +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/bug50810.php.exp b/hphp/test/zend/bad/zend/bug50810.php.exp index 574734e3d..e0d298300 100644 --- a/hphp/test/zend/bad/zend/bug50810.php.exp +++ b/hphp/test/zend/bad/zend/bug50810.php.exp @@ -1,4 +1,4 @@ bool(true) bool(true) bool(true) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug51421.php b/hphp/test/zend/bad/zend/bug51421.php similarity index 100% rename from hphp/test/zend/good/zend/bug51421.php rename to hphp/test/zend/bad/zend/bug51421.php diff --git a/hphp/test/zend/bad/zend/bug51421.php.exp b/hphp/test/zend/bad/zend/bug51421.php.exp new file mode 100644 index 000000000..5b925d2f4 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug51421.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Declaration\ of\ Test\:\:\_\_construct\(\)\ must\ be\ compatible\ with\ TestInterface\:\:\_\_construct\(ExampleClass\ \$var\)\ in\ hphp\/test\/zend\/bad\/zend\/bug51421\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug51791.php.exp b/hphp/test/zend/bad/zend/bug51791.php.exp index dc787174a..b94d14676 100644 --- a/hphp/test/zend/bad/zend/bug51791.php.exp +++ b/hphp/test/zend/bad/zend/bug51791.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: constant(): Couldn't find constant A::B1 in hphp/test/zend/bad/bug51791.php on line %d -NULL +HipHop\ Warning\:\ constant\(\)\:\ Couldn\'t\ find\ constant\ A\:\:B1\ in\ hphp\/test\/zend\/bad\/zend\/bug51791\.php\ on\ line\ \d+\ +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug51827.php.exp b/hphp/test/zend/bad/zend/bug51827.php.exp index c0cce4502..5f582a679 100644 --- a/hphp/test/zend/bad/zend/bug51827.php.exp +++ b/hphp/test/zend/bad/zend/bug51827.php.exp @@ -1,2 +1,2 @@ -int(1) -HipHop Warning: explode() expects at least 2 parameters, 0 given in Unknown on line %d +int\(1\)\ +HipHop\ Warning\:\ explode\(\)\ expects\ at\ least\ 2\ parameters\,\ 0\ given\ in\ Unknown\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52001.php.exp b/hphp/test/zend/bad/zend/bug52001.php.exp deleted file mode 100644 index b3689d40b..000000000 --- a/hphp/test/zend/bad/zend/bug52001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: Undefined variable: var in %sbug52001.php on line 2 -HipHop Notice: Undefined variable: in %sbug52001.php on line 2 -int(1) diff --git a/hphp/test/zend/bad/zend/bug52041.php.exp b/hphp/test/zend/bad/zend/bug52041.php.exp index aa154f10f..d517f41f6 100644 --- a/hphp/test/zend/bad/zend/bug52041.php.exp +++ b/hphp/test/zend/bad/zend/bug52041.php.exp @@ -1,26 +1,51 @@ -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Warning: Creating default object from empty value in %sbug52041.php on line 6 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Warning: Creating default object from empty value in %sbug52041.php on line 7 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Warning: Creating default object from empty value in %sbug52041.php on line 8 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Warning: Creating default object from empty value in %sbug52041.php on line 9 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Warning: Creating default object from empty value in %sbug52041.php on line 10 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Warning: Creating default object from empty value in %sbug52041.php on line 11 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Notice: Undefined offset: 0 in %sbug52041.php on line 15 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Notice: Undefined offset: 0 in %sbug52041.php on line 16 -HipHop Notice: Undefined offset: 0 in %sbug52041.php on line 16 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Notice: Undefined offset: 0 in %sbug52041.php on line 17 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -HipHop Notice: Undefined offset: 0 in %sbug52041.php on line 18 -HipHop Notice: Undefined offset: 0 in %sbug52041.php on line 18 -HipHop Notice: Undefined variable: x in %sbug52041.php on line 3 -NULL +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ [^ +]+bug52041\.php\ on\ line\ 6\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ [^ +]+bug52041\.php\ on\ line\ 7\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ [^ +]+bug52041\.php\ on\ line\ 8\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ [^ +]+bug52041\.php\ on\ line\ 9\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ [^ +]+bug52041\.php\ on\ line\ 10\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Creating\ default\ object\ from\ empty\ value\ in\ [^ +]+bug52041\.php\ on\ line\ 11\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ [^ +]+bug52041\.php\ on\ line\ 15\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ [^ +]+bug52041\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ [^ +]+bug52041\.php\ on\ line\ 16\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ [^ +]+bug52041\.php\ on\ line\ 17\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ [^ +]+bug52041\.php\ on\ line\ 18\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ [^ +]+bug52041\.php\ on\ line\ 18\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+bug52041\.php\ on\ line\ 3\ +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.exp index 3bd1f0e29..a907ec3f4 100644 --- a/hphp/test/zend/bad/zend/bug52051.php.exp +++ b/hphp/test/zend/bad/zend/bug52051.php.exp @@ -1,2 +1,2 @@ foo -bar +bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug52160.php.exp b/hphp/test/zend/bad/zend/bug52160.php.exp index d205ae798..069ad4a85 100644 --- a/hphp/test/zend/bad/zend/bug52160.php.exp +++ b/hphp/test/zend/bad/zend/bug52160.php.exp @@ -1,2 +1,2 @@ -Strict Standards: Redefining already defined constructor for class foo in hphp/test/zend/bad/bug52160.php on line %d -HipHop Fatal error: Constructor baz::baz() cannot be static in hphp/test/zend/bad/bug52160.php on line %d +Strict\ Standards\:\ Redefining\ already\ defined\ constructor\ for\ class\ foo\ in\ hphp\/test\/zend\/bad\/zend\/bug52160\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Constructor\ baz\:\:baz\(\)\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/bug52160\.php\ on\ line\ \d+ \ 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 index 7cb6f2a5e..488e03a1e 100644 --- a/hphp/test/zend/bad/zend/bug52193.php.exp +++ b/hphp/test/zend/bad/zend/bug52193.php.exp @@ -1,51 +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) -} +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/good/zend/bug52237.php b/hphp/test/zend/bad/zend/bug52237.php similarity index 100% rename from hphp/test/zend/good/zend/bug52237.php rename to hphp/test/zend/bad/zend/bug52237.php diff --git a/hphp/test/zend/bad/zend/bug52237.php.exp b/hphp/test/zend/bad/zend/bug52237.php.exp new file mode 100644 index 000000000..22300b36e --- /dev/null +++ b/hphp/test/zend/bad/zend/bug52237.php.exp @@ -0,0 +1,3 @@ +HipHop\ Warning\:\ Attempt\ to\ modify\ property\ of\ non\-object\ in\ [^ +]+bug52237\.php\ on\ line\ 3\ +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 index 1c48f4a76..0bf05ae37 100644 --- a/hphp/test/zend/bad/zend/bug52361.php.exp +++ b/hphp/test/zend/bad/zend/bug52361.php.exp @@ -1,10 +1,14 @@ -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} - +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/bug52614.php.exp b/hphp/test/zend/bad/zend/bug52614.php.exp deleted file mode 100644 index 2cac4a705..000000000 --- a/hphp/test/zend/bad/zend/bug52614.php.exp +++ /dev/null @@ -1,14 +0,0 @@ -NULL -array(0) { -} -array(0) { -} -HipHop Warning: Creating default object from empty value in %sbug52614.php on line 52 -NULL -object(stdClass)#%d (1) { - ["a"]=> - int(1) -} -int(2) -int(2) -int(3) diff --git a/hphp/test/zend/bad/zend/bug52879.php.exp b/hphp/test/zend/bad/zend/bug52879.php.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/zend/bug52879.php.exp +++ b/hphp/test/zend/bad/zend/bug52879.php.exp @@ -1 +1 @@ -ok +ok \ 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 index 5c1740662..cfa751b24 100644 --- a/hphp/test/zend/bad/zend/bug53305.php.exp +++ b/hphp/test/zend/bad/zend/bug53305.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Constant __COMPILER_HALT_OFFSET__ already defined in hphp/test/zend/bad/bug53305.php on line %d -int(1) -int(4) +HipHop\ Notice\:\ Constant\ \_\_COMPILER\_HALT\_OFFSET\_\_\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/bug53305\.php\ on\ line\ \d+\ +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 index e5f19795c..7f4b4f9c2 100644 --- a/hphp/test/zend/bad/zend/bug53511.php.exp +++ b/hphp/test/zend/bad/zend/bug53511.php.exp @@ -1,11 +1,17 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message 'ops 2' in %sbug53511.php:11 -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 +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'ops\ 2\'\ in\ [^ +]+bug53511\.php\:11\ +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/bug53629.php.exp b/hphp/test/zend/bad/zend/bug53629.php.exp index a965a70ed..8ad96f878 100644 --- a/hphp/test/zend/bad/zend/bug53629.php.exp +++ b/hphp/test/zend/bad/zend/bug53629.php.exp @@ -1 +1 @@ -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54013.php.exp b/hphp/test/zend/bad/zend/bug54013.php.exp index 7e5fba5c4..5174dce92 100644 --- a/hphp/test/zend/bad/zend/bug54013.php.exp +++ b/hphp/test/zend/bad/zend/bug54013.php.exp @@ -1,8 +1,8 @@ -object(ReflectionParameter)#%d (1) { - ["name"]=> - string(8) "aaaaaaaa" -} -object(ReflectionParameter)#%d (1) { - ["name"]=> - string(8) "aaaaaaaa" -} +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 index 88004258d..71b32e5ac 100644 --- a/hphp/test/zend/bad/zend/bug54262.php.exp +++ b/hphp/test/zend/bad/zend/bug54262.php.exp @@ -1,4 +1,6 @@ -bool(false) -HipHop Warning: Attempt to modify property of non-object in %sbug54262.php on line 4 -HipHop Warning: Cannot use a scalar value as an array in %sbug54262.php on line 5 -ok +bool\(false\)\ +HipHop\ Warning\:\ Attempt\ to\ modify\ property\ of\ non\-object\ in\ [^ +]+bug54262\.php\ on\ line\ 4\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ [^ +]+bug54262\.php\ on\ line\ 5\ +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.exp index 8d5e69998..1fd808cb0 100644 --- a/hphp/test/zend/bad/zend/bug54265.php.exp +++ b/hphp/test/zend/bad/zend/bug54265.php.exp @@ -1,3 +1,2 @@ EROOR: Creating default object from empty value -ok - +ok \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug54305.php b/hphp/test/zend/bad/zend/bug54305.php similarity index 100% rename from hphp/test/zend/good/zend/bug54305.php rename to hphp/test/zend/bad/zend/bug54305.php diff --git a/hphp/test/zend/bad/zend/bug54305.php.exp b/hphp/test/zend/bad/zend/bug54305.php.exp new file mode 100644 index 000000000..358e700f0 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug54305.php.exp @@ -0,0 +1,9 @@ +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/bug54547.php.exp b/hphp/test/zend/bad/zend/bug54547.php.exp index b5bf95bd8..78f261e22 100644 --- a/hphp/test/zend/bad/zend/bug54547.php.exp +++ b/hphp/test/zend/bad/zend/bug54547.php.exp @@ -2,4 +2,4 @@ bool(false) bool(false) bool(false) bool(false) -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54624.php.exp b/hphp/test/zend/bad/zend/bug54624.php.exp index c8e8a135c..096264973 100644 --- a/hphp/test/zend/bad/zend/bug54624.php.exp +++ b/hphp/test/zend/bad/zend/bug54624.php.exp @@ -1 +1 @@ -DONE +DONE \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug54804.php.exp b/hphp/test/zend/bad/zend/bug54804.php.exp index c8e8a135c..096264973 100644 --- a/hphp/test/zend/bad/zend/bug54804.php.exp +++ b/hphp/test/zend/bad/zend/bug54804.php.exp @@ -1 +1 @@ -DONE +DONE \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55007.php.exp b/hphp/test/zend/bad/zend/bug55007.php.exp index c0bd53e8f..f61c004c7 100644 --- a/hphp/test/zend/bad/zend/bug55007.php.exp +++ b/hphp/test/zend/bad/zend/bug55007.php.exp @@ -1,2 +1,3 @@ -HipHop Fatal error: Cannot use [] for reading in %s(%d) : eval()'d code on line %d -My error handler runs. +HipHop\ Fatal\ error\:\ Cannot\ use\ \[\]\ for\ reading\ in\ [^ +]+\(\d+\)\ \:\ eval\(\)\'d\ code\ on\ line\ \d+\ +My\ error\ handler\ runs\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55086.php.exp b/hphp/test/zend/bad/zend/bug55086.php.exp index f699102e4..a81e43e93 100644 --- a/hphp/test/zend/bad/zend/bug55086.php.exp +++ b/hphp/test/zend/bad/zend/bug55086.php.exp @@ -1,2 +1,2 @@ hello from t1 -hello from t1 +hello from t1 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55156.php.exp b/hphp/test/zend/bad/zend/bug55156.php.exp index e4062f05a..89bf77347 100644 --- a/hphp/test/zend/bad/zend/bug55156.php.exp +++ b/hphp/test/zend/bad/zend/bug55156.php.exp @@ -1,3 +1,3 @@ -bool(false) -string(12) "/** test1 */" -string(12) "/** test2 */" +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.exp index c5afee8b9..87639e1b4 100644 --- a/hphp/test/zend/bad/zend/bug55247.php.exp +++ b/hphp/test/zend/bad/zend/bug55247.php.exp @@ -3,4 +3,4 @@ method method method method -method +method \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug55705.php.exp b/hphp/test/zend/bad/zend/bug55705.php.exp index f57aefc8a..c20653806 100644 --- a/hphp/test/zend/bad/zend/bug55705.php.exp +++ b/hphp/test/zend/bad/zend/bug55705.php.exp @@ -1 +1 @@ -Catchable fatal error: Argument 1 passed to f() must be callable, none given, called in hphp/test/zend/bad/bug55705.php on line 3 and defined in hphp/test/zend/bad/bug55705.php on line %d +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/bug60099.php.exp b/hphp/test/zend/bad/zend/bug60099.php.exp index e4675baf3..dfeb44804 100644 --- a/hphp/test/zend/bad/zend/bug60099.php.exp +++ b/hphp/test/zend/bad/zend/bug60099.php.exp @@ -1 +1 @@ -HipHop Fatal error: __HALT_COMPILER() can only be used from the outermost scope in hphp/test/zend/bad/bug60099.php on line %d +HipHop\ Fatal\ error\:\ \_\_HALT\_COMPILER\(\)\ can\ only\ be\ used\ from\ the\ outermost\ scope\ in\ hphp\/test\/zend\/bad\/zend\/bug60099\.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.exp index 9766475a4..b5754e203 100644 --- a/hphp/test/zend/bad/zend/bug60138.php.exp +++ b/hphp/test/zend/bad/zend/bug60138.php.exp @@ -1 +1 @@ -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug60350.php b/hphp/test/zend/bad/zend/bug60350.php similarity index 100% rename from hphp/test/zend/good/zend/bug60350.php rename to hphp/test/zend/bad/zend/bug60350.php diff --git a/hphp/test/zend/bad/zend/bug60350.php.exp b/hphp/test/zend/bad/zend/bug60350.php.exp new file mode 100644 index 000000000..54f0d2532 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60350.php.exp @@ -0,0 +1 @@ +Works \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60362.php.exp b/hphp/test/zend/bad/zend/bug60362.php.exp index 95cc8858e..a6ee91530 100644 --- a/hphp/test/zend/bad/zend/bug60362.php.exp +++ b/hphp/test/zend/bad/zend/bug60362.php.exp @@ -9,4 +9,4 @@ sub-key 1 is not empty: string(1) "o" ------------------- sub-sub-key 'sub_sub' is empty. sub-sub-key 0 is not empty: string(1) "o" -DONE +DONE \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug60536_002.php b/hphp/test/zend/bad/zend/bug60536_002.php similarity index 100% rename from hphp/test/zend/good/zend/bug60536_002.php rename to hphp/test/zend/bad/zend/bug60536_002.php diff --git a/hphp/test/zend/bad/zend/bug60536_002.php.exp b/hphp/test/zend/bad/zend/bug60536_002.php.exp new file mode 100644 index 000000000..ac776aed5 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60536_002.php.exp @@ -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\:\ TraitsTest\ and\ THello1\ define\ the\ same\ property\ \(\$hello\)\ in\ the\ composition\ of\ TraitsTest\.\ However\,\ the\ definition\ differs\ and\ is\ considered\ incompatible\.\ Class\ was\ composed\ in\ hphp\/test\/zend\/bad\/zend\/bug60536\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug60536_004.php b/hphp/test/zend/bad/zend/bug60536_004.php similarity index 100% rename from hphp/test/zend/good/zend/bug60536_004.php rename to hphp/test/zend/bad/zend/bug60536_004.php diff --git a/hphp/test/zend/bad/zend/bug60536_004.php.exp b/hphp/test/zend/bad/zend/bug60536_004.php.exp new file mode 100644 index 000000000..f01006a3a --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60536_004.php.exp @@ -0,0 +1,6 @@ +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/good/zend/bug60536_005.php b/hphp/test/zend/bad/zend/bug60536_005.php similarity index 100% rename from hphp/test/zend/good/zend/bug60536_005.php rename to hphp/test/zend/bad/zend/bug60536_005.php diff --git a/hphp/test/zend/bad/zend/bug60536_005.php.exp b/hphp/test/zend/bad/zend/bug60536_005.php.exp new file mode 100644 index 000000000..eb00c6441 --- /dev/null +++ b/hphp/test/zend/bad/zend/bug60536_005.php.exp @@ -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 index 1860f32b2..f6f165b48 100644 --- a/hphp/test/zend/bad/zend/bug60573.php.exp +++ b/hphp/test/zend/bad/zend/bug60573.php.exp @@ -1,4 +1,7 @@ -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: Declaration of Bar6::setSelf() must be compatible with Foo6::setSelf(Base $s) in %sbug60573.php on line %d +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\:\ Declaration\ of\ Bar6\:\:setSelf\(\)\ must\ be\ compatible\ with\ Foo6\:\:setSelf\(Base\ \$s\)\ in\ [^ +]+bug60573\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60611.php.exp b/hphp/test/zend/bad/zend/bug60611.php.exp index a5c4404b9..4574b22c4 100644 --- a/hphp/test/zend/bad/zend/bug60611.php.exp +++ b/hphp/test/zend/bad/zend/bug60611.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Method name must be a string in %sbug60611.php on line %d +HipHop\ Fatal\ error\:\ Method\ name\ must\ be\ a\ string\ in\ [^ +]+bug60611\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60613.php.exp b/hphp/test/zend/bad/zend/bug60613.php.exp deleted file mode 100644 index be35299ee..000000000 --- a/hphp/test/zend/bad/zend/bug60613.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method name must be a string in %sbug60613.php on line %d diff --git a/hphp/test/zend/bad/zend/bug60825.php.exp b/hphp/test/zend/bad/zend/bug60825.php.exp index 5f0e08ba0..7221475cd 100644 --- a/hphp/test/zend/bad/zend/bug60825.php.exp +++ b/hphp/test/zend/bad/zend/bug60825.php.exp @@ -1 +1,2 @@ -string(%d) "%sbug60825.php" refcount(2) +string\(\d+\)\ \"[^ +]+bug60825\.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 index a5b0d491d..8681f2083 100644 --- a/hphp/test/zend/bad/zend/bug60909_1.php.exp +++ b/hphp/test/zend/bad/zend/bug60909_1.php.exp @@ -1,11 +1,18 @@ -error(require(notfound.php): failed to open stream: No such file or directory) -HipHop Warning: Uncaught exception 'Exception' with message 'Foo' in %sbug60909_1.php:5 -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: main(): Failed opening required 'notfound.php' (include_path='%s') in %sbug60909_1.php on line 8 - - -!!!shutdown!!! +error\(require\(notfound\.php\)\:\ failed\ to\ open\ stream\:\ No\ such\ file\ or\ directory\)\ +HipHop\ Warning\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'Foo\'\ in\ [^ +]+bug60909\_1\.php\:5\ +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\:\ main\(\)\:\ Failed\ opening\ required\ \'notfound\.php\'\ \(include\_path\=\'[^ +]+\'\)\ in\ [^ +]+bug60909\_1\.php\ on\ line\ 8\ +\ +\ +\!\!\!shutdown\!\!\! \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug60909_2.php.exp b/hphp/test/zend/bad/zend/bug60909_2.php.exp index ba4768f2d..1a9d7cd6d 100644 --- a/hphp/test/zend/bad/zend/bug60909_2.php.exp +++ b/hphp/test/zend/bad/zend/bug60909_2.php.exp @@ -1,4 +1,5 @@ -HipHop Fatal error: Method Bad::__toString() must not throw an exception in %sbug60909_2.php on line 0 - - -!!!shutdown!!! +HipHop\ Fatal\ error\:\ Method\ Bad\:\:\_\_toString\(\)\ must\ not\ throw\ an\ exception\ in\ [^ +]+bug60909\_2\.php\ on\ line\ 0\ +\ +\ +\!\!\!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.exp index 0cfbf0888..d8263ee98 100644 --- a/hphp/test/zend/bad/zend/bug60978.php.exp +++ b/hphp/test/zend/bad/zend/bug60978.php.exp @@ -1 +1 @@ -2 +2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61011.php.exp b/hphp/test/zend/bad/zend/bug61011.php.exp index a490b7db9..820394749 100644 --- a/hphp/test/zend/bad/zend/bug61011.php.exp +++ b/hphp/test/zend/bad/zend/bug61011.php.exp @@ -1 +1 @@ -okey +okey \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61087.php.exp b/hphp/test/zend/bad/zend/bug61087.php.exp index e98cea74f..ef5458825 100644 --- a/hphp/test/zend/bad/zend/bug61087.php.exp +++ b/hphp/test/zend/bad/zend/bug61087.php.exp @@ -1 +1 @@ -HipHop Warning: Invalid scanner mode in hphp/test/zend/bad/bug61087.php on line %d +HipHop\ Warning\:\ Invalid\ scanner\ mode\ in\ hphp\/test\/zend\/bad\/zend\/bug61087\.php\ on\ line\ \d+ \ 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.exp index d00491fd7..56a6051ca 100644 --- a/hphp/test/zend/bad/zend/bug61225.php.exp +++ b/hphp/test/zend/bad/zend/bug61225.php.exp @@ -1 +1 @@ -1 +1 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61273.php.exp b/hphp/test/zend/bad/zend/bug61273.php.exp index 3f1b35eb7..2f7a4d86d 100644 --- a/hphp/test/zend/bad/zend/bug61273.php.exp +++ b/hphp/test/zend/bad/zend/bug61273.php.exp @@ -1,2 +1,3 @@ -HipHop Warning: Parameter 1 to {closure}() expected to be a reference, value given in %sbug61273.php on line %d -okey +HipHop\ Warning\:\ Parameter\ 1\ to\ \{closure\}\(\)\ expected\ to\ be\ a\ reference\,\ value\ given\ in\ [^ +]+bug61273\.php\ on\ line\ \d+\ +okey \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug61767.php.exp b/hphp/test/zend/bad/zend/bug61767.php.exp index 6d432187c..777a59b1d 100644 --- a/hphp/test/zend/bad/zend/bug61767.php.exp +++ b/hphp/test/zend/bad/zend/bug61767.php.exp @@ -1,15 +1,21 @@ -Error handler called (Undefined variable: undefined) -HipHop Warning: Uncaught exception 'ErrorException' with message 'Undefined variable: undefined' in %sbug61767.php:13 -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: Call to a member function foo() on a non-object in %sbug61767.php on line 13 -Shutting down -Array -( - [type] => 1 - [message] => Call to a member function foo() on a non-object - [file] => %sbug61767.php - [line] => 13 -) +Error\ handler\ called\ \(Undefined\ variable\:\ undefined\)\ +HipHop\ Warning\:\ Uncaught\ exception\ \'ErrorException\'\ with\ message\ \'Undefined\ variable\:\ undefined\'\ in\ [^ +]+bug61767\.php\:13\ +Stack\ trace\:\ +\#0\ [^ +]+bug61767\.php\(13\)\:\ \{closure\}\(8\,\ \'Undefined\ varia\.\.\.\'\,\ \'[^ +]+\'\,\ 13\,\ Array\)\ +\#1\ \{main\}\ +\ \ thrown\ in\ [^ +]+bug61767\.php\ on\ line\ 13\ +HipHop\ Fatal\ error\:\ Call\ to\ a\ member\ function\ foo\(\)\ on\ a\ non\-object\ in\ [^ +]+bug61767\.php\ on\ line\ 13\ +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/bug62005.php.exp b/hphp/test/zend/bad/zend/bug62005.php.exp deleted file mode 100644 index 8966d48cb..000000000 --- a/hphp/test/zend/bad/zend/bug62005.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -HipHop Warning: Creating default object from empty value in %sbug62005.php on line %d -stdClass Object -( - [energy] => 2 -) diff --git a/hphp/test/zend/bad/zend/bug62097.php.exp b/hphp/test/zend/bad/zend/bug62097.php.exp index fc6c569b4..7a2f36777 100644 --- a/hphp/test/zend/bad/zend/bug62097.php.exp +++ b/hphp/test/zend/bad/zend/bug62097.php.exp @@ -1,4 +1,4 @@ bool(true) bool(true) bool(true) -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug62358.php.exp b/hphp/test/zend/bad/zend/bug62358.php.exp index 6a0058d8a..b4dab4e40 100644 --- a/hphp/test/zend/bad/zend/bug62358.php.exp +++ b/hphp/test/zend/bad/zend/bug62358.php.exp @@ -1 +1,2 @@ -Strict Standards: Declaration of B::foo() should be compatible with A::foo() in %sbug62358.php on line %d +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/bug62680.php.exp b/hphp/test/zend/bad/zend/bug62680.php.exp index 74d3e6d82..1f7ce4c1e 100644 --- a/hphp/test/zend/bad/zend/bug62680.php.exp +++ b/hphp/test/zend/bad/zend/bug62680.php.exp @@ -1,2 +1,2 @@ bool(false) -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug62892.php.exp b/hphp/test/zend/bad/zend/bug62892.php.exp index 63a30c0d8..123ac678e 100644 --- a/hphp/test/zend/bad/zend/bug62892.php.exp +++ b/hphp/test/zend/bad/zend/bug62892.php.exp @@ -1,2 +1,2 @@ -array(0) { -} +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 index f5c9035f8..754f5b6f9 100644 --- a/hphp/test/zend/bad/zend/bug63111.php.exp +++ b/hphp/test/zend/bad/zend/bug63111.php.exp @@ -1,10 +1,11 @@ -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: Cannot call abstract method Foo::bar() in %sbug63111.php on line 20 - +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\:\ Cannot\ call\ abstract\ method\ Foo\:\:bar\(\)\ in\ [^ +]+bug63111\.php\ on\ line\ 20 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63173.php.exp b/hphp/test/zend/bad/zend/bug63173.php.exp index 02b7a614a..18c3f9e93 100644 --- a/hphp/test/zend/bad/zend/bug63173.php.exp +++ b/hphp/test/zend/bad/zend/bug63173.php.exp @@ -1 +1 @@ -HipHop Fatal error: Array callback has to contain indices 0 and 1 in hphp/test/zend/bad/bug63173.php on line %d +HipHop\ Fatal\ error\:\ Array\ callback\ has\ to\ contain\ indices\ 0\ and\ 1\ in\ hphp\/test\/zend\/bad\/zend\/bug63173\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63219.php.exp b/hphp/test/zend/bad/zend/bug63219.php.exp index 6927762e7..e96fb690c 100644 --- a/hphp/test/zend/bad/zend/bug63219.php.exp +++ b/hphp/test/zend/bad/zend/bug63219.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Could not find trait Typo in %sbug63219.php on line %d +HipHop\ Fatal\ error\:\ Could\ not\ find\ trait\ Typo\ in\ [^ +]+bug63219\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug63336.php b/hphp/test/zend/bad/zend/bug63336.php similarity index 100% rename from hphp/test/zend/good/zend/bug63336.php rename to hphp/test/zend/bad/zend/bug63336.php diff --git a/hphp/test/zend/bad/zend/bug63336.php.exp b/hphp/test/zend/bad/zend/bug63336.php.exp new file mode 100644 index 000000000..cbf628a4c --- /dev/null +++ b/hphp/test/zend/bad/zend/bug63336.php.exp @@ -0,0 +1,3 @@ +Strict Standards: Declaration of Child::foo() should be compatible with Base::foo($var = '123', $more = NULL) in %sbug63336.php on line %d + +Strict Standards: Declaration of Child::bar() should be compatible with Base::bar($var, $more = 'XXX') in %sbug63336.php on line %d \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug63762.php.exp b/hphp/test/zend/bad/zend/bug63762.php.exp index 49db027a9..f3772549b 100644 --- a/hphp/test/zend/bad/zend/bug63762.php.exp +++ b/hphp/test/zend/bad/zend/bug63762.php.exp @@ -1,17 +1,16 @@ -Array of NULL: -HipHop Warning: Expected array for frame 0 in hphp/test/zend/bad/bug63762.php on line %d -string(9) "#0 {main}" - -Array of empty array: -string(36) "#0 [internal function]: () -#1 {main}" - -Array of array of NULL values: -HipHop Warning: Function name is no string in hphp/test/zend/bad/bug63762.php on line %d -HipHop Warning: Value for class is no string in hphp/test/zend/bad/bug63762.php on line %d -HipHop Warning: Value for type is no string in hphp/test/zend/bad/bug63762.php on line %d -HipHop Warning: Value for function is no string in hphp/test/zend/bad/bug63762.php on line %d -HipHop Warning: args element is no array in hphp/test/zend/bad/bug63762.php on line %d -string(60) "#0 [unknown function][unknown][unknown][unknown]() -#1 {main}" - +Array\ of\ NULL\:\ +HipHop\ Warning\:\ Expected\ array\ for\ frame\ 0\ in\ hphp\/test\/zend\/bad\/zend\/bug63762\.php\ on\ line\ \d+\ +string\(9\)\ \"\#0\ \{main\}\"\ +\ +Array\ of\ empty\ array\:\ +string\(36\)\ \"\#0\ \[internal\ function\]\:\ \(\)\ +\#1\ \{main\}\"\ +\ +Array\ of\ array\ of\ NULL\ values\:\ +HipHop\ Warning\:\ Function\ name\ is\ no\ string\ in\ hphp\/test\/zend\/bad\/zend\/bug63762\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Value\ for\ class\ is\ no\ string\ in\ hphp\/test\/zend\/bad\/zend\/bug63762\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Value\ for\ type\ is\ no\ string\ in\ hphp\/test\/zend\/bad\/zend\/bug63762\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Value\ for\ function\ is\ no\ string\ in\ hphp\/test\/zend\/bad\/zend\/bug63762\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ args\ element\ is\ no\ array\ in\ hphp\/test\/zend\/bad\/zend\/bug63762\.php\ on\ line\ \d+\ +string\(60\)\ \"\#0\ \[unknown\ function\]\[unknown\]\[unknown\]\[unknown\]\(\)\ +\#1\ \{main\}\" \ 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 index 4925d4f26..b3d7f331b 100644 --- a/hphp/test/zend/bad/zend/bug_debug_backtrace.php.exp +++ b/hphp/test/zend/bad/zend/bug_debug_backtrace.php.exp @@ -1,6 +1,10 @@ -#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=== +\#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/call_static_005.php.exp b/hphp/test/zend/bad/zend/call_static_005.php.exp index 35cc1c57e..e93227c6f 100644 --- a/hphp/test/zend/bad/zend/call_static_005.php.exp +++ b/hphp/test/zend/bad/zend/call_static_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to undefined function foo::() in hphp/test/zend/bad/call_static_005.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ function\ foo\:\:\(\)\ in\ hphp\/test\/zend\/bad\/zend\/call\_static\_005\.php\ on\ line\ \d+ \ 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 index 37e70cd6b..81b19162a 100644 --- a/hphp/test/zend/bad/zend/call_static_006.php.exp +++ b/hphp/test/zend/bad/zend/call_static_006.php.exp @@ -1,6 +1,6 @@ -Strict Standards: Non-static method foo::aa() should not be called statically in hphp/test/zend/bad/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/call_static_006.php on line %d -ok -HipHop Fatal error: Cannot call constructor in hphp/test/zend/bad/call_static_006.php on line %d +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\:\ Cannot\ call\ constructor\ in\ hphp\/test\/zend\/bad\/zend\/call\_static\_006\.php\ on\ line\ \d+ \ 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 index c1b01bb07..7d7f2d3d9 100644 --- a/hphp/test/zend/bad/zend/call_user_func_001.php.exp +++ b/hphp/test/zend/bad/zend/call_user_func_001.php.exp @@ -1,3 +1,3 @@ -%string|unicode%(6) "foobar" -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access private method testing\foo::priv() in hphp/test/zend/bad/call_user_func_001.php on line %d -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access protected method testing\foo::prot() in hphp/test/zend/bad/call_user_func_001.php on line %d +string\(6\)\ \"foobar\"\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ cannot\ access\ private\ method\ testing\\foo\:\:priv\(\)\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_001\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ cannot\ access\ protected\ method\ testing\\foo\:\:prot\(\)\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_001\.php\ on\ line\ \d+ \ 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 index aa50deb84..b69cc337e 100644 --- a/hphp/test/zend/bad/zend/call_user_func_002.php.exp +++ b/hphp/test/zend/bad/zend/call_user_func_002.php.exp @@ -1,7 +1,7 @@ -%unicode|string%(3) "foo" -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found in hphp/test/zend/bad/call_user_func_002.php on line %d -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, class '' not found in hphp/test/zend/bad/call_user_func_002.php on line %d -HipHop Notice: Undefined variable: foo in hphp/test/zend/bad/call_user_func_002.php on line %d -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in hphp/test/zend/bad/call_user_func_002.php on line %d -HipHop Notice: Undefined variable: foo in hphp/test/zend/bad/call_user_func_002.php on line %d -HipHop Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in hphp/test/zend/bad/call_user_func_002.php on line %d +string\(3\)\ \"foo\"\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ class\ \'foo\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_002\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ class\ \'\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_002\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ foo\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_002\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ first\ array\ member\ is\ not\ a\ valid\ class\ name\ or\ object\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_002\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ foo\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_002\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ call\_user\_func\(\)\ expects\ parameter\ 1\ to\ be\ a\ valid\ callback\,\ first\ array\ member\ is\ not\ a\ valid\ class\ name\ or\ object\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_002\.php\ on\ line\ \d+ \ 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 index aa4a568d4..dd40369b2 100644 --- a/hphp/test/zend/bad/zend/call_user_func_003.php.exp +++ b/hphp/test/zend/bad/zend/call_user_func_003.php.exp @@ -1,9 +1,9 @@ -%unicode|string%(3) "OK!" -object(Closure)#%d (1) { - [%u|b%"static"]=> - array(1) { - [%u|b%"instance"]=> - object(Closure)#%d (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_004.php.exp b/hphp/test/zend/bad/zend/call_user_func_004.php.exp index a98dea686..18e1f761c 100644 --- a/hphp/test/zend/bad/zend/call_user_func_004.php.exp +++ b/hphp/test/zend/bad/zend/call_user_func_004.php.exp @@ -1,2 +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/call_user_func_004.php on line %d -HipHop Fatal error: Using $this when not in object context in hphp/test/zend/bad/call_user_func_004.php on line %d +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\:\ Using\ \$this\ when\ not\ in\ object\ context\ in\ hphp\/test\/zend\/bad\/zend\/call\_user\_func\_004\.php\ on\ line\ \d+ \ 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 index e7049c5e3..082250a0a 100644 --- a/hphp/test/zend/bad/zend/call_user_func_005.php.exp +++ b/hphp/test/zend/bad/zend/call_user_func_005.php.exp @@ -1,15 +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/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) +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_with_refs.php.exp b/hphp/test/zend/bad/zend/call_with_refs.php.exp index b7ddfbc33..951172576 100644 --- a/hphp/test/zend/bad/zend/call_with_refs.php.exp +++ b/hphp/test/zend/bad/zend/call_with_refs.php.exp @@ -1,3 +1,3 @@ Object of class stdClass could not be converted to string Object of class stdClass to string conversion -OK! +OK! \ No newline at end of file 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 index 66703c18d..7d05e514d 100644 --- a/hphp/test/zend/bad/zend/callable_type_hint_001.php.exp +++ b/hphp/test/zend/bad/zend/callable_type_hint_001.php.exp @@ -1,19 +1,19 @@ -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) { -} - +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_002.php.exp b/hphp/test/zend/bad/zend/callable_type_hint_002.php.exp index c8b083291..a366e449a 100644 --- a/hphp/test/zend/bad/zend/callable_type_hint_002.php.exp +++ b/hphp/test/zend/bad/zend/callable_type_hint_002.php.exp @@ -1,4 +1,3 @@ bool(true) bool(true) -bool(true) - +bool(true) \ No newline at end of file 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.exp index 02b6f2317..9cb9eb2d5 100644 --- a/hphp/test/zend/bad/zend/callable_type_hint_003.php.exp +++ b/hphp/test/zend/bad/zend/callable_type_hint_003.php.exp @@ -1,5 +1,4 @@ string(6) "strpos" int(123) string(6) "strpos" -string(6) "substr" - +string(6) "substr" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/cast_to_array.php.exp b/hphp/test/zend/bad/zend/cast_to_array.php.exp index 36ebbf8be..37185dc80 100644 Binary files a/hphp/test/zend/bad/zend/cast_to_array.php.exp and b/hphp/test/zend/bad/zend/cast_to_array.php.exp 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 index 9a4eb1836..077c0d4dd 100644 Binary files a/hphp/test/zend/bad/zend/cast_to_object.php.exp and b/hphp/test/zend/bad/zend/cast_to_object.php.exp 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 index c778db105..0d110cb6f 100644 Binary files a/hphp/test/zend/bad/zend/cast_to_string.php.exp and b/hphp/test/zend/bad/zend/cast_to_string.php.exp differ diff --git a/hphp/test/zend/bad/zend/class_alias_001.php.exp b/hphp/test/zend/bad/zend/class_alias_001.php.exp index 9068fe846..be0617c2b 100644 --- a/hphp/test/zend/bad/zend/class_alias_001.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_001.php.exp @@ -4,4 +4,4 @@ bool(true) bool(true) bool(true) bool(true) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_002.php.exp b/hphp/test/zend/bad/zend/class_alias_002.php.exp index 417f7de42..f7cd83462 100644 --- a/hphp/test/zend/bad/zend/class_alias_002.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_002.php.exp @@ -1 +1 @@ -HipHop Warning: Cannot redeclare class FOO in hphp/test/zend/bad/class_alias_002.php on line %d +HipHop\ Warning\:\ Cannot\ redeclare\ class\ FOO\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_002\.php\ on\ line\ \d+ \ 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 index 1a40d108c..363dd74b8 100644 --- a/hphp/test/zend/bad/zend/class_alias_003.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_003.php.exp @@ -1,2 +1,2 @@ -object(foo)#%d (0) { -} +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 index def75e0e1..1bd2450b9 100644 --- a/hphp/test/zend/bad/zend/class_alias_004.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_004.php.exp @@ -1 +1 @@ -HipHop Warning: Cannot redeclare class test in hphp/test/zend/bad/class_alias_004.php on line %d +HipHop\ Warning\:\ Cannot\ redeclare\ class\ test\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_004\.php\ on\ line\ \d+ \ 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.exp index ce0136250..b6fc4c620 100644 --- a/hphp/test/zend/bad/zend/class_alias_005.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_005.php.exp @@ -1 +1 @@ -hello +hello \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_006.php.exp b/hphp/test/zend/bad/zend/class_alias_006.php.exp index 34ae5983e..5d0fa618d 100644 --- a/hphp/test/zend/bad/zend/class_alias_006.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_006.php.exp @@ -1 +1 @@ -HipHop Warning: First argument of class_alias() must be a name of user defined class in hphp/test/zend/bad/class_alias_006.php on line %d +HipHop\ Warning\:\ First\ argument\ of\ class\_alias\(\)\ must\ be\ a\ name\ of\ user\ defined\ class\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_006\.php\ on\ line\ \d+ \ 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 index af39a7bae..ea18a6453 100644 --- a/hphp/test/zend/bad/zend/class_alias_007.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_007.php.exp @@ -1,4 +1,4 @@ -object(foo)#%d (0) { -} -object(foo)#%d (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_008.php.exp b/hphp/test/zend/bad/zend/class_alias_008.php.exp index 976996e9d..8621abf8c 100644 --- a/hphp/test/zend/bad/zend/class_alias_008.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_008.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot instantiate abstract class foo in hphp/test/zend/bad/class_alias_008.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ instantiate\ abstract\ class\ foo\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_008\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_009.php.exp b/hphp/test/zend/bad/zend/class_alias_009.php.exp index d06e861a0..97a546e6a 100644 --- a/hphp/test/zend/bad/zend/class_alias_009.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_009.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class c cannot implement previously implemented interface a in hphp/test/zend/bad/class_alias_009.php on line %d +HipHop\ Fatal\ error\:\ Class\ c\ cannot\ implement\ previously\ implemented\ interface\ a\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_009\.php\ on\ line\ \d+ \ 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 index bf4beb26e..8bdc44769 100644 --- a/hphp/test/zend/bad/zend/class_alias_010.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_010.php.exp @@ -1 +1 @@ -HipHop Warning: Cannot redeclare class b in hphp/test/zend/bad/class_alias_010.php on line %d +HipHop\ Warning\:\ Cannot\ redeclare\ class\ b\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_010\.php\ on\ line\ \d+ \ 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.exp index 5b1838eec..eeec53dce 100644 --- a/hphp/test/zend/bad/zend/class_alias_011.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_011.php.exp @@ -1,2 +1,2 @@ hello -foobar! +foobar! \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_012.php.exp b/hphp/test/zend/bad/zend/class_alias_012.php.exp index dc1f13e59..a4cec3976 100644 --- a/hphp/test/zend/bad/zend/class_alias_012.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_012.php.exp @@ -1,8 +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) { -} +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 index 881b06b43..568fdca02 100644 --- a/hphp/test/zend/bad/zend/class_alias_013.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_013.php.exp @@ -1,4 +1,4 @@ -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_014.php.exp b/hphp/test/zend/bad/zend/class_alias_014.php.exp index b76b8bb01..16ad53854 100644 --- a/hphp/test/zend/bad/zend/class_alias_014.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_014.php.exp @@ -1 +1 @@ -HipHop Warning: Class 'bar' not found in hphp/test/zend/bad/class_alias_014.php on line %d +HipHop\ Warning\:\ Class\ \'bar\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_014\.php\ on\ line\ \d+ \ 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 index 5ffc06c21..3d2a4b2dd 100644 --- a/hphp/test/zend/bad/zend/class_alias_015.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_015.php.exp @@ -1,2 +1,2 @@ -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_016.php.exp b/hphp/test/zend/bad/zend/class_alias_016.php.exp index 0adef1d2c..536bc1528 100644 --- a/hphp/test/zend/bad/zend/class_alias_016.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_016.php.exp @@ -1,3 +1,3 @@ -object(foo\bar)#%d (0) { -} -HipHop Fatal error: Class 'foo\foo' not found in hphp/test/zend/bad/class_alias_016.php on line %d +object\(foo\\bar\)\#\d+\ \(0\)\ \{\ +\}\ +HipHop\ Fatal\ error\:\ Class\ \'foo\\foo\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_016\.php\ on\ line\ \d+ \ 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 index 7c5a35931..b158fb5ab 100644 --- a/hphp/test/zend/bad/zend/class_alias_017.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_017.php.exp @@ -1,4 +1,4 @@ -foo -baz -foo -foo +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.exp index a517dc946..f68297b36 100644 --- a/hphp/test/zend/bad/zend/class_alias_018.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_018.php.exp @@ -6,4 +6,4 @@ bool(false) bool(false) bool(true) bool(true) -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_alias_019.php.exp b/hphp/test/zend/bad/zend/class_alias_019.php.exp index db1effecc..5a7d5b10b 100644 --- a/hphp/test/zend/bad/zend/class_alias_019.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_019.php.exp @@ -1 +1 @@ -HipHop Warning: Cannot redeclare class foo in hphp/test/zend/bad/class_alias_019.php on line %d +HipHop\ Warning\:\ Cannot\ redeclare\ class\ foo\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_019\.php\ on\ line\ \d+ \ 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 index 6f6956dbc..6ddf7518a 100644 --- a/hphp/test/zend/bad/zend/class_alias_020.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_020.php.exp @@ -1,5 +1,5 @@ -object(foo\foo)#1 (0) { -} -object(foo\bar\foo)#2 (0) { -} -HipHop Fatal error: Class 'foo\bar' not found in hphp/test/zend/bad/class_alias_020.php on line %d +object\(foo\\foo\)\#1\ \(0\)\ \{\ +\}\ +object\(foo\\bar\\foo\)\#2\ \(0\)\ \{\ +\}\ +HipHop\ Fatal\ error\:\ Class\ \'foo\\bar\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/class\_alias\_020\.php\ on\ line\ \d+ \ 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 index 046fd124d..710e5b48d 100644 --- a/hphp/test/zend/bad/zend/class_alias_021.php.exp +++ b/hphp/test/zend/bad/zend/class_alias_021.php.exp @@ -1,6 +1,6 @@ -object(foo\bar)#%d (0) { -} -object(foo\bar)#%d (0) { -} -object(foo\bar)#%d (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_constants_001.php.exp b/hphp/test/zend/bad/zend/class_constants_001.php.exp index 15222ea42..d7e4ea9aa 100644 --- a/hphp/test/zend/bad/zend/class_constants_001.php.exp +++ b/hphp/test/zend/bad/zend/class_constants_001.php.exp @@ -1,3 +1,3 @@ -string(6) "string" -int(1) -HipHop Fatal error: Undefined class constant 'val3' in hphp/test/zend/bad/class_constants_001.php on line %d +string\(6\)\ \"string\"\ +int\(1\)\ +HipHop\ Fatal\ error\:\ Undefined\ class\ constant\ \'val3\'\ in\ hphp\/test\/zend\/bad\/zend\/class\_constants\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_constants_002.php.exp b/hphp/test/zend/bad/zend/class_constants_002.php.exp index 642d68d51..f4bc1e83e 100644 --- a/hphp/test/zend/bad/zend/class_constants_002.php.exp +++ b/hphp/test/zend/bad/zend/class_constants_002.php.exp @@ -1,4 +1,4 @@ -int(1) -int(5) -int(10) -HipHop Fatal error: Class 'NoSuchClass' not found in hphp/test/zend/bad/class_constants_002.php on line %d +int\(1\)\ +int\(5\)\ +int\(10\)\ +HipHop\ Fatal\ error\:\ Class\ \'NoSuchClass\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/class\_constants\_002\.php\ on\ line\ \d+ \ 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.exp index 22085711c..53bef6004 100644 --- a/hphp/test/zend/bad/zend/class_constants_004.php.exp +++ b/hphp/test/zend/bad/zend/class_constants_004.php.exp @@ -6,4 +6,4 @@ int(2) int(3) int(3) int(4) -int(4) +int(4) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_exists_001.php.exp b/hphp/test/zend/bad/zend/class_exists_001.php.exp index 3a2eeebb6..8706b14dc 100644 --- a/hphp/test/zend/bad/zend/class_exists_001.php.exp +++ b/hphp/test/zend/bad/zend/class_exists_001.php.exp @@ -2,4 +2,4 @@ bool(true) bool(true) bool(false) bool(true) -bool(false) +bool(false) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/class_exists_002.php.exp b/hphp/test/zend/bad/zend/class_exists_002.php.exp index 884e37574..cd8eb54a1 100644 --- a/hphp/test/zend/bad/zend/class_exists_002.php.exp +++ b/hphp/test/zend/bad/zend/class_exists_002.php.exp @@ -1,7 +1,7 @@ -bool(false) -bool(false) -bool(true) -bool(false) -bool(false) -HipHop Warning: class_exists() expects parameter 1 to be string, object given in hphp/test/zend/bad/class_exists_002.php on line %d -NULL +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Warning\:\ class\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ object\ given\ in\ hphp\/test\/zend\/bad\/zend\/class\_exists\_002\.php\ on\ line\ \d+\ +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/clone_001.php.exp b/hphp/test/zend/bad/zend/clone_001.php.exp index 762eb3197..1c264d5b3 100644 --- a/hphp/test/zend/bad/zend/clone_001.php.exp +++ b/hphp/test/zend/bad/zend/clone_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: __clone method called on non-object in hphp/test/zend/bad/clone_001.php on line %d +HipHop\ Fatal\ error\:\ \_\_clone\ method\ called\ on\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/clone\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/clone_003.php.exp b/hphp/test/zend/bad/zend/clone_003.php.exp index 3868a978d..eaf86e68e 100644 --- a/hphp/test/zend/bad/zend/clone_003.php.exp +++ b/hphp/test/zend/bad/zend/clone_003.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: Undefined variable: b in hphp/test/zend/bad/clone_003.php on line %d -HipHop Fatal error: __clone method called on non-object in hphp/test/zend/bad/clone_003.php on line %d +HipHop\ Notice\:\ Undefined\ variable\:\ b\ in\ hphp\/test\/zend\/bad\/zend\/clone\_003\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ \_\_clone\ method\ called\ on\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/clone\_003\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/clone_004.php.exp b/hphp/test/zend/bad/zend/clone_004.php.exp index 8dafa8a2e..353004782 100644 --- a/hphp/test/zend/bad/zend/clone_004.php.exp +++ b/hphp/test/zend/bad/zend/clone_004.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use object of type foo as array in hphp/test/zend/bad/clone_004.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ object\ of\ type\ foo\ as\ array\ in\ hphp\/test\/zend\/bad\/zend\/clone\_004\.php\ on\ line\ \d+ \ 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 index d869e7f5d..22e62def6 100644 --- a/hphp/test/zend/bad/zend/closure_005.php.exp +++ b/hphp/test/zend/bad/zend/closure_005.php.exp @@ -1,8 +1,9 @@ -3 -3 -5 -5 -7 -7 -Destroyed -HipHop Fatal error: Using $this when not in object context in %sclosure_005.php on line 28 +3\ +3\ +5\ +5\ +7\ +7\ +Destroyed\ +HipHop\ Fatal\ error\:\ Using\ \$this\ when\ not\ in\ object\ context\ in\ [^ +]+closure\_005\.php\ on\ line\ 28 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_012.php.exp b/hphp/test/zend/bad/zend/closure_012.php.exp index 0597b87ab..55fb9619f 100644 --- a/hphp/test/zend/bad/zend/closure_012.php.exp +++ b/hphp/test/zend/bad/zend/closure_012.php.exp @@ -1,5 +1,6 @@ -HipHop Notice: Undefined variable: i in %sclosure_012.php on line 2 -HipHop Notice: Undefined variable: i in %sclosure_012.php on line 7 -NULL -int(2) - +HipHop\ Notice\:\ Undefined\ variable\:\ i\ in\ [^ +]+closure\_012\.php\ on\ line\ 2\ +HipHop\ Notice\:\ Undefined\ variable\:\ i\ in\ [^ +]+closure\_012\.php\ on\ line\ 7\ +NULL\ +int\(2\) \ 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 index 6bb226c58..14c611198 100644 --- a/hphp/test/zend/bad/zend/closure_015.php.exp +++ b/hphp/test/zend/bad/zend/closure_015.php.exp @@ -1,3 +1,5 @@ -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) +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_016.php.exp b/hphp/test/zend/bad/zend/closure_016.php.exp index f293a4515..91f4e9fd7 100644 --- a/hphp/test/zend/bad/zend/closure_016.php.exp +++ b/hphp/test/zend/bad/zend/closure_016.php.exp @@ -13,4 +13,4 @@ Closure::__invoke bool(true) Closure::__invoke bool(true) -Closure::__invoke +Closure::__invoke \ No newline at end of file diff --git a/hphp/test/zend/good/zend/closure_017.php b/hphp/test/zend/bad/zend/closure_017.php similarity index 100% rename from hphp/test/zend/good/zend/closure_017.php rename to hphp/test/zend/bad/zend/closure_017.php diff --git a/hphp/test/zend/bad/zend/closure_017.php.exp b/hphp/test/zend/bad/zend/closure_017.php.exp new file mode 100644 index 000000000..713c1b595 --- /dev/null +++ b/hphp/test/zend/bad/zend/closure_017.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Cannot\ destroy\ active\ lambda\ function\ in\ hphp\/test\/zend\/bad\/zend\/closure\_017\.php\ on\ line\ \d+ \ 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 index f71d49127..de4bbc71c 100644 --- a/hphp/test/zend/bad/zend/closure_020.php.exp +++ b/hphp/test/zend/bad/zend/closure_020.php.exp @@ -1,17 +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: Cannot access private property foo::$test in hphp/test/zend/bad/closure_020.php on line %d +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\:\ Cannot\ access\ private\ property\ foo\:\:\$test\ in\ hphp\/test\/zend\/bad\/zend\/closure\_020\.php\ on\ line\ \d+ \ 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 index 841c3eee3..c55167cd3 100644 --- a/hphp/test/zend/bad/zend/closure_022.php.exp +++ b/hphp/test/zend/bad/zend/closure_022.php.exp @@ -1,2 +1,2 @@ -Catchable fatal error: Closure object cannot have properties in %sclosure_022.php on line 5 - +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_026.php.exp b/hphp/test/zend/bad/zend/closure_026.php.exp index f98ec2fd3..9d2c3199a 100644 --- a/hphp/test/zend/bad/zend/closure_026.php.exp +++ b/hphp/test/zend/bad/zend/closure_026.php.exp @@ -1,24 +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) +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 index d50291359..9c2604c37 100644 --- a/hphp/test/zend/bad/zend/closure_027.php.exp +++ b/hphp/test/zend/bad/zend/closure_027.php.exp @@ -1,8 +1,8 @@ -object(stdClass)#%d (0) { -} -NULL -HipHop Notice: Undefined variable: y in hphp/test/zend/bad/closure_027.php on line %d -HipHop Warning: Missing argument 1 for {closure}(), called in hphp/test/zend/bad/closure_027.php on line %d and defined in hphp/test/zend/bad/closure_027.php on line %d -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/closure_027.php on line %d and defined in hphp/test/zend/bad/closure_027.php on line %d +object\(stdClass\)\#\d+\ \(0\)\ \{\ +\}\ +NULL\ +HipHop\ Notice\:\ Undefined\ variable\:\ y\ in\ hphp\/test\/zend\/bad\/zend\/closure\_027\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ \{closure\}\(\)\,\ 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+\ +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.exp index d6b14edc2..eb112bd97 100644 --- a/hphp/test/zend/bad/zend/closure_031.php.exp +++ b/hphp/test/zend/bad/zend/closure_031.php.exp @@ -1,3 +1,2 @@ Error: Closure object cannot have properties -NULL - +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/closure_032.php.exp b/hphp/test/zend/bad/zend/closure_032.php.exp index 2ae007772..498f3c46e 100644 --- a/hphp/test/zend/bad/zend/closure_032.php.exp +++ b/hphp/test/zend/bad/zend/closure_032.php.exp @@ -1,54 +1,59 @@ -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] - +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_033.php.exp b/hphp/test/zend/bad/zend/closure_033.php.exp index 2ee4c8063..7043eca87 100644 --- a/hphp/test/zend/bad/zend/closure_033.php.exp +++ b/hphp/test/zend/bad/zend/closure_033.php.exp @@ -1,2 +1,3 @@ -Test::{closure}() -HipHop Fatal error: Call to private method Test::func() from context '' in %sclosure_033.php on line %d +Test\:\:\{closure\}\(\)\ +HipHop\ Fatal\ error\:\ Call\ to\ private\ method\ Test\:\:func\(\)\ from\ context\ \'\'\ in\ [^ +]+closure\_033\.php\ on\ line\ \d+ \ 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 index 27d4604a5..79515b360 100644 --- a/hphp/test/zend/bad/zend/closure_034.php.exp +++ b/hphp/test/zend/bad/zend/closure_034.php.exp @@ -1,8 +1,8 @@ -object(Closure)#%d (1) { - ["static"]=> - array(1) { - ["a"]=> - *RECURSION* - } -} -===DONE=== +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 index 5c0fce80b..018055935 100644 --- a/hphp/test/zend/bad/zend/closure_035.php.exp +++ b/hphp/test/zend/bad/zend/closure_035.php.exp @@ -1,8 +1,8 @@ -object(Closure)#%d (1) { - ["static"]=> - array(1) { - ["x"]=> - *RECURSION* - } -} -int(1) +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 index e89bf76b5..ebf7f8a36 100644 --- a/hphp/test/zend/bad/zend/closure_036.php.exp +++ b/hphp/test/zend/bad/zend/closure_036.php.exp @@ -1,3 +1,3 @@ -int(1) -int(11) -int(12) \ No newline at end of file +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 index 8d8aea67d..637a6f886 100644 --- a/hphp/test/zend/bad/zend/closure_038.php.exp +++ b/hphp/test/zend/bad/zend/closure_038.php.exp @@ -1,8 +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: Cannot access private property B::$x in hphp/test/zend/bad/closure_038.php on line %d +int\(1\)\ +Testing\ with\ scope\ given\ as\ object\ +int\(21\)\ +int\(22\)\ +Testing\ with\ scope\ as\ string\ +int\(23\)\ +int\(24\)\ +HipHop\ Fatal\ error\:\ Cannot\ access\ private\ property\ B\:\:\$x\ in\ hphp\/test\/zend\/bad\/zend\/closure\_038\.php\ on\ line\ \d+ \ 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 index 5649d2bf8..d52f8996c 100644 --- a/hphp/test/zend/bad/zend/closure_039.php.exp +++ b/hphp/test/zend/bad/zend/closure_039.php.exp @@ -1,8 +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: Cannot access private property B::$x in hphp/test/zend/bad/closure_039.php on line %d +int\(\-4\)\ +Testing\ with\ scope\ given\ as\ object\ +int\(21\)\ +int\(22\)\ +Testing\ with\ scope\ as\ string\ +int\(23\)\ +int\(24\)\ +HipHop\ Fatal\ error\:\ Cannot\ access\ private\ property\ B\:\:\$x\ in\ hphp\/test\/zend\/bad\/zend\/closure\_039\.php\ on\ line\ \d+ \ 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 index cd6e05a61..846d6e017 100644 --- a/hphp/test/zend/bad/zend/closure_040.php.exp +++ b/hphp/test/zend/bad/zend/closure_040.php.exp @@ -1,6 +1,6 @@ -HipHop Notice: Array to string conversion in hphp/test/zend/bad/closure_040.php on line %d -HipHop Warning: Class 'Array' not found in hphp/test/zend/bad/closure_040.php on line %d -HipHop Warning: Closure::bindTo() expects parameter 1 to be object, array given in hphp/test/zend/bad/closure_040.php on line 25 -HipHop Warning: Closure::bindTo() expects at most 2 parameters, 3 given in hphp/test/zend/bad/closure_040.php on line %d -HipHop Warning: Closure::bindTo() expects at least 1 parameter, 0 given in hphp/test/zend/bad/closure_040.php on line %d -HipHop Warning: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_040.php on line %d +HipHop\ Notice\:\ Array\ to\ string\ conversion\ in\ hphp\/test\/zend\/bad\/zend\/closure\_040\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Class\ \'Array\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/closure\_040\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Closure\:\:bindTo\(\)\ expects\ parameter\ 1\ to\ be\ object\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/closure\_040\.php\ on\ line\ 25\ +HipHop\ Warning\:\ Closure\:\:bindTo\(\)\ expects\ at\ most\ 2\ parameters\,\ 3\ given\ in\ hphp\/test\/zend\/bad\/zend\/closure\_040\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Closure\:\:bindTo\(\)\ expects\ at\ least\ 1\ parameter\,\ 0\ given\ in\ hphp\/test\/zend\/bad\/zend\/closure\_040\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_040\.php\ on\ line\ \d+ \ 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 index 1583211c5..ee558f2c6 100644 --- a/hphp/test/zend/bad/zend/closure_041.php.exp +++ b/hphp/test/zend/bad/zend/closure_041.php.exp @@ -1,36 +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: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_041.php on line %d -After binding, with same-class instance for the bound ones -HipHop Warning: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_041.php on line %d -scoped to A: bool(false) -bound: no -scoped to A: bool(false) -bound: A (should be scoped to dummy class) -HipHop Warning: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_041.php on line %d -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 +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\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_041\.php\ on\ line\ \d+\ +After\ binding\,\ with\ same\-class\ instance\ for\ the\ bound\ ones\ +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_041\.php\ on\ line\ \d+\ +scoped\ to\ A\:\ bool\(false\)\ +bound\:\ no\ +scoped\ to\ A\:\ bool\(false\)\ +bound\:\ A\ \(should\ be\ scoped\ to\ dummy\ class\)\ +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_041\.php\ on\ line\ \d+\ +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 index 92b424b45..589af9761 100644 --- a/hphp/test/zend/bad/zend/closure_042.php.exp +++ b/hphp/test/zend/bad/zend/closure_042.php.exp @@ -1,7 +1,7 @@ -object(stdClass)#%d (0) { -} -string(7) "Closure" -object(stdClass)#%d (0) { -} -string(7) "Closure" -Done. +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 index 54b69fca8..4709be603 100644 --- a/hphp/test/zend/bad/zend/closure_043.php.exp +++ b/hphp/test/zend/bad/zend/closure_043.php.exp @@ -1,40 +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: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_043.php on line %d -bool(false) -bool(false) - -HipHop Warning: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_043.php on line %d -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: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_043.php on line %d -bool(true) -bool(false) - -HipHop Warning: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_043.php on line %d -bool(true) -bool(false) - -Done. +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\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_043\.php\ on\ line\ \d+\ +bool\(false\)\ +bool\(false\)\ +\ +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_043\.php\ on\ line\ \d+\ +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\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_043\.php\ on\ line\ \d+\ +bool\(true\)\ +bool\(false\)\ +\ +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_043\.php\ on\ line\ \d+\ +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 index 3e3104abb..f5d6b02cc 100644 --- a/hphp/test/zend/bad/zend/closure_044.php.exp +++ b/hphp/test/zend/bad/zend/closure_044.php.exp @@ -1,36 +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. +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 index 10d4f0afd..41ed20162 100644 --- a/hphp/test/zend/bad/zend/closure_045.php.exp +++ b/hphp/test/zend/bad/zend/closure_045.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_045.php on line %d -Done. +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_045\.php\ on\ line\ \d+\ +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 index d355906e5..4bc7c84c8 100644 --- a/hphp/test/zend/bad/zend/closure_046.php.exp +++ b/hphp/test/zend/bad/zend/closure_046.php.exp @@ -1,27 +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: Cannot bind an instance to a static closure in hphp/test/zend/bad/closure_046.php on line %d -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. +Before\ binding\ +bool\(false\)\ +bool\(false\)\ +\ +bool\(true\)\ +bool\(true\)\ +\ +After\ binding\,\ no\ instance\ +bool\(false\)\ +bool\(false\)\ +\ +bool\(true\)\ +bool\(false\)\ +\ +HipHop\ Warning\:\ Cannot\ bind\ an\ instance\ to\ a\ static\ closure\ in\ hphp\/test\/zend\/bad\/zend\/closure\_046\.php\ on\ line\ \d+\ +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 index bbd18fb52..ae2aa7fa2 100644 --- a/hphp/test/zend/bad/zend/compare_001.php.exp +++ b/hphp/test/zend/bad/zend/compare_001.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - == object(stdClass)#1 (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - == object(stdClass)#2 (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - == 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001.php on line %d - != object(stdClass)#1 (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001.php on line %d - != object(stdClass)#2 (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_001.php on line %d - != 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != object(stdClass)#1 (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != object(stdClass)#2 (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - == int(1) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001.php on line %d - != float(2.5) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - == int(1) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001.php on line %d - != float(2.5) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - == int(1) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_001.php on line %d - != float(2.5) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != object(stdClass)#1 (0) {} -int(-2147483648) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != object(stdClass)#2 (0) {} -int(-2147483648) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001.php on line %d - != 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \=\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \=\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \=\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \=\=\ int\(1\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ float\(2\.5\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \=\=\ int\(1\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ float\(2\.5\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \=\=\ int\(1\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ float\(2\.5\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\.php\ on\ line\ \d+\ +\ \!\=\ 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 index 9c7fd9395..e14ac0200 100644 --- a/hphp/test/zend/bad/zend/compare_001_64bit.php.exp +++ b/hphp/test/zend/bad/zend/compare_001_64bit.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - == object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - == object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - == 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001_64bit.php on line %d - != object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001_64bit.php on line %d - != object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - == int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001_64bit.php on line %d - != float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - == int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_001_64bit.php on line %d - != float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - == int(1) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_001_64bit.php on line %d - != float(2.5) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_001_64bit.php on line %d - != 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \=\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \=\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \=\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \=\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \=\=\ int\(1\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ float\(2\.5\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_001\_64bit\.php\ on\ line\ \d+\ +\ \!\=\ 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 index b2cde489e..25cab3cc0 100644 --- a/hphp/test/zend/bad/zend/compare_002.php.exp +++ b/hphp/test/zend/bad/zend/compare_002.php.exp @@ -1,290 +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 +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 index 2c907355b..9d6e26cd2 100644 --- a/hphp/test/zend/bad/zend/compare_003.php.exp +++ b/hphp/test/zend/bad/zend/compare_003.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= object(stdClass)#1 (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= object(stdClass)#2 (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003.php on line %d - > object(stdClass)#1 (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003.php on line %d - > object(stdClass)#2 (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_003.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= object(stdClass)#1 (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= object(stdClass)#2 (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= int(1) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003.php on line %d - <= float(2.5) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= int(1) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003.php on line %d - <= float(2.5) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= int(1) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_003.php on line %d - <= float(2.5) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= object(stdClass)#1 (0) {} -int(-2147483648) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= object(stdClass)#2 (0) {} -int(-2147483648) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003.php on line %d - <= 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\.php\ on\ line\ \d+\ +\ \<\=\ 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 index e5e359f39..68770f9aa 100644 --- a/hphp/test/zend/bad/zend/compare_003_64bit.php.exp +++ b/hphp/test/zend/bad/zend/compare_003_64bit.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003_64bit.php on line %d - > object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003_64bit.php on line %d - > object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= int(1) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= float(2.5) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_003_64bit.php on line %d - <= 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_003\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ 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 index de3cf37ac..2467bf0e0 100644 --- a/hphp/test/zend/bad/zend/compare_004.php.exp +++ b/hphp/test/zend/bad/zend/compare_004.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= object(stdClass)#1 (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= object(stdClass)#2 (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004.php on line %d - >= object(stdClass)#1 (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004.php on line %d - >= object(stdClass)#2 (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_004.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - < object(stdClass)#1 (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - < object(stdClass)#2 (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - < 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= int(1) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004.php on line %d - < float(2.5) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= int(1) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004.php on line %d - < float(2.5) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= int(1) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_004.php on line %d - < float(2.5) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - < object(stdClass)#1 (0) {} -int(-2147483648) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - < object(stdClass)#2 (0) {} -int(-2147483648) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004.php on line %d - < 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\.php\ on\ line\ \d+\ +\ \<\ 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 index d1ba667a9..a68f20d5d 100644 --- a/hphp/test/zend/bad/zend/compare_004_64bit.php.exp +++ b/hphp/test/zend/bad/zend/compare_004_64bit.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - < 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004_64bit.php on line %d - < float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_004_64bit.php on line %d - < float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= int(1) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_004_64bit.php on line %d - < float(2.5) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_004_64bit.php on line %d - < 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_004\_64bit\.php\ on\ line\ \d+\ +\ \<\ 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 index 6771c5f3d..0e8a78297 100644 --- a/hphp/test/zend/bad/zend/compare_005.php.exp +++ b/hphp/test/zend/bad/zend/compare_005.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= object(stdClass)#1 (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= object(stdClass)#2 (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005.php on line %d - >= object(stdClass)#1 (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005.php on line %d - >= object(stdClass)#2 (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_005.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - < object(stdClass)#1 (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - < object(stdClass)#2 (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - < 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= int(1) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005.php on line %d - < float(2.5) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= int(1) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005.php on line %d - < float(2.5) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= int(1) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_005.php on line %d - < float(2.5) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - < object(stdClass)#1 (0) {} -int(-2147483648) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - < object(stdClass)#2 (0) {} -int(-2147483648) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005.php on line %d - < 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\.php\ on\ line\ \d+\ +\ \<\ 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 index 23aebdd6b..182bacba8 100644 --- a/hphp/test/zend/bad/zend/compare_005_64bit.php.exp +++ b/hphp/test/zend/bad/zend/compare_005_64bit.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - < 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005_64bit.php on line %d - < float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_005_64bit.php on line %d - < float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= int(1) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_005_64bit.php on line %d - < float(2.5) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - >= 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - < object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_005_64bit.php on line %d - < 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ int\(1\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ float\(2\.5\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \>\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_005\_64bit\.php\ on\ line\ \d+\ +\ \<\ 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 index 703841a63..975fdfa14 100644 --- a/hphp/test/zend/bad/zend/compare_006.php.exp +++ b/hphp/test/zend/bad/zend/compare_006.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= object(stdClass)#1 (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= object(stdClass)#2 (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006.php on line %d - > object(stdClass)#1 (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006.php on line %d - > object(stdClass)#2 (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_006.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= object(stdClass)#1 (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= object(stdClass)#2 (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= int(1) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006.php on line %d - <= float(2.5) -object(stdClass)#1 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= int(1) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006.php on line %d - <= float(2.5) -object(stdClass)#2 (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= int(1) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_006.php on line %d - <= float(2.5) -object(test)#3 (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= object(stdClass)#1 (0) {} -int(-2147483648) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= object(stdClass)#2 (0) {} -int(-2147483648) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006.php on line %d - <= 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#1\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#2\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(test\)\#3\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#1\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#2\ \(0\)\ \{\}\ +int\(\-2147483648\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\.php\ on\ line\ \d+\ +\ \<\=\ 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 index 346033d63..608c80f37 100644 --- a/hphp/test/zend/bad/zend/compare_006_64bit.php.exp +++ b/hphp/test/zend/bad/zend/compare_006_64bit.php.exp @@ -1,338 +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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(1) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= 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 of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006_64bit.php on line %d - > object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006_64bit.php on line %d - > object(stdClass)#%d (0) {} -float(2.5) -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(0) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= int(1) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to double in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= float(2.5) -object(stdClass)#%d (0) {} -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= int(1) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to double in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= float(2.5) -object(test)#%d (0) {} -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - > 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 of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= object(stdClass)#%d (0) {} -int(-9223372036854775808) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/compare_006_64bit.php on line %d - <= 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 +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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(1\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +float\(2\.5\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(0\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ int\(1\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ float\(2\.5\)\ +object\(test\)\#\d+\ \(0\)\ \{\}\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \>\ 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\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ object\(stdClass\)\#\d+\ \(0\)\ \{\}\ +int\(\-9223372036854775808\)\ +HipHop\ Notice\:\ Object\ of\ class\ test\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/compare\_006\_64bit\.php\ on\ line\ \d+\ +\ \<\=\ 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 index f3df61d9b..74441a75d 100644 --- a/hphp/test/zend/bad/zend/constants_001.php.exp +++ b/hphp/test/zend/bad/zend/constants_001.php.exp @@ -1,6 +1,6 @@ -HipHop Notice: Constant 1 already defined in hphp/test/zend/bad/constants_001.php on line %d -int(2) -int(2) -int(2) -int(1) -int(3) +HipHop\ Notice\:\ Constant\ 1\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/constants\_001\.php\ on\ line\ \d+\ +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 index dc4323f70..1106a14fb 100644 --- a/hphp/test/zend/bad/zend/constants_002.php.exp +++ b/hphp/test/zend/bad/zend/constants_002.php.exp @@ -1,4 +1,4 @@ -HipHop Warning: Constants may only evaluate to scalar values in hphp/test/zend/bad/constants_002.php on line %d -HipHop Notice: Use of undefined constant foo - assumed 'foo' in hphp/test/zend/bad/constants_002.php on line %d -string(%d) "foo" -resource(%d) of type (stream) +HipHop\ Warning\:\ Constants\ may\ only\ evaluate\ to\ scalar\ values\ in\ hphp\/test\/zend\/bad\/zend\/constants\_002\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ foo\ \-\ assumed\ \'foo\'\ in\ hphp\/test\/zend\/bad\/zend\/constants\_002\.php\ on\ line\ \d+\ +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.exp index 66dfd967b..dbaf9eac6 100644 --- a/hphp/test/zend/bad/zend/constants_003.php.exp +++ b/hphp/test/zend/bad/zend/constants_003.php.exp @@ -3,4 +3,4 @@ int(1) int(1) int(2) int(2) -int(1) +int(1) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/constants_004.php.exp b/hphp/test/zend/bad/zend/constants_004.php.exp index 5b419dd8f..690496fa1 100644 --- a/hphp/test/zend/bad/zend/constants_004.php.exp +++ b/hphp/test/zend/bad/zend/constants_004.php.exp @@ -1 +1 @@ -HipHop Notice: Constant foo\foo already defined in hphp/test/zend/bad/constants_004.php on line %d +HipHop\ Notice\:\ Constant\ foo\\foo\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/constants\_004\.php\ on\ line\ \d+ \ 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 index bca0947a8..21cc92f4e 100644 --- a/hphp/test/zend/bad/zend/constants_006.php.exp +++ b/hphp/test/zend/bad/zend/constants_006.php.exp @@ -1,7 +1,9 @@ -string(%d) "%s" -string(%d) "%s" -int(%d) -string(21) "test\foo::__construct" -string(8) "test\foo" -string(11) "__construct" -string(4) "test" +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_008.php.exp b/hphp/test/zend/bad/zend/constants_008.php.exp index 7a21b9f7a..58c09bf96 100644 --- a/hphp/test/zend/bad/zend/constants_008.php.exp +++ b/hphp/test/zend/bad/zend/constants_008.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: Constant a already defined in hphp/test/zend/bad/constants_008.php on line %d -2 +HipHop\ Notice\:\ Constant\ a\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/constants\_008\.php\ on\ line\ \d+\ +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.exp index 54f46c7fe..55fc7fcf5 100644 --- a/hphp/test/zend/bad/zend/constants_009.php.exp +++ b/hphp/test/zend/bad/zend/constants_009.php.exp @@ -1,4 +1,4 @@ int(2) int(1) int(1) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp b/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp index da2213489..138a5aeec 100644 --- a/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp +++ b/hphp/test/zend/bad/zend/debug_backtrace_limit.php.exp @@ -1,111 +1,120 @@ -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 - ( - ) - - ) - -) +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_options.php.exp b/hphp/test/zend/bad/zend/debug_backtrace_options.php.exp index 4f86f549e..d9fad82b7 100644 --- a/hphp/test/zend/bad/zend/debug_backtrace_options.php.exp +++ b/hphp/test/zend/bad/zend/debug_backtrace_options.php.exp @@ -1,351 +1,393 @@ -==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] => :: - ) - -) +\=\=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_print_backtrace_limit.php.exp b/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.exp index b8f6aa39b..f96d4c4b9 100644 --- a/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.exp +++ b/hphp/test/zend/bad/zend/debug_print_backtrace_limit.php.exp @@ -1,9 +1,18 @@ -#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] +\#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/declare_002.php.exp b/hphp/test/zend/bad/zend/declare_002.php.exp index d46bd1735..fcd3ea1cd 100644 --- a/hphp/test/zend/bad/zend/declare_002.php.exp +++ b/hphp/test/zend/bad/zend/declare_002.php.exp @@ -1,4 +1,8 @@ -HipHop Warning: Unsupported encoding [%d] in %sdeclare_002.php on line 3 -HipHop Warning: Unsupported encoding [%f] in %sdeclare_002.php on line 4 -HipHop Warning: Unsupported encoding [] in %sdeclare_002.php on line 5 -HipHop Fatal error: Cannot use constants as encoding in %sdeclare_002.php on line 7 +HipHop\ Warning\:\ Unsupported\ encoding\ \[\d+\]\ in\ [^ +]+declare\_002\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Unsupported\ encoding\ \[[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?\]\ in\ [^ +]+declare\_002\.php\ on\ line\ 4\ +HipHop\ Warning\:\ Unsupported\ encoding\ \[\]\ in\ [^ +]+declare\_002\.php\ on\ line\ 5\ +HipHop\ Fatal\ error\:\ Cannot\ use\ constants\ as\ encoding\ in\ [^ +]+declare\_002\.php\ on\ line\ 7 \ 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 index b7a0fe4ac..c1933f143 100644 --- a/hphp/test/zend/bad/zend/declare_004.php.exp +++ b/hphp/test/zend/bad/zend/declare_004.php.exp @@ -1,4 +1,8 @@ -HipHop Warning: Unsupported encoding [%d] in %sdeclare_004.php on line 3 -HipHop Warning: Unsupported encoding [%f] in %sdeclare_004.php on line 4 -HipHop Warning: Unsupported encoding [] in %sdeclare_004.php on line 5 -HipHop Fatal error: Cannot use constants as encoding in %sdeclare_004.php on line 6 +HipHop\ Warning\:\ Unsupported\ encoding\ \[\d+\]\ in\ [^ +]+declare\_004\.php\ on\ line\ 3\ +HipHop\ Warning\:\ Unsupported\ encoding\ \[[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?\]\ in\ [^ +]+declare\_004\.php\ on\ line\ 4\ +HipHop\ Warning\:\ Unsupported\ encoding\ \[\]\ in\ [^ +]+declare\_004\.php\ on\ line\ 5\ +HipHop\ Fatal\ error\:\ Cannot\ use\ constants\ as\ encoding\ in\ [^ +]+declare\_004\.php\ on\ line\ 6 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_001.php.exp b/hphp/test/zend/bad/zend/dereference_001.php.exp index e264978de..c5d6e1b91 100644 --- a/hphp/test/zend/bad/zend/dereference_001.php.exp +++ b/hphp/test/zend/bad/zend/dereference_001.php.exp @@ -1,6 +1,6 @@ -int(5) -HipHop Notice: Undefined offset: 0 in hphp/test/zend/bad/dereference_001.php on line %d -NULL -int(1) -string(1) "b" -string(3) "bar" +int\(5\)\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_001\.php\ on\ line\ \d+\ +NULL\ +int\(1\)\ +string\(1\)\ \"b\"\ +string\(3\)\ \"bar\" \ 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 index b03002a0c..145a8a5f5 100644 --- a/hphp/test/zend/bad/zend/dereference_002.php.exp +++ b/hphp/test/zend/bad/zend/dereference_002.php.exp @@ -1,39 +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: Undefined offset: 4 in hphp/test/zend/bad/dereference_002.php on line %d -NULL -HipHop Notice: Undefined offset: 3 in hphp/test/zend/bad/dereference_002.php on line %d -HipHop Fatal error: Call to a member function bar() on a non-object in hphp/test/zend/bad/dereference_002.php on line %d +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\:\ Undefined\ offset\:\ 4\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_002\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ offset\:\ 3\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_002\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Call\ to\ a\ member\ function\ bar\(\)\ on\ a\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_004.php.exp b/hphp/test/zend/bad/zend/dereference_004.php.exp deleted file mode 100644 index d873213e8..000000000 --- a/hphp/test/zend/bad/zend/dereference_004.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -object(stdClass)#%d (0) { -} diff --git a/hphp/test/zend/bad/zend/dereference_006.php.exp b/hphp/test/zend/bad/zend/dereference_006.php.exp index fc17119d9..573ddef66 100644 --- a/hphp/test/zend/bad/zend/dereference_006.php.exp +++ b/hphp/test/zend/bad/zend/dereference_006.php.exp @@ -7,4 +7,4 @@ array(2) { int(2) [1]=> int(3) -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_007.php.exp b/hphp/test/zend/bad/zend/dereference_007.php.exp index 525deae43..e9a9c4a76 100644 --- a/hphp/test/zend/bad/zend/dereference_007.php.exp +++ b/hphp/test/zend/bad/zend/dereference_007.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: Undefined variable: x in hphp/test/zend/bad/dereference_007.php on line %d -ok +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_007\.php\ on\ line\ \d+\ +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 index 7bdae7525..9a44628e3 100644 --- a/hphp/test/zend/bad/zend/dereference_010.php.exp +++ b/hphp/test/zend/bad/zend/dereference_010.php.exp @@ -1,3 +1,3 @@ -NULL -NULL -HipHop Fatal error: Cannot use object of type stdClass as array in hphp/test/zend/bad/dereference_010.php on line %d +NULL\ +NULL\ +HipHop\ Fatal\ error\:\ Cannot\ use\ object\ of\ type\ stdClass\ as\ array\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_010\.php\ on\ line\ \d+ \ 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.exp index 2d06394a2..324f09952 100644 --- a/hphp/test/zend/bad/zend/dereference_012.php.exp +++ b/hphp/test/zend/bad/zend/dereference_012.php.exp @@ -17,4 +17,4 @@ array(2) { int(3) [1]=> int(2) -} +} \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_013.php.exp b/hphp/test/zend/bad/zend/dereference_013.php.exp index 96472404b..7b3adb41d 100644 --- a/hphp/test/zend/bad/zend/dereference_013.php.exp +++ b/hphp/test/zend/bad/zend/dereference_013.php.exp @@ -1,7 +1,7 @@ -int(2) -array(1) { - [0]=> - int(1) -} -HipHop Notice: Undefined offset: %d in hphp/test/zend/bad/dereference_013.php on line %d -NULL +int\(2\)\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ int\(1\)\ +\}\ +HipHop\ Notice\:\ Undefined\ offset\:\ \d+\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_013\.php\ on\ line\ \d+\ +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dereference_014.php.exp b/hphp/test/zend/bad/zend/dereference_014.php.exp index 40608c225..960b1b64d 100644 --- a/hphp/test/zend/bad/zend/dereference_014.php.exp +++ b/hphp/test/zend/bad/zend/dereference_014.php.exp @@ -1,4 +1,4 @@ -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/dereference_014.php on line %d -NULL -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/dereference_014.php on line %d -NULL +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_014\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/dereference\_014\.php\ on\ line\ \d+\ +NULL \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/div_002.php.exp b/hphp/test/zend/bad/zend/div_002.php.exp index 067b80e2c..1b0fc214e 100644 --- a/hphp/test/zend/bad/zend/div_002.php.exp +++ b/hphp/test/zend/bad/zend/div_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/div_002.php on line %d +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/div\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/dynamic_call_001.php b/hphp/test/zend/bad/zend/dynamic_call_001.php similarity index 100% rename from hphp/test/zend/good/zend/dynamic_call_001.php rename to hphp/test/zend/bad/zend/dynamic_call_001.php diff --git a/hphp/test/zend/bad/zend/dynamic_call_001.php.exp b/hphp/test/zend/bad/zend/dynamic_call_001.php.exp new file mode 100644 index 000000000..5a66dcc9c --- /dev/null +++ b/hphp/test/zend/bad/zend/dynamic_call_001.php.exp @@ -0,0 +1 @@ +HipHop\ Fatal\ error\:\ Non\-static\ method\ foo\:\:foo\(\)\ cannot\ be\ called\ statically\ in\ hphp\/test\/zend\/bad\/zend\/dynamic\_call\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/dynamic_call_004.php.exp b/hphp/test/zend/bad/zend/dynamic_call_004.php.exp index f39d75a16..022315b9d 100644 --- a/hphp/test/zend/bad/zend/dynamic_call_004.php.exp +++ b/hphp/test/zend/bad/zend/dynamic_call_004.php.exp @@ -1,2 +1,2 @@ -HipHop Notice: Undefined variable: a in hphp/test/zend/bad/dynamic_call_004.php on line %d -HipHop Fatal error: Class name must be a valid object or a string in hphp/test/zend/bad/dynamic_call_004.php on line %d +HipHop\ Notice\:\ Undefined\ variable\:\ a\ in\ hphp\/test\/zend\/bad\/zend\/dynamic\_call\_004\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Class\ name\ must\ be\ a\ valid\ object\ or\ a\ string\ in\ hphp\/test\/zend\/bad\/zend\/dynamic\_call\_004\.php\ on\ line\ \d+ \ 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 index 4e1091d76..c7b90a5dd 100644 --- a/hphp/test/zend/bad/zend/each_002.php.exp +++ b/hphp/test/zend/bad/zend/each_002.php.exp @@ -1,14 +1,14 @@ -bool(false) -bool(false) -array(4) { - [1]=> - object(stdClass)#1 (0) { - } - ["value"]=> - object(stdClass)#1 (0) { - } - [0]=> - int(0) - ["key"]=> - int(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/empty_str_offset.php.exp b/hphp/test/zend/bad/zend/empty_str_offset.php.exp index 4973d51f5..9c06f9090 100644 --- a/hphp/test/zend/bad/zend/empty_str_offset.php.exp +++ b/hphp/test/zend/bad/zend/empty_str_offset.php.exp @@ -1,38 +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 +\-\ 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_002.php.exp b/hphp/test/zend/bad/zend/errmsg_002.php.exp index ccadf1456..4339e5a3d 100644 --- a/hphp/test/zend/bad/zend/errmsg_002.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Abstract function test::foo() cannot be declared private in hphp/test/zend/bad/errmsg_002.php on line %d +HipHop\ Fatal\ error\:\ Abstract\ function\ test\:\:foo\(\)\ cannot\ be\ declared\ private\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_003.php.exp b/hphp/test/zend/bad/zend/errmsg_003.php.exp deleted file mode 100644 index 58f5d32f7..000000000 --- a/hphp/test/zend/bad/zend/errmsg_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Cannot re-assign $this in hphp/test/zend/bad/errmsg_003.php on line %d diff --git a/hphp/test/zend/bad/zend/errmsg_004.php.exp b/hphp/test/zend/bad/zend/errmsg_004.php.exp index 89322c44e..0b05ff8d7 100644 --- a/hphp/test/zend/bad/zend/errmsg_004.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_004.php.exp @@ -1 +1 @@ -HipHop Fatal error: Can't use function return value in write context in hphp/test/zend/bad/errmsg_004.php on line %d +HipHop\ Fatal\ error\:\ Can\'t\ use\ function\ return\ value\ in\ write\ context\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_004\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_005.php.exp b/hphp/test/zend/bad/zend/errmsg_005.php.exp index 8463a3417..43dbfeac1 100644 --- a/hphp/test/zend/bad/zend/errmsg_005.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: Can't use method return value in write context in hphp/test/zend/bad/errmsg_005.php on line %d +HipHop\ Fatal\ error\:\ Can\'t\ use\ method\ return\ value\ in\ write\ context\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_008.php.exp b/hphp/test/zend/bad/zend/errmsg_008.php.exp index 9951e4bce..38f7c009d 100644 --- a/hphp/test/zend/bad/zend/errmsg_008.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_008.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for unsetting in hphp/test/zend/bad/errmsg_008.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \[\]\ for\ unsetting\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_008\.php\ on\ line\ \d+ \ 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 index c5457e8e6..b22785f57 100644 --- a/hphp/test/zend/bad/zend/errmsg_009.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_009.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple access type modifiers are not allowed in hphp/test/zend/bad/errmsg_009.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ access\ type\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_009\.php\ on\ line\ \d+ \ 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 index 5133e10ce..b2dec48a0 100644 --- a/hphp/test/zend/bad/zend/errmsg_010.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_010.php.exp @@ -1 +1 @@ -HipHop Fatal error: Multiple access type modifiers are not allowed in hphp/test/zend/bad/errmsg_010.php on line %d +HipHop\ Fatal\ error\:\ Multiple\ access\ type\ modifiers\ are\ not\ allowed\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_010\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_011.php.exp b/hphp/test/zend/bad/zend/errmsg_011.php.exp index bf98a6b9c..e038a13aa 100644 --- a/hphp/test/zend/bad/zend/errmsg_011.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_011.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot redeclare test::foo() in hphp/test/zend/bad/errmsg_011.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ test\:\:foo\(\)\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_011\.php\ on\ line\ \d+ \ 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 index b77321b36..26a9f4f5b 100644 --- a/hphp/test/zend/bad/zend/errmsg_012.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_012.php.exp @@ -1 +1 @@ -HipHop Fatal error: __autoload() must take exactly 1 argument in hphp/test/zend/bad/errmsg_012.php on line %d +HipHop\ Fatal\ error\:\ \_\_autoload\(\)\ must\ take\ exactly\ 1\ argument\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_012\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_013.php.exp b/hphp/test/zend/bad/zend/errmsg_013.php.exp index 9b5bcaeed..a841c3e92 100644 --- a/hphp/test/zend/bad/zend/errmsg_013.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_013.php.exp @@ -1 +1 @@ -HipHop Fatal error: Default value for parameters with array type hint can only be an array or NULL in hphp/test/zend/bad/errmsg_013.php on line %d +HipHop\ Fatal\ error\:\ Default\ value\ for\ parameters\ with\ array\ type\ hint\ can\ only\ be\ an\ array\ or\ NULL\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_013\.php\ on\ line\ \d+ \ 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 index c3c2885c0..320b4a2ca 100644 --- a/hphp/test/zend/bad/zend/errmsg_014.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_014.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot call __clone() method on objects - use 'clone $obj' instead in hphp/test/zend/bad/errmsg_014.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ call\ \_\_clone\(\)\ method\ on\ objects\ \-\ use\ \'clone\ \$obj\'\ instead\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_014\.php\ on\ line\ \d+ \ 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 index 5aa2f59ac..a210e9ae5 100644 --- a/hphp/test/zend/bad/zend/errmsg_015.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_015.php.exp @@ -1 +1 @@ -HipHop Fatal error: Method test::__clone() cannot accept any arguments in hphp/test/zend/bad/errmsg_015.php on line %d +HipHop\ Fatal\ error\:\ Method\ test\:\:\_\_clone\(\)\ cannot\ accept\ any\ arguments\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_015\.php\ on\ line\ \d+ \ 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 index 672c2819d..68555479d 100644 --- a/hphp/test/zend/bad/zend/errmsg_018.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_018.php.exp @@ -1,2 +1,2 @@ -Strict Standards: Static function test::foo() should not be abstract in hphp/test/zend/bad/errmsg_018.php on line %d -HipHop Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (test::foo) in hphp/test/zend/bad/errmsg_018.php on line %d +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\:\ Class\ test\ contains\ 1\ abstract\ method\ and\ must\ therefore\ be\ declared\ abstract\ or\ implement\ the\ remaining\ methods\ \(test\:\:foo\)\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_018\.php\ on\ line\ \d+ \ 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 index 0683ce3c7..8fdddd2d1 100644 --- a/hphp/test/zend/bad/zend/errmsg_019.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_019.php.exp @@ -1 +1 @@ -HipHop Fatal error: Destructor test::__destruct() cannot take arguments in hphp/test/zend/bad/errmsg_019.php on line %d +HipHop\ Fatal\ error\:\ Destructor\ test\:\:\_\_destruct\(\)\ cannot\ take\ arguments\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_019\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_022.php.exp b/hphp/test/zend/bad/zend/errmsg_022.php.exp index 8f3debfe4..07a6f19b1 100644 --- a/hphp/test/zend/bad/zend/errmsg_022.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_022.php.exp @@ -1 +1 @@ -HipHop Fatal error: Only variables can be passed by reference in hphp/test/zend/bad/errmsg_022.php on line %d +HipHop\ Fatal\ error\:\ Only\ variables\ can\ be\ passed\ by\ reference\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_022\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_023.php.exp b/hphp/test/zend/bad/zend/errmsg_023.php.exp index fb031fa6b..a931acfda 100644 --- a/hphp/test/zend/bad/zend/errmsg_023.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_023.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access level to test::$var must be protected (as in class test1) or weaker in hphp/test/zend/bad/errmsg_023.php on line %d +HipHop\ Fatal\ error\:\ Access\ level\ to\ test\:\:\$var\ must\ be\ protected\ \(as\ in\ class\ test1\)\ or\ weaker\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_023\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_025.php.exp b/hphp/test/zend/bad/zend/errmsg_025.php.exp index 52b00066c..3023a1e4a 100644 --- a/hphp/test/zend/bad/zend/errmsg_025.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_025.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot inherit previously-inherited or override constant FOO from interface test2 in hphp/test/zend/bad/errmsg_025.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ inherit\ previously\-inherited\ or\ override\ constant\ FOO\ from\ interface\ test2\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_025\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_026.php.exp b/hphp/test/zend/bad/zend/errmsg_026.php.exp index aaa579337..ceb291d93 100644 --- a/hphp/test/zend/bad/zend/errmsg_026.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_026.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot redeclare class stdclass in hphp/test/zend/bad/errmsg_026.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ class\ stdclass\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_026\.php\ on\ line\ \d+ \ 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 index 33a30306b..897c5776d 100644 --- a/hphp/test/zend/bad/zend/errmsg_027.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_027.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class declarations may not be nested in hphp/test/zend/bad/errmsg_027.php on line %d +HipHop\ Fatal\ error\:\ Class\ declarations\ may\ not\ be\ nested\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_027\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_030.php.exp b/hphp/test/zend/bad/zend/errmsg_030.php.exp index b0a593346..5b65d4af6 100644 --- a/hphp/test/zend/bad/zend/errmsg_030.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_030.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'self' as class name as it is reserved in hphp/test/zend/bad/errmsg_030.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \'self\'\ as\ class\ name\ as\ it\ is\ reserved\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_030\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_031.php.exp b/hphp/test/zend/bad/zend/errmsg_031.php.exp index bc2b647da..d8edf5e5a 100644 --- a/hphp/test/zend/bad/zend/errmsg_031.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_031.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'parent' as class name as it is reserved in hphp/test/zend/bad/errmsg_031.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \'parent\'\ as\ class\ name\ as\ it\ is\ reserved\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_031\.php\ on\ line\ \d+ \ 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 index 550e44420..cad3cb0ec 100644 --- a/hphp/test/zend/bad/zend/errmsg_033.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_033.php.exp @@ -1 +1 @@ -HipHop Fatal error: Destructor test::__destruct() cannot be static in hphp/test/zend/bad/errmsg_033.php on line %d +HipHop\ Fatal\ error\:\ Destructor\ test\:\:\_\_destruct\(\)\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_033\.php\ on\ line\ \d+ \ 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 index cf8d4b2b8..f69f5ebab 100644 --- a/hphp/test/zend/bad/zend/errmsg_034.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_034.php.exp @@ -1 +1 @@ -HipHop Fatal error: Clone method test::__clone() cannot be static in hphp/test/zend/bad/errmsg_034.php on line %d +HipHop\ Fatal\ error\:\ Clone\ method\ test\:\:\_\_clone\(\)\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_034\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_035.php.exp b/hphp/test/zend/bad/zend/errmsg_035.php.exp index c284edd91..b5f14af01 100644 --- a/hphp/test/zend/bad/zend/errmsg_035.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_035.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'self' as interface name as it is reserved in hphp/test/zend/bad/errmsg_035.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \'self\'\ as\ interface\ name\ as\ it\ is\ reserved\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_035\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_036.php.exp b/hphp/test/zend/bad/zend/errmsg_036.php.exp index 95ee541a0..09ba34b2b 100644 --- a/hphp/test/zend/bad/zend/errmsg_036.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_036.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'parent' as interface name as it is reserved in hphp/test/zend/bad/errmsg_036.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ \'parent\'\ as\ interface\ name\ as\ it\ is\ reserved\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_036\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_038.php.exp b/hphp/test/zend/bad/zend/errmsg_038.php.exp index 12196991b..e31524d59 100644 --- a/hphp/test/zend/bad/zend/errmsg_038.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_038.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot declare property test::$var final, the final modifier is allowed only for methods and classes in hphp/test/zend/bad/errmsg_038.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ declare\ property\ test\:\:\$var\ final\,\ the\ final\ modifier\ is\ allowed\ only\ for\ methods\ and\ classes\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_038\.php\ on\ line\ \d+ \ 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 index 7ecbb0eb2..92ba6385b 100644 --- a/hphp/test/zend/bad/zend/errmsg_041.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_041.php.exp @@ -1 +1 @@ -HipHop Fatal error: instanceof expects an object instance, constant given in hphp/test/zend/bad/errmsg_041.php on line %d +HipHop\ Fatal\ error\:\ instanceof\ expects\ an\ object\ instance\,\ constant\ given\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_041\.php\ on\ line\ \d+ \ 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 index 435362e2f..714e4fa1a 100644 --- a/hphp/test/zend/bad/zend/errmsg_043.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_043.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot create references to elements of a temporary array expression in hphp/test/zend/bad/errmsg_043.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ create\ references\ to\ elements\ of\ a\ temporary\ array\ expression\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_043\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/errmsg_044.php.exp b/hphp/test/zend/bad/zend/errmsg_044.php.exp index 1a1e08e57..cab1d3657 100644 --- a/hphp/test/zend/bad/zend/errmsg_044.php.exp +++ b/hphp/test/zend/bad/zend/errmsg_044.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use object of type stdClass as array in hphp/test/zend/bad/errmsg_044.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ object\ of\ type\ stdClass\ as\ array\ in\ hphp\/test\/zend\/bad\/zend\/errmsg\_044\.php\ on\ line\ \d+ \ 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.exp index e290e7be8..0a89c19be 100644 --- a/hphp/test/zend/bad/zend/error_reporting01.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting01.php.exp @@ -1,2 +1,2 @@ int(32767) -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting02.php.exp b/hphp/test/zend/bad/zend/error_reporting02.php.exp index e290e7be8..0a89c19be 100644 --- a/hphp/test/zend/bad/zend/error_reporting02.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting02.php.exp @@ -1,2 +1,2 @@ int(32767) -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting03.php.exp b/hphp/test/zend/bad/zend/error_reporting03.php.exp index 90c6227e3..7ae3ad740 100644 --- a/hphp/test/zend/bad/zend/error_reporting03.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting03.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Undefined variable: undef2 in hphp/test/zend/bad/error_reporting03.php on line %d -int(32767) -Done +HipHop\ Notice\:\ Undefined\ variable\:\ undef2\ in\ hphp\/test\/zend\/bad\/zend\/error\_reporting03\.php\ on\ line\ \d+\ +int\(32767\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting04.php.exp b/hphp/test/zend/bad/zend/error_reporting04.php.exp deleted file mode 100644 index 39d67cfb0..000000000 --- a/hphp/test/zend/bad/zend/error_reporting04.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: Undefined variable: undef in hphp/test/zend/bad/error_reporting04.php on line %d -int(32767) -Done diff --git a/hphp/test/zend/bad/zend/error_reporting05.php.exp b/hphp/test/zend/bad/zend/error_reporting05.php.exp index 81755a5f0..543f0b277 100644 --- a/hphp/test/zend/bad/zend/error_reporting05.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting05.php.exp @@ -1,4 +1,4 @@ -HipHop Notice: Undefined variable: undef_value in hphp/test/zend/bad/error_reporting05.php on line %d -HipHop Notice: Undefined variable: undef_name in hphp/test/zend/bad/error_reporting05.php on line %d -int(32767) -Done +HipHop\ Notice\:\ Undefined\ variable\:\ undef\_value\ in\ hphp\/test\/zend\/bad\/zend\/error\_reporting05\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ undef\_name\ in\ hphp\/test\/zend\/bad\/zend\/error\_reporting05\.php\ on\ line\ \d+\ +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 index e290e7be8..737cf2a93 100644 --- a/hphp/test/zend/bad/zend/error_reporting06.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting06.php.exp @@ -1,2 +1,2 @@ -int(32767) -Done +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 index e290e7be8..737cf2a93 100644 --- a/hphp/test/zend/bad/zend/error_reporting07.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting07.php.exp @@ -1,2 +1,2 @@ -int(32767) -Done +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 index 4d15dbda4..ff2285a64 100644 --- a/hphp/test/zend/bad/zend/error_reporting08.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting08.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Undefined variable: undef3 in hphp/test/zend/bad/error_reporting08.php on line %d -int(32767) -Done +HipHop\ Notice\:\ Undefined\ variable\:\ undef3\ in\ hphp\/test\/zend\/bad\/zend\/error\_reporting08\.php\ on\ line\ \d+\ +int\(32767\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/error_reporting09.php.exp b/hphp/test/zend/bad/zend/error_reporting09.php.exp deleted file mode 100644 index dd379c05f..000000000 --- a/hphp/test/zend/bad/zend/error_reporting09.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -HipHop Notice: Undefined variable: blah in hphp/test/zend/bad/error_reporting09.php on line %d -HipHop Notice: Undefined variable: undef2 in hphp/test/zend/bad/error_reporting09.php on line %d -int(32767) -Done diff --git a/hphp/test/zend/bad/zend/error_reporting10.php.exp b/hphp/test/zend/bad/zend/error_reporting10.php.exp index caf479c4b..481a1bd61 100644 --- a/hphp/test/zend/bad/zend/error_reporting10.php.exp +++ b/hphp/test/zend/bad/zend/error_reporting10.php.exp @@ -1,3 +1,3 @@ -int(32767) -int(32759) -Done +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 index ad03d4549..0ceeb0c82 100644 --- a/hphp/test/zend/bad/zend/exception_001.php.exp +++ b/hphp/test/zend/bad/zend/exception_001.php.exp @@ -1,8 +1,9 @@ -string(0) "" -string(0) "" -string(0) "" -string(0) "" -HipHop Fatal error: Uncaught exception 'Exception' in %s:%d -Stack trace: -#0 {main} - thrown in hphp/test/zend/bad/exception_001.php on line %d +string\(0\)\ \"\"\ +string\(0\)\ \"\"\ +string\(0\)\ \"\"\ +string\(0\)\ \"\"\ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ in\ [^ +]+\:\d+\ +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/good/zend/exception_003.php b/hphp/test/zend/bad/zend/exception_003.php similarity index 100% rename from hphp/test/zend/good/zend/exception_003.php rename to hphp/test/zend/bad/zend/exception_003.php diff --git a/hphp/test/zend/bad/zend/exception_003.php.exp b/hphp/test/zend/bad/zend/exception_003.php.exp new file mode 100644 index 000000000..a427f53ee --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_003.php.exp @@ -0,0 +1,5 @@ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'1\'\ in\ [^ +]+\:\d+\ +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_004.php.exp b/hphp/test/zend/bad/zend/exception_004.php.exp deleted file mode 100644 index e3fa5dd98..000000000 --- a/hphp/test/zend/bad/zend/exception_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Exceptions must be valid objects derived from the Exception base class in hphp/test/zend/bad/exception_004.php on line %d diff --git a/hphp/test/zend/bad/zend/exception_006.php.exp b/hphp/test/zend/bad/zend/exception_006.php.exp index c055b2339..ec32572f0 100644 --- a/hphp/test/zend/bad/zend/exception_006.php.exp +++ b/hphp/test/zend/bad/zend/exception_006.php.exp @@ -1 +1 @@ -HipHop Fatal error: Can only throw objects in hphp/test/zend/bad/exception_006.php on line %d +HipHop\ Fatal\ error\:\ Can\ only\ throw\ objects\ in\ hphp\/test\/zend\/bad\/zend\/exception\_006\.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 index d49ad68ff..20266c669 100644 --- a/hphp/test/zend/bad/zend/exception_007.php.exp +++ b/hphp/test/zend/bad/zend/exception_007.php.exp @@ -1,16 +1,21 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message 'Another' in %sexception_007.php:%d -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 +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'Another\'\ in\ [^ +]+exception\_007\.php\:\d+\ +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_008.php.exp b/hphp/test/zend/bad/zend/exception_008.php.exp index 78e5a5cff..6bdbf0bb1 100644 --- a/hphp/test/zend/bad/zend/exception_008.php.exp +++ b/hphp/test/zend/bad/zend/exception_008.php.exp @@ -1,10 +1,15 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message 'First' in %sexception_008.php:%d -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 +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ with\ message\ \'First\'\ in\ [^ +]+exception\_008\.php\:\d+\ +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_009.php.exp b/hphp/test/zend/bad/zend/exception_009.php.exp index 4ebbd07e9..c7b0f4509 100644 --- a/hphp/test/zend/bad/zend/exception_009.php.exp +++ b/hphp/test/zend/bad/zend/exception_009.php.exp @@ -1 +1 @@ -Catchable fatal error: Object of class stdClass could not be converted to string in Unknown on line 0 +Catchable fatal error: Object of class stdClass could not be converted to string in Unknown on line 0 \ No newline at end of file diff --git a/hphp/test/zend/good/zend/exception_010.php b/hphp/test/zend/bad/zend/exception_010.php similarity index 100% rename from hphp/test/zend/good/zend/exception_010.php rename to hphp/test/zend/bad/zend/exception_010.php diff --git a/hphp/test/zend/bad/zend/exception_010.php.exp b/hphp/test/zend/bad/zend/exception_010.php.exp new file mode 100644 index 000000000..12b95f6da --- /dev/null +++ b/hphp/test/zend/bad/zend/exception_010.php.exp @@ -0,0 +1,7 @@ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:getTraceAsString\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:\_\_toString\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:getTrace\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:getLine\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:getFile\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:getMessage\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ Exception\:\:getCode\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_010\.php\ on\ line\ \d+ \ 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 index 59f7cca5b..90b8fba6f 100644 --- a/hphp/test/zend/bad/zend/exception_handler_001.php.exp +++ b/hphp/test/zend/bad/zend/exception_handler_001.php.exp @@ -1 +1 @@ -string(12) "test thrown!" +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 index 9d3f5e59c..4838f24a7 100644 --- a/hphp/test/zend/bad/zend/exception_handler_002.php.exp +++ b/hphp/test/zend/bad/zend/exception_handler_002.php.exp @@ -1,6 +1,8 @@ -string(12) "test thrown!" -HipHop Fatal error: Uncaught exception 'Exception' in %sexception_handler_002.php:7 -Stack trace: -#0 [internal function]: foo(Object(test)) -#1 {main} - thrown in %sexception_handler_002.php on line %d +string\(12\)\ \"test\ thrown\!\"\ +HipHop\ Fatal\ error\:\ Uncaught\ exception\ \'Exception\'\ in\ [^ +]+exception\_handler\_002\.php\:7\ +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_003.php.exp b/hphp/test/zend/bad/zend/exception_handler_003.php.exp index 2f6f7b9c2..f75955bb0 100644 --- a/hphp/test/zend/bad/zend/exception_handler_003.php.exp +++ b/hphp/test/zend/bad/zend/exception_handler_003.php.exp @@ -1 +1 @@ -string(17) "Exception thrown!" +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 index 8f3d7ba90..f17ca5f71 100644 --- a/hphp/test/zend/bad/zend/exception_handler_004.php.exp +++ b/hphp/test/zend/bad/zend/exception_handler_004.php.exp @@ -1,5 +1,5 @@ -HipHop Warning: set_exception_handler() expects the argument (fo) to be a valid callback in hphp/test/zend/bad/exception_handler_004.php on line %d -HipHop Warning: set_exception_handler() expects the argument (::) to be a valid callback in hphp/test/zend/bad/exception_handler_004.php on line %d -HipHop Warning: Missing argument 1 for set_exception_handler() in hphp/test/zend/bad/exception_handler_004.php on line %d -HipHop Warning: set_exception_handler() expects exactly 1 parameter, 2 given in hphp/test/zend/bad/exception_handler_004.php on line %d -Done +HipHop\ Warning\:\ set\_exception\_handler\(\)\ expects\ the\ argument\ \(fo\)\ to\ be\ a\ valid\ callback\ in\ hphp\/test\/zend\/bad\/zend\/exception\_handler\_004\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ set\_exception\_handler\(\)\ expects\ the\ argument\ \(\:\:\)\ to\ be\ a\ valid\ callback\ in\ hphp\/test\/zend\/bad\/zend\/exception\_handler\_004\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ set\_exception\_handler\(\)\ in\ hphp\/test\/zend\/bad\/zend\/exception\_handler\_004\.php\ on\ line\ \d+\ +HipHop\ Warning\:\ set\_exception\_handler\(\)\ expects\ exactly\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/zend\/exception\_handler\_004\.php\ on\ line\ \d+\ +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 index f9ed3def8..944c3052e 100644 --- a/hphp/test/zend/bad/zend/exception_handler_005.php.exp +++ b/hphp/test/zend/bad/zend/exception_handler_005.php.exp @@ -1 +1 @@ -string(25) "foo1(): Exception thrown!" +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 index 13c70cac9..db3d1c9e1 100644 --- a/hphp/test/zend/bad/zend/exception_handler_006.php.exp +++ b/hphp/test/zend/bad/zend/exception_handler_006.php.exp @@ -1 +1 @@ -string(24) "foo(): Exception thrown!" +string\(24\)\ \"foo\(\)\:\ Exception\ thrown\!\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/foreach_undefined.php.exp b/hphp/test/zend/bad/zend/foreach_undefined.php.exp deleted file mode 100644 index 815b9cbdd..000000000 --- a/hphp/test/zend/bad/zend/foreach_undefined.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Notice: Undefined variable: a in hphp/test/zend/bad/foreach_undefined.php on line %d -HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/bad/foreach_undefined.php on line %d -Done diff --git a/hphp/test/zend/bad/zend/fr47160.php.exp b/hphp/test/zend/bad/zend/fr47160.php.exp index 44cc65782..00d378e9d 100644 --- a/hphp/test/zend/bad/zend/fr47160.php.exp +++ b/hphp/test/zend/bad/zend/fr47160.php.exp @@ -1,47 +1,47 @@ -Strict Standards: Non-static method Hello::world() should not be called statically in hphp/test/zend/bad/fr47160.php on line %d -Hello, you -HipHop Notice: Undefined variable: this in hphp/test/zend/bad/fr47160.php on line %d -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/fr47160.php on line %d -Hello, you -HipHop Notice: Undefined variable: this in hphp/test/zend/bad/fr47160.php on line %d -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 +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\:\ Undefined\ variable\:\ this\ in\ hphp\/test\/zend\/bad\/zend\/fr47160\.php\ on\ line\ \d+\ +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\:\ Undefined\ variable\:\ this\ in\ hphp\/test\/zend\/bad\/zend\/fr47160\.php\ on\ line\ \d+\ +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 index ac815a7da..f1f32109a 100644 --- a/hphp/test/zend/bad/zend/function_arguments_001.php.exp +++ b/hphp/test/zend/bad/zend/function_arguments_001.php.exp @@ -1,2 +1,5 @@ -Parse error: %s error, %s)%s in %sfunction_arguments_001.php on line %d - +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_002.php.exp b/hphp/test/zend/bad/zend/function_arguments_002.php.exp index f86c73a88..f4dd46761 100644 --- a/hphp/test/zend/bad/zend/function_arguments_002.php.exp +++ b/hphp/test/zend/bad/zend/function_arguments_002.php.exp @@ -1,2 +1,5 @@ -Parse error: %s error, %s)%s in %sfunction_arguments_002.php on line %d - +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_exists_error.php.exp b/hphp/test/zend/bad/zend/function_exists_error.php.exp index 5d52afa62..19ed0c5cd 100644 --- a/hphp/test/zend/bad/zend/function_exists_error.php.exp +++ b/hphp/test/zend/bad/zend/function_exists_error.php.exp @@ -1,11 +1,10 @@ -*** Testing function_exists() : error conditions *** - -Too many arguments -HipHop Warning: function_exists() expects exactly 1 parameter, 2 given in hphp/test/zend/bad/function_exists_error.php on line %d -NULL - -Too few arguments -HipHop Warning: Missing argument 1 for function_exists() in hphp/test/zend/bad/function_exists_error.php on line %d -NULL -===Done=== - +\*\*\*\ Testing\ function\_exists\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +Too\ many\ arguments\ +HipHop\ Warning\:\ function\_exists\(\)\ expects\ exactly\ 1\ parameter\,\ 2\ given\ in\ hphp\/test\/zend\/bad\/zend\/function\_exists\_error\.php\ on\ line\ \d+\ +NULL\ +\ +Too\ few\ arguments\ +HipHop\ Warning\:\ Missing\ argument\ 1\ for\ function\_exists\(\)\ in\ hphp\/test\/zend\/bad\/zend\/function\_exists\_error\.php\ on\ line\ \d+\ +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 index c80fe531e..612ed39b5 100644 --- a/hphp/test/zend/bad/zend/function_exists_variation1.php.exp +++ b/hphp/test/zend/bad/zend/function_exists_variation1.php.exp @@ -1,51 +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: function_exists() expects parameter 1 to be string, array given in hphp/test/zend/bad/function_exists_variation1.php on line %d -NULL --- Iteration 11 -- -HipHop Warning: function_exists() expects parameter 1 to be string, array given in hphp/test/zend/bad/function_exists_variation1.php on line %d -NULL --- Iteration 12 -- -HipHop Warning: function_exists() expects parameter 1 to be string, array given in hphp/test/zend/bad/function_exists_variation1.php on line %d -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: function_exists() expects parameter 1 to be string, resource given in hphp/test/zend/bad/function_exists_variation1.php on line %d -NULL --- Iteration 21 -- -bool(false) --- Iteration 22 -- -bool(false) -===Done=== - \ No newline at end of file +\*\*\*\ 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\:\ function\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/function\_exists\_variation1\.php\ on\ line\ \d+\ +NULL\ +\-\-\ Iteration\ 11\ \-\-\ +HipHop\ Warning\:\ function\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/function\_exists\_variation1\.php\ on\ line\ \d+\ +NULL\ +\-\-\ Iteration\ 12\ \-\-\ +HipHop\ Warning\:\ function\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ array\ given\ in\ hphp\/test\/zend\/bad\/zend\/function\_exists\_variation1\.php\ on\ line\ \d+\ +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\:\ function\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ resource\ given\ in\ hphp\/test\/zend\/bad\/zend\/function\_exists\_variation1\.php\ on\ line\ \d+\ +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.exp index 5d42d704e..9afc88e48 100644 --- a/hphp/test/zend/bad/zend/gc_001.php.exp +++ b/hphp/test/zend/bad/zend/gc_001.php.exp @@ -1,2 +1,2 @@ bool(false) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/gc_002.php.exp b/hphp/test/zend/bad/zend/gc_002.php.exp index 279ad87f7..bf457ec2a 100644 --- a/hphp/test/zend/bad/zend/gc_002.php.exp +++ b/hphp/test/zend/bad/zend/gc_002.php.exp @@ -1,4 +1,4 @@ bool(false) 0 bool(true) -1 +1 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/gc_003.php.exp b/hphp/test/zend/bad/zend/gc_003.php.exp index 279ad87f7..bf457ec2a 100644 --- a/hphp/test/zend/bad/zend/gc_003.php.exp +++ b/hphp/test/zend/bad/zend/gc_003.php.exp @@ -1,4 +1,4 @@ bool(false) 0 bool(true) -1 +1 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/gc_032.php.exp b/hphp/test/zend/bad/zend/gc_032.php.exp index 217814387..550bcb560 100644 --- a/hphp/test/zend/bad/zend/gc_032.php.exp +++ b/hphp/test/zend/bad/zend/gc_032.php.exp @@ -23,4 +23,4 @@ array(1) refcount(1){ } } } -} +} \ No newline at end of file diff --git a/hphp/test/zend/good/zend/get_called_class_001.php b/hphp/test/zend/bad/zend/get_called_class_001.php similarity index 100% rename from hphp/test/zend/good/zend/get_called_class_001.php rename to hphp/test/zend/bad/zend/get_called_class_001.php 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 new file mode 100644 index 000000000..93f21910c --- /dev/null +++ b/hphp/test/zend/bad/zend/get_called_class_001.php.exp @@ -0,0 +1,2 @@ +HipHop\ Warning\:\ get\_called\_class\(\)\ called\ from\ outside\ a\ class\ in\ hphp\/test\/zend\/bad\/zend\/get\_called\_class\_001\.php\ on\ line\ \d+\ +bool\(false\) \ No newline at end of file diff --git a/hphp/test/zend/good/zend/get_class_methods_002.php b/hphp/test/zend/bad/zend/get_class_methods_002.php similarity index 100% rename from hphp/test/zend/good/zend/get_class_methods_002.php rename to hphp/test/zend/bad/zend/get_class_methods_002.php 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 new file mode 100644 index 000000000..abd88d876 --- /dev/null +++ b/hphp/test/zend/bad/zend/get_class_methods_002.php.exp @@ -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_002.php.exp b/hphp/test/zend/bad/zend/get_class_vars_002.php.exp deleted file mode 100644 index 862559eaf..000000000 --- a/hphp/test/zend/bad/zend/get_class_vars_002.php.exp +++ /dev/null @@ -1,17 +0,0 @@ -array(1) { - ["a"]=> - int(1) -} -array(3) { - ["a"]=> - int(1) - ["aa"]=> - int(4) - ["cc"]=> - int(6) -} -HipHop Notice: Undefined property: C::$b in hphp/test/zend/bad/get_class_vars_002.php on line %d -HipHop Notice: Undefined property: C::$c in hphp/test/zend/bad/get_class_vars_002.php on line %d -int(1) -NULL -NULL 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.exp index 832d7a3e7..ad409537e 100644 --- a/hphp/test/zend/bad/zend/get_class_vars_003.php.exp +++ b/hphp/test/zend/bad/zend/get_class_vars_003.php.exp @@ -11,4 +11,4 @@ array(6) { int(5) ["cc"]=> int(6) -} +} \ No newline at end of file diff --git a/hphp/test/zend/good/zend/get_class_vars_005.php b/hphp/test/zend/bad/zend/get_class_vars_005.php similarity index 100% rename from hphp/test/zend/good/zend/get_class_vars_005.php rename to hphp/test/zend/bad/zend/get_class_vars_005.php diff --git a/hphp/test/zend/good/zend/get_class_vars_005.php.exp b/hphp/test/zend/bad/zend/get_class_vars_005.php.exp similarity index 98% rename from hphp/test/zend/good/zend/get_class_vars_005.php.exp rename to hphp/test/zend/bad/zend/get_class_vars_005.php.exp index f8c232250..4e460b9f9 100644 --- a/hphp/test/zend/good/zend/get_class_vars_005.php.exp +++ b/hphp/test/zend/bad/zend/get_class_vars_005.php.exp @@ -7,8 +7,8 @@ array(1) { int(1) } array(2) { - ["a"]=> - int(1) ["c"]=> int(3) -} + ["a"]=> + int(1) +} \ No newline at end of file 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.exp index f24259a47..7cbe11866 100644 --- a/hphp/test/zend/bad/zend/get_defined_functions_basic.php.exp +++ b/hphp/test/zend/bad/zend/get_defined_functions_basic.php.exp @@ -1,3 +1,3 @@ *** Testing get_defined_functions() : basic functionality *** TEST PASSED -===Done=== +===Done=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/get_defined_functions_error.php.exp b/hphp/test/zend/bad/zend/get_defined_functions_error.php.exp index ced785ea1..4555ffdbe 100644 --- a/hphp/test/zend/bad/zend/get_defined_functions_error.php.exp +++ b/hphp/test/zend/bad/zend/get_defined_functions_error.php.exp @@ -1,7 +1,7 @@ -*** Testing get_defined_functions() : error conditions *** - --- Testing get_defined_functions() function with more than expected no. of arguments -- -HipHop Warning: Missing argument 0 for get_defined_functions() in hphp/test/zend/bad/get_defined_functions_error.php on line %d -NULL - -===Done=== +\*\*\*\ Testing\ get\_defined\_functions\(\)\ \:\ error\ conditions\ \*\*\*\ +\ +\-\-\ Testing\ get\_defined\_functions\(\)\ function\ with\ more\ than\ expected\ no\.\ of\ arguments\ \-\-\ +HipHop\ Warning\:\ Missing\ argument\ 0\ for\ get\_defined\_functions\(\)\ in\ hphp\/test\/zend\/bad\/zend\/get\_defined\_functions\_error\.php\ on\ line\ \d+\ +NULL\ +\ \ +\=\=\=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 index bdbb2e9b4..0a19a6ff7 100644 --- a/hphp/test/zend/bad/zend/get_required_files.php.exp +++ b/hphp/test/zend/bad/zend/get_required_files.php.exp @@ -1,4 +1,5 @@ -array(1) { - [0]=> - %string|unicode%(%d)%s -} +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ string\(\d+\)[^ +]+\ +\} \ 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.exp index edea4f0aa..485f4f690 100644 --- a/hphp/test/zend/bad/zend/halt01.php.exp +++ b/hphp/test/zend/bad/zend/halt01.php.exp @@ -1 +1 @@ -yo! +yo! \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/halt02.php.exp b/hphp/test/zend/bad/zend/halt02.php.exp index 9b5557349..712ad7d9c 100644 --- a/hphp/test/zend/bad/zend/halt02.php.exp +++ b/hphp/test/zend/bad/zend/halt02.php.exp @@ -1 +1 @@ -Overlay information... +Overlay information... \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/halt03.php.exp b/hphp/test/zend/bad/zend/halt03.php.exp index 4e9a82cd8..e897e5021 100644 --- a/hphp/test/zend/bad/zend/halt03.php.exp +++ b/hphp/test/zend/bad/zend/halt03.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %shalt03.php on line %d +HipHop\ Fatal\ error\:\ \_\_HALT\_COMPILER\(\)\ can\ only\ be\ used\ from\ the\ outermost\ scope\ in\ [^ +]+halt03\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/good/zend/halt_compiler3.php b/hphp/test/zend/bad/zend/halt_compiler3.php similarity index 100% rename from hphp/test/zend/good/zend/halt_compiler3.php rename to hphp/test/zend/bad/zend/halt_compiler3.php diff --git a/hphp/test/zend/bad/zend/halt_compiler3.php.exp b/hphp/test/zend/bad/zend/halt_compiler3.php.exp new file mode 100644 index 000000000..2a79411a6 --- /dev/null +++ b/hphp/test/zend/bad/zend/halt_compiler3.php.exp @@ -0,0 +1,2 @@ +HipHop\ Notice\:\ Constant\ \_\_COMPILER\_HALT\_OFFSET\_\_\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/halt\_compiler3\.php\ on\ line\ \d+\ +\=\=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 index 085041b03..52d7e7f58 100644 --- a/hphp/test/zend/bad/zend/halt_compiler4.php.exp +++ b/hphp/test/zend/bad/zend/halt_compiler4.php.exp @@ -1 +1 @@ -HipHop Notice: Constant __COMPILER_HALT_OFFSET__ already defined in hphp/test/zend/bad/halt_compiler4.php on line %d \ No newline at end of file +HipHop\ Notice\:\ Constant\ \_\_COMPILER\_HALT\_OFFSET\_\_\ already\ defined\ in\ hphp\/test\/zend\/bad\/zend\/halt\_compiler4\.php\ on\ line\ \d+ \ 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.exp index c34f34a03..d306e7634 100644 --- a/hphp/test/zend/bad/zend/heredoc_001.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_001.php.exp @@ -1,2 +1,2 @@ This is a heredoc test. -This is another heredoc test. +This is another heredoc test. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_002.php.exp b/hphp/test/zend/bad/zend/heredoc_002.php.exp index c34f34a03..d306e7634 100644 --- a/hphp/test/zend/bad/zend/heredoc_002.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_002.php.exp @@ -1,2 +1,2 @@ This is a heredoc test. -This is another heredoc test. +This is another heredoc test. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_003.php.exp b/hphp/test/zend/bad/zend/heredoc_003.php.exp index a06bc9963..0a2e405e9 100644 --- a/hphp/test/zend/bad/zend/heredoc_003.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_003.php.exp @@ -1,2 +1,2 @@ This is heredoc test #1. -This is heredoc test #2. +This is heredoc test #2. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_004.php.exp b/hphp/test/zend/bad/zend/heredoc_004.php.exp index a06bc9963..0a2e405e9 100644 --- a/hphp/test/zend/bad/zend/heredoc_004.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_004.php.exp @@ -1,2 +1,2 @@ This is heredoc test #1. -This is heredoc test #2. +This is heredoc test #2. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_005.php.exp b/hphp/test/zend/bad/zend/heredoc_005.php.exp index 89405df97..4b7046a0e 100644 --- a/hphp/test/zend/bad/zend/heredoc_005.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_005.php.exp @@ -1 +1,3 @@ -Parse error: %s in %sheredoc_005.php on line 6 +Parse\ error\:\ [^ +]+\ in\ [^ +]+heredoc\_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.exp index 689399540..11f405b55 100644 --- a/hphp/test/zend/bad/zend/heredoc_006.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_006.php.exp @@ -1,2 +1,2 @@ This is heredoc test #s 1, 2, 3, and 4. -This is heredoc test #s 1, 2, 3, and 4. +This is heredoc test #s 1, 2, 3, and 4. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_007.php.exp b/hphp/test/zend/bad/zend/heredoc_007.php.exp index 689399540..11f405b55 100644 --- a/hphp/test/zend/bad/zend/heredoc_007.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_007.php.exp @@ -1,2 +1,2 @@ This is heredoc test #s 1, 2, 3, and 4. -This is heredoc test #s 1, 2, 3, and 4. +This is heredoc test #s 1, 2, 3, and 4. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_008.php.exp b/hphp/test/zend/bad/zend/heredoc_008.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/heredoc_009.php.exp b/hphp/test/zend/bad/zend/heredoc_009.php.exp index e021cbefa..95d0e20fb 100644 --- a/hphp/test/zend/bad/zend/heredoc_009.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_009.php.exp @@ -1,12 +1,12 @@ -HipHop Notice: Undefined variable: ENDOFHEREDOC in hphp/test/zend/bad/heredoc_009.php on line %d -ENDOFHEREDOC ; - ENDOFHEREDOC; -ENDOFHEREDOC - ENDOFHEREDOC -; -HipHop Notice: Undefined variable: ENDOFHEREDOC in hphp/test/zend/bad/heredoc_009.php on line %d -ENDOFHEREDOC ; - ENDOFHEREDOC; -ENDOFHEREDOC - ENDOFHEREDOC -; +HipHop\ Notice\:\ Undefined\ variable\:\ ENDOFHEREDOC\ in\ hphp\/test\/zend\/bad\/zend\/heredoc\_009\.php\ on\ line\ \d+\ +ENDOFHEREDOC\ \ \ \ \;\ +\ \ \ \ ENDOFHEREDOC\;\ +ENDOFHEREDOC\ \ \ \ \ +\ \ \ \ ENDOFHEREDOC\ +\;\ +HipHop\ Notice\:\ Undefined\ variable\:\ ENDOFHEREDOC\ in\ hphp\/test\/zend\/bad\/zend\/heredoc\_009\.php\ on\ line\ \d+\ +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.exp index 1dfe107f3..07f05cc2e 100644 --- a/hphp/test/zend/bad/zend/heredoc_010.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_010.php.exp @@ -3,4 +3,4 @@ ENDOFHEREDOC ENDOFHEREDOC ENDOFHEREDOC ENDOFHEREDOC -ENDOFHEREDOC +ENDOFHEREDOC \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_011.php.exp b/hphp/test/zend/bad/zend/heredoc_011.php.exp index d7b93e833..43cb54321 100644 --- a/hphp/test/zend/bad/zend/heredoc_011.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_011.php.exp @@ -1 +1 @@ -If you DON'T see this, something's wrong. +If you DON'T see this, something's wrong. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_013.php.exp b/hphp/test/zend/bad/zend/heredoc_013.php.exp index 5a52deb14..c3f640f8d 100644 --- a/hphp/test/zend/bad/zend/heredoc_013.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_013.php.exp @@ -1 +1,3 @@ -Parse error: %s in %sheredoc_013.php on line %d +Parse\ error\:\ [^ +]+\ in\ [^ +]+heredoc\_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 index 081b66e99..92cd3ac06 100644 --- a/hphp/test/zend/bad/zend/heredoc_014.php.exp +++ b/hphp/test/zend/bad/zend/heredoc_014.php.exp @@ -1 +1,3 @@ -Parse error: %s in %sheredoc_014.php on line %d +Parse\ error\:\ [^ +]+\ in\ [^ +]+heredoc\_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 index f4f96c29e..093e15142 100644 --- a/hphp/test/zend/bad/zend/indexing_001.php.exp +++ b/hphp/test/zend/bad/zend/indexing_001.php.exp @@ -1,155 +1,155 @@ -*** Indexing - Testing value assignment with key *** -array(1) { - ["foo"]=> - array(1) { - [0]=> - int(1) - } -} -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(0) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -bool(true) -array(1) { - ["foo"]=> - array(1) { - [0]=> - int(1) - } -} -array(1) { - ["foo"]=> - array(1) { - [0]=> - int(1) - } -} -HipHop Warning: Illegal string offset 'foo' in hphp/test/zend/bad/indexing_001.php on line %d -HipHop Notice: Array to string conversion in hphp/test/zend/bad/indexing_001.php on line %d -string(1) "A" -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -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: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(0) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -bool(true) -array(1) { - ["foo"]=> - &array(1) { - [0]=> - int(1) - } -} -array(1) { - ["foo"]=> - &array(1) { - [0]=> - int(1) - } -} -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -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: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(0) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -bool(true) -array(1) { - [0]=> - array(1) { - [0]=> - int(1) - } -} -array(1) { - [0]=> - array(1) { - [0]=> - int(1) - } -} -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -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: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(0) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -int(1) -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -bool(true) -array(1) { - [0]=> - &array(1) { - [0]=> - int(1) - } -} -array(1) { - [0]=> - &array(1) { - [0]=> - int(1) - } -} -HipHop Warning: Cannot use a scalar value as an array in hphp/test/zend/bad/indexing_001.php on line %d -float(0.1) -array(1) { - [0]=> - &array(1) { - [0]=> - int(1) - } -} - +\*\*\*\ Indexing\ \-\ Testing\ value\ assignment\ with\ key\ \*\*\*\ +array\(1\)\ \{\ +\ \ \[\"foo\"\]\=\>\ +\ \ array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(0\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[\"foo\"\]\=\>\ +\ \ array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +array\(1\)\ \{\ +\ \ \[\"foo\"\]\=\>\ +\ \ array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +HipHop\ Warning\:\ Illegal\ string\ offset\ \'foo\'\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Array\ to\ string\ conversion\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +string\(1\)\ \"A\"\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +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\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(0\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[\"foo\"\]\=\>\ +\ \ \&array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +array\(1\)\ \{\ +\ \ \[\"foo\"\]\=\>\ +\ \ \&array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +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\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(0\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +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\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(0\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +int\(1\)\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ \&array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +array\(1\)\ \{\ +\ \ \[0\]\=\>\ +\ \ \&array\(1\)\ \{\ +\ \ \ \ \[0\]\=\>\ +\ \ \ \ int\(1\)\ +\ \ \}\ +\}\ +HipHop\ Warning\:\ Cannot\ use\ a\ scalar\ value\ as\ an\ array\ in\ hphp\/test\/zend\/bad\/zend\/indexing\_001\.php\ on\ line\ \d+\ +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_001.php.exp b/hphp/test/zend/bad/zend/indirect_call_array_001.php.exp index 04334fbf8..9f51f9839 100644 --- a/hphp/test/zend/bad/zend/indirect_call_array_001.php.exp +++ b/hphp/test/zend/bad/zend/indirect_call_array_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class 'a' not found in hphp/test/zend/bad/indirect_call_array_001.php on line %d +HipHop\ Fatal\ error\:\ Class\ \'a\'\ not\ found\ in\ hphp\/test\/zend\/bad\/zend\/indirect\_call\_array\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_call_array_002.php.exp b/hphp/test/zend/bad/zend/indirect_call_array_002.php.exp index b95f88d83..8ee3df093 100644 --- a/hphp/test/zend/bad/zend/indirect_call_array_002.php.exp +++ b/hphp/test/zend/bad/zend/indirect_call_array_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Call to undefined method stdClass::b() in hphp/test/zend/bad/indirect_call_array_002.php on line %d +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ method\ stdClass\:\:b\(\)\ in\ hphp\/test\/zend\/bad\/zend\/indirect\_call\_array\_002\.php\ on\ line\ \d+ \ 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 index 70646c8f9..33c0f419d 100644 --- a/hphp/test/zend/bad/zend/indirect_call_array_003.php.exp +++ b/hphp/test/zend/bad/zend/indirect_call_array_003.php.exp @@ -1,9 +1,8 @@ -From foo::__callStatic: -string(3) "abc" -HipHop Notice: Undefined variable: this in hphp/test/zend/bad/indirect_call_array_003.php on line %d -NULL -From foo::__call: -string(3) "abc" -object(foo)#%d (0) { -} - +From\ foo\:\:\_\_callStatic\:\ +string\(3\)\ \"abc\"\ +HipHop\ Notice\:\ Undefined\ variable\:\ this\ in\ hphp\/test\/zend\/bad\/zend\/indirect\_call\_array\_003\.php\ on\ line\ \d+\ +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 index 5adbcd8ef..32bbd7c6b 100644 --- a/hphp/test/zend/bad/zend/indirect_call_array_004.php.exp +++ b/hphp/test/zend/bad/zend/indirect_call_array_004.php.exp @@ -1,7 +1,7 @@ -foo -From foo::__callStatic: -123 ------- -foo -From foo::__call: -123 +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_002.php.exp b/hphp/test/zend/bad/zend/indirect_method_call_002.php.exp index 82c51390d..f30897269 100644 --- a/hphp/test/zend/bad/zend/indirect_method_call_002.php.exp +++ b/hphp/test/zend/bad/zend/indirect_method_call_002.php.exp @@ -1,5 +1,5 @@ -string(3) "foo" -string(7) "testing" -string(3) "foo" -NULL -HipHop Fatal error: Call to undefined method foo::www() in hphp/test/zend/bad/indirect_method_call_002.php on line %d +string\(3\)\ \"foo\"\ +string\(7\)\ \"testing\"\ +string\(3\)\ \"foo\"\ +NULL\ +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ method\ foo\:\:www\(\)\ in\ hphp\/test\/zend\/bad\/zend\/indirect\_method\_call\_002\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_method_call_004.php.exp b/hphp/test/zend/bad/zend/indirect_method_call_004.php.exp deleted file mode 100644 index 228ed9cdb..000000000 --- a/hphp/test/zend/bad/zend/indirect_method_call_004.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -object(stdClass)#%d (0) { -} -object(stdClass)#%d (0) { -} 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.exp index d1ec06fdd..ec2799450 100644 --- a/hphp/test/zend/bad/zend/indirect_method_call_005.php.exp +++ b/hphp/test/zend/bad/zend/indirect_method_call_005.php.exp @@ -1 +1 @@ -int(4) +int(4) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/indirect_reference_this.php.exp b/hphp/test/zend/bad/zend/indirect_reference_this.php.exp index 7f15733ce..bacb955af 100644 --- a/hphp/test/zend/bad/zend/indirect_reference_this.php.exp +++ b/hphp/test/zend/bad/zend/indirect_reference_this.php.exp @@ -1,2 +1,2 @@ -object(X)#%d (0) { -} +object\(X\)\#\d+\ \(0\)\ \{\ +\} \ No newline at end of file diff --git a/hphp/test/zend/good/zend/instanceof_001.php b/hphp/test/zend/bad/zend/instanceof_001.php similarity index 100% rename from hphp/test/zend/good/zend/instanceof_001.php rename to hphp/test/zend/bad/zend/instanceof_001.php diff --git a/hphp/test/zend/bad/zend/instanceof_001.php.exp b/hphp/test/zend/bad/zend/instanceof_001.php.exp new file mode 100644 index 000000000..7296ecca7 --- /dev/null +++ b/hphp/test/zend/bad/zend/instanceof_001.php.exp @@ -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 index 1087ea523..c6bad9758 100644 --- a/hphp/test/zend/bad/zend/int_overflow_32bit.php.exp +++ b/hphp/test/zend/bad/zend/int_overflow_32bit.php.exp @@ -1,6 +1,6 @@ -int(-2147483648) -int(-2147483647) -int(-2147483638) -int(-2147483548) -int(-2147482648) -Done +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.exp index e0394467f..b110d6ba5 100644 --- a/hphp/test/zend/bad/zend/int_overflow_64bit.php.exp +++ b/hphp/test/zend/bad/zend/int_overflow_64bit.php.exp @@ -5,4 +5,4 @@ int(0) int(-9223372036854775808) int(-9223372036854775808) int(-9223372036854775808) -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/int_underflow_32bit.php.exp b/hphp/test/zend/bad/zend/int_underflow_32bit.php.exp index 2b0deadd3..63595b59c 100644 --- a/hphp/test/zend/bad/zend/int_underflow_32bit.php.exp +++ b/hphp/test/zend/bad/zend/int_underflow_32bit.php.exp @@ -3,4 +3,4 @@ int(2147483647) int(2147483638) int(2147483548) int(2147482648) -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp b/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp index d7dc60e05..4dbe607ce 100644 --- a/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp +++ b/hphp/test/zend/bad/zend/int_underflow_64bit.php.exp @@ -1,6 +1,6 @@ -int(-9223372036854775808) -int(-9223372036854775808) -int(-9223372036854775808) -int(-9223372036854775808) -int(-9223372036854775808) -Done +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_007.php.exp b/hphp/test/zend/bad/zend/inter_007.php.exp index e9709b1c2..80c52be10 100644 --- a/hphp/test/zend/bad/zend/inter_007.php.exp +++ b/hphp/test/zend/bad/zend/inter_007.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot make non static method c::B() static in class d in hphp/test/zend/bad/inter_007.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ make\ non\ static\ method\ c\:\:B\(\)\ static\ in\ class\ d\ in\ hphp\/test\/zend\/bad\/zend\/inter\_007\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/inter_01.php.exp b/hphp/test/zend/bad/zend/inter_01.php.exp index 636142b9c..086b0e763 100644 --- a/hphp/test/zend/bad/zend/inter_01.php.exp +++ b/hphp/test/zend/bad/zend/inter_01.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot inherit previously-inherited or override constant foo from interface foo in hphp/test/zend/bad/inter_01.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ inherit\ previously\-inherited\ or\ override\ constant\ foo\ from\ interface\ foo\ in\ hphp\/test\/zend\/bad\/zend\/inter\_01\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/inter_02.php.exp b/hphp/test/zend/bad/zend/inter_02.php.exp index 9ba94a3fd..c4f25cd82 100644 --- a/hphp/test/zend/bad/zend/inter_02.php.exp +++ b/hphp/test/zend/bad/zend/inter_02.php.exp @@ -1 +1 @@ -int(2) +int(2) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/inter_06.php.exp b/hphp/test/zend/bad/zend/inter_06.php.exp index 40b567d83..2154d0fcb 100644 --- a/hphp/test/zend/bad/zend/inter_06.php.exp +++ b/hphp/test/zend/bad/zend/inter_06.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot redeclare class stdClass in hphp/test/zend/bad/inter_06.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ class\ stdClass\ in\ hphp\/test\/zend\/bad\/zend\/inter\_06\.php\ on\ line\ \d+ \ 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 index 2eacda58e..038b1918b 100644 --- a/hphp/test/zend/bad/zend/interface_exists_001.php.exp +++ b/hphp/test/zend/bad/zend/interface_exists_001.php.exp @@ -1,5 +1,5 @@ -bool(true) -bool(false) -bool(false) -HipHop Warning: interface_exists() expects parameter 1 to be string, object given in hphp/test/zend/bad/interface_exists_001.php on line %d -NULL +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Warning\:\ interface\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ object\ given\ in\ hphp\/test\/zend\/bad\/zend\/interface\_exists\_001\.php\ on\ line\ \d+\ +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.exp index 04a793059..0cdf200af 100644 --- a/hphp/test/zend/bad/zend/interface_exists_002.php.exp +++ b/hphp/test/zend/bad/zend/interface_exists_002.php.exp @@ -1,3 +1,3 @@ bool(false) bool(true) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/isset_003.php.exp b/hphp/test/zend/bad/zend/isset_003.php.exp index caa5361e5..43f0ee8ac 100644 --- a/hphp/test/zend/bad/zend/isset_003.php.exp +++ b/hphp/test/zend/bad/zend/isset_003.php.exp @@ -1,11 +1,11 @@ -bool(true) -bool(true) -bool(false) -bool(false) -HipHop Notice: Undefined variable: c in hphp/test/zend/bad/isset_003.php on line %d -HipHop Notice: Undefined variable: d in hphp/test/zend/bad/isset_003.php on line %d -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/isset_003.php on line %d -bool(false) -bool(true) -bool(false) -bool(false) +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ c\ in\ hphp\/test\/zend\/bad\/zend\/isset\_003\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ d\ in\ hphp\/test\/zend\/bad\/zend\/isset\_003\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/isset\_003\.php\ on\ line\ \d+\ +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 index 15bda9652..40b367afd 100644 --- a/hphp/test/zend/bad/zend/isset_003_2_4.php.exp +++ b/hphp/test/zend/bad/zend/isset_003_2_4.php.exp @@ -1,11 +1,11 @@ -bool(true) -bool(true) -bool(false) -bool(false) -HipHop Notice: Undefined variable: c in hphp/test/zend/bad/isset_003_2_4.php on line %d -HipHop Notice: Undefined variable: d in hphp/test/zend/bad/isset_003_2_4.php on line %d -HipHop Notice: Trying to get property of non-object in hphp/test/zend/bad/isset_003_2_4.php on line %d -bool(false) -bool(true) -bool(false) -bool(false) +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Notice\:\ Undefined\ variable\:\ c\ in\ hphp\/test\/zend\/bad\/zend\/isset\_003\_2\_4\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ variable\:\ d\ in\ hphp\/test\/zend\/bad\/zend\/isset\_003\_2\_4\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Trying\ to\ get\ property\ of\ non\-object\ in\ hphp\/test\/zend\/bad\/zend\/isset\_003\_2\_4\.php\ on\ line\ \d+\ +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 index dd294caf0..1ebe92a4d 100644 --- a/hphp/test/zend/bad/zend/isset_str_offset.php.exp +++ b/hphp/test/zend/bad/zend/isset_str_offset.php.exp @@ -1,38 +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 +\-\ 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/jump06.php.exp b/hphp/test/zend/bad/zend/jump06.php.exp index 011041671..8248ecb9c 100644 --- a/hphp/test/zend/bad/zend/jump06.php.exp +++ b/hphp/test/zend/bad/zend/jump06.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: 'goto' to undefined label 'L1' in %sjump06.php on line 2 +HipHop\ Fatal\ error\:\ \'goto\'\ to\ undefined\ label\ \'L1\'\ in\ [^ +]+jump06\.php\ on\ line\ 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/jump07.php.exp b/hphp/test/zend/bad/zend/jump07.php.exp index ba4a91326..0a87f1e85 100644 --- a/hphp/test/zend/bad/zend/jump07.php.exp +++ b/hphp/test/zend/bad/zend/jump07.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: 'goto' into loop or switch statement is disallowed in %sjump07.php on line 5 +HipHop\ Fatal\ error\:\ \'goto\'\ into\ loop\ or\ switch\ statement\ is\ disallowed\ in\ [^ +]+jump07\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/jump08.php.exp b/hphp/test/zend/bad/zend/jump08.php.exp index 5b237dedb..008df7e2c 100644 --- a/hphp/test/zend/bad/zend/jump08.php.exp +++ b/hphp/test/zend/bad/zend/jump08.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: 'goto' into loop or switch statement is disallowed in %sjump08.php on line 2 +HipHop\ Fatal\ error\:\ \'goto\'\ into\ loop\ or\ switch\ statement\ is\ disallowed\ in\ [^ +]+jump08\.php\ on\ line\ 2 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/jump09.php.exp b/hphp/test/zend/bad/zend/jump09.php.exp index d02787d3e..e80ac8f28 100644 --- a/hphp/test/zend/bad/zend/jump09.php.exp +++ b/hphp/test/zend/bad/zend/jump09.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: 'goto' into loop or switch statement is disallowed in %sjump09.php on line 7 +HipHop\ Fatal\ error\:\ \'goto\'\ into\ loop\ or\ switch\ statement\ is\ disallowed\ in\ [^ +]+jump09\.php\ on\ line\ 7 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/jump10.php.exp b/hphp/test/zend/bad/zend/jump10.php.exp index cae7be97a..ac96443f6 100644 --- a/hphp/test/zend/bad/zend/jump10.php.exp +++ b/hphp/test/zend/bad/zend/jump10.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: 'goto' into loop or switch statement is disallowed in %sjump10.php on line 2 +HipHop\ Fatal\ error\:\ \'goto\'\ into\ loop\ or\ switch\ statement\ is\ disallowed\ in\ [^ +]+jump10\.php\ on\ line\ 2 \ 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.exp index 81c545efe..274c0052d 100644 --- a/hphp/test/zend/bad/zend/jump13.php.exp +++ b/hphp/test/zend/bad/zend/jump13.php.exp @@ -1 +1 @@ -1234 +1234 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/list_005.php.exp b/hphp/test/zend/bad/zend/list_005.php.exp index c5e56dc0a..3d37b96d0 100644 --- a/hphp/test/zend/bad/zend/list_005.php.exp +++ b/hphp/test/zend/bad/zend/list_005.php.exp @@ -1,9 +1,9 @@ -string(1) "f" -string(1) "o" -string(1) "o" ----- -NULL -NULL -NULL ----- -HipHop Fatal error: Cannot use object of type stdClass as array in hphp/test/zend/bad/list_005.php on line %d +string\(1\)\ \"f\"\ +string\(1\)\ \"o\"\ +string\(1\)\ \"o\"\ +\-\-\-\-\ +NULL\ +NULL\ +NULL\ +\-\-\-\-\ +HipHop\ Fatal\ error\:\ Cannot\ use\ object\ of\ type\ stdClass\ as\ array\ in\ hphp\/test\/zend\/bad\/zend\/list\_005\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/list_006.php.exp b/hphp/test/zend/bad/zend/list_006.php.exp index c00c56bd9..2fb9c2e84 100644 --- a/hphp/test/zend/bad/zend/list_006.php.exp +++ b/hphp/test/zend/bad/zend/list_006.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Undefined offset: 1 in hphp/test/zend/bad/list_006.php on line %d -HipHop Notice: Undefined offset: 1 in hphp/test/zend/bad/list_006.php on line %d -HipHop Notice: Undefined offset: 0 in hphp/test/zend/bad/list_006.php on line %d +HipHop\ Notice\:\ Undefined\ offset\:\ 1\ in\ hphp\/test\/zend\/bad\/zend\/list\_006\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ offset\:\ 1\ in\ hphp\/test\/zend\/bad\/zend\/list\_006\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Undefined\ offset\:\ 0\ in\ hphp\/test\/zend\/bad\/zend\/list\_006\.php\ on\ line\ \d+ \ 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 index 20fce00d1..445c0a93a 100644 --- a/hphp/test/zend/bad/zend/lsb_006.php.exp +++ b/hphp/test/zend/bad/zend/lsb_006.php.exp @@ -1,2 +1,4 @@ -Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/lsb_006.php on line %d - +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_007.php.exp b/hphp/test/zend/bad/zend/lsb_007.php.exp index f71420025..0a6772f6c 100644 --- a/hphp/test/zend/bad/zend/lsb_007.php.exp +++ b/hphp/test/zend/bad/zend/lsb_007.php.exp @@ -1,2 +1,4 @@ -Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/lsb_007.php on line %d - +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_008.php.exp b/hphp/test/zend/bad/zend/lsb_008.php.exp index 0f37c99d0..d78bca5fc 100644 --- a/hphp/test/zend/bad/zend/lsb_008.php.exp +++ b/hphp/test/zend/bad/zend/lsb_008.php.exp @@ -1,2 +1,4 @@ -Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/lsb_008.php on line %d - +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_009.php.exp b/hphp/test/zend/bad/zend/lsb_009.php.exp index 063997525..6bb79b193 100644 --- a/hphp/test/zend/bad/zend/lsb_009.php.exp +++ b/hphp/test/zend/bad/zend/lsb_009.php.exp @@ -1,2 +1,4 @@ -Parse error: %s error,%sexpecting %s in hphp/test/zend/bad/lsb_009.php on line %d - +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/magic_by_ref_001.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_001.php.exp deleted file mode 100644 index 67ee7435a..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__set() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_001.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_by_ref_002.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_002.php.exp deleted file mode 100644 index 0cab762c1..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__set() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_002.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_by_ref_003.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_003.php.exp deleted file mode 100644 index 7327a1c47..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__get() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_003.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_by_ref_004.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_004.php.exp deleted file mode 100644 index 3af00a7c6..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__unset() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_004.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_by_ref_005.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_005.php.exp deleted file mode 100644 index 98087d724..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__isset() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_005.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_by_ref_006.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_006.php.exp deleted file mode 100644 index 7cadab148..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__call() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_006.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_by_ref_007.php.exp b/hphp/test/zend/bad/zend/magic_by_ref_007.php.exp deleted file mode 100644 index 4ee885345..000000000 --- a/hphp/test/zend/bad/zend/magic_by_ref_007.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Method test::__call() cannot take arguments by reference in hphp/test/zend/bad/magic_by_ref_007.php on line %d diff --git a/hphp/test/zend/bad/zend/magic_methods_002.php.exp b/hphp/test/zend/bad/zend/magic_methods_002.php.exp index b0579e5b8..ece0587e0 100644 --- a/hphp/test/zend/bad/zend/magic_methods_002.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_002.php.exp @@ -1 +1 @@ -HipHop Warning: The magic method __unset() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_002.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_unset\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_002\.php\ on\ line\ \d+ \ 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 index b59add304..da9208d0d 100644 --- a/hphp/test/zend/bad/zend/magic_methods_003.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_003.php.exp @@ -1 +1 @@ -HipHop Warning: The magic method __unset() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_003.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_unset\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_003\.php\ on\ line\ \d+ \ 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 index 90313ab00..f8f55f77a 100644 --- a/hphp/test/zend/bad/zend/magic_methods_004.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_004.php.exp @@ -1 +1 @@ -HipHop Warning: The magic method __unset() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_004.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_unset\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_004\.php\ on\ line\ \d+ \ 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 index be0c20b7c..74ec51dff 100644 --- a/hphp/test/zend/bad/zend/magic_methods_005.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_005.php.exp @@ -1 +1 @@ -HipHop Warning: The magic method __call() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_005.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_call\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_005\.php\ on\ line\ \d+ \ 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 index bb8467cf0..c9b2e36c2 100644 --- a/hphp/test/zend/bad/zend/magic_methods_006.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_006.php.exp @@ -1 +1 @@ -HipHop Warning: The magic method __callStatic() must have public visibility and be static in hphp/test/zend/bad/magic_methods_006.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_callStatic\(\)\ must\ have\ public\ visibility\ and\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_006\.php\ on\ line\ \d+ \ 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 index a40ed6868..72d4cf12d 100644 --- a/hphp/test/zend/bad/zend/magic_methods_007.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_007.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: The magic method __set() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_007.php on line %d -HipHop Fatal error: Method b::__set() must take exactly 2 arguments in hphp/test/zend/bad/magic_methods_007.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_set\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_007\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Method\ b\:\:\_\_set\(\)\ must\ take\ exactly\ 2\ arguments\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_007\.php\ on\ line\ \d+ \ 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 index 861e3a1ad..f24dd19e0 100644 --- a/hphp/test/zend/bad/zend/magic_methods_008.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_008.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: The magic method __set() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_008.php on line %d -HipHop Fatal error: Access level to a::__set() must be public (as in class b) in hphp/test/zend/bad/magic_methods_008.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_set\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_008\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Access\ level\ to\ a\:\:\_\_set\(\)\ must\ be\ public\ \(as\ in\ class\ b\)\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_008\.php\ on\ line\ \d+ \ 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 index 55e4ac283..7f5914fb6 100644 --- a/hphp/test/zend/bad/zend/magic_methods_009.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_009.php.exp @@ -1 +1 @@ -HipHop Warning: The magic method __callStatic() must have public visibility and be static in hphp/test/zend/bad/magic_methods_009.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_callStatic\(\)\ must\ have\ public\ visibility\ and\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_009\.php\ on\ line\ \d+ \ 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 index 869331498..26e0c5f18 100644 --- a/hphp/test/zend/bad/zend/magic_methods_010.php.exp +++ b/hphp/test/zend/bad/zend/magic_methods_010.php.exp @@ -1,2 +1,2 @@ -HipHop Warning: The magic method __toString() must have public visibility and cannot be static in hphp/test/zend/bad/magic_methods_010.php on line %d -HipHop Fatal error: Method a::__tostring() cannot take arguments in hphp/test/zend/bad/magic_methods_010.php on line %d +HipHop\ Warning\:\ The\ magic\ method\ \_\_toString\(\)\ must\ have\ public\ visibility\ and\ cannot\ be\ static\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_010\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Method\ a\:\:\_\_tostring\(\)\ cannot\ take\ arguments\ in\ hphp\/test\/zend\/bad\/zend\/magic\_methods\_010\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/mod_001.php.exp b/hphp/test/zend/bad/zend/mod_001.php.exp deleted file mode 100644 index 0527108d8..000000000 --- a/hphp/test/zend/bad/zend/mod_001.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -HipHop Warning: Division by zero in hphp/test/zend/bad/mod_001.php on line %d -bool(false) -Done diff --git a/hphp/test/zend/bad/zend/mul_001.php.exp b/hphp/test/zend/bad/zend/mul_001.php.exp index 9868d3bd0..1a87fb721 100644 --- a/hphp/test/zend/bad/zend/mul_001.php.exp +++ b/hphp/test/zend/bad/zend/mul_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/mul_001.php on line %d +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/mul\_001\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/not_002.php.exp b/hphp/test/zend/bad/zend/not_002.php.exp index 5347ebe1a..5bbaa9467 100644 --- a/hphp/test/zend/bad/zend/not_002.php.exp +++ b/hphp/test/zend/bad/zend/not_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/not_002.php on line %d +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/not\_002\.php\ on\ line\ \d+ \ 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.exp index 6e9cee404..6952c33f0 100644 --- a/hphp/test/zend/bad/zend/nowdoc_001.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_001.php.exp @@ -1,3 +1,3 @@ This is a nowdoc test. This is another nowdoc test. -With another line in it. +With another line in it. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_002.php.exp b/hphp/test/zend/bad/zend/nowdoc_002.php.exp index e177da04a..7b17e87d1 100644 --- a/hphp/test/zend/bad/zend/nowdoc_002.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_002.php.exp @@ -1,2 +1,2 @@ This is a nowdoc test. -This is another nowdoc test. +This is another nowdoc test. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_003.php.exp b/hphp/test/zend/bad/zend/nowdoc_003.php.exp index e5bdeb39b..cfa962f2f 100644 --- a/hphp/test/zend/bad/zend/nowdoc_003.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_003.php.exp @@ -1,2 +1,2 @@ This is nowdoc test #$a. -This is nowdoc test #$b. +This is nowdoc test #$b. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_004.php.exp b/hphp/test/zend/bad/zend/nowdoc_004.php.exp index 29afca206..fc895cfa9 100644 --- a/hphp/test/zend/bad/zend/nowdoc_004.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_004.php.exp @@ -1,2 +1,2 @@ This is nowdoc test #{$a}. -This is nowdoc test #{$b}. +This is nowdoc test #{$b}. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_005.php.exp b/hphp/test/zend/bad/zend/nowdoc_005.php.exp index de09ce801..aaf67a887 100644 --- a/hphp/test/zend/bad/zend/nowdoc_005.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_005.php.exp @@ -1,2 +1,2 @@ This is nowdoc test #s $a, $b, $c['c'], and $d->d. -This is nowdoc test #s $a, $b, $c['c'], and $d->d. +This is nowdoc test #s $a, $b, $c['c'], and $d->d. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_006.php.exp b/hphp/test/zend/bad/zend/nowdoc_006.php.exp index 0d3f892dc..624174e9e 100644 --- a/hphp/test/zend/bad/zend/nowdoc_006.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_006.php.exp @@ -1,2 +1,2 @@ This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. -This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. +This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_007.php.exp b/hphp/test/zend/bad/zend/nowdoc_007.php.exp index cdcc242d6..d8bd806ac 100644 --- a/hphp/test/zend/bad/zend/nowdoc_007.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_007.php.exp @@ -1,2 +1,2 @@ This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. -This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. +This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_008.php.exp b/hphp/test/zend/bad/zend/nowdoc_008.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/nowdoc_009.php.exp b/hphp/test/zend/bad/zend/nowdoc_009.php.exp index 6289e29b0..d31ec8c00 100644 --- a/hphp/test/zend/bad/zend/nowdoc_009.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_009.php.exp @@ -7,5 +7,4 @@ ENDOFNOWDOC ; ENDOFNOWDOC; ENDOFNOWDOC ENDOFNOWDOC -$ENDOFNOWDOC; - +$ENDOFNOWDOC; \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_010.php.exp b/hphp/test/zend/bad/zend/nowdoc_010.php.exp index 8ef94efc3..8393ff216 100644 --- a/hphp/test/zend/bad/zend/nowdoc_010.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_010.php.exp @@ -3,5 +3,4 @@ ENDOFNOWDOC{$fooledYou} {$fooledYou}ENDOFNOWDOC {$fooledYou}ENDOFNOWDOC{$fooledYou} ENDOFNOWDOC{$fooledYou} -{$fooledYou}ENDOFNOWDOC - +{$fooledYou}ENDOFNOWDOC \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/nowdoc_011.php.exp b/hphp/test/zend/bad/zend/nowdoc_011.php.exp index d7b93e833..9539311b3 100644 --- a/hphp/test/zend/bad/zend/nowdoc_011.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_011.php.exp @@ -1 +1 @@ -If you DON'T see this, something's wrong. +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.exp index 183164b41..42530baa3 100644 --- a/hphp/test/zend/bad/zend/nowdoc_012.php.exp +++ b/hphp/test/zend/bad/zend/nowdoc_012.php.exp @@ -3,4 +3,4 @@ NOTREALLYEND; Another line NOTENDEITHER; ENDOFNOWDOCWILLBESOON -Now let's finish it +Now let's finish it \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_003.php.exp b/hphp/test/zend/bad/zend/ns_003.php.exp index 9be3e0887..bdbaa9385 100644 --- a/hphp/test/zend/bad/zend/ns_003.php.exp +++ b/hphp/test/zend/bad/zend/ns_003.php.exp @@ -1 +1 @@ -test\ns1\Exception +test\ns1\Exception \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_004.php.exp b/hphp/test/zend/bad/zend/ns_004.php.exp index 90c77d81b..49445b408 100644 --- a/hphp/test/zend/bad/zend/ns_004.php.exp +++ b/hphp/test/zend/bad/zend/ns_004.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Class 'test\ns1\Exception' not found in %sns_004.php on line %d \ No newline at end of file +HipHop\ Fatal\ error\:\ Class\ \'test\\ns1\\Exception\'\ not\ found\ in\ [^ +]+ns\_004\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_005.php.exp b/hphp/test/zend/bad/zend/ns_005.php.exp index 4145ad4d2..2e30fe575 100644 --- a/hphp/test/zend/bad/zend/ns_005.php.exp +++ b/hphp/test/zend/bad/zend/ns_005.php.exp @@ -1 +1 @@ -Exception +Exception \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_006.php.exp b/hphp/test/zend/bad/zend/ns_006.php.exp index 9be3e0887..bdbaa9385 100644 --- a/hphp/test/zend/bad/zend/ns_006.php.exp +++ b/hphp/test/zend/bad/zend/ns_006.php.exp @@ -1 +1 @@ -test\ns1\Exception +test\ns1\Exception \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_007.php.exp b/hphp/test/zend/bad/zend/ns_007.php.exp index 4145ad4d2..2e30fe575 100644 --- a/hphp/test/zend/bad/zend/ns_007.php.exp +++ b/hphp/test/zend/bad/zend/ns_007.php.exp @@ -1 +1 @@ -Exception +Exception \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_008.php.exp b/hphp/test/zend/bad/zend/ns_008.php.exp index 099693b54..8f0f58582 100644 --- a/hphp/test/zend/bad/zend/ns_008.php.exp +++ b/hphp/test/zend/bad/zend/ns_008.php.exp @@ -1 +1 @@ -test\foo +test\foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_009.php.exp b/hphp/test/zend/bad/zend/ns_009.php.exp index 257cc5642..191028156 100644 --- a/hphp/test/zend/bad/zend/ns_009.php.exp +++ b/hphp/test/zend/bad/zend/ns_009.php.exp @@ -1 +1 @@ -foo +foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_011.php.exp b/hphp/test/zend/bad/zend/ns_011.php.exp index 34a94d84f..2a8780aea 100644 --- a/hphp/test/zend/bad/zend/ns_011.php.exp +++ b/hphp/test/zend/bad/zend/ns_011.php.exp @@ -1,4 +1,4 @@ test\ns1\foo test\ns1\foo test\ns1\bar -test\ns1\bar +test\ns1\bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_012.php.exp b/hphp/test/zend/bad/zend/ns_012.php.exp index bff6afa87..035de4151 100644 --- a/hphp/test/zend/bad/zend/ns_012.php.exp +++ b/hphp/test/zend/bad/zend/ns_012.php.exp @@ -5,4 +5,4 @@ test\ns1\bar test\ns1\foo test\ns1\bar test\ns1\foo -test\ns1\bar +test\ns1\bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_013.php.exp b/hphp/test/zend/bad/zend/ns_013.php.exp index 2332decdf..542d76ce9 100644 --- a/hphp/test/zend/bad/zend/ns_013.php.exp +++ b/hphp/test/zend/bad/zend/ns_013.php.exp @@ -1 +1 @@ -test\ns1\strlen +test\ns1\strlen \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_019.php.exp b/hphp/test/zend/bad/zend/ns_019.php.exp index 257cc5642..191028156 100644 --- a/hphp/test/zend/bad/zend/ns_019.php.exp +++ b/hphp/test/zend/bad/zend/ns_019.php.exp @@ -1 +1 @@ -foo +foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_020.php.exp b/hphp/test/zend/bad/zend/ns_020.php.exp index 5d2112c28..e5c720bc8 100644 --- a/hphp/test/zend/bad/zend/ns_020.php.exp +++ b/hphp/test/zend/bad/zend/ns_020.php.exp @@ -1,4 +1,4 @@ X\foo X\foo X\foo -X\foo +X\foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_021.php.exp b/hphp/test/zend/bad/zend/ns_021.php.exp index 03cd37339..6ca9fd35f 100644 --- a/hphp/test/zend/bad/zend/ns_021.php.exp +++ b/hphp/test/zend/bad/zend/ns_021.php.exp @@ -1,3 +1,3 @@ test\foo test\foo -test\Test::foo +test\Test::foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_022.php.exp b/hphp/test/zend/bad/zend/ns_022.php.exp index d47f12a0a..08e8d2d1d 100644 --- a/hphp/test/zend/bad/zend/ns_022.php.exp +++ b/hphp/test/zend/bad/zend/ns_022.php.exp @@ -1,2 +1,2 @@ a\b\c\foo -Test::foo +Test::foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_023.php.exp b/hphp/test/zend/bad/zend/ns_023.php.exp index d1a4faf54..695297315 100644 --- a/hphp/test/zend/bad/zend/ns_023.php.exp +++ b/hphp/test/zend/bad/zend/ns_023.php.exp @@ -1 +1 @@ -string(8) "test\foo" +string(8) "test\foo" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_026.php.exp b/hphp/test/zend/bad/zend/ns_026.php.exp index 06ae4fddf..74ca5f5e1 100644 --- a/hphp/test/zend/bad/zend/ns_026.php.exp +++ b/hphp/test/zend/bad/zend/ns_026.php.exp @@ -1,6 +1,7 @@ -Method - Foo\Foo::__construct -Func - Foo\Bar -Method - Foo\Foo::__construct -Method - Foo\Foo::Bar -Func - Foo\Bar -HipHop Fatal error: Call to undefined function Foo\Foo\Bar() in %sns_026.php on line %d \ No newline at end of file +Method\ \-\ Foo\\Foo\:\:\_\_construct\ +Func\ \ \ \-\ Foo\\Bar\ +Method\ \-\ Foo\\Foo\:\:\_\_construct\ +Method\ \-\ Foo\\Foo\:\:Bar\ +Func\ \ \ \-\ Foo\\Bar\ +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ function\ Foo\\Foo\\Bar\(\)\ in\ [^ +]+ns\_026\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_027.php.exp b/hphp/test/zend/bad/zend/ns_027.php.exp index ba53a8dc8..e8153bcbe 100644 --- a/hphp/test/zend/bad/zend/ns_027.php.exp +++ b/hphp/test/zend/bad/zend/ns_027.php.exp @@ -1,4 +1,4 @@ Foo Foo Foo\Bar\Foo -Foo\Bar\Foo +Foo\Bar\Foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_028.php.exp b/hphp/test/zend/bad/zend/ns_028.php.exp index 1d11ce4ed..f1398f648 100644 --- a/hphp/test/zend/bad/zend/ns_028.php.exp +++ b/hphp/test/zend/bad/zend/ns_028.php.exp @@ -2,4 +2,4 @@ Method - Foo::__construct Func - Foo\Bar Method - Foo\Foo::__construct Method - Foo\Foo::Bar -Func - Foo\Bar +Func - Foo\Bar \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_029.php.exp b/hphp/test/zend/bad/zend/ns_029.php.exp index 1649a8def..a24d5a0a1 100644 --- a/hphp/test/zend/bad/zend/ns_029.php.exp +++ b/hphp/test/zend/bad/zend/ns_029.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot declare class Foo because the name is already in use in %sns_029.php on line 4 +HipHop\ Fatal\ error\:\ Cannot\ declare\ class\ Foo\ because\ the\ name\ is\ already\ in\ use\ in\ [^ +]+ns\_029\.php\ on\ line\ 4 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_030.php.exp b/hphp/test/zend/bad/zend/ns_030.php.exp index 95d001627..5eac4f029 100644 --- a/hphp/test/zend/bad/zend/ns_030.php.exp +++ b/hphp/test/zend/bad/zend/ns_030.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot use A\B as Foo because the name is already in use in %sns_030.php on line 5 +HipHop\ Fatal\ error\:\ Cannot\ use\ A\\B\ as\ Foo\ because\ the\ name\ is\ already\ in\ use\ in\ [^ +]+ns\_030\.php\ on\ line\ 5 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_032.php.exp b/hphp/test/zend/bad/zend/ns_032.php.exp index 7db261e19..77699051c 100644 --- a/hphp/test/zend/bad/zend/ns_032.php.exp +++ b/hphp/test/zend/bad/zend/ns_032.php.exp @@ -1,2 +1,2 @@ foo -Test::foo +Test::foo \ No newline at end of file diff --git a/hphp/test/zend/good/zend/ns_033.php b/hphp/test/zend/bad/zend/ns_033.php similarity index 100% rename from hphp/test/zend/good/zend/ns_033.php rename to hphp/test/zend/bad/zend/ns_033.php diff --git a/hphp/test/zend/bad/zend/ns_033.php.exp b/hphp/test/zend/bad/zend/ns_033.php.exp new file mode 100644 index 000000000..41df518ce --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_033.php.exp @@ -0,0 +1,2 @@ +HipHop\ Warning\:\ The\ use\ statement\ with\ non\-compound\ name\ \'A\'\ has\ no\ effect\ in\ [^ +]+ns\_033\.php\ on\ line\ 2 \ 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.exp index 7780b88b4..f64be967b 100644 --- a/hphp/test/zend/bad/zend/ns_034.php.exp +++ b/hphp/test/zend/bad/zend/ns_034.php.exp @@ -3,4 +3,4 @@ ok ok ok ok -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_035.php.exp b/hphp/test/zend/bad/zend/ns_035.php.exp index 5c9ae27fb..d97375d47 100644 --- a/hphp/test/zend/bad/zend/ns_035.php.exp +++ b/hphp/test/zend/bad/zend/ns_035.php.exp @@ -1,4 +1,4 @@ int(1) int(1) int(1) -int(1) +int(1) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_036.php.exp b/hphp/test/zend/bad/zend/ns_036.php.exp index dc1dd6bce..8997178a9 100644 --- a/hphp/test/zend/bad/zend/ns_036.php.exp +++ b/hphp/test/zend/bad/zend/ns_036.php.exp @@ -5,4 +5,4 @@ int(2) int(2) int(1) int(2) -int(2) +int(2) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_038.php.exp b/hphp/test/zend/bad/zend/ns_038.php.exp index e194ee759..1479cc585 100644 --- a/hphp/test/zend/bad/zend/ns_038.php.exp +++ b/hphp/test/zend/bad/zend/ns_038.php.exp @@ -1,3 +1,3 @@ -ok -HipHop Fatal error: Call to undefined method Exception::bar() in %sns_038.php on line 7 - +ok\ +HipHop\ Fatal\ error\:\ Call\ to\ undefined\ method\ Exception\:\:bar\(\)\ in\ [^ +]+ns\_038\.php\ on\ line\ 7 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_040.php.exp b/hphp/test/zend/bad/zend/ns_040.php.exp index f62424f5b..1b489321f 100644 --- a/hphp/test/zend/bad/zend/ns_040.php.exp +++ b/hphp/test/zend/bad/zend/ns_040.php.exp @@ -10,4 +10,4 @@ ok ok ok ok -aaa +aaa \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_041.php.exp b/hphp/test/zend/bad/zend/ns_041.php.exp index 513159b8e..2f4fc85fc 100644 --- a/hphp/test/zend/bad/zend/ns_041.php.exp +++ b/hphp/test/zend/bad/zend/ns_041.php.exp @@ -1,5 +1,6 @@ -ok -ok -ok -HipHop Notice: Use of undefined constant BAR - assumed 'BAR' in %sns_041.php on line 9 -BAR +ok\ +ok\ +ok\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ BAR\ \-\ assumed\ \'BAR\'\ in\ [^ +]+ns\_041\.php\ on\ line\ 9\ +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.exp index b130552e5..8501921f9 100644 --- a/hphp/test/zend/bad/zend/ns_042.php.exp +++ b/hphp/test/zend/bad/zend/ns_042.php.exp @@ -2,4 +2,4 @@ ok ok ok ok -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_043.php.exp b/hphp/test/zend/bad/zend/ns_043.php.exp index 0bcaa956f..28fe0105d 100644 --- a/hphp/test/zend/bad/zend/ns_043.php.exp +++ b/hphp/test/zend/bad/zend/ns_043.php.exp @@ -1 +1 @@ -int(0) +int(0) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_044.php.exp b/hphp/test/zend/bad/zend/ns_044.php.exp index 158940119..34d1b8d98 100644 --- a/hphp/test/zend/bad/zend/ns_044.php.exp +++ b/hphp/test/zend/bad/zend/ns_044.php.exp @@ -1 +1 @@ -int(7) +int(7) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_045.php.exp b/hphp/test/zend/bad/zend/ns_045.php.exp index 158940119..34d1b8d98 100644 --- a/hphp/test/zend/bad/zend/ns_045.php.exp +++ b/hphp/test/zend/bad/zend/ns_045.php.exp @@ -1 +1 @@ -int(7) +int(7) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_046.php.exp b/hphp/test/zend/bad/zend/ns_046.php.exp index 0bcaa956f..28fe0105d 100644 --- a/hphp/test/zend/bad/zend/ns_046.php.exp +++ b/hphp/test/zend/bad/zend/ns_046.php.exp @@ -1 +1 @@ -int(0) +int(0) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_047.php.exp b/hphp/test/zend/bad/zend/ns_047.php.exp index 158940119..34d1b8d98 100644 --- a/hphp/test/zend/bad/zend/ns_047.php.exp +++ b/hphp/test/zend/bad/zend/ns_047.php.exp @@ -1 +1 @@ -int(7) +int(7) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_048.php.exp b/hphp/test/zend/bad/zend/ns_048.php.exp index 0bcaa956f..28fe0105d 100644 --- a/hphp/test/zend/bad/zend/ns_048.php.exp +++ b/hphp/test/zend/bad/zend/ns_048.php.exp @@ -1 +1 @@ -int(0) +int(0) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_049.php.exp b/hphp/test/zend/bad/zend/ns_049.php.exp index 0bcaa956f..28fe0105d 100644 --- a/hphp/test/zend/bad/zend/ns_049.php.exp +++ b/hphp/test/zend/bad/zend/ns_049.php.exp @@ -1 +1 @@ -int(0) +int(0) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_050.php.exp b/hphp/test/zend/bad/zend/ns_050.php.exp index 0bcaa956f..28fe0105d 100644 --- a/hphp/test/zend/bad/zend/ns_050.php.exp +++ b/hphp/test/zend/bad/zend/ns_050.php.exp @@ -1 +1 @@ -int(0) +int(0) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_051.php.exp b/hphp/test/zend/bad/zend/ns_051.php.exp index 158940119..34d1b8d98 100644 --- a/hphp/test/zend/bad/zend/ns_051.php.exp +++ b/hphp/test/zend/bad/zend/ns_051.php.exp @@ -1 +1 @@ -int(7) +int(7) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_052.php.exp b/hphp/test/zend/bad/zend/ns_052.php.exp index 158940119..34d1b8d98 100644 --- a/hphp/test/zend/bad/zend/ns_052.php.exp +++ b/hphp/test/zend/bad/zend/ns_052.php.exp @@ -1 +1 @@ -int(7) +int(7) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_053.php.exp b/hphp/test/zend/bad/zend/ns_053.php.exp index 4a70ced1c..50668d068 100644 --- a/hphp/test/zend/bad/zend/ns_053.php.exp +++ b/hphp/test/zend/bad/zend/ns_053.php.exp @@ -1,3 +1,2 @@ ns_053.php -ns_053.php - +ns_053.php \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_054.php.exp b/hphp/test/zend/bad/zend/ns_054.php.exp index 79ebd0860..e1252468b 100644 --- a/hphp/test/zend/bad/zend/ns_054.php.exp +++ b/hphp/test/zend/bad/zend/ns_054.php.exp @@ -1,2 +1,2 @@ ok -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_055.php.exp b/hphp/test/zend/bad/zend/ns_055.php.exp index 7614df8ec..55c202678 100644 --- a/hphp/test/zend/bad/zend/ns_055.php.exp +++ b/hphp/test/zend/bad/zend/ns_055.php.exp @@ -1,3 +1,3 @@ ok ok -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_056.php.exp b/hphp/test/zend/bad/zend/ns_056.php.exp index 79ebd0860..e1252468b 100644 --- a/hphp/test/zend/bad/zend/ns_056.php.exp +++ b/hphp/test/zend/bad/zend/ns_056.php.exp @@ -1,2 +1,2 @@ ok -ok +ok \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_057.php.exp b/hphp/test/zend/bad/zend/ns_057.php.exp index 5bae52a41..fd0593971 100644 --- a/hphp/test/zend/bad/zend/ns_057.php.exp +++ b/hphp/test/zend/bad/zend/ns_057.php.exp @@ -1,11 +1,12 @@ -const ok -func ok -const ok -const ok -var ok -method ok -const ok -const ok -class ok -ok -HipHop Fatal error: Undefined constant 'Test\ns1\unknown' in %sns_057.php on line %d \ No newline at end of file +const\ ok\ +func\ ok\ +const\ ok\ +const\ ok\ +var\ ok\ +method\ ok\ +const\ ok\ +const\ ok\ +class\ ok\ +ok\ +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'Test\\ns1\\unknown\'\ in\ [^ +]+ns\_057\.php\ on\ line\ \d+ \ 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 index 78ff8ba11..f91590127 100644 --- a/hphp/test/zend/bad/zend/ns_058.php.exp +++ b/hphp/test/zend/bad/zend/ns_058.php.exp @@ -1,11 +1,12 @@ -const ok -func ok -const ok -const ok -var ok -method ok -const ok -const ok -class ok -ok -HipHop Fatal error: Undefined constant 'unknown' in %sns_058.php on line %d +const\ ok\ +func\ ok\ +const\ ok\ +const\ ok\ +var\ ok\ +method\ ok\ +const\ ok\ +const\ ok\ +class\ ok\ +ok\ +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_058\.php\ on\ line\ \d+ \ 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 index 40f277a76..09d68f3d0 100644 --- a/hphp/test/zend/bad/zend/ns_059.php.exp +++ b/hphp/test/zend/bad/zend/ns_059.php.exp @@ -1,2 +1,2 @@ -HipHop Fatal error: Arrays are not allowed as constants in %sns_059.php on line 2 - +HipHop\ Fatal\ error\:\ Arrays\ are\ not\ allowed\ as\ constants\ in\ [^ +]+ns\_059\.php\ on\ line\ 2 \ 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.exp index 23a727490..250fa8977 100644 --- a/hphp/test/zend/bad/zend/ns_060.php.exp +++ b/hphp/test/zend/bad/zend/ns_060.php.exp @@ -1,4 +1,4 @@ Bar\A Foo\A Foo\A -Bar\A +Bar\A \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_062.php.exp b/hphp/test/zend/bad/zend/ns_062.php.exp index 69a5f4c76..3f8449cc3 100644 --- a/hphp/test/zend/bad/zend/ns_062.php.exp +++ b/hphp/test/zend/bad/zend/ns_062.php.exp @@ -1,2 +1,2 @@ stdClass -stdClass +stdClass \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_064.php.exp b/hphp/test/zend/bad/zend/ns_064.php.exp index d2905f9d3..5775ee498 100644 --- a/hphp/test/zend/bad/zend/ns_064.php.exp +++ b/hphp/test/zend/bad/zend/ns_064.php.exp @@ -5,4 +5,4 @@ string(1) "c" int(1) string(1) "d" string(1) "f" -int(2) +int(2) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_065.php.exp b/hphp/test/zend/bad/zend/ns_065.php.exp index e80ae3b10..53df43338 100644 --- a/hphp/test/zend/bad/zend/ns_065.php.exp +++ b/hphp/test/zend/bad/zend/ns_065.php.exp @@ -1,2 +1,2 @@ X\Y\foo -X\Z\foo +X\Z\foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_066.php.exp b/hphp/test/zend/bad/zend/ns_066.php.exp index 5698d18d2..9480d32b7 100644 --- a/hphp/test/zend/bad/zend/ns_066.php.exp +++ b/hphp/test/zend/bad/zend/ns_066.php.exp @@ -1 +1 @@ -Foo\Bar\Foo +Foo\Bar\Foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_067.php.exp b/hphp/test/zend/bad/zend/ns_067.php.exp index 5698d18d2..9480d32b7 100644 --- a/hphp/test/zend/bad/zend/ns_067.php.exp +++ b/hphp/test/zend/bad/zend/ns_067.php.exp @@ -1 +1 @@ -Foo\Bar\Foo +Foo\Bar\Foo \ No newline at end of file diff --git a/hphp/test/zend/good/zend/ns_068.php b/hphp/test/zend/bad/zend/ns_068.php similarity index 100% rename from hphp/test/zend/good/zend/ns_068.php rename to hphp/test/zend/bad/zend/ns_068.php diff --git a/hphp/test/zend/bad/zend/ns_068.php.exp b/hphp/test/zend/bad/zend/ns_068.php.exp new file mode 100644 index 000000000..0b8328535 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_068.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Namespace\ declaration\ statement\ has\ to\ be\ the\ very\ first\ statement\ in\ the\ script\ in\ [^ +]+ns\_068\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_069.php.exp b/hphp/test/zend/bad/zend/ns_069.php.exp index 86d0c5a4e..ff615f479 100644 --- a/hphp/test/zend/bad/zend/ns_069.php.exp +++ b/hphp/test/zend/bad/zend/ns_069.php.exp @@ -1,4 +1,4 @@ string(3) "foo" string(0) "" string(3) "foo" -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_070.php.exp b/hphp/test/zend/bad/zend/ns_070.php.exp index 04a00ac71..f55fcdd2b 100644 --- a/hphp/test/zend/bad/zend/ns_070.php.exp +++ b/hphp/test/zend/bad/zend/ns_070.php.exp @@ -1,3 +1,3 @@ -object(stdClass)#%d (0) { -} -NULL +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 index 31a583884..189817d33 100644 --- a/hphp/test/zend/bad/zend/ns_071.php.exp +++ b/hphp/test/zend/bad/zend/ns_071.php.exp @@ -1,3 +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/ns_071.php on line %d and defined in hphp/test/zend/bad/ns_071.php on line %d +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 index 2bdb7c39b..1d7f50d56 100644 --- a/hphp/test/zend/bad/zend/ns_072.php.exp +++ b/hphp/test/zend/bad/zend/ns_072.php.exp @@ -1,5 +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/ns_072.php on line %d and defined in hphp/test/zend/bad/ns_072.php on line %d +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 index bc560c921..b68a58800 100644 --- a/hphp/test/zend/bad/zend/ns_073.php.exp +++ b/hphp/test/zend/bad/zend/ns_073.php.exp @@ -1,3 +1,3 @@ -NULL -object(stdClass)#%d (0) { -} +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 index c53df603f..19d5bd53d 100644 --- a/hphp/test/zend/bad/zend/ns_074.php.exp +++ b/hphp/test/zend/bad/zend/ns_074.php.exp @@ -1,5 +1,5 @@ -NULL -object(foo\stdclass)#%d (0) { -} -object(stdClass)#%d (0) { -} +NULL\ +object\(foo\\stdclass\)\#\d+\ \(0\)\ \{\ +\}\ +object\(stdClass\)\#\d+\ \(0\)\ \{\ +\} \ No newline at end of file diff --git a/hphp/test/zend/good/zend/ns_075.php b/hphp/test/zend/bad/zend/ns_075.php similarity index 100% rename from hphp/test/zend/good/zend/ns_075.php rename to hphp/test/zend/bad/zend/ns_075.php diff --git a/hphp/test/zend/bad/zend/ns_075.php.exp b/hphp/test/zend/bad/zend/ns_075.php.exp new file mode 100644 index 000000000..64dd660b1 --- /dev/null +++ b/hphp/test/zend/bad/zend/ns_075.php.exp @@ -0,0 +1,2 @@ +HipHop\ Fatal\ error\:\ Cannot\ redeclare\ constant\ \'NULL\'\ in\ [^ +]+ns\_075\.php\ on\ line\ \d+ \ 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 index 1b73a1e2c..6b257279c 100644 --- a/hphp/test/zend/bad/zend/ns_076.php.exp +++ b/hphp/test/zend/bad/zend/ns_076.php.exp @@ -1,9 +1,14 @@ -HipHop Notice: Use of undefined constant unknown - assumed 'unknown' in %sns_076.php on line %d -HipHop Notice: Use of undefined constant unknown - assumed 'unknown' in %sns_076.php on line %d -HipHop Notice: Use of undefined constant unknown - assumed 'unknown' in %sns_076.php on line %d -unknown -array(1) { - ["unknown"]=> - %s(7) "unknown" -} -HipHop Fatal error: Undefined constant 'unknown' in %sns_076.php on line %d +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ unknown\ \-\ assumed\ \'unknown\'\ in\ [^ +]+ns\_076\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ unknown\ \-\ assumed\ \'unknown\'\ in\ [^ +]+ns\_076\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Use\ of\ undefined\ constant\ unknown\ \-\ assumed\ \'unknown\'\ in\ [^ +]+ns\_076\.php\ on\ line\ \d+\ +unknown\ +array\(1\)\ \{\ +\ \ \[\"unknown\"\]\=\>\ +\ \ [^ +]+\(7\)\ \"unknown\"\ +\}\ +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_076\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_1.php.exp b/hphp/test/zend/bad/zend/ns_077_1.php.exp index e66e8de01..a33e10b1f 100644 --- a/hphp/test/zend/bad/zend/ns_077_1.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_1.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_2.php.exp b/hphp/test/zend/bad/zend/ns_077_2.php.exp index e66e8de01..a33e10b1f 100644 --- a/hphp/test/zend/bad/zend/ns_077_2.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_2.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_3.php.exp b/hphp/test/zend/bad/zend/ns_077_3.php.exp index 2c26c8f82..ccb07bc38 100644 --- a/hphp/test/zend/bad/zend/ns_077_3.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_3.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'foo\unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'foo\\unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_077_4.php.exp b/hphp/test/zend/bad/zend/ns_077_4.php.exp index 2c26c8f82..ccb07bc38 100644 --- a/hphp/test/zend/bad/zend/ns_077_4.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_4.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'foo\unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'foo\\unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ 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 index e66e8de01..a33e10b1f 100644 --- a/hphp/test/zend/bad/zend/ns_077_5.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_5.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ 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 index e66e8de01..a33e10b1f 100644 --- a/hphp/test/zend/bad/zend/ns_077_6.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_6.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ 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 index e66e8de01..a33e10b1f 100644 --- a/hphp/test/zend/bad/zend/ns_077_7.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_7.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ 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 index e66e8de01..a33e10b1f 100644 --- a/hphp/test/zend/bad/zend/ns_077_8.php.exp +++ b/hphp/test/zend/bad/zend/ns_077_8.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d +HipHop\ Fatal\ error\:\ Undefined\ constant\ \'unknown\'\ in\ [^ +]+ns\_077\_\d+\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_079.php.exp b/hphp/test/zend/bad/zend/ns_079.php.exp index db8c4b163..0fc3f4c62 100644 --- a/hphp/test/zend/bad/zend/ns_079.php.exp +++ b/hphp/test/zend/bad/zend/ns_079.php.exp @@ -1 +1 @@ -HipHop Fatal error: Namespace declarations cannot be nested in hphp/test/zend/bad/ns_079.php on line %d +HipHop\ Fatal\ error\:\ Namespace\ declarations\ cannot\ be\ nested\ in\ hphp\/test\/zend\/bad\/zend\/ns\_079\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_081.php.exp b/hphp/test/zend/bad/zend/ns_081.php.exp index 377723039..974e1227d 100644 --- a/hphp/test/zend/bad/zend/ns_081.php.exp +++ b/hphp/test/zend/bad/zend/ns_081.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in %sns_081.php on line 9 +HipHop\ Fatal\ error\:\ Cannot\ mix\ bracketed\ namespace\ declarations\ with\ unbracketed\ namespace\ declarations\ in\ [^ +]+ns\_081\.php\ on\ line\ 9 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_083.php.exp b/hphp/test/zend/bad/zend/ns_083.php.exp index bb7132f67..a4f62b6cf 100644 --- a/hphp/test/zend/bad/zend/ns_083.php.exp +++ b/hphp/test/zend/bad/zend/ns_083.php.exp @@ -1 +1 @@ -HipHop Fatal error: Namespace declaration statement has to be the very first statement in the script in hphp/test/zend/bad/ns_083.php on line %d +HipHop\ Fatal\ error\:\ Namespace\ declaration\ statement\ has\ to\ be\ the\ very\ first\ statement\ in\ the\ script\ in\ hphp\/test\/zend\/bad\/zend\/ns\_083\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_084.php.exp b/hphp/test/zend/bad/zend/ns_084.php.exp index 87e339020..15460cb4a 100644 --- a/hphp/test/zend/bad/zend/ns_084.php.exp +++ b/hphp/test/zend/bad/zend/ns_084.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in %sns_084.php on line 9 +HipHop\ Fatal\ error\:\ Cannot\ mix\ bracketed\ namespace\ declarations\ with\ unbracketed\ namespace\ declarations\ in\ [^ +]+ns\_084\.php\ on\ line\ 9 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/ns_087.php.exp b/hphp/test/zend/bad/zend/ns_087.php.exp index 223e0715e..dc8f0e71d 100644 --- a/hphp/test/zend/bad/zend/ns_087.php.exp +++ b/hphp/test/zend/bad/zend/ns_087.php.exp @@ -1 +1 @@ -HipHop Fatal error: No code may exist outside of namespace {} in hphp/test/zend/bad/ns_087.php on line 10 +HipHop\ Fatal\ error\:\ No\ code\ may\ exist\ outside\ of\ namespace\ \{\}\ in\ hphp\/test\/zend\/bad\/zend\/ns\_087\.php\ on\ line\ 10 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_001.php.exp b/hphp/test/zend/bad/zend/objects_001.php.exp index ecf36c74d..8f4d78a0a 100644 --- a/hphp/test/zend/bad/zend/objects_001.php.exp +++ b/hphp/test/zend/bad/zend/objects_001.php.exp @@ -1,23 +1,23 @@ -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -bool(true) -bool(false) -bool(true) -HipHop Notice: Object of class Bar could not be converted to int in hphp/test/zend/bad/objects_001.php on line %d -bool(false) -HipHop Notice: Object of class Bar could not be converted to int in hphp/test/zend/bad/objects_001.php on line %d -bool(true) -HipHop Notice: Object of class Bar could not be converted to int in hphp/test/zend/bad/objects_001.php on line %d -bool(true) -HipHop Notice: Object of class Bar could not be converted to int in hphp/test/zend/bad/objects_001.php on line %d -bool(false) -HipHop Notice: Object of class Bar could not be converted to double in hphp/test/zend/bad/objects_001.php on line %d -bool(true) -HipHop Notice: Object of class Bar could not be converted to double in hphp/test/zend/bad/objects_001.php on line %d -bool(false) -HipHop Notice: Object of class Bar could not be converted to int in hphp/test/zend/bad/objects_001.php on line %d -bool(true) -Done +bool\(false\)\ +bool\(true\)\ +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +bool\(true\)\ +bool\(false\)\ +bool\(true\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ double\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(false\)\ +HipHop\ Notice\:\ Object\ of\ class\ Bar\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/objects\_001\.php\ on\ line\ \d+\ +bool\(true\)\ +Done \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_013.php.exp b/hphp/test/zend/bad/zend/objects_013.php.exp index 413f30fe0..7f939b9bd 100644 --- a/hphp/test/zend/bad/zend/objects_013.php.exp +++ b/hphp/test/zend/bad/zend/objects_013.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class bar cannot implement previously implemented interface foo in hphp/test/zend/bad/objects_013.php on line %d +HipHop\ Fatal\ error\:\ Class\ bar\ cannot\ implement\ previously\ implemented\ interface\ foo\ in\ hphp\/test\/zend\/bad\/zend\/objects\_013\.php\ on\ line\ \d+ \ 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 index 8e6ab3973..1bd0ef5ce 100644 --- a/hphp/test/zend/bad/zend/objects_014.php.exp +++ b/hphp/test/zend/bad/zend/objects_014.php.exp @@ -1 +1 @@ -HipHop Fatal error: Class bar cannot implement previously implemented interface foo in hphp/test/zend/bad/objects_014.php on line %d +HipHop\ Fatal\ error\:\ Class\ bar\ cannot\ implement\ previously\ implemented\ interface\ foo\ in\ hphp\/test\/zend\/bad\/zend\/objects\_014\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_017.php.exp b/hphp/test/zend/bad/zend/objects_017.php.exp index f0d2eac95..332416557 100644 --- a/hphp/test/zend/bad/zend/objects_017.php.exp +++ b/hphp/test/zend/bad/zend/objects_017.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot access private property foo::$test in hphp/test/zend/bad/objects_017.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ access\ private\ property\ foo\:\:\$test\ in\ hphp\/test\/zend\/bad\/zend\/objects\_017\.php\ on\ line\ \d+ \ 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 index 29661a72f..da9e9f6dd 100644 --- a/hphp/test/zend/bad/zend/objects_020.php.exp +++ b/hphp/test/zend/bad/zend/objects_020.php.exp @@ -1,9 +1,9 @@ -object(stdClass)#%d (2) { - ["a"]=> - *RECURSION* - ["b"]=> - array(1) { - [0]=> - int(2) - } -} +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 index 0df6b6057..89c920946 100644 --- a/hphp/test/zend/bad/zend/objects_022.php.exp +++ b/hphp/test/zend/bad/zend/objects_022.php.exp @@ -1,8 +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/objects_022.php on line %d and defined in hphp/test/zend/bad/objects_022.php on line %d +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_026.php.exp b/hphp/test/zend/bad/zend/objects_026.php.exp index dea1d995c..a3ddfa397 100644 --- a/hphp/test/zend/bad/zend/objects_026.php.exp +++ b/hphp/test/zend/bad/zend/objects_026.php.exp @@ -1 +1 @@ -HipHop Fatal error: Using $this when not in object context in hphp/test/zend/bad/objects_026.php on line %d +HipHop\ Fatal\ error\:\ Using\ \$this\ when\ not\ in\ object\ context\ in\ hphp\/test\/zend\/bad\/zend\/objects\_026\.php\ on\ line\ \d+ \ 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 index fad8516b1..36982fb01 100644 --- a/hphp/test/zend/bad/zend/objects_027.php.exp +++ b/hphp/test/zend/bad/zend/objects_027.php.exp @@ -1,18 +1,16 @@ -object(foo)#%d (0) { -} - -Strict Standards: Non-static method foo::test() should not be called statically in hphp/test/zend/bad/objects_027.php on line %d - -Strict Standards: Non-static method bar::show() should not be called statically in hphp/test/zend/bad/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/objects_027.php on line %d - -Strict Standards: Non-static method bar::show() should not be called statically in hphp/test/zend/bad/objects_027.php on line %d -object(foo)#%d (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_029.php.exp b/hphp/test/zend/bad/zend/objects_029.php.exp index d26a24144..47249694a 100644 --- a/hphp/test/zend/bad/zend/objects_029.php.exp +++ b/hphp/test/zend/bad/zend/objects_029.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: foo::$f in hphp/test/zend/bad/objects_029.php on line %d +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ foo\:\:\$f\ in\ hphp\/test\/zend\/bad\/zend\/objects\_029\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_030.php.exp b/hphp/test/zend/bad/zend/objects_030.php.exp index fa63eddb4..9204c929f 100644 --- a/hphp/test/zend/bad/zend/objects_030.php.exp +++ b/hphp/test/zend/bad/zend/objects_030.php.exp @@ -1 +1 @@ -HipHop Fatal error: Access to undeclared static property: bar::$f in hphp/test/zend/bad/objects_030.php on line %d +HipHop\ Fatal\ error\:\ Access\ to\ undeclared\ static\ property\:\ bar\:\:\$f\ in\ hphp\/test\/zend\/bad\/zend\/objects\_030\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/objects_031.php.exp b/hphp/test/zend/bad/zend/objects_031.php.exp deleted file mode 100644 index 43cf5ad15..000000000 --- a/hphp/test/zend/bad/zend/objects_031.php.exp +++ /dev/null @@ -1,13 +0,0 @@ -array(3) { - [0]=> - object(stdClass)#%d (1) { - ["a"]=> - int(1) - } - [1]=> - object(stdClass)#%d (0) { - } - [2]=> - object(stdClass)#%d (0) { - } -} diff --git a/hphp/test/zend/bad/zend/offset_array.php.exp b/hphp/test/zend/bad/zend/offset_array.php.exp index 98cb466e7..0503ed70c 100644 --- a/hphp/test/zend/bad/zend/offset_array.php.exp +++ b/hphp/test/zend/bad/zend/offset_array.php.exp @@ -1,16 +1,16 @@ -int(2) -int(1) -HipHop Notice: Undefined index: in hphp/test/zend/bad/offset_array.php on line %d -NULL -HipHop Notice: Undefined index: run away in hphp/test/zend/bad/offset_array.php on line %d -NULL -int(2) -int(1) - -Strict Standards: Resource ID#%d used as offset, casting to integer (%d) in hphp/test/zend/bad/offset_array.php on line %d -int(%d) -HipHop Warning: Illegal offset type in hphp/test/zend/bad/offset_array.php on line %d -NULL -HipHop Warning: Illegal offset type in hphp/test/zend/bad/offset_array.php on line %d -NULL -Done +int\(2\)\ +int\(1\)\ +HipHop\ Notice\:\ Undefined\ index\:\ \ in\ hphp\/test\/zend\/bad\/zend\/offset\_array\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Notice\:\ Undefined\ index\:\ run\ away\ in\ hphp\/test\/zend\/bad\/zend\/offset\_array\.php\ on\ line\ \d+\ +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\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/offset\_array\.php\ on\ line\ \d+\ +NULL\ +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/offset\_array\.php\ on\ line\ \d+\ +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 index cd3430e0e..fd42024b1 100644 --- a/hphp/test/zend/bad/zend/offset_assign.php.exp +++ b/hphp/test/zend/bad/zend/offset_assign.php.exp @@ -1,2 +1,4 @@ -HipHop Warning: Illegal string offset 'x' in %soffset_assign.php on line %d -HipHop Fatal error: Cannot use string offset as an array in %soffset_assign.php on line %d +HipHop\ Warning\:\ Illegal\ string\ offset\ \'x\'\ in\ [^ +]+offset\_assign\.php\ on\ line\ \d+\ +HipHop\ Fatal\ error\:\ Cannot\ use\ string\ offset\ as\ an\ array\ in\ [^ +]+offset\_assign\.php\ on\ line\ \d+ \ 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 index 02045ab4b..47b4e3604 100644 --- a/hphp/test/zend/bad/zend/offset_bool.php.exp +++ b/hphp/test/zend/bad/zend/offset_bool.php.exp @@ -1,10 +1,10 @@ -NULL -NULL -NULL -NULL -NULL -NULL -NULL -NULL -NULL -Done +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 index 02045ab4b..47b4e3604 100644 --- a/hphp/test/zend/bad/zend/offset_long.php.exp +++ b/hphp/test/zend/bad/zend/offset_long.php.exp @@ -1,10 +1,10 @@ -NULL -NULL -NULL -NULL -NULL -NULL -NULL -NULL -NULL -Done +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_object.php.exp b/hphp/test/zend/bad/zend/offset_object.php.exp index 0130c9367..8d1e5616e 100644 --- a/hphp/test/zend/bad/zend/offset_object.php.exp +++ b/hphp/test/zend/bad/zend/offset_object.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use object of type stdClass as array in hphp/test/zend/bad/offset_object.php on line %d +HipHop\ Fatal\ error\:\ Cannot\ use\ object\ of\ type\ stdClass\ as\ array\ in\ hphp\/test\/zend\/bad\/zend\/offset\_object\.php\ on\ line\ \d+ \ 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 index 2116f3ca8..8ae58e8ae 100644 --- a/hphp/test/zend/bad/zend/offset_string.php.exp +++ b/hphp/test/zend/bad/zend/offset_string.php.exp @@ -1,24 +1,26 @@ -string(1) "i" -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/offset_string.php on line %d -string(1) "S" -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/offset_string.php on line %d -string(1) "S" -HipHop Warning: Illegal string offset 'run away' in hphp/test/zend/bad/offset_string.php on line %d -string(1) "S" -string(1) "c" -HipHop Warning: Illegal string offset '14.5' in hphp/test/zend/bad/offset_string.php on line %d -string(1) "o" -HipHop Notice: A non well formed numeric value encountered in hphp/test/zend/bad/offset_string.php on line %d -string(1) "r" -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/offset_string.php on line %d -string(1) "i" -HipHop Notice: String offset cast occurred in hphp/test/zend/bad/offset_string.php on line %d -string(1) "S" -HipHop Warning: Illegal offset type in hphp/test/zend/bad/offset_string.php on line %d -string(1) "%s" -HipHop Warning: Illegal offset type in hphp/test/zend/bad/offset_string.php on line %d -HipHop Notice: Object of class stdClass could not be converted to int in hphp/test/zend/bad/offset_string.php on line %d -string(1) "%s" -HipHop Warning: Illegal offset type in hphp/test/zend/bad/offset_string.php on line %d -string(1) "i" +string\(1\)\ \"i\"\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"S\"\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"S\"\ +HipHop\ Warning\:\ Illegal\ string\ offset\ \'run\ away\'\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"S\"\ +string\(1\)\ \"c\"\ +HipHop\ Warning\:\ Illegal\ string\ offset\ \'14\.5\'\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"o\"\ +HipHop\ Notice\:\ A\ non\ well\ formed\ numeric\ value\ encountered\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"r\"\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"i\"\ +HipHop\ Notice\:\ String\ offset\ cast\ occurred\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"S\"\ +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"[^ +]+\"\ +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +HipHop\ Notice\:\ Object\ of\ class\ stdClass\ could\ not\ be\ converted\ to\ int\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +string\(1\)\ \"[^ +]+\"\ +HipHop\ Warning\:\ Illegal\ offset\ type\ in\ hphp\/test\/zend\/bad\/zend\/offset\_string\.php\ on\ line\ \d+\ +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.exp index 6b6fe17eb..4fa89a3af 100644 --- a/hphp/test/zend/bad/zend/property_exists.php.exp +++ b/hphp/test/zend/bad/zend/property_exists.php.exp @@ -12,4 +12,4 @@ bool(true) ------------------ bool(true) bool(true) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/result_unused.php.exp b/hphp/test/zend/bad/zend/result_unused.php.exp index ac1e7b1a4..d2314b6b3 100644 --- a/hphp/test/zend/bad/zend/result_unused.php.exp +++ b/hphp/test/zend/bad/zend/result_unused.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Uninitialized string offset: 3 in %sresult_unused.php on line %d -ok - +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 3\ in\ [^ +]+result\_unused\.php\ on\ line\ \d+\ +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 index 36ebbf8be..37185dc80 100644 Binary files a/hphp/test/zend/bad/zend/settype_array.php.exp and b/hphp/test/zend/bad/zend/settype_array.php.exp differ diff --git a/hphp/test/zend/bad/zend/settype_object.php.exp b/hphp/test/zend/bad/zend/settype_object.php.exp index 9a4eb1836..077c0d4dd 100644 Binary files a/hphp/test/zend/bad/zend/settype_object.php.exp and b/hphp/test/zend/bad/zend/settype_object.php.exp differ diff --git a/hphp/test/zend/bad/zend/settype_resource.php.exp b/hphp/test/zend/bad/zend/settype_resource.php.exp index 0e16b9d09..5b2301440 100644 Binary files a/hphp/test/zend/bad/zend/settype_resource.php.exp and b/hphp/test/zend/bad/zend/settype_resource.php.exp differ diff --git a/hphp/test/zend/bad/zend/settype_string.php.exp b/hphp/test/zend/bad/zend/settype_string.php.exp index 1d9cd4ae7..5fe8482ad 100644 Binary files a/hphp/test/zend/bad/zend/settype_string.php.exp and b/hphp/test/zend/bad/zend/settype_string.php.exp 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 index 392f9e6e4..07dc61d87 100644 --- a/hphp/test/zend/bad/zend/str_offset_001.php.exp +++ b/hphp/test/zend/bad/zend/str_offset_001.php.exp @@ -1,25 +1,26 @@ -HipHop Notice: Uninitialized string offset: -1 in %sstr_offset_001.php on line %d -string(0) "" -string(1) "a" -string(1) "b" -string(1) "c" - -HipHop Notice: Uninitialized string offset: 3 in %sstr_offset_001.php on line %d -string(0) "" -string(1) "b" - -HipHop Notice: Uninitialized string offset: 1 in %sstr_offset_001.php on line %d -string(0) "" - -HipHop Notice: Uninitialized string offset: -1 in %sstr_offset_001.php on line %d -string(0) "" -string(1) "a" -string(1) "b" -string(1) "c" - -HipHop Notice: Uninitialized string offset: 3 in %sstr_offset_001.php on line %d -string(0) "" -string(1) "b" - -HipHop Notice: Uninitialized string offset: 1 in %sstr_offset_001.php on line %d -string(0) "" +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ \-1\ in\ [^ +]+str\_offset\_001\.php\ on\ line\ \d+\ +string\(0\)\ \"\"\ +string\(1\)\ \"a\"\ +string\(1\)\ \"b\"\ +string\(1\)\ \"c\"\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 3\ in\ [^ +]+str\_offset\_001\.php\ on\ line\ \d+\ +string\(0\)\ \"\"\ +string\(1\)\ \"b\"\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 1\ in\ [^ +]+str\_offset\_001\.php\ on\ line\ \d+\ +string\(0\)\ \"\"\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ \-1\ in\ [^ +]+str\_offset\_001\.php\ on\ line\ \d+\ +string\(0\)\ \"\"\ +string\(1\)\ \"a\"\ +string\(1\)\ \"b\"\ +string\(1\)\ \"c\"\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 3\ in\ [^ +]+str\_offset\_001\.php\ on\ line\ \d+\ +string\(0\)\ \"\"\ +string\(1\)\ \"b\"\ +HipHop\ Notice\:\ Uninitialized\ string\ offset\:\ 1\ in\ [^ +]+str\_offset\_001\.php\ on\ line\ \d+\ +string\(0\)\ \"\" \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/str_offset_002.php.exp b/hphp/test/zend/bad/zend/str_offset_002.php.exp index e91aeb192..8597539f2 100644 --- a/hphp/test/zend/bad/zend/str_offset_002.php.exp +++ b/hphp/test/zend/bad/zend/str_offset_002.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Cannot create references to/from string offsets in %sstr_offset_002.php on line 3 +HipHop\ Fatal\ error\:\ Cannot\ create\ references\ to\/from\ string\ offsets\ in\ [^ +]+str\_offset\_002\.php\ on\ line\ 3 \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/sub_001.php.exp b/hphp/test/zend/bad/zend/sub_001.php.exp index 009140590..3f84bfa61 100644 --- a/hphp/test/zend/bad/zend/sub_001.php.exp +++ b/hphp/test/zend/bad/zend/sub_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Unsupported operand types in hphp/test/zend/bad/sub_001.php on line %d +HipHop\ Fatal\ error\:\ Unsupported\ operand\ types\ in\ hphp\/test\/zend\/bad\/zend\/sub\_001\.php\ on\ line\ \d+ \ 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 index 1bbc85458..a22499d32 100644 --- a/hphp/test/zend/bad/zend/trait_exists_001.php.exp +++ b/hphp/test/zend/bad/zend/trait_exists_001.php.exp @@ -1,5 +1,5 @@ -bool(true) -bool(false) -bool(false) -HipHop Warning: trait_exists() expects parameter 1 to be string, object given in hphp/test/zend/bad/trait_exists_001.php on line %d -NULL +bool\(true\)\ +bool\(false\)\ +bool\(false\)\ +HipHop\ Warning\:\ trait\_exists\(\)\ expects\ parameter\ 1\ to\ be\ string\,\ object\ given\ in\ hphp\/test\/zend\/bad\/zend\/trait\_exists\_001\.php\ on\ line\ \d+\ +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.exp index 04a793059..0cdf200af 100644 --- a/hphp/test/zend/bad/zend/trait_exists_002.php.exp +++ b/hphp/test/zend/bad/zend/trait_exists_002.php.exp @@ -1,3 +1,3 @@ bool(false) bool(true) -bool(true) +bool(true) \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp b/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp index 619c56180..0f2e0e072 100644 --- a/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp +++ b/hphp/test/zend/bad/zend/unexpected_ref_bug.php.exp @@ -1 +1 @@ -Done. +Done\. \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv01.php.exp b/hphp/test/zend/bad/zend/unset_cv01.php.exp deleted file mode 100644 index d6e05c16c..000000000 --- a/hphp/test/zend/bad/zend/unset_cv01.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -ok -HipHop Notice: Undefined variable: x in %sunset_cv01.php on line %d diff --git a/hphp/test/zend/bad/zend/unset_cv02.php.exp b/hphp/test/zend/bad/zend/unset_cv02.php.exp deleted file mode 100644 index 78c38ad6c..000000000 --- a/hphp/test/zend/bad/zend/unset_cv02.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -ok -HipHop Notice: Undefined variable: x in %sunset_cv02.php on line %d diff --git a/hphp/test/zend/bad/zend/unset_cv03.php.exp b/hphp/test/zend/bad/zend/unset_cv03.php.exp index 795c9b67c..1908e9938 100644 --- a/hphp/test/zend/bad/zend/unset_cv03.php.exp +++ b/hphp/test/zend/bad/zend/unset_cv03.php.exp @@ -1,2 +1,3 @@ -ok -HipHop Notice: Undefined variable: x in %sunset_cv03.php on line %d +ok\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+unset\_cv03\.php\ on\ line\ \d+ \ 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 index d966b2595..7d133e132 100644 --- a/hphp/test/zend/bad/zend/unset_cv04.php.exp +++ b/hphp/test/zend/bad/zend/unset_cv04.php.exp @@ -1,2 +1,3 @@ -ok -HipHop Notice: Undefined variable: x in %sunset_cv04.php on line %d +ok\ +HipHop\ Notice\:\ Undefined\ variable\:\ x\ in\ [^ +]+unset\_cv04\.php\ on\ line\ \d+ \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/unset_cv07.php b/hphp/test/zend/bad/zend/unset_cv07.php index 9e9c870f1..15fcc5adc 100644 --- a/hphp/test/zend/bad/zend/unset_cv07.php +++ b/hphp/test/zend/bad/zend/unset_cv07.php @@ -1,4 +1,6 @@ Invoke __call via simple method call. -object(A)#%d (0) { +object(A)#1 (0) { } Exception caught OK; continuing. ---> Invoke __call via scope resolution operator within instance. -object(A)#%d (0) { +object(A)#1 (0) { } Exception caught OK; continuing. ---> Invoke __call via scope resolution operator within child instance. -object(B)#%d (0) { +object(B)#4 (0) { } Exception caught OK; continuing. ---> Invoke __call via callback. -object(B)#%d (0) { +object(B)#4 (0) { } Exception caught OK; continuing. ==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/__set__get_001.php b/hphp/test/zend/good/tests-classes/__set__get_001.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/__set__get_001.php rename to hphp/test/zend/good/tests-classes/__set__get_001.php diff --git a/hphp/test/zend/bad/tests-classes/__set__get_001.php.exp b/hphp/test/zend/good/tests-classes/__set__get_001.php.exp similarity index 90% rename from hphp/test/zend/bad/tests-classes/__set__get_001.php.exp rename to hphp/test/zend/good/tests-classes/__set__get_001.php.exp index 457d26edc..1e1056893 100644 --- a/hphp/test/zend/bad/tests-classes/__set__get_001.php.exp +++ b/hphp/test/zend/good/tests-classes/__set__get_001.php.exp @@ -8,7 +8,7 @@ Getting [z] Nothing! Setting [z] to 1 Not OK! -object(setter)#%d (2) { +object(setter)#1 (2) { ["n"]=> int(1) ["x"]=> diff --git a/hphp/test/zend/bad/tests-classes/__set__get_002.php b/hphp/test/zend/good/tests-classes/__set__get_002.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/__set__get_002.php rename to hphp/test/zend/good/tests-classes/__set__get_002.php 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 new file mode 100644 index 000000000..b63e0acc8 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__set__get_002.php.exp @@ -0,0 +1 @@ +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/bad/tests-classes/__set__get_003.php b/hphp/test/zend/good/tests-classes/__set__get_003.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/__set__get_003.php rename to hphp/test/zend/good/tests-classes/__set__get_003.php 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 new file mode 100644 index 000000000..62ca2ad5f --- /dev/null +++ b/hphp/test/zend/good/tests-classes/__set__get_003.php.exp @@ -0,0 +1 @@ +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/bad/tests-classes/__set__get_005.php b/hphp/test/zend/good/tests-classes/__set__get_005.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/__set__get_005.php rename to hphp/test/zend/good/tests-classes/__set__get_005.php diff --git a/hphp/test/zend/bad/tests-classes/__set__get_005.php.exp b/hphp/test/zend/good/tests-classes/__set__get_005.php.exp similarity index 83% rename from hphp/test/zend/bad/tests-classes/__set__get_005.php.exp rename to hphp/test/zend/good/tests-classes/__set__get_005.php.exp index 4e0b32f06..3eeaadca8 100644 --- a/hphp/test/zend/bad/tests-classes/__set__get_005.php.exp +++ b/hphp/test/zend/good/tests-classes/__set__get_005.php.exp @@ -1,7 +1,7 @@ AutoGen::__get Test::__set AutoGen::__get -object(Test)#%d (1) { +object(Test)#2 (1) { ["x":protected]=> array(1) { ["baz"]=> @@ -11,4 +11,4 @@ object(Test)#%d (1) { AutoGen::__get Test::__get string(5) "Check" -===DONE=== +===DONE=== \ 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_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_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_static.php.exp b/hphp/test/zend/good/tests-classes/abstract_static.php.exp deleted file mode 100644 index 936e206c4..000000000 --- a/hphp/test/zend/good/tests-classes/abstract_static.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Call to function show() -HipHop Fatal error: Class fail contains abstract method func and must therefore be declared abstract diff --git a/hphp/test/zend/good/tests-classes/array_access_004.php.exp b/hphp/test/zend/good/tests-classes/array_access_004.php.exp deleted file mode 100644 index 0719877e4..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_004.php.exp +++ /dev/null @@ -1,8 +0,0 @@ -object::offsetGet(1) -string(6) "fooBar" -object::offsetGet(2) -int(1) -object::offsetGet(2) -object::offsetGet(2) -int(1) -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_005.php.exp b/hphp/test/zend/good/tests-classes/array_access_005.php.exp deleted file mode 100644 index c04fbe55e..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_005.php.exp +++ /dev/null @@ -1,17 +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" -} -string(6) "JoeFoo" -string(6) "JoeFoo" -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/array_access_008.php.exp b/hphp/test/zend/good/tests-classes/array_access_008.php.exp deleted file mode 100644 index cdf4b531d..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_008.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -string(3) "Foo" -string(6) "FooBar" -string(9) "FooBarBaz" -===ArrayOverloading=== -string(3) "Foo" -string(3) "Foo" -string(3) "Foo" -string(3) "Foo" -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_009.php b/hphp/test/zend/good/tests-classes/array_access_009.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/array_access_009.php rename to hphp/test/zend/good/tests-classes/array_access_009.php diff --git a/hphp/test/zend/bad/tests-classes/array_access_009.php.exp b/hphp/test/zend/good/tests-classes/array_access_009.php.exp similarity index 91% rename from hphp/test/zend/bad/tests-classes/array_access_009.php.exp rename to hphp/test/zend/good/tests-classes/array_access_009.php.exp index 1d49b0931..2cdd0d027 100644 --- a/hphp/test/zend/bad/tests-classes/array_access_009.php.exp +++ b/hphp/test/zend/good/tests-classes/array_access_009.php.exp @@ -3,9 +3,9 @@ string(6) "FooBar" string(9) "FooBarBaz" ===ArrayOverloading=== ArrayProxy::__construct(0) -object(ArrayProxy)#%d (2) { +object(ArrayProxy)#3 (2) { ["object":"ArrayProxy":private]=> - object(Peoples)#%d (1) { + object(Peoples)#2 (1) { ["person"]=> array(1) { [0]=> @@ -40,9 +40,9 @@ string(12) "FooBarBarBaz" ArrayProxy::__construct(0) ArrayProxy::offsetUnset(0, name) ArrayProxy::__construct(0) -object(ArrayProxy)#%d (2) { +object(ArrayProxy)#3 (2) { ["object":"ArrayProxy":private]=> - object(Peoples)#%d (1) { + object(Peoples)#2 (1) { ["person"]=> array(1) { [0]=> @@ -61,4 +61,4 @@ ArrayProxy::offsetSet(0, name, BlaBla) ArrayProxy::__construct(0) ArrayProxy::offsetGet(0, name) string(6) "BlaBla" -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/array_access_010.php b/hphp/test/zend/good/tests-classes/array_access_010.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/array_access_010.php rename to hphp/test/zend/good/tests-classes/array_access_010.php diff --git a/hphp/test/zend/bad/tests-classes/array_access_010.php.exp b/hphp/test/zend/good/tests-classes/array_access_010.php.exp similarity index 93% rename from hphp/test/zend/bad/tests-classes/array_access_010.php.exp rename to hphp/test/zend/good/tests-classes/array_access_010.php.exp index 5531e9b9d..2f46987a6 100644 --- a/hphp/test/zend/bad/tests-classes/array_access_010.php.exp +++ b/hphp/test/zend/good/tests-classes/array_access_010.php.exp @@ -3,9 +3,9 @@ string(6) "FooBar" string(9) "FooBarBaz" ===ArrayOverloading=== ArrayReferenceProxy::__construct(Array) -object(ArrayReferenceProxy)#%d (2) { +object(ArrayReferenceProxy)#3 (2) { ["object":"ArrayReferenceProxy":private]=> - object(Peoples)#%d (1) { + object(Peoples)#2 (1) { ["person"]=> array(1) { [0]=> @@ -43,9 +43,9 @@ string(12) "FooBarBarBaz" ArrayReferenceProxy::__construct(Array) ArrayReferenceProxy::offsetUnset(Array, name) ArrayReferenceProxy::__construct(Array) -object(ArrayReferenceProxy)#%d (2) { +object(ArrayReferenceProxy)#3 (2) { ["object":"ArrayReferenceProxy":private]=> - object(Peoples)#%d (1) { + object(Peoples)#2 (1) { ["person"]=> array(1) { [0]=> diff --git a/hphp/test/zend/bad/tests-classes/array_access_011.php b/hphp/test/zend/good/tests-classes/array_access_011.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/array_access_011.php rename to hphp/test/zend/good/tests-classes/array_access_011.php diff --git a/hphp/test/zend/bad/tests-classes/array_access_011.php.exp b/hphp/test/zend/good/tests-classes/array_access_011.php.exp similarity index 93% rename from hphp/test/zend/bad/tests-classes/array_access_011.php.exp rename to hphp/test/zend/good/tests-classes/array_access_011.php.exp index 1982abd45..eb9ed6e3b 100644 --- a/hphp/test/zend/bad/tests-classes/array_access_011.php.exp +++ b/hphp/test/zend/good/tests-classes/array_access_011.php.exp @@ -3,9 +3,9 @@ string(6) "FooBar" string(9) "FooBarBaz" ===ArrayOverloading=== ArrayAccessReferenceProxy::__construct(0) -object(ArrayAccessReferenceProxy)#%d (3) { +object(ArrayAccessReferenceProxy)#3 (3) { ["object":"ArrayAccessReferenceProxy":private]=> - object(Peoples)#%d (1) { + object(Peoples)#2 (1) { ["person"]=> &array(1) { [0]=> @@ -48,9 +48,9 @@ string(12) "FooBarBarBaz" ArrayAccessReferenceProxy::__construct(0) ArrayAccessReferenceProxy::offsetUnset(0, name) ArrayAccessReferenceProxy::__construct(0) -object(ArrayAccessReferenceProxy)#%d (3) { +object(ArrayAccessReferenceProxy)#3 (3) { ["object":"ArrayAccessReferenceProxy":private]=> - object(Peoples)#%d (1) { + object(Peoples)#2 (1) { ["person"]=> &array(1) { [0]=> diff --git a/hphp/test/zend/good/tests-classes/array_access_012.php.exp b/hphp/test/zend/good/tests-classes/array_access_012.php.exp deleted file mode 100644 index d26c0f908..000000000 --- a/hphp/test/zend/good/tests-classes/array_access_012.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE=== diff --git a/hphp/test/zend/good/tests-classes/autoload_009.php.exp b/hphp/test/zend/good/tests-classes/autoload_009.php.exp deleted file mode 100644 index 371cd8db7..000000000 --- a/hphp/test/zend/good/tests-classes/autoload_009.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Argument 1 passed to f() must be an instance of UndefClass, stdClass given in hphp/test/zend/good/tests-classes/autoload_009.php on line 10 diff --git a/hphp/test/zend/bad/tests-classes/autoload_020.php b/hphp/test/zend/good/tests-classes/autoload_020.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/autoload_020.php rename to hphp/test/zend/good/tests-classes/autoload_020.php diff --git a/hphp/test/zend/bad/tests-classes/autoload_020.php.exp b/hphp/test/zend/good/tests-classes/autoload_020.php.exp similarity index 63% rename from hphp/test/zend/bad/tests-classes/autoload_020.php.exp rename to hphp/test/zend/good/tests-classes/autoload_020.php.exp index 862d2b383..43c16aaed 100644 --- a/hphp/test/zend/bad/tests-classes/autoload_020.php.exp +++ b/hphp/test/zend/good/tests-classes/autoload_020.php.exp @@ -1,5 +1,5 @@ in autoload: C -object(__PHP_Incomplete_Class)#%d (1) { +object(__PHP_Incomplete_Class)#1 (1) { ["__PHP_Incomplete_Class_Name"]=> string(1) "C" } diff --git a/hphp/test/zend/bad/tests-classes/bug27468.php b/hphp/test/zend/good/tests-classes/bug27468.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/bug27468.php rename to hphp/test/zend/good/tests-classes/bug27468.php diff --git a/hphp/test/zend/good/tests-classes/bug27468.php.exp b/hphp/test/zend/good/tests-classes/bug27468.php.exp new file mode 100644 index 000000000..2e6c0dd08 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/bug27468.php.exp @@ -0,0 +1,3 @@ +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/bad/tests-classes/class_example.php b/hphp/test/zend/good/tests-classes/class_example.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/class_example.php rename to hphp/test/zend/good/tests-classes/class_example.php diff --git a/hphp/test/zend/bad/tests-classes/class_example.php.exp b/hphp/test/zend/good/tests-classes/class_example.php.exp similarity index 99% rename from hphp/test/zend/bad/tests-classes/class_example.php.exp rename to hphp/test/zend/good/tests-classes/class_example.php.exp index 2ab4ab629..7ed46356b 100644 --- a/hphp/test/zend/bad/tests-classes/class_example.php.exp +++ b/hphp/test/zend/good/tests-classes/class_example.php.exp @@ -1,3 +1,4 @@ + User information ---------------- @@ -32,3 +33,5 @@ First name: Andi Family name: Gutmans Address: New address... Phone: +972-4-8231621 + + diff --git a/hphp/test/zend/bad/tests-classes/clone_005.php b/hphp/test/zend/good/tests-classes/clone_005.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/clone_005.php rename to hphp/test/zend/good/tests-classes/clone_005.php diff --git a/hphp/test/zend/bad/tests-classes/clone_005.php.exp b/hphp/test/zend/good/tests-classes/clone_005.php.exp similarity index 50% rename from hphp/test/zend/bad/tests-classes/clone_005.php.exp rename to hphp/test/zend/good/tests-classes/clone_005.php.exp index e27d25065..9bfff2be4 100644 --- a/hphp/test/zend/bad/tests-classes/clone_005.php.exp +++ b/hphp/test/zend/good/tests-classes/clone_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot override final method base::__clone() in %sclone_005.php on line %d +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/bad/tests-classes/constants_basic_002.php b/hphp/test/zend/good/tests-classes/constants_basic_002.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/constants_basic_002.php rename to hphp/test/zend/good/tests-classes/constants_basic_002.php diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_002.php.exp b/hphp/test/zend/good/tests-classes/constants_basic_002.php.exp similarity index 70% rename from hphp/test/zend/bad/tests-classes/constants_basic_002.php.exp rename to hphp/test/zend/good/tests-classes/constants_basic_002.php.exp index 088bde34f..f8853f116 100644 --- a/hphp/test/zend/bad/tests-classes/constants_basic_002.php.exp +++ b/hphp/test/zend/good/tests-classes/constants_basic_002.php.exp @@ -3,9 +3,9 @@ Read class constant. string(5) "hello" Fail to read class constant from instance. -HipHop Notice: Undefined property: aclass::$myConst in hphp/test/zend/bad/tests-classes/constants_basic_002.php on line 12 +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)#%d (0) { +object(aclass)#1 (0) { } diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_004.php b/hphp/test/zend/good/tests-classes/constants_basic_004.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/constants_basic_004.php rename to hphp/test/zend/good/tests-classes/constants_basic_004.php diff --git a/hphp/test/zend/bad/tests-classes/constants_basic_004.php.exp b/hphp/test/zend/good/tests-classes/constants_basic_004.php.exp similarity index 91% rename from hphp/test/zend/bad/tests-classes/constants_basic_004.php.exp rename to hphp/test/zend/good/tests-classes/constants_basic_004.php.exp index e06cf020d..5b277fb4d 100644 --- a/hphp/test/zend/bad/tests-classes/constants_basic_004.php.exp +++ b/hphp/test/zend/good/tests-classes/constants_basic_004.php.exp @@ -22,21 +22,21 @@ array(1) { } Instance properties: -object(X)#%d (1) { +object(X)#1 (1) { ["a_x"]=> array(1) { ["key"]=> string(5) "value" } } -object(B)#%d (1) { +object(B)#2 (1) { ["a_b"]=> array(1) { ["key"]=> string(5) "value" } } -object(C)#%d (3) { +object(C)#3 (3) { ["a_c_parent"]=> array(1) { ["key"]=> 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_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_004.php.exp b/hphp/test/zend/good/tests-classes/constants_error_004.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/tests-classes/constants_error_005.php.exp b/hphp/test/zend/good/tests-classes/constants_error_005.php.exp deleted file mode 100644 index 6691d1121..000000000 --- a/hphp/test/zend/good/tests-classes/constants_error_005.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected '"' in hphp/test/zend/good/tests-classes/constants_error_005.php on line 4 diff --git a/hphp/test/zend/good/tests-classes/constants_error_006.php.exp b/hphp/test/zend/good/tests-classes/constants_error_006.php.exp deleted file mode 100644 index e3171315b..000000000 --- a/hphp/test/zend/good/tests-classes/constants_error_006.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected '=' in hphp/test/zend/good/tests-classes/constants_error_006.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/constants_error_007.php.exp b/hphp/test/zend/good/tests-classes/constants_error_007.php.exp deleted file mode 100644 index bf7196b3c..000000000 --- a/hphp/test/zend/good/tests-classes/constants_error_007.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: syntax error, unexpected ';', expecting '(' in hphp/test/zend/good/tests-classes/constants_error_007.php on line 8 diff --git a/hphp/test/zend/good/tests-classes/destructor_and_echo.php.exp b/hphp/test/zend/good/tests-classes/destructor_and_echo.php.exp deleted file mode 100644 index bd22dd7f3..000000000 --- a/hphp/test/zend/good/tests-classes/destructor_and_echo.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Test::__construct -===DONE===Test::__destruct diff --git a/hphp/test/zend/good/tests-classes/destructor_visibility_002.php.exp b/hphp/test/zend/good/tests-classes/destructor_visibility_002.php.exp deleted file mode 100644 index 9eabfd042..000000000 --- a/hphp/test/zend/good/tests-classes/destructor_visibility_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE===Base::__destruct diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_009.php.exp b/hphp/test/zend/good/tests-classes/factory_and_singleton_009.php.exp deleted file mode 100644 index 60bcea834..000000000 --- a/hphp/test/zend/good/tests-classes/factory_and_singleton_009.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE===test::__destruct diff --git a/hphp/test/zend/good/tests-classes/factory_and_singleton_010.php.exp b/hphp/test/zend/good/tests-classes/factory_and_singleton_010.php.exp deleted file mode 100644 index 60bcea834..000000000 --- a/hphp/test/zend/good/tests-classes/factory_and_singleton_010.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE===test::__destruct 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_ctor1.php.exp b/hphp/test/zend/good/tests-classes/final_ctor1.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/tests-classes/final_ctor2.php.exp b/hphp/test/zend/good/tests-classes/final_ctor2.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/tests-classes/inheritance_003.php.exp b/hphp/test/zend/good/tests-classes/inheritance_003.php.exp deleted file mode 100644 index 922a780ce..000000000 --- a/hphp/test/zend/good/tests-classes/inheritance_003.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/inheritance_004.php.exp b/hphp/test/zend/good/tests-classes/inheritance_004.php.exp deleted file mode 100644 index 922a780ce..000000000 --- a/hphp/test/zend/good/tests-classes/inheritance_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-classes/inheritance_006.php b/hphp/test/zend/good/tests-classes/inheritance_006.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/inheritance_006.php rename to hphp/test/zend/good/tests-classes/inheritance_006.php diff --git a/hphp/test/zend/good/tests-classes/inheritance_006.php.exp b/hphp/test/zend/good/tests-classes/inheritance_006.php.exp new file mode 100644 index 000000000..b6b10523b --- /dev/null +++ b/hphp/test/zend/good/tests-classes/inheritance_006.php.exp @@ -0,0 +1,6 @@ +object(C)#1 (2) { + ["c":"B":private]=> + NULL + ["c":"A":private]=> + NULL +} 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_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_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/bad/tests-classes/interface_implemented.php b/hphp/test/zend/good/tests-classes/interface_implemented.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/interface_implemented.php rename to hphp/test/zend/good/tests-classes/interface_implemented.php diff --git a/hphp/test/zend/bad/tests-classes/interface_implemented.php.exp b/hphp/test/zend/good/tests-classes/interface_implemented.php.exp similarity index 99% rename from hphp/test/zend/bad/tests-classes/interface_implemented.php.exp rename to hphp/test/zend/good/tests-classes/interface_implemented.php.exp index ebac50849..b85e3686a 100644 --- a/hphp/test/zend/bad/tests-classes/interface_implemented.php.exp +++ b/hphp/test/zend/good/tests-classes/interface_implemented.php.exp @@ -37,3 +37,4 @@ 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_member.php.exp b/hphp/test/zend/good/tests-classes/interface_member.php.exp deleted file mode 100644 index e69de29bb..000000000 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_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/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/method_override_optional_arg_001.php.exp b/hphp/test/zend/good/tests-classes/method_override_optional_arg_001.php.exp deleted file mode 100644 index aa90d8965..000000000 --- a/hphp/test/zend/good/tests-classes/method_override_optional_arg_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -int(1) -int(3) diff --git a/hphp/test/zend/good/tests-classes/method_override_optional_arg_002.php.exp b/hphp/test/zend/good/tests-classes/method_override_optional_arg_002.php.exp deleted file mode 100644 index 257cc5642..000000000 --- a/hphp/test/zend/good/tests-classes/method_override_optional_arg_002.php.exp +++ /dev/null @@ -1 +0,0 @@ -foo 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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/bad/tests-classes/static_this.php b/hphp/test/zend/good/tests-classes/static_this.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/static_this.php rename to hphp/test/zend/good/tests-classes/static_this.php diff --git a/hphp/test/zend/good/tests-classes/static_this.php.exp b/hphp/test/zend/good/tests-classes/static_this.php.exp new file mode 100644 index 000000000..6c2a749a3 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/static_this.php.exp @@ -0,0 +1,7 @@ +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/bad/tests-classes/this.php b/hphp/test/zend/good/tests-classes/this.php similarity index 100% rename from hphp/test/zend/bad/tests-classes/this.php rename to hphp/test/zend/good/tests-classes/this.php diff --git a/hphp/test/zend/good/tests-classes/this.php.exp b/hphp/test/zend/good/tests-classes/this.php.exp new file mode 100644 index 000000000..efbb39b55 --- /dev/null +++ b/hphp/test/zend/good/tests-classes/this.php.exp @@ -0,0 +1 @@ +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/tostring_002.php.exp b/hphp/test/zend/good/tests-classes/tostring_002.php.exp deleted file mode 100644 index 743231ec2..000000000 --- a/hphp/test/zend/good/tests-classes/tostring_002.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Hello -====DONE====Hello diff --git a/hphp/test/zend/good/tests-classes/type_hinting_001.php.exp b/hphp/test/zend/good/tests-classes/type_hinting_001.php.exp deleted file mode 100644 index c11ae0ce6..000000000 --- a/hphp/test/zend/good/tests-classes/type_hinting_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Argument 1 passed to FooBar::a() must be an instance of Foo, Blort given in hphp/test/zend/good/tests-classes/type_hinting_001.php on line 14 diff --git a/hphp/test/zend/good/tests-classes/type_hinting_003.php.exp b/hphp/test/zend/good/tests-classes/type_hinting_003.php.exp deleted file mode 100644 index 2783352f7..000000000 --- a/hphp/test/zend/good/tests-classes/type_hinting_003.php.exp +++ /dev/null @@ -1,18 +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) -} -HipHop Fatal error: Argument 1 passed to Test::f1() must be an instance of array, int given in hphp/test/zend/good/tests-classes/type_hinting_003.php on line 9 diff --git a/hphp/test/zend/good/tests-classes/type_hinting_005b.php.exp b/hphp/test/zend/good/tests-classes/type_hinting_005b.php.exp deleted file mode 100644 index e18da7690..000000000 --- a/hphp/test/zend/good/tests-classes/type_hinting_005b.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -No hint, should be array. -==DONE== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/type_hinting_005c.php.exp b/hphp/test/zend/good/tests-classes/type_hinting_005c.php.exp deleted file mode 100644 index 066da343b..000000000 --- a/hphp/test/zend/good/tests-classes/type_hinting_005c.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Array hint, should be class. -==DONE== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-classes/type_hinting_005d.php.exp b/hphp/test/zend/good/tests-classes/type_hinting_005d.php.exp deleted file mode 100644 index f8ae899bd..000000000 --- a/hphp/test/zend/good/tests-classes/type_hinting_005d.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -Array hint, should be nothing. -==DONE== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/019.php.exp b/hphp/test/zend/good/tests-lang/019.php.exp deleted file mode 100644 index 4d310f7d9..000000000 --- a/hphp/test/zend/good/tests-lang/019.php.exp +++ /dev/null @@ -1,21 +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()! -HipHop Fatal error: syntax error, unexpected $end diff --git a/hphp/test/zend/bad/tests-lang/bug18872.php b/hphp/test/zend/good/tests-lang/bug18872.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug18872.php rename to hphp/test/zend/good/tests-lang/bug18872.php diff --git a/hphp/test/zend/bad/tests-lang/bug18872.php.exp b/hphp/test/zend/good/tests-lang/bug18872.php.exp similarity index 57% rename from hphp/test/zend/bad/tests-lang/bug18872.php.exp rename to hphp/test/zend/good/tests-lang/bug18872.php.exp index a5c880627..4188e1897 100644 --- a/hphp/test/zend/bad/tests-lang/bug18872.php.exp +++ b/hphp/test/zend/good/tests-lang/bug18872.php.exp @@ -1,2 +1,3 @@ 3 3 + \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug21094.php b/hphp/test/zend/good/tests-lang/bug21094.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug21094.php rename to hphp/test/zend/good/tests-lang/bug21094.php diff --git a/hphp/test/zend/good/tests-lang/bug21094.php.exp b/hphp/test/zend/good/tests-lang/bug21094.php.exp new file mode 100644 index 000000000..71779a4f6 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug21094.php.exp @@ -0,0 +1 @@ +[1024] errstr: test, errfile: hphp/test/zend/good/tests-lang/bug21094.php, errline: 10 diff --git a/hphp/test/zend/good/tests-lang/bug23584.php b/hphp/test/zend/good/tests-lang/bug23584.php new file mode 100644 index 000000000..fe3d5b19b --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug23584.php @@ -0,0 +1,8 @@ +#!php + \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/bug23584.php.exp b/hphp/test/zend/good/tests-lang/bug23584.php.exp new file mode 100644 index 000000000..3ed48485e --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug23584.php.exp @@ -0,0 +1 @@ +HipHop Notice: Undefined variable: foo in hphp/test/zend/good/tests-lang/bug23584.php on line 6 diff --git a/hphp/test/zend/bad/tests-lang/bug24403.php b/hphp/test/zend/good/tests-lang/bug24403.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug24403.php rename to hphp/test/zend/good/tests-lang/bug24403.php diff --git a/hphp/test/zend/good/tests-lang/bug24403.php.exp b/hphp/test/zend/good/tests-lang/bug24403.php.exp new file mode 100644 index 000000000..2abf58019 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug24403.php.exp @@ -0,0 +1 @@ +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/bug25547.php.exp b/hphp/test/zend/good/tests-lang/bug25547.php.exp deleted file mode 100644 index 46cd65db8..000000000 --- a/hphp/test/zend/good/tests-lang/bug25547.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -Array -( - [foo] => 1 -) -Done \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/bug29893.php b/hphp/test/zend/good/tests-lang/bug29893.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/bug29893.php rename to hphp/test/zend/good/tests-lang/bug29893.php diff --git a/hphp/test/zend/good/tests-lang/bug29893.php.exp b/hphp/test/zend/good/tests-lang/bug29893.php.exp new file mode 100644 index 000000000..c96019c51 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/bug29893.php.exp @@ -0,0 +1,2 @@ +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/bug32828.php.exp b/hphp/test/zend/good/tests-lang/bug32828.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php b/hphp/test/zend/good/tests-lang/compare_objects_basic1.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/compare_objects_basic1.php rename to hphp/test/zend/good/tests-lang/compare_objects_basic1.php diff --git a/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php.exp b/hphp/test/zend/good/tests-lang/compare_objects_basic1.php.exp similarity index 99% rename from hphp/test/zend/bad/tests-lang/compare_objects_basic1.php.exp rename to hphp/test/zend/good/tests-lang/compare_objects_basic1.php.exp index 518f4d16e..e9da17d7b 100644 --- a/hphp/test/zend/bad/tests-lang/compare_objects_basic1.php.exp +++ b/hphp/test/zend/good/tests-lang/compare_objects_basic1.php.exp @@ -1,3 +1,4 @@ + Simple test for standard compare object handler -- The following compare should return TRUE -- diff --git a/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php b/hphp/test/zend/good/tests-lang/compare_objects_basic2.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/compare_objects_basic2.php rename to hphp/test/zend/good/tests-lang/compare_objects_basic2.php diff --git a/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php.exp b/hphp/test/zend/good/tests-lang/compare_objects_basic2.php.exp similarity index 88% rename from hphp/test/zend/bad/tests-lang/compare_objects_basic2.php.exp rename to hphp/test/zend/good/tests-lang/compare_objects_basic2.php.exp index 005c886f9..94d613363 100644 --- a/hphp/test/zend/bad/tests-lang/compare_objects_basic2.php.exp +++ b/hphp/test/zend/good/tests-lang/compare_objects_basic2.php.exp @@ -1,3 +1,4 @@ + Simple test comparing two objects with different compare callback handler bool(false) -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/engine_assignExecutionOrder_001.php rename to hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php 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 new file mode 100644 index 000000000..c5e7ea534 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_001.php.exp @@ -0,0 +1,78 @@ + + +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_007.php.exp b/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_007.php.exp deleted file mode 100644 index 7abf217d3..000000000 --- a/hphp/test/zend/good/tests-lang/engine_assignExecutionOrder_007.php.exp +++ /dev/null @@ -1,27 +0,0 @@ -Array -( - [2] => Array - ( - [3] => stdClass - ) - - [0] => Array - ( - [1] => stdClass Object - ( - ) - - ) - -) -stdClass Object -( - [a] => stdClass Object - ( - [b] => stdClass Object - ( - ) - - ) - -) 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/bad/tests-lang/foreachLoop.012.php b/hphp/test/zend/good/tests-lang/foreachLoop.012.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoop.012.php rename to hphp/test/zend/good/tests-lang/foreachLoop.012.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.012.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.012.php.exp similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoop.012.php.exp rename to hphp/test/zend/good/tests-lang/foreachLoop.012.php.exp diff --git a/hphp/test/zend/bad/tests-lang/foreachLoop.017.php b/hphp/test/zend/good/tests-lang/foreachLoop.017.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoop.017.php rename to hphp/test/zend/good/tests-lang/foreachLoop.017.php diff --git a/hphp/test/zend/good/tests-lang/foreachLoop.017.php.exp b/hphp/test/zend/good/tests-lang/foreachLoop.017.php.exp new file mode 100644 index 000000000..1ebed13a7 --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoop.017.php.exp @@ -0,0 +1,3 @@ +10 +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/bad/tests-lang/foreachLoopIteratorAggregate.001.php b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.001.php rename to hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.001.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.exp similarity index 97% rename from hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.001.php.exp rename to hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.exp index 551c8dfe6..2f8bf6b40 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.001.php.exp +++ b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.001.php.exp @@ -1,6 +1,6 @@ -object(EuropeanMeals)#%d (2) { +object(EuropeanMeals)#1 (2) { ["storedEnglishMealIterator":"EuropeanMeals":private]=> - object(EnglishMealIterator)#%d (2) { + object(EnglishMealIterator)#2 (2) { ["pos":"EnglishMealIterator":private]=> int(0) ["myContent":"EnglishMealIterator":private]=> @@ -14,7 +14,7 @@ object(EuropeanMeals)#%d (2) { } } ["storedFrenchMealIterator":"EuropeanMeals":private]=> - object(FrenchMealIterator)#%d (2) { + object(FrenchMealIterator)#3 (2) { ["pos":"FrenchMealIterator":private]=> int(0) ["myContent":"FrenchMealIterator":private]=> diff --git a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.002.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.002.php.exp deleted file mode 100644 index 922a780ce..000000000 --- a/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.002.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php rename to hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php.exp similarity index 99% rename from hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php.exp rename to hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php.exp index a4296cf3c..3714a5bb6 100644 --- a/hphp/test/zend/bad/tests-lang/foreachLoopIteratorAggregate.003.php.exp +++ b/hphp/test/zend/good/tests-lang/foreachLoopIteratorAggregate.003.php.exp @@ -1,3 +1,4 @@ + -----( A1: )----- --> EnglishMealIterator::rewind (0) --> EnglishMealIterator::valid (0) @@ -54,4 +55,4 @@ meal 1 => dinner meal 2 => tea --> EnglishMealIterator::next (2) --> EnglishMealIterator::valid (3) -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php b/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/foreachLoopObjects.004.php rename to hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php diff --git a/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php.exp b/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php.exp new file mode 100644 index 000000000..43fbe8e8b --- /dev/null +++ b/hphp/test/zend/good/tests-lang/foreachLoopObjects.004.php.exp @@ -0,0 +1,21 @@ + +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/bad/tests-lang/func_get_arg.002.php b/hphp/test/zend/good/tests-lang/func_get_arg.002.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/func_get_arg.002.php rename to hphp/test/zend/good/tests-lang/func_get_arg.002.php diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.002.php.exp b/hphp/test/zend/good/tests-lang/func_get_arg.002.php.exp similarity index 93% rename from hphp/test/zend/bad/tests-lang/func_get_arg.002.php.exp rename to hphp/test/zend/good/tests-lang/func_get_arg.002.php.exp index b46545bc4..5c8ce7e67 100644 --- a/hphp/test/zend/bad/tests-lang/func_get_arg.002.php.exp +++ b/hphp/test/zend/good/tests-lang/func_get_arg.002.php.exp @@ -1,2 +1,3 @@ int(3) int(3) + diff --git a/hphp/test/zend/bad/tests-lang/func_get_arg.004.php b/hphp/test/zend/good/tests-lang/func_get_arg.004.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/func_get_arg.004.php rename to hphp/test/zend/good/tests-lang/func_get_arg.004.php 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 new file mode 100644 index 000000000..9c581f1bd --- /dev/null +++ b/hphp/test/zend/good/tests-lang/func_get_arg.004.php.exp @@ -0,0 +1,3 @@ +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_num_args.003.php.exp b/hphp/test/zend/good/tests-lang/func_num_args.003.php.exp deleted file mode 100644 index bf35b8542..000000000 --- a/hphp/test/zend/good/tests-lang/func_num_args.003.php.exp +++ /dev/null @@ -1 +0,0 @@ -Core dumped: Segmentation fault diff --git a/hphp/test/zend/good/tests-lang/passByReference_004.php.exp b/hphp/test/zend/good/tests-lang/passByReference_004.php.exp deleted file mode 100644 index a3b03157e..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_004.php.exp +++ /dev/null @@ -1 +0,0 @@ -int(5) diff --git a/hphp/test/zend/good/tests-lang/passByReference_005.php.exp b/hphp/test/zend/good/tests-lang/passByReference_005.php.exp deleted file mode 100644 index d36bc6cae..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_005.php.exp +++ /dev/null @@ -1,72 +0,0 @@ - - ---- Pass by ref / pass by val: functions ---- -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 72 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 74 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 77 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 77 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 78 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 78 -NULL -NULL -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 81 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 82 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 85 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 86 -string(11) "Ref changed" -NULL -string(12) "Ref1 changed" -string(12) "Ref2 changed" - - - ---- Pass by ref / pass by val: static method calls ---- -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 95 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 97 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 100 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 100 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 101 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 101 -NULL -NULL -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 104 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 105 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 108 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 109 -string(11) "Ref changed" -NULL -string(12) "Ref1 changed" -string(12) "Ref2 changed" - - - ---- Pass by ref / pass by val: instance method calls ---- -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 117 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 118 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 121 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 123 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 126 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 126 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 127 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 127 -NULL -NULL -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 130 -HipHop Notice: Undefined variable: u1 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 131 -NULL -string(11) "Ref changed" -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 134 -HipHop Notice: Undefined variable: u2 in hphp/test/zend/good/tests-lang/passByReference_005.php on line 135 -string(11) "Ref changed" -NULL -string(12) "Ref1 changed" -string(12) "Ref2 changed" diff --git a/hphp/test/zend/good/tests-lang/passByReference_007.php.exp b/hphp/test/zend/good/tests-lang/passByReference_007.php.exp deleted file mode 100644 index 5e598a514..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_007.php.exp +++ /dev/null @@ -1,20 +0,0 @@ -Pass a function call that returns a value: -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: -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: -string(8) "original" -string(8) "original" -Pass a method call that returns a reference: -string(8) "original" -string(7) "changed" diff --git a/hphp/test/zend/bad/tests-lang/passByReference_008.php b/hphp/test/zend/good/tests-lang/passByReference_008.php similarity index 100% rename from hphp/test/zend/bad/tests-lang/passByReference_008.php rename to hphp/test/zend/good/tests-lang/passByReference_008.php diff --git a/hphp/test/zend/bad/tests-lang/passByReference_008.php.exp b/hphp/test/zend/good/tests-lang/passByReference_008.php.exp similarity index 87% rename from hphp/test/zend/bad/tests-lang/passByReference_008.php.exp rename to hphp/test/zend/good/tests-lang/passByReference_008.php.exp index d89d6739c..5531f9899 100644 --- a/hphp/test/zend/bad/tests-lang/passByReference_008.php.exp +++ b/hphp/test/zend/good/tests-lang/passByReference_008.php.exp @@ -9,4 +9,4 @@ string(9) "changed.y" -- Ref, Val -- string(10) "original.b" string(10) "original.b" -string(9) "changed.x" \ No newline at end of file +string(9) "changed.x" diff --git a/hphp/test/zend/good/tests-lang/passByReference_010.php.exp b/hphp/test/zend/good/tests-lang/passByReference_010.php.exp deleted file mode 100644 index e929d16d9..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_010.php.exp +++ /dev/null @@ -1,20 +0,0 @@ - - ----> Pass constant assignment by reference: -string(10) "a.original" -string(10) "a.original" - - ----> Pass variable assignment by reference: -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: -string(20) "b.originala.original" -string(10) "a.original" diff --git a/hphp/test/zend/good/tests-lang/passByReference_012.php.exp b/hphp/test/zend/good/tests-lang/passByReference_012.php.exp deleted file mode 100644 index 1e2ac75ed..000000000 --- a/hphp/test/zend/good/tests-lang/passByReference_012.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -string(3) "two" -string(3) "one" -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/tests-lang/type_hints_001.php.exp b/hphp/test/zend/good/tests-lang/type_hints_001.php.exp deleted file mode 100644 index b966d1af8..000000000 --- a/hphp/test/zend/good/tests-lang/type_hints_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Argument 1 passed to type_hint_foo() must be an instance of Foo, Bar given in hphp/test/zend/good/tests-lang/type_hints_001.php on line 10 diff --git a/hphp/test/zend/good/tests-output/bug60282.php.exp b/hphp/test/zend/good/tests-output/bug60282.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/tests-output/ob_010.php.exp b/hphp/test/zend/good/tests-output/ob_010.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/tests-output/ob_011.php.exp b/hphp/test/zend/good/tests-output/ob_011.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/tests-output/ob_end_clean_basic_001.php.exp b/hphp/test/zend/good/tests-output/ob_end_clean_basic_001.php.exp deleted file mode 100644 index 91ecb931f..000000000 --- a/hphp/test/zend/good/tests-output/ob_end_clean_basic_001.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -bool(false) -bool(true) -bool(true) -bool(false) diff --git a/hphp/test/zend/good/tests-output/ob_end_flush_basic_001.php.exp b/hphp/test/zend/good/tests-output/ob_end_flush_basic_001.php.exp deleted file mode 100644 index b91015f4d..000000000 --- a/hphp/test/zend/good/tests-output/ob_end_flush_basic_001.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -*** Testing ob_end_flush() : basic functionality *** - --- Testing ob_end_flush() function with Zero arguments -- -bool(false) -bool(true) -Hello -bool(true) -bool(false) -Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_get_level_basic_001.php.exp b/hphp/test/zend/good/tests-output/ob_get_level_basic_001.php.exp deleted file mode 100644 index 5801124a2..000000000 --- a/hphp/test/zend/good/tests-output/ob_get_level_basic_001.php.exp +++ /dev/null @@ -1,10 +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) -int(0) -Done \ No newline at end of file diff --git a/hphp/test/zend/good/tests-output/ob_start_basic_005.php.exp b/hphp/test/zend/good/tests-output/ob_start_basic_005.php.exp deleted file mode 100644 index 4fef775c0..000000000 --- a/hphp/test/zend/good/tests-output/ob_start_basic_005.php.exp +++ /dev/null @@ -1,5 +0,0 @@ -bool(true) -Array -( - [0] => C::h -) diff --git a/hphp/test/zend/good/tests-run-test/test003.php b/hphp/test/zend/good/tests-run-test/test003.php new file mode 100644 index 000000000..ac70c8296 --- /dev/null +++ b/hphp/test/zend/good/tests-run-test/test003.php @@ -0,0 +1 @@ +abcde12314235xyz34264768286abcde \ No newline at end of file diff --git a/hphp/test/zend/good/tests-run-test/test003.php.exp b/hphp/test/zend/good/tests-run-test/test003.php.exp new file mode 100644 index 000000000..ac70c8296 --- /dev/null +++ b/hphp/test/zend/good/tests-run-test/test003.php.exp @@ -0,0 +1 @@ +abcde12314235xyz34264768286abcde \ No newline at end of file diff --git a/hphp/test/zend/good/tests-run-test/test006.php b/hphp/test/zend/good/tests-run-test/test006.php new file mode 100644 index 000000000..ce31ce7f2 --- /dev/null +++ b/hphp/test/zend/good/tests-run-test/test006.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/hphp/test/zend/good/tests-run-test/test006.php.exp b/hphp/test/zend/good/tests-run-test/test006.php.exp new file mode 100644 index 000000000..ffcdd1417 --- /dev/null +++ b/hphp/test/zend/good/tests-run-test/test006.php.exp @@ -0,0 +1 @@ +HipHop Warning: Division by zero in hphp/test/zend/good/tests-run-test/test006.php on line 3 diff --git a/hphp/test/zend/good/zend-traits-bugs/abstract-methods05.php.exp b/hphp/test/zend/good/zend-traits-bugs/abstract-methods05.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend-traits-bugs/abstract-methods06.php.exp b/hphp/test/zend/good/zend-traits-bugs/abstract-methods06.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend-traits-bugs/missing-trait.php b/hphp/test/zend/good/zend-traits-bugs/missing-trait.php similarity index 100% rename from hphp/test/zend/bad/zend-traits-bugs/missing-trait.php rename to hphp/test/zend/good/zend-traits-bugs/missing-trait.php diff --git a/hphp/test/zend/good/zend-traits-bugs/missing-trait.php.exp b/hphp/test/zend/good/zend-traits-bugs/missing-trait.php.exp new file mode 100644 index 000000000..83520a009 --- /dev/null +++ b/hphp/test/zend/good/zend-traits-bugs/missing-trait.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Trait 'THello' not found in hphp/test/zend/good/zend-traits-bugs/missing-trait.php on line 4 diff --git a/hphp/test/zend/good/zend-traits/bug55554d.php.exp b/hphp/test/zend/good/zend-traits/bug55554d.php.exp deleted file mode 100644 index 9616afaf0..000000000 --- a/hphp/test/zend/good/zend-traits/bug55554d.php.exp +++ /dev/null @@ -1 +0,0 @@ -TNew executed diff --git a/hphp/test/zend/bad/zend-traits/bug60173.php b/hphp/test/zend/good/zend-traits/bug60173.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/bug60173.php rename to hphp/test/zend/good/zend-traits/bug60173.php diff --git a/hphp/test/zend/bad/zend-traits/bug60173.php.exp b/hphp/test/zend/good/zend-traits/bug60173.php.exp similarity index 59% rename from hphp/test/zend/bad/zend-traits/bug60173.php.exp rename to hphp/test/zend/good/zend-traits/bug60173.php.exp index efc6c8ef6..a6b997a4b 100644 --- a/hphp/test/zend/bad/zend-traits/bug60173.php.exp +++ b/hphp/test/zend/good/zend-traits/bug60173.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot instantiate trait foo in hphp/test/zend/bad/bug60173.php on line %d +HipHop Fatal error: Cannot instantiate trait foo in hphp/test/zend/good/zend-traits/bug60173.php on line 6 diff --git a/hphp/test/zend/bad/zend-traits/error_002.php b/hphp/test/zend/good/zend-traits/error_002.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_002.php rename to hphp/test/zend/good/zend-traits/error_002.php diff --git a/hphp/test/zend/good/zend-traits/error_002.php.exp b/hphp/test/zend/good/zend-traits/error_002.php.exp new file mode 100644 index 000000000..9ad6187db --- /dev/null +++ b/hphp/test/zend/good/zend-traits/error_002.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Trait 'abc' not found in hphp/test/zend/good/zend-traits/error_002.php on line 3 diff --git a/hphp/test/zend/bad/zend-traits/error_003.php b/hphp/test/zend/good/zend-traits/error_003.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_003.php rename to hphp/test/zend/good/zend-traits/error_003.php diff --git a/hphp/test/zend/bad/zend-traits/error_003.php.exp b/hphp/test/zend/good/zend-traits/error_003.php.exp similarity index 55% rename from hphp/test/zend/bad/zend-traits/error_003.php.exp rename to hphp/test/zend/good/zend-traits/error_003.php.exp index 6f8b61aa3..fc8376efc 100644 --- a/hphp/test/zend/bad/zend-traits/error_003.php.exp +++ b/hphp/test/zend/good/zend-traits/error_003.php.exp @@ -1 +1 @@ -HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/bad/error_003.php on line %d +HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/good/zend-traits/error_003.php on line 6 diff --git a/hphp/test/zend/bad/zend-traits/error_004.php b/hphp/test/zend/good/zend-traits/error_004.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_004.php rename to hphp/test/zend/good/zend-traits/error_004.php diff --git a/hphp/test/zend/bad/zend-traits/error_004.php.exp b/hphp/test/zend/good/zend-traits/error_004.php.exp similarity index 55% rename from hphp/test/zend/bad/zend-traits/error_004.php.exp rename to hphp/test/zend/good/zend-traits/error_004.php.exp index 750711160..b704153f0 100644 --- a/hphp/test/zend/bad/zend-traits/error_004.php.exp +++ b/hphp/test/zend/good/zend-traits/error_004.php.exp @@ -1 +1 @@ -HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/bad/error_004.php on line %d +HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/good/zend-traits/error_004.php on line 6 diff --git a/hphp/test/zend/bad/zend-traits/error_005.php b/hphp/test/zend/good/zend-traits/error_005.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_005.php rename to hphp/test/zend/good/zend-traits/error_005.php diff --git a/hphp/test/zend/bad/zend-traits/error_005.php.exp b/hphp/test/zend/good/zend-traits/error_005.php.exp similarity index 55% rename from hphp/test/zend/bad/zend-traits/error_005.php.exp rename to hphp/test/zend/good/zend-traits/error_005.php.exp index 6bda0a8c3..d4da4d787 100644 --- a/hphp/test/zend/bad/zend-traits/error_005.php.exp +++ b/hphp/test/zend/good/zend-traits/error_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/bad/error_005.php on line %d +HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/good/zend-traits/error_005.php on line 6 diff --git a/hphp/test/zend/bad/zend-traits/error_006.php b/hphp/test/zend/good/zend-traits/error_006.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_006.php rename to hphp/test/zend/good/zend-traits/error_006.php diff --git a/hphp/test/zend/bad/zend-traits/error_006.php.exp b/hphp/test/zend/good/zend-traits/error_006.php.exp similarity index 55% rename from hphp/test/zend/bad/zend-traits/error_006.php.exp rename to hphp/test/zend/good/zend-traits/error_006.php.exp index ca1f2b74a..a339f9464 100644 --- a/hphp/test/zend/bad/zend-traits/error_006.php.exp +++ b/hphp/test/zend/good/zend-traits/error_006.php.exp @@ -1 +1 @@ -HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/bad/error_006.php on line %d +HipHop Fatal error: A cannot use abc - it is not a trait in hphp/test/zend/good/zend-traits/error_006.php on line 6 diff --git a/hphp/test/zend/bad/zend-traits/error_007.php b/hphp/test/zend/good/zend-traits/error_007.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_007.php rename to hphp/test/zend/good/zend-traits/error_007.php diff --git a/hphp/test/zend/bad/zend-traits/error_007.php.exp b/hphp/test/zend/good/zend-traits/error_007.php.exp similarity index 59% rename from hphp/test/zend/bad/zend-traits/error_007.php.exp rename to hphp/test/zend/good/zend-traits/error_007.php.exp index 44d11c440..593ef7674 100644 --- a/hphp/test/zend/bad/zend-traits/error_007.php.exp +++ b/hphp/test/zend/good/zend-traits/error_007.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot instantiate trait abc in hphp/test/zend/bad/error_007.php on line %d +HipHop Fatal error: Cannot instantiate trait abc in hphp/test/zend/good/zend-traits/error_007.php on line 6 diff --git a/hphp/test/zend/bad/zend-traits/error_008.php b/hphp/test/zend/good/zend-traits/error_008.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_008.php rename to hphp/test/zend/good/zend-traits/error_008.php diff --git a/hphp/test/zend/good/zend-traits/error_008.php.exp b/hphp/test/zend/good/zend-traits/error_008.php.exp new file mode 100644 index 000000000..93e2449d3 --- /dev/null +++ b/hphp/test/zend/good/zend-traits/error_008.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: foo cannot implement abc - it is not an interface in hphp/test/zend/good/zend-traits/error_008.php on line 5 diff --git a/hphp/test/zend/bad/zend-traits/error_014.php b/hphp/test/zend/good/zend-traits/error_014.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_014.php rename to hphp/test/zend/good/zend-traits/error_014.php diff --git a/hphp/test/zend/bad/zend-traits/error_014.php.exp b/hphp/test/zend/good/zend-traits/error_014.php.exp similarity index 52% rename from hphp/test/zend/bad/zend-traits/error_014.php.exp rename to hphp/test/zend/good/zend-traits/error_014.php.exp index 138bacb4e..1e8eaa2b7 100644 --- a/hphp/test/zend/bad/zend-traits/error_014.php.exp +++ b/hphp/test/zend/good/zend-traits/error_014.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot override final method baz::test() in hphp/test/zend/bad/error_014.php on line %d +HipHop Fatal error: Cannot override final method baz::test() in hphp/test/zend/good/zend-traits/error_014.php on line 11 diff --git a/hphp/test/zend/bad/zend-traits/error_016.php b/hphp/test/zend/good/zend-traits/error_016.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/error_016.php rename to hphp/test/zend/good/zend-traits/error_016.php diff --git a/hphp/test/zend/bad/zend-traits/error_016.php.exp b/hphp/test/zend/good/zend-traits/error_016.php.exp similarity index 59% rename from hphp/test/zend/bad/zend-traits/error_016.php.exp rename to hphp/test/zend/good/zend-traits/error_016.php.exp index adfc7bf53..e1fe8dd6d 100644 --- a/hphp/test/zend/bad/zend-traits/error_016.php.exp +++ b/hphp/test/zend/good/zend-traits/error_016.php.exp @@ -1 +1 @@ -HipHop Fatal error: Traits cannot have constants in hphp/test/zend/bad/error_016.php on line %d +HipHop Fatal error: Traits cannot have constants in hphp/test/zend/good/zend-traits/error_016.php on line 4 diff --git a/hphp/test/zend/bad/zend-traits/interface_003.php b/hphp/test/zend/good/zend-traits/interface_003.php similarity index 100% rename from hphp/test/zend/bad/zend-traits/interface_003.php rename to hphp/test/zend/good/zend-traits/interface_003.php diff --git a/hphp/test/zend/bad/zend-traits/interface_003.php.exp b/hphp/test/zend/good/zend-traits/interface_003.php.exp similarity index 72% rename from hphp/test/zend/bad/zend-traits/interface_003.php.exp rename to hphp/test/zend/good/zend-traits/interface_003.php.exp index 7f2cbfd15..b11e1496e 100644 --- a/hphp/test/zend/bad/zend-traits/interface_003.php.exp +++ b/hphp/test/zend/good/zend-traits/interface_003.php.exp @@ -1,4 +1,4 @@ string(20) "C:3:"bar":6:{foobar}" string(6) "foobar" -object(bar)#%d (0) { +object(bar)#1 (0) { } diff --git a/hphp/test/zend/good/zend-traits/language008b.php.exp b/hphp/test/zend/good/zend-traits/language008b.php.exp deleted file mode 100644 index c54125921..000000000 --- a/hphp/test/zend/good/zend-traits/language008b.php.exp +++ /dev/null @@ -1 +0,0 @@ -Hello World!Hello World!HipHop Fatal error: Call to private method MyClass::sayHelloWorld from anonymous context in hphp/test/zend/good/zend-traits/language008b.php on line 21 diff --git a/hphp/test/zend/good/zend-traits/language017.php.exp b/hphp/test/zend/good/zend-traits/language017.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend-traits/language019.php.exp b/hphp/test/zend/good/zend-traits/language019.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend-traits/property001.php.exp b/hphp/test/zend/good/zend-traits/property001.php.exp deleted file mode 100644 index 715821edb..000000000 --- a/hphp/test/zend/good/zend-traits/property001.php.exp +++ /dev/null @@ -1,4 +0,0 @@ -PRE-CLASS-GUARD-TraitsTest -PRE-CLASS-GUARD-TraitsTest2 -bool(true) -bool(true) diff --git a/hphp/test/zend/good/zend-traits/property005.php.exp b/hphp/test/zend/good/zend-traits/property005.php.exp deleted file mode 100644 index 4e782ce31..000000000 --- a/hphp/test/zend/good/zend-traits/property005.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -PRE-CLASS-GUARD -POST-CLASS-GUARD -HipHop Fatal error: trait declaration of property 'hello' is incompatible with previous declaration in hphp/test/zend/good/zend-traits/property005.php on line 21 diff --git a/hphp/test/zend/good/zend-traits/property006.php.exp b/hphp/test/zend/good/zend-traits/property006.php.exp deleted file mode 100644 index 30b610adc..000000000 --- a/hphp/test/zend/good/zend-traits/property006.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -PRE-CLASS-GUARD -POST-CLASS-GUARD -POST-CLASS-GUARD2 diff --git a/hphp/test/zend/good/zend-traits/property007.php.exp b/hphp/test/zend/good/zend-traits/property007.php.exp deleted file mode 100644 index 30b610adc..000000000 --- a/hphp/test/zend/good/zend-traits/property007.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -PRE-CLASS-GUARD -POST-CLASS-GUARD -POST-CLASS-GUARD2 diff --git a/hphp/test/zend/good/zend/abstract-static.php.exp b/hphp/test/zend/good/zend/abstract-static.php.exp deleted file mode 100644 index 922a780ce..000000000 --- a/hphp/test/zend/good/zend/abstract-static.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/good/zend/argument_restriction_001.php.exp b/hphp/test/zend/good/zend/argument_restriction_001.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/argument_restriction_002.php.exp b/hphp/test/zend/good/zend/argument_restriction_002.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/argument_restriction_003.php.exp b/hphp/test/zend/good/zend/argument_restriction_003.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/argument_restriction_006.php.exp b/hphp/test/zend/good/zend/argument_restriction_006.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/array_type_hint_001.php.exp b/hphp/test/zend/good/zend/array_type_hint_001.php.exp deleted file mode 100644 index 2cc96832d..000000000 --- a/hphp/test/zend/good/zend/array_type_hint_001.php.exp +++ /dev/null @@ -1,2 +0,0 @@ -3 -HipHop Fatal error: Argument 1 passed to foo() must be an instance of array, int given in hphp/test/zend/good/zend/array_type_hint_001.php on line 4 diff --git a/hphp/test/zend/bad/zend/bug24884.php b/hphp/test/zend/good/zend/bug24884.php similarity index 100% rename from hphp/test/zend/bad/zend/bug24884.php rename to hphp/test/zend/good/zend/bug24884.php diff --git a/hphp/test/zend/good/zend/bug24884.php.exp b/hphp/test/zend/good/zend/bug24884.php.exp new file mode 100644 index 000000000..9e8bc24ec --- /dev/null +++ b/hphp/test/zend/good/zend/bug24884.php.exp @@ -0,0 +1,2 @@ +object(Test)#2 (0) { +} diff --git a/hphp/test/zend/good/zend/bug26229.php.exp b/hphp/test/zend/good/zend/bug26229.php.exp deleted file mode 100644 index 922a780ce..000000000 --- a/hphp/test/zend/good/zend/bug26229.php.exp +++ /dev/null @@ -1 +0,0 @@ -===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug29015.php b/hphp/test/zend/good/zend/bug29015.php similarity index 100% rename from hphp/test/zend/bad/zend/bug29015.php rename to hphp/test/zend/good/zend/bug29015.php diff --git a/hphp/test/zend/bad/zend/bug52484.php.exp b/hphp/test/zend/good/zend/bug29015.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/bug52484.php.exp rename to hphp/test/zend/good/zend/bug29015.php.exp index b81ab2baa..dffe07cf7 100644 --- a/hphp/test/zend/bad/zend/bug52484.php.exp +++ b/hphp/test/zend/good/zend/bug29015.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot access empty property in hphp/test/zend/bad/bug52484.php on line %d +HipHop Fatal error: Cannot access empty property in hphp/test/zend/good/zend/bug29015.php on line 4 diff --git a/hphp/test/zend/bad/zend/bug29674.php b/hphp/test/zend/good/zend/bug29674.php similarity index 100% rename from hphp/test/zend/bad/zend/bug29674.php rename to hphp/test/zend/good/zend/bug29674.php diff --git a/hphp/test/zend/bad/zend/bug29674.php.exp b/hphp/test/zend/good/zend/bug29674.php.exp similarity index 62% rename from hphp/test/zend/bad/zend/bug29674.php.exp rename to hphp/test/zend/good/zend/bug29674.php.exp index 99e368432..a8a6faa24 100644 --- a/hphp/test/zend/bad/zend/bug29674.php.exp +++ b/hphp/test/zend/good/zend/bug29674.php.exp @@ -1,7 +1,7 @@ ===BASE=== string(4) "Base" -HipHop Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d +HipHop Notice: Undefined property: BaseClass::$private_child in hphp/test/zend/good/zend/bug29674.php on line 10 NULL ===CHILD=== string(4) "Base" -HipHop Fatal error: Cannot access private property ChildClass::$private_child in %sbug29674.php on line %d +HipHop Fatal error: Cannot access private property ChildClass::$private_child in hphp/test/zend/good/zend/bug29674.php on line 10 diff --git a/hphp/test/zend/good/zend/bug29689.php.exp b/hphp/test/zend/good/zend/bug29689.php.exp deleted file mode 100644 index 64f424569..000000000 --- a/hphp/test/zend/good/zend/bug29689.php.exp +++ /dev/null @@ -1,9 +0,0 @@ -foo: foo foo2 -bar: bar HipHop Notice: Undefined property: bar::$foo2 in hphp/test/zend/good/zend/bug29689.php on line 18 - ----baz-- -foo: foo foo2 -bar: baz baz2 ----baz2-- -foo: foo foo2 -bar2: baz2 baz22 diff --git a/hphp/test/zend/bad/zend/bug30162.php b/hphp/test/zend/good/zend/bug30162.php similarity index 100% rename from hphp/test/zend/bad/zend/bug30162.php rename to hphp/test/zend/good/zend/bug30162.php diff --git a/hphp/test/zend/good/zend/bug30162.php.exp b/hphp/test/zend/good/zend/bug30162.php.exp new file mode 100644 index 000000000..ed8b500a8 --- /dev/null +++ b/hphp/test/zend/good/zend/bug30162.php.exp @@ -0,0 +1,9 @@ +HipHop Notice: Undefined variable: db in hphp/test/zend/good/zend/bug30162.php on line 35 +NULL +object(hariCow)#3 (2) { + ["x"]=> + string(1) "x" + ["y"]=> + string(1) "y" +} +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug35163_3.php b/hphp/test/zend/good/zend/bug35163_3.php similarity index 100% rename from hphp/test/zend/bad/zend/bug35163_3.php rename to hphp/test/zend/good/zend/bug35163_3.php diff --git a/hphp/test/zend/bad/zend/bug35163_3.php.exp b/hphp/test/zend/good/zend/bug35163_3.php.exp similarity index 79% rename from hphp/test/zend/bad/zend/bug35163_3.php.exp rename to hphp/test/zend/good/zend/bug35163_3.php.exp index eae21c91b..d93abf63a 100644 --- a/hphp/test/zend/bad/zend/bug35163_3.php.exp +++ b/hphp/test/zend/good/zend/bug35163_3.php.exp @@ -1,4 +1,4 @@ -object(stdClass)#%d (1) { +object(stdClass)#1 (1) { ["b"]=> &array(3) { [0]=> diff --git a/hphp/test/zend/good/zend/bug35437.php.exp b/hphp/test/zend/good/zend/bug35437.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/bug37212.php b/hphp/test/zend/good/zend/bug37212.php similarity index 100% rename from hphp/test/zend/bad/zend/bug37212.php rename to hphp/test/zend/good/zend/bug37212.php diff --git a/hphp/test/zend/bad/zend/bug37212.php.exp b/hphp/test/zend/good/zend/bug37212.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/bug37212.php.exp rename to hphp/test/zend/good/zend/bug37212.php.exp index 3f91d87d3..ef18563ad 100644 --- a/hphp/test/zend/bad/zend/bug37212.php.exp +++ b/hphp/test/zend/good/zend/bug37212.php.exp @@ -1,13 +1,13 @@ -object(B)#%d (1) { +object(B)#1 (1) { ["value":protected]=> string(1) "B" } -object(C)#%d (1) { +object(C)#2 (1) { ["value":protected]=> string(1) "C" } -object(B)#%d (1) { +object(B)#1 (1) { ["value":protected]=> string(1) "C" } -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug39017.php b/hphp/test/zend/good/zend/bug39017.php similarity index 100% rename from hphp/test/zend/bad/zend/bug39017.php rename to hphp/test/zend/good/zend/bug39017.php diff --git a/hphp/test/zend/good/zend/bug39017.php.exp b/hphp/test/zend/good/zend/bug39017.php.exp new file mode 100644 index 000000000..f15eb7ecc --- /dev/null +++ b/hphp/test/zend/good/zend/bug39017.php.exp @@ -0,0 +1,2 @@ +object(A)#1 (0) { +} diff --git a/hphp/test/zend/good/zend/bug39775.php.exp b/hphp/test/zend/good/zend/bug39775.php.exp deleted file mode 100644 index dcdaeabaa..000000000 --- a/hphp/test/zend/good/zend/bug39775.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -Array -( -) diff --git a/hphp/test/zend/bad/zend/bug40815.php b/hphp/test/zend/good/zend/bug40815.php similarity index 100% rename from hphp/test/zend/bad/zend/bug40815.php rename to hphp/test/zend/good/zend/bug40815.php diff --git a/hphp/test/zend/good/zend/exception_003.php.exp b/hphp/test/zend/good/zend/bug40815.php.exp similarity index 53% rename from hphp/test/zend/good/zend/exception_003.php.exp rename to hphp/test/zend/good/zend/bug40815.php.exp index 4f5c0a4d4..0a143fcba 100644 --- a/hphp/test/zend/good/zend/exception_003.php.exp +++ b/hphp/test/zend/good/zend/bug40815.php.exp @@ -1 +1,2 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message '1' in hphp/test/zend/good/zend/exception_003.php:3\nStack trace:\n#0 {main} +HipHop Fatal error: Uncaught exception 'Exception' with message 'Whiii' in hphp/test/zend/good/zend/bug40815.php:11\nStack trace:\n#0 {main} +foo \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/bug41351.php b/hphp/test/zend/good/zend/bug41351.php similarity index 100% rename from hphp/test/zend/bad/zend/bug41351.php rename to hphp/test/zend/good/zend/bug41351.php diff --git a/hphp/test/zend/bad/zend/bug41351.php.exp b/hphp/test/zend/good/zend/bug41351.php.exp similarity index 65% rename from hphp/test/zend/bad/zend/bug41351.php.exp rename to hphp/test/zend/good/zend/bug41351.php.exp index 8f9ba1f9b..c253d2341 100644 --- a/hphp/test/zend/bad/zend/bug41351.php.exp +++ b/hphp/test/zend/good/zend/bug41351.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/bad/bug41351.php on line %d +HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/good/zend/bug41351.php on line 6 diff --git a/hphp/test/zend/bad/zend/bug41351_2.php b/hphp/test/zend/good/zend/bug41351_2.php similarity index 100% rename from hphp/test/zend/bad/zend/bug41351_2.php rename to hphp/test/zend/good/zend/bug41351_2.php diff --git a/hphp/test/zend/bad/zend/bug41351_2.php.exp b/hphp/test/zend/good/zend/bug41351_2.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/bug41351_2.php.exp rename to hphp/test/zend/good/zend/bug41351_2.php.exp index b6d62058c..60bcdb955 100644 --- a/hphp/test/zend/bad/zend/bug41351_2.php.exp +++ b/hphp/test/zend/good/zend/bug41351_2.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/bad/bug41351_2.php on line %d +HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/good/zend/bug41351_2.php on line 6 diff --git a/hphp/test/zend/bad/zend/bug41351_3.php b/hphp/test/zend/good/zend/bug41351_3.php similarity index 100% rename from hphp/test/zend/bad/zend/bug41351_3.php rename to hphp/test/zend/good/zend/bug41351_3.php diff --git a/hphp/test/zend/bad/zend/bug41351_3.php.exp b/hphp/test/zend/good/zend/bug41351_3.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/bug41351_3.php.exp rename to hphp/test/zend/good/zend/bug41351_3.php.exp index 6046e5867..8f9a8b3b7 100644 --- a/hphp/test/zend/bad/zend/bug41351_3.php.exp +++ b/hphp/test/zend/good/zend/bug41351_3.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/bad/bug41351_3.php on line %d +HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/good/zend/bug41351_3.php on line 6 diff --git a/hphp/test/zend/good/zend/bug42859.php.exp b/hphp/test/zend/good/zend/bug42859.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/bug43200.php.exp b/hphp/test/zend/good/zend/bug43200.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/bug44827.php.exp b/hphp/test/zend/good/zend/bug44827.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/bug45147.php b/hphp/test/zend/good/zend/bug45147.php similarity index 100% rename from hphp/test/zend/bad/zend/bug45147.php rename to hphp/test/zend/good/zend/bug45147.php diff --git a/hphp/test/zend/good/zend/bug45147.php.exp b/hphp/test/zend/good/zend/bug45147.php.exp new file mode 100644 index 000000000..4d60dd066 --- /dev/null +++ b/hphp/test/zend/good/zend/bug45147.php.exp @@ -0,0 +1 @@ + # \ No newline at end of file diff --git a/hphp/test/zend/good/zend/bug45805.php.exp b/hphp/test/zend/good/zend/bug45805.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/bug47343.php b/hphp/test/zend/good/zend/bug47343.php similarity index 100% rename from hphp/test/zend/bad/zend/bug47343.php rename to hphp/test/zend/good/zend/bug47343.php diff --git a/hphp/test/zend/good/zend/bug47343.php.exp b/hphp/test/zend/good/zend/bug47343.php.exp new file mode 100644 index 000000000..0989371c0 --- /dev/null +++ b/hphp/test/zend/good/zend/bug47343.php.exp @@ -0,0 +1,3 @@ +DONE +HipHop Warning: HipHop currently does not support circular reference collection in hphp/test/zend/good/zend/bug47343.php on line 6 +HipHop Warning: HipHop currently does not support circular reference collection in hphp/test/zend/good/zend/bug47343.php on line 6 diff --git a/hphp/test/zend/bad/zend/bug47572.php b/hphp/test/zend/good/zend/bug47572.php similarity index 100% rename from hphp/test/zend/bad/zend/bug47572.php rename to hphp/test/zend/good/zend/bug47572.php diff --git a/hphp/test/zend/bad/zend/bug47572.php.exp b/hphp/test/zend/good/zend/bug47572.php.exp similarity index 57% rename from hphp/test/zend/bad/zend/bug47572.php.exp rename to hphp/test/zend/good/zend/bug47572.php.exp index d4da01092..db6a0b061 100644 --- a/hphp/test/zend/bad/zend/bug47572.php.exp +++ b/hphp/test/zend/good/zend/bug47572.php.exp @@ -1 +1 @@ -HipHop Notice: Use of undefined constant FOO - assumed 'FOO' in hphp/test/zend/bad/bug47572.php on line %d +HipHop Notice: Use of undefined constant FOO - assumed 'FOO' in hphp/test/zend/good/zend/bug47572.php on line 5 diff --git a/hphp/test/zend/good/zend/bug47699.php.exp b/hphp/test/zend/good/zend/bug47699.php.exp deleted file mode 100644 index 9e3082a34..000000000 --- a/hphp/test/zend/good/zend/bug47699.php.exp +++ /dev/null @@ -1 +0,0 @@ -BBHipHop Fatal error: Undefined class: X in hphp/test/zend/good/zend/bug47699.php on line 11 diff --git a/hphp/test/zend/bad/zend/bug47836.php b/hphp/test/zend/good/zend/bug47836.php similarity index 100% rename from hphp/test/zend/bad/zend/bug47836.php rename to hphp/test/zend/good/zend/bug47836.php diff --git a/hphp/test/zend/good/zend/bug47836.php.exp b/hphp/test/zend/good/zend/bug47836.php.exp new file mode 100644 index 000000000..332b8dc0b --- /dev/null +++ b/hphp/test/zend/good/zend/bug47836.php.exp @@ -0,0 +1,5 @@ +HipHop Warning: Cannot add element to the array as the next element is already occupied in hphp/test/zend/good/zend/bug47836.php on line 4 +array(1) { + [9223372036854775807]=> + int(1) +} diff --git a/hphp/test/zend/good/zend/bug48228.php.exp b/hphp/test/zend/good/zend/bug48228.php.exp deleted file mode 100644 index d5dfc6d98..000000000 --- a/hphp/test/zend/good/zend/bug48228.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message '' in hphp/test/zend/good/zend/bug48228.php:4\nStack trace:\n#0 hphp/test/zend/good/zend/bug48228.php(15): do_throw()\n#1 hphp/test/zend/good/zend/bug48228.php(20): aa->dosome()\n#2 {main} diff --git a/hphp/test/zend/good/zend/bug48408.php.exp b/hphp/test/zend/good/zend/bug48408.php.exp deleted file mode 100644 index eecb8f813..000000000 --- a/hphp/test/zend/good/zend/bug48408.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Uncaught exception 'Exception' with message '' in hphp/test/zend/good/zend/bug48408.php:9\nStack trace:\n#0 hphp/test/zend/good/zend/bug48408.php(18): C->generate()\n#1 {main} diff --git a/hphp/test/zend/good/zend/bug48533.php.exp b/hphp/test/zend/good/zend/bug48533.php.exp deleted file mode 100644 index 5c2bd8d69..000000000 --- a/hphp/test/zend/good/zend/bug48533.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -string(9) "__call::a" -int(2) -string(9) "__call::c" -string(15) "__callStatic::a" -int(2) -string(15) "__callStatic::c" diff --git a/hphp/test/zend/good/zend/bug48667_1.php.exp b/hphp/test/zend/good/zend/bug48667_1.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/bug48667_2.php.exp b/hphp/test/zend/good/zend/bug48667_2.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/bug50146.php.exp b/hphp/test/zend/good/zend/bug50146.php.exp deleted file mode 100644 index 3ac9cfeaf..000000000 --- a/hphp/test/zend/good/zend/bug50146.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -bool(false) -bool(false) -bool(false) diff --git a/hphp/test/zend/good/zend/bug51421.php.exp b/hphp/test/zend/good/zend/bug51421.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/bug52001.php b/hphp/test/zend/good/zend/bug52001.php similarity index 100% rename from hphp/test/zend/bad/zend/bug52001.php rename to hphp/test/zend/good/zend/bug52001.php diff --git a/hphp/test/zend/good/zend/bug52001.php.exp b/hphp/test/zend/good/zend/bug52001.php.exp new file mode 100644 index 000000000..f4916740f --- /dev/null +++ b/hphp/test/zend/good/zend/bug52001.php.exp @@ -0,0 +1,3 @@ +HipHop Notice: Undefined variable: var in hphp/test/zend/good/zend/bug52001.php on line 2 +HipHop Notice: Undefined variable: in hphp/test/zend/good/zend/bug52001.php on line 2 +int(1) diff --git a/hphp/test/zend/good/zend/bug52237.php.exp b/hphp/test/zend/good/zend/bug52237.php.exp deleted file mode 100644 index 9a7b560ea..000000000 --- a/hphp/test/zend/good/zend/bug52237.php.exp +++ /dev/null @@ -1 +0,0 @@ -string(4) "test" diff --git a/hphp/test/zend/bad/zend/bug52484.php b/hphp/test/zend/good/zend/bug52484.php similarity index 100% rename from hphp/test/zend/bad/zend/bug52484.php rename to hphp/test/zend/good/zend/bug52484.php diff --git a/hphp/test/zend/bad/zend/bug52484_2.php.exp b/hphp/test/zend/good/zend/bug52484.php.exp similarity index 63% rename from hphp/test/zend/bad/zend/bug52484_2.php.exp rename to hphp/test/zend/good/zend/bug52484.php.exp index 3647d8b1c..21e94da8c 100644 --- a/hphp/test/zend/bad/zend/bug52484_2.php.exp +++ b/hphp/test/zend/good/zend/bug52484.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot access empty property in hphp/test/zend/bad/bug52484_2.php on line %d +HipHop Fatal error: Cannot access empty property in hphp/test/zend/good/zend/bug52484.php on line 12 diff --git a/hphp/test/zend/bad/zend/bug52484_2.php b/hphp/test/zend/good/zend/bug52484_2.php similarity index 100% rename from hphp/test/zend/bad/zend/bug52484_2.php rename to hphp/test/zend/good/zend/bug52484_2.php diff --git a/hphp/test/zend/good/zend/bug52484_2.php.exp b/hphp/test/zend/good/zend/bug52484_2.php.exp new file mode 100644 index 000000000..87e1a4813 --- /dev/null +++ b/hphp/test/zend/good/zend/bug52484_2.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Cannot access empty property in hphp/test/zend/good/zend/bug52484_2.php on line 12 diff --git a/hphp/test/zend/bad/zend/bug52484_3.php b/hphp/test/zend/good/zend/bug52484_3.php similarity index 100% rename from hphp/test/zend/bad/zend/bug52484_3.php rename to hphp/test/zend/good/zend/bug52484_3.php diff --git a/hphp/test/zend/bad/zend/bug52484_3.php.exp b/hphp/test/zend/good/zend/bug52484_3.php.exp similarity index 62% rename from hphp/test/zend/bad/zend/bug52484_3.php.exp rename to hphp/test/zend/good/zend/bug52484_3.php.exp index 45ea24d27..4991dabb1 100644 --- a/hphp/test/zend/bad/zend/bug52484_3.php.exp +++ b/hphp/test/zend/good/zend/bug52484_3.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot access empty property in hphp/test/zend/bad/bug52484_3.php on line %d +HipHop Fatal error: Cannot access empty property in hphp/test/zend/good/zend/bug52484_3.php on line 12 diff --git a/hphp/test/zend/bad/zend/bug52614.php b/hphp/test/zend/good/zend/bug52614.php similarity index 100% rename from hphp/test/zend/bad/zend/bug52614.php rename to hphp/test/zend/good/zend/bug52614.php diff --git a/hphp/test/zend/good/zend/bug52614.php.exp b/hphp/test/zend/good/zend/bug52614.php.exp new file mode 100644 index 000000000..f8f94a785 --- /dev/null +++ b/hphp/test/zend/good/zend/bug52614.php.exp @@ -0,0 +1,14 @@ +NULL +array(0) { +} +array(0) { +} +HipHop Warning: Creating default object from empty value in hphp/test/zend/good/zend/bug52614.php on line 52 +NULL +object(stdClass)#2 (1) { + ["a"]=> + int(1) +} +int(2) +int(2) +int(3) diff --git a/hphp/test/zend/bad/zend/bug52939.php b/hphp/test/zend/good/zend/bug52939.php similarity index 100% rename from hphp/test/zend/bad/zend/bug52939.php rename to hphp/test/zend/good/zend/bug52939.php diff --git a/hphp/test/zend/bad/zend/bug52939.php.exp b/hphp/test/zend/good/zend/bug52939.php.exp similarity index 59% rename from hphp/test/zend/bad/zend/bug52939.php.exp rename to hphp/test/zend/good/zend/bug52939.php.exp index 826e79df8..e2775ea2e 100644 --- a/hphp/test/zend/bad/zend/bug52939.php.exp +++ b/hphp/test/zend/good/zend/bug52939.php.exp @@ -12,6 +12,7 @@ array(2) { ["row1"]=> int(2) } +HipHop Warning: Parameter 1 to array_multisort() expected to be a reference, value given in hphp/test/zend/good/zend/bug52939.php on line 13 bool(true) array(2) { ["row1"]=> diff --git a/hphp/test/zend/good/zend/bug54305.php.exp b/hphp/test/zend/good/zend/bug54305.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/bug60350.php.exp b/hphp/test/zend/good/zend/bug60350.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/bug60536_002.php.exp b/hphp/test/zend/good/zend/bug60536_002.php.exp deleted file mode 100644 index a1c93f102..000000000 --- a/hphp/test/zend/good/zend/bug60536_002.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -PRE-CLASS-GUARD -POST-CLASS-GUARD -HipHop Fatal error: trait declaration of property 'hello' is incompatible with previous declaration in hphp/test/zend/good/zend/bug60536_002.php on line 21 diff --git a/hphp/test/zend/bad/zend/bug60536_003.php b/hphp/test/zend/good/zend/bug60536_003.php similarity index 100% rename from hphp/test/zend/bad/zend/bug60536_003.php rename to hphp/test/zend/good/zend/bug60536_003.php diff --git a/hphp/test/zend/bad/zend/bug60536_003.php.exp b/hphp/test/zend/good/zend/bug60536_003.php.exp similarity index 77% rename from hphp/test/zend/bad/zend/bug60536_003.php.exp rename to hphp/test/zend/good/zend/bug60536_003.php.exp index 2f470d9b6..eeb91de66 100644 --- a/hphp/test/zend/bad/zend/bug60536_003.php.exp +++ b/hphp/test/zend/good/zend/bug60536_003.php.exp @@ -1,10 +1,10 @@ -object(SubclassA)#%d (2) { +object(SubclassA)#1 (2) { ["hello":"SubclassA":private]=> int(0) ["hello":"BaseWithPropA":private]=> int(0) } -object(SubclassB)#%d (2) { +object(SubclassB)#2 (2) { ["hello":"SubclassB":private]=> int(0) ["hello":"BaseWithTPropB":private]=> diff --git a/hphp/test/zend/good/zend/bug60536_004.php.exp b/hphp/test/zend/good/zend/bug60536_004.php.exp deleted file mode 100644 index 30b610adc..000000000 --- a/hphp/test/zend/good/zend/bug60536_004.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -PRE-CLASS-GUARD -POST-CLASS-GUARD -POST-CLASS-GUARD2 diff --git a/hphp/test/zend/good/zend/bug60536_005.php.exp b/hphp/test/zend/good/zend/bug60536_005.php.exp deleted file mode 100644 index 30b610adc..000000000 --- a/hphp/test/zend/good/zend/bug60536_005.php.exp +++ /dev/null @@ -1,3 +0,0 @@ -PRE-CLASS-GUARD -POST-CLASS-GUARD -POST-CLASS-GUARD2 diff --git a/hphp/test/zend/bad/zend/bug60613.php b/hphp/test/zend/good/zend/bug60613.php similarity index 100% rename from hphp/test/zend/bad/zend/bug60613.php rename to hphp/test/zend/good/zend/bug60613.php diff --git a/hphp/test/zend/good/zend/bug60613.php.exp b/hphp/test/zend/good/zend/bug60613.php.exp new file mode 100644 index 000000000..6c680b629 --- /dev/null +++ b/hphp/test/zend/good/zend/bug60613.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method name must be a string in hphp/test/zend/good/zend/bug60613.php on line 8 diff --git a/hphp/test/zend/bad/zend/bug61165.php b/hphp/test/zend/good/zend/bug61165.php similarity index 100% rename from hphp/test/zend/bad/zend/bug61165.php rename to hphp/test/zend/good/zend/bug61165.php diff --git a/hphp/test/zend/bad/zend/bug61165.php.exp b/hphp/test/zend/good/zend/bug61165.php.exp similarity index 61% rename from hphp/test/zend/bad/zend/bug61165.php.exp rename to hphp/test/zend/good/zend/bug61165.php.exp index 13d651322..3e462bcf4 100644 --- a/hphp/test/zend/bad/zend/bug61165.php.exp +++ b/hphp/test/zend/good/zend/bug61165.php.exp @@ -1,4 +1,4 @@ -object(T)#%d (1) { +object(T)#4 (1) { ["_this"]=> *RECURSION* } diff --git a/hphp/test/zend/bad/zend/bug62005.php b/hphp/test/zend/good/zend/bug62005.php similarity index 100% rename from hphp/test/zend/bad/zend/bug62005.php rename to hphp/test/zend/good/zend/bug62005.php diff --git a/hphp/test/zend/good/zend/bug62005.php.exp b/hphp/test/zend/good/zend/bug62005.php.exp new file mode 100644 index 000000000..581823135 --- /dev/null +++ b/hphp/test/zend/good/zend/bug62005.php.exp @@ -0,0 +1,5 @@ +HipHop Warning: Creating default object from empty value in hphp/test/zend/good/zend/bug62005.php on line 3 +stdClass Object +( + [energy] => 2 +) diff --git a/hphp/test/zend/good/zend/bug63336.php.exp b/hphp/test/zend/good/zend/bug63336.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/call_static_004.php b/hphp/test/zend/good/zend/call_static_004.php similarity index 100% rename from hphp/test/zend/bad/zend/call_static_004.php rename to hphp/test/zend/good/zend/call_static_004.php diff --git a/hphp/test/zend/bad/zend/call_static_004.php.exp b/hphp/test/zend/good/zend/call_static_004.php.exp similarity index 63% rename from hphp/test/zend/bad/zend/call_static_004.php.exp rename to hphp/test/zend/good/zend/call_static_004.php.exp index 8a160b507..6a24c919e 100644 --- a/hphp/test/zend/bad/zend/call_static_004.php.exp +++ b/hphp/test/zend/good/zend/call_static_004.php.exp @@ -1,2 +1,2 @@ string(3) "AaA" -HipHop Fatal error: Function name must be a string in hphp/test/zend/bad/call_static_004.php on line %d +HipHop Fatal error: Function name must be a string in hphp/test/zend/good/zend/call_static_004.php on line 12 diff --git a/hphp/test/zend/bad/zend/cast_to_int.php b/hphp/test/zend/good/zend/cast_to_int.php similarity index 100% rename from hphp/test/zend/bad/zend/cast_to_int.php rename to hphp/test/zend/good/zend/cast_to_int.php diff --git a/hphp/test/zend/bad/zend/cast_to_int.php.exp b/hphp/test/zend/good/zend/cast_to_int.php.exp similarity index 72% rename from hphp/test/zend/bad/zend/cast_to_int.php.exp rename to hphp/test/zend/good/zend/cast_to_int.php.exp index 9b3c65afe..e58351fd6 100644 --- a/hphp/test/zend/bad/zend/cast_to_int.php.exp +++ b/hphp/test/zend/good/zend/cast_to_int.php.exp @@ -9,7 +9,7 @@ int(1) int(0) int(1) int(0) -int(%d) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/cast_to_int.php on line %d +int(4) +HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/good/zend/cast_to_int.php on line 30 int(1) Done diff --git a/hphp/test/zend/good/zend/closure_017.php.exp b/hphp/test/zend/good/zend/closure_017.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/closure_019.php b/hphp/test/zend/good/zend/closure_019.php similarity index 100% rename from hphp/test/zend/bad/zend/closure_019.php rename to hphp/test/zend/good/zend/closure_019.php diff --git a/hphp/test/zend/bad/zend/closure_019.php.exp b/hphp/test/zend/good/zend/closure_019.php.exp similarity index 62% rename from hphp/test/zend/bad/zend/closure_019.php.exp rename to hphp/test/zend/good/zend/closure_019.php.exp index 1be81f858..604239592 100644 --- a/hphp/test/zend/bad/zend/closure_019.php.exp +++ b/hphp/test/zend/good/zend/closure_019.php.exp @@ -1,3 +1,3 @@ int(9) int(81) -HipHop Fatal error: Cannot pass parameter 1 by reference in hphp/test/zend/bad/closure_019.php on line %d +HipHop Fatal error: Cannot pass parameter 1 by reference in hphp/test/zend/good/zend/closure_019.php on line 13 diff --git a/hphp/test/zend/bad/zend/compare_002_64bit.php b/hphp/test/zend/good/zend/compare_002_64bit.php similarity index 100% rename from hphp/test/zend/bad/zend/compare_002_64bit.php rename to hphp/test/zend/good/zend/compare_002_64bit.php diff --git a/hphp/test/zend/bad/zend/compare_002_64bit.php.exp b/hphp/test/zend/good/zend/compare_002_64bit.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/compare_002_64bit.php.exp rename to hphp/test/zend/good/zend/compare_002_64bit.php.exp index 430f4a889..15dfb1edd 100644 --- a/hphp/test/zend/bad/zend/compare_002_64bit.php.exp +++ b/hphp/test/zend/good/zend/compare_002_64bit.php.exp @@ -9,9 +9,9 @@ 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)} !== 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(-9223372036854775808) array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== string(20) "-9223372036854775808" @@ -26,9 +26,9 @@ 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) "" !== object(stdClass)#1 (0) {} +string(0) "" !== object(stdClass)#2 (0) {} +string(0) "" !== object(test)#3 (0) {} string(0) "" !== array(0) {} string(0) "" !== int(-9223372036854775808) string(0) "" !== string(20) "-9223372036854775808" @@ -43,9 +43,9 @@ int(1) !== string(3) "2.5" int(1) !== NULL int(1) !== bool(true) int(1) !== bool(false) -int(1) !== object(stdClass)#%d (0) {} -int(1) !== object(stdClass)#%d (0) {} -int(1) !== object(test)#%d (0) {} +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(-9223372036854775808) int(1) !== string(20) "-9223372036854775808" @@ -60,9 +60,9 @@ 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)#%d (0) {} -float(2.5) !== object(stdClass)#%d (0) {} -float(2.5) !== object(test)#%d (0) {} +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(-9223372036854775808) float(2.5) !== string(20) "-9223372036854775808" @@ -77,9 +77,9 @@ int(0) !== string(3) "2.5" int(0) !== NULL int(0) !== bool(true) int(0) !== bool(false) -int(0) !== object(stdClass)#%d (0) {} -int(0) !== object(stdClass)#%d (0) {} -int(0) !== object(test)#%d (0) {} +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(-9223372036854775808) int(0) !== string(20) "-9223372036854775808" @@ -94,9 +94,9 @@ 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" !== 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(-9223372036854775808) string(6) "string" !== string(20) "-9223372036854775808" @@ -111,9 +111,9 @@ 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" !== 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(-9223372036854775808) string(3) "123" !== string(20) "-9223372036854775808" @@ -128,9 +128,9 @@ 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" !== 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(-9223372036854775808) string(3) "2.5" !== string(20) "-9223372036854775808" @@ -145,9 +145,9 @@ 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 !== object(stdClass)#1 (0) {} +NULL !== object(stdClass)#2 (0) {} +NULL !== object(test)#3 (0) {} NULL !== array(0) {} NULL !== int(-9223372036854775808) NULL !== string(20) "-9223372036854775808" @@ -162,9 +162,9 @@ 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) !== object(stdClass)#1 (0) {} +bool(true) !== object(stdClass)#2 (0) {} +bool(true) !== object(test)#3 (0) {} bool(true) !== array(0) {} bool(true) !== int(-9223372036854775808) bool(true) !== string(20) "-9223372036854775808" @@ -179,63 +179,63 @@ 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) !== object(stdClass)#1 (0) {} +bool(false) !== object(stdClass)#2 (0) {} +bool(false) !== object(test)#3 (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) {} !== int(1) -object(stdClass)#%d (0) {} !== float(2.5) -object(stdClass)#%d (0) {} !== 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) {} !== 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) {} !== int(1) -object(stdClass)#%d (0) {} !== float(2.5) -object(stdClass)#%d (0) {} !== 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) {} !== 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) {} !== int(1) -object(test)#%d (0) {} !== float(2.5) -object(test)#%d (0) {} !== 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) {} !== int(-9223372036854775808) -object(test)#%d (0) {} !== string(20) "-9223372036854775808" +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(-9223372036854775808) +object(stdClass)#1 (0) {} !== string(20) "-9223372036854775808" +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(-9223372036854775808) +object(stdClass)#2 (0) {} !== string(20) "-9223372036854775808" +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(-9223372036854775808) +object(test)#3 (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) @@ -247,9 +247,9 @@ 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) {} !== object(stdClass)#1 (0) {} +array(0) {} !== object(stdClass)#2 (0) {} +array(0) {} !== object(test)#3 (0) {} array(0) {} === array(0) {} array(0) {} !== int(-9223372036854775808) array(0) {} !== string(20) "-9223372036854775808" @@ -264,9 +264,9 @@ int(-9223372036854775808) !== string(3) "2.5" int(-9223372036854775808) !== NULL int(-9223372036854775808) !== bool(true) int(-9223372036854775808) !== bool(false) -int(-9223372036854775808) !== object(stdClass)#%d (0) {} -int(-9223372036854775808) !== object(stdClass)#%d (0) {} -int(-9223372036854775808) !== object(test)#%d (0) {} +int(-9223372036854775808) !== object(stdClass)#1 (0) {} +int(-9223372036854775808) !== object(stdClass)#2 (0) {} +int(-9223372036854775808) !== object(test)#3 (0) {} int(-9223372036854775808) !== array(0) {} int(-9223372036854775808) === int(-9223372036854775808) int(-9223372036854775808) !== string(20) "-9223372036854775808" @@ -281,9 +281,9 @@ 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" !== object(stdClass)#1 (0) {} +string(20) "-9223372036854775808" !== object(stdClass)#2 (0) {} +string(20) "-9223372036854775808" !== object(test)#3 (0) {} string(20) "-9223372036854775808" !== array(0) {} string(20) "-9223372036854775808" !== int(-9223372036854775808) string(20) "-9223372036854775808" === string(20) "-9223372036854775808" diff --git a/hphp/test/zend/bad/zend/constants_005.php b/hphp/test/zend/good/zend/constants_005.php similarity index 100% rename from hphp/test/zend/bad/zend/constants_005.php rename to hphp/test/zend/good/zend/constants_005.php diff --git a/hphp/test/zend/bad/zend/constants_005.php.exp b/hphp/test/zend/good/zend/constants_005.php.exp similarity index 56% rename from hphp/test/zend/bad/zend/constants_005.php.exp rename to hphp/test/zend/good/zend/constants_005.php.exp index f34b723f2..679657b5e 100644 --- a/hphp/test/zend/bad/zend/constants_005.php.exp +++ b/hphp/test/zend/good/zend/constants_005.php.exp @@ -1,3 +1,3 @@ -HipHop Notice: Use of undefined constant ZEND_THREAD_safe - assumed 'ZEND_THREAD_safe' in hphp/test/zend/bad/constants_005.php on line %d +HipHop Notice: Use of undefined constant ZEND_THREAD_safe - assumed 'ZEND_THREAD_safe' in hphp/test/zend/good/zend/constants_005.php on line 2 string(16) "ZEND_THREAD_safe" int(123) diff --git a/hphp/test/zend/bad/zend/dereference_003.php b/hphp/test/zend/good/zend/dereference_003.php similarity index 100% rename from hphp/test/zend/bad/zend/dereference_003.php rename to hphp/test/zend/good/zend/dereference_003.php diff --git a/hphp/test/zend/bad/zend/dereference_003.php.exp b/hphp/test/zend/good/zend/dereference_003.php.exp similarity index 73% rename from hphp/test/zend/bad/zend/dereference_003.php.exp rename to hphp/test/zend/good/zend/dereference_003.php.exp index a9fe85f48..32ceaaa26 100644 --- a/hphp/test/zend/bad/zend/dereference_003.php.exp +++ b/hphp/test/zend/good/zend/dereference_003.php.exp @@ -1,5 +1,5 @@ int(2) -object(foo)#%d (1) { +object(foo)#2 (1) { ["x"]=> int(2) } diff --git a/hphp/test/zend/bad/zend/dereference_004.php b/hphp/test/zend/good/zend/dereference_004.php similarity index 100% rename from hphp/test/zend/bad/zend/dereference_004.php rename to hphp/test/zend/good/zend/dereference_004.php diff --git a/hphp/test/zend/good/zend/dereference_004.php.exp b/hphp/test/zend/good/zend/dereference_004.php.exp new file mode 100644 index 000000000..5347a148a --- /dev/null +++ b/hphp/test/zend/good/zend/dereference_004.php.exp @@ -0,0 +1,2 @@ +object(stdClass)#2 (0) { +} diff --git a/hphp/test/zend/bad/zend/dereference_011.php b/hphp/test/zend/good/zend/dereference_011.php similarity index 100% rename from hphp/test/zend/bad/zend/dereference_011.php rename to hphp/test/zend/good/zend/dereference_011.php diff --git a/hphp/test/zend/bad/zend/dereference_011.php.exp b/hphp/test/zend/good/zend/dereference_011.php.exp similarity index 79% rename from hphp/test/zend/bad/zend/dereference_011.php.exp rename to hphp/test/zend/good/zend/dereference_011.php.exp index 404136880..303daa8c5 100644 --- a/hphp/test/zend/bad/zend/dereference_011.php.exp +++ b/hphp/test/zend/good/zend/dereference_011.php.exp @@ -1,5 +1,5 @@ int(1) -object(foo)#%d (1) { +object(foo)#1 (1) { ["arr"]=> &array(2) { [0]=> @@ -8,7 +8,7 @@ object(foo)#%d (1) { *RECURSION* } } -object(foo)#%d (1) { +object(foo)#1 (1) { ["arr"]=> &array(2) { [0]=> diff --git a/hphp/test/zend/good/zend/dynamic_call_001.php.exp b/hphp/test/zend/good/zend/dynamic_call_001.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/dynamic_call_002.php b/hphp/test/zend/good/zend/dynamic_call_002.php similarity index 100% rename from hphp/test/zend/bad/zend/dynamic_call_002.php rename to hphp/test/zend/good/zend/dynamic_call_002.php diff --git a/hphp/test/zend/bad/zend/dynamic_call_002.php.exp b/hphp/test/zend/good/zend/dynamic_call_002.php.exp similarity index 58% rename from hphp/test/zend/bad/zend/dynamic_call_002.php.exp rename to hphp/test/zend/good/zend/dynamic_call_002.php.exp index 523cdc298..3a56b5111 100644 --- a/hphp/test/zend/bad/zend/dynamic_call_002.php.exp +++ b/hphp/test/zend/good/zend/dynamic_call_002.php.exp @@ -1 +1 @@ -HipHop Fatal error: Function name must be a string in hphp/test/zend/bad/dynamic_call_002.php on line %d +HipHop Fatal error: Function name must be a string in hphp/test/zend/good/zend/dynamic_call_002.php on line 5 diff --git a/hphp/test/zend/bad/zend/dynamic_call_003.php b/hphp/test/zend/good/zend/dynamic_call_003.php similarity index 100% rename from hphp/test/zend/bad/zend/dynamic_call_003.php rename to hphp/test/zend/good/zend/dynamic_call_003.php diff --git a/hphp/test/zend/bad/zend/dynamic_call_003.php.exp b/hphp/test/zend/good/zend/dynamic_call_003.php.exp similarity index 58% rename from hphp/test/zend/bad/zend/dynamic_call_003.php.exp rename to hphp/test/zend/good/zend/dynamic_call_003.php.exp index 860e3223b..cfeb17288 100644 --- a/hphp/test/zend/bad/zend/dynamic_call_003.php.exp +++ b/hphp/test/zend/good/zend/dynamic_call_003.php.exp @@ -1 +1 @@ -HipHop Fatal error: Function name must be a string in hphp/test/zend/bad/dynamic_call_003.php on line %d +HipHop Fatal error: Function name must be a string in hphp/test/zend/good/zend/dynamic_call_003.php on line 6 diff --git a/hphp/test/zend/bad/zend/each_001.php b/hphp/test/zend/good/zend/each_001.php similarity index 100% rename from hphp/test/zend/bad/zend/each_001.php rename to hphp/test/zend/good/zend/each_001.php diff --git a/hphp/test/zend/bad/zend/each_001.php.exp b/hphp/test/zend/good/zend/each_001.php.exp similarity index 54% rename from hphp/test/zend/bad/zend/each_001.php.exp rename to hphp/test/zend/good/zend/each_001.php.exp index dc714be7e..cb1be8acf 100644 --- a/hphp/test/zend/bad/zend/each_001.php.exp +++ b/hphp/test/zend/good/zend/each_001.php.exp @@ -1 +1 @@ -HipHop Warning: Invalid operand type was used: expecting an array in hphp/test/zend/bad/each_001.php on line %d +HipHop Warning: Invalid operand type was used: expecting an array in hphp/test/zend/good/zend/each_001.php on line 3 diff --git a/hphp/test/zend/bad/zend/errmsg_001.php b/hphp/test/zend/good/zend/errmsg_001.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_001.php rename to hphp/test/zend/good/zend/errmsg_001.php diff --git a/hphp/test/zend/bad/zend/errmsg_001.php.exp b/hphp/test/zend/good/zend/errmsg_001.php.exp similarity index 52% rename from hphp/test/zend/bad/zend/errmsg_001.php.exp rename to hphp/test/zend/good/zend/errmsg_001.php.exp index 34138a989..cba41b1c6 100644 --- a/hphp/test/zend/bad/zend/errmsg_001.php.exp +++ b/hphp/test/zend/good/zend/errmsg_001.php.exp @@ -1 +1 @@ -HipHop Fatal error: Non-abstract method Impl::Foo() must contain body in hphp/test/zend/bad/errmsg_001.php on line %d +HipHop Fatal error: Non-abstract method Impl::Foo() must contain body in hphp/test/zend/good/zend/errmsg_001.php on line 7 diff --git a/hphp/test/zend/bad/zend/errmsg_003.php b/hphp/test/zend/good/zend/errmsg_003.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_003.php rename to hphp/test/zend/good/zend/errmsg_003.php diff --git a/hphp/test/zend/good/zend/errmsg_003.php.exp b/hphp/test/zend/good/zend/errmsg_003.php.exp new file mode 100644 index 000000000..30fc5a2c0 --- /dev/null +++ b/hphp/test/zend/good/zend/errmsg_003.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Cannot re-assign $this in hphp/test/zend/good/zend/errmsg_003.php on line 6 diff --git a/hphp/test/zend/bad/zend/errmsg_006.php b/hphp/test/zend/good/zend/errmsg_006.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_006.php rename to hphp/test/zend/good/zend/errmsg_006.php diff --git a/hphp/test/zend/bad/zend/errmsg_006.php.exp b/hphp/test/zend/good/zend/errmsg_006.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/errmsg_006.php.exp rename to hphp/test/zend/good/zend/errmsg_006.php.exp index 1269b8f18..22681ad4f 100644 --- a/hphp/test/zend/bad/zend/errmsg_006.php.exp +++ b/hphp/test/zend/good/zend/errmsg_006.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/bad/errmsg_006.php on line %d +HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/good/zend/errmsg_006.php on line 4 diff --git a/hphp/test/zend/bad/zend/errmsg_007.php b/hphp/test/zend/good/zend/errmsg_007.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_007.php rename to hphp/test/zend/good/zend/errmsg_007.php diff --git a/hphp/test/zend/bad/zend/errmsg_007.php.exp b/hphp/test/zend/good/zend/errmsg_007.php.exp similarity index 64% rename from hphp/test/zend/bad/zend/errmsg_007.php.exp rename to hphp/test/zend/good/zend/errmsg_007.php.exp index b0ce7db1f..0db2314f7 100644 --- a/hphp/test/zend/bad/zend/errmsg_007.php.exp +++ b/hphp/test/zend/good/zend/errmsg_007.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/bad/errmsg_007.php on line %d +HipHop Fatal error: Cannot use [] for reading in hphp/test/zend/good/zend/errmsg_007.php on line 4 diff --git a/hphp/test/zend/bad/zend/errmsg_016.php b/hphp/test/zend/good/zend/errmsg_016.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_016.php rename to hphp/test/zend/good/zend/errmsg_016.php diff --git a/hphp/test/zend/bad/zend/errmsg_016.php.exp b/hphp/test/zend/good/zend/errmsg_016.php.exp similarity index 51% rename from hphp/test/zend/bad/zend/errmsg_016.php.exp rename to hphp/test/zend/good/zend/errmsg_016.php.exp index ff076fa0d..873ca6a65 100644 --- a/hphp/test/zend/bad/zend/errmsg_016.php.exp +++ b/hphp/test/zend/good/zend/errmsg_016.php.exp @@ -1 +1 @@ -HipHop Fatal error: Method test::__isset() must take exactly 1 argument in hphp/test/zend/bad/errmsg_016.php on line %d +HipHop Fatal error: Method test::__isset() must take exactly 1 argument in hphp/test/zend/good/zend/errmsg_016.php on line 4 diff --git a/hphp/test/zend/bad/zend/errmsg_017.php b/hphp/test/zend/good/zend/errmsg_017.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_017.php rename to hphp/test/zend/good/zend/errmsg_017.php diff --git a/hphp/test/zend/bad/zend/errmsg_017.php.exp b/hphp/test/zend/good/zend/errmsg_017.php.exp similarity index 51% rename from hphp/test/zend/bad/zend/errmsg_017.php.exp rename to hphp/test/zend/good/zend/errmsg_017.php.exp index a746508ad..88ff8caef 100644 --- a/hphp/test/zend/bad/zend/errmsg_017.php.exp +++ b/hphp/test/zend/good/zend/errmsg_017.php.exp @@ -1 +1 @@ -HipHop Fatal error: Method test::__unset() must take exactly 1 argument in hphp/test/zend/bad/errmsg_017.php on line %d +HipHop Fatal error: Method test::__unset() must take exactly 1 argument in hphp/test/zend/good/zend/errmsg_017.php on line 4 diff --git a/hphp/test/zend/bad/zend/errmsg_028.php b/hphp/test/zend/good/zend/errmsg_028.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_028.php rename to hphp/test/zend/good/zend/errmsg_028.php diff --git a/hphp/test/zend/bad/zend/errmsg_028.php.exp b/hphp/test/zend/good/zend/errmsg_028.php.exp similarity index 52% rename from hphp/test/zend/bad/zend/errmsg_028.php.exp rename to hphp/test/zend/good/zend/errmsg_028.php.exp index 67f840d76..94adcbbed 100644 --- a/hphp/test/zend/bad/zend/errmsg_028.php.exp +++ b/hphp/test/zend/good/zend/errmsg_028.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'self' as class name as it is reserved in hphp/test/zend/bad/errmsg_028.php on line %d +HipHop Fatal error: Cannot use 'self' as class name as it is reserved in hphp/test/zend/good/zend/errmsg_028.php on line 3 diff --git a/hphp/test/zend/bad/zend/errmsg_029.php b/hphp/test/zend/good/zend/errmsg_029.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_029.php rename to hphp/test/zend/good/zend/errmsg_029.php diff --git a/hphp/test/zend/bad/zend/errmsg_029.php.exp b/hphp/test/zend/good/zend/errmsg_029.php.exp similarity index 51% rename from hphp/test/zend/bad/zend/errmsg_029.php.exp rename to hphp/test/zend/good/zend/errmsg_029.php.exp index 55a1bba05..1cd9337d9 100644 --- a/hphp/test/zend/bad/zend/errmsg_029.php.exp +++ b/hphp/test/zend/good/zend/errmsg_029.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot use 'parent' as class name as it is reserved in hphp/test/zend/bad/errmsg_029.php on line %d +HipHop Fatal error: Cannot use 'parent' as class name as it is reserved in hphp/test/zend/good/zend/errmsg_029.php on line 3 diff --git a/hphp/test/zend/bad/zend/errmsg_032.php b/hphp/test/zend/good/zend/errmsg_032.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_032.php rename to hphp/test/zend/good/zend/errmsg_032.php diff --git a/hphp/test/zend/bad/zend/errmsg_032.php.exp b/hphp/test/zend/good/zend/errmsg_032.php.exp similarity index 52% rename from hphp/test/zend/bad/zend/errmsg_032.php.exp rename to hphp/test/zend/good/zend/errmsg_032.php.exp index c8047f568..4c99e4aa5 100644 --- a/hphp/test/zend/bad/zend/errmsg_032.php.exp +++ b/hphp/test/zend/good/zend/errmsg_032.php.exp @@ -1 +1 @@ -HipHop Fatal error: Constructor test::__construct() cannot be static in hphp/test/zend/bad/errmsg_032.php on line %d +HipHop Fatal error: Constructor test::__construct() cannot be static in hphp/test/zend/good/zend/errmsg_032.php on line 5 diff --git a/hphp/test/zend/bad/zend/errmsg_037.php b/hphp/test/zend/good/zend/errmsg_037.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_037.php rename to hphp/test/zend/good/zend/errmsg_037.php diff --git a/hphp/test/zend/bad/zend/errmsg_037.php.exp b/hphp/test/zend/good/zend/errmsg_037.php.exp similarity index 57% rename from hphp/test/zend/bad/zend/errmsg_037.php.exp rename to hphp/test/zend/good/zend/errmsg_037.php.exp index ef56e189e..8d6d9bd05 100644 --- a/hphp/test/zend/bad/zend/errmsg_037.php.exp +++ b/hphp/test/zend/good/zend/errmsg_037.php.exp @@ -1 +1 @@ -HipHop Fatal error: Properties cannot be declared abstract in hphp/test/zend/bad/errmsg_037.php on line %d +HipHop Fatal error: Properties cannot be declared abstract in hphp/test/zend/good/zend/errmsg_037.php on line 4 diff --git a/hphp/test/zend/bad/zend/errmsg_039.php b/hphp/test/zend/good/zend/errmsg_039.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_039.php rename to hphp/test/zend/good/zend/errmsg_039.php diff --git a/hphp/test/zend/bad/zend/errmsg_039.php.exp b/hphp/test/zend/good/zend/errmsg_039.php.exp similarity index 63% rename from hphp/test/zend/bad/zend/errmsg_039.php.exp rename to hphp/test/zend/good/zend/errmsg_039.php.exp index 50310d859..f88c041d8 100644 --- a/hphp/test/zend/bad/zend/errmsg_039.php.exp +++ b/hphp/test/zend/good/zend/errmsg_039.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot redeclare test::$var in hphp/test/zend/bad/errmsg_039.php on line %d +HipHop Fatal error: Cannot redeclare test::$var in hphp/test/zend/good/zend/errmsg_039.php on line 5 diff --git a/hphp/test/zend/bad/zend/errmsg_040.php b/hphp/test/zend/good/zend/errmsg_040.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_040.php rename to hphp/test/zend/good/zend/errmsg_040.php diff --git a/hphp/test/zend/bad/zend/errmsg_040.php.exp b/hphp/test/zend/good/zend/errmsg_040.php.exp similarity index 55% rename from hphp/test/zend/bad/zend/errmsg_040.php.exp rename to hphp/test/zend/good/zend/errmsg_040.php.exp index 965897904..a9ce3131b 100644 --- a/hphp/test/zend/bad/zend/errmsg_040.php.exp +++ b/hphp/test/zend/good/zend/errmsg_040.php.exp @@ -1 +1 @@ -HipHop Fatal error: Arrays are not allowed in class constants in hphp/test/zend/bad/errmsg_040.php on line %d +HipHop Fatal error: Arrays are not allowed in class constants in hphp/test/zend/good/zend/errmsg_040.php on line 4 diff --git a/hphp/test/zend/bad/zend/errmsg_042.php b/hphp/test/zend/good/zend/errmsg_042.php similarity index 100% rename from hphp/test/zend/bad/zend/errmsg_042.php rename to hphp/test/zend/good/zend/errmsg_042.php diff --git a/hphp/test/zend/bad/zend/errmsg_042.php.exp b/hphp/test/zend/good/zend/errmsg_042.php.exp similarity index 59% rename from hphp/test/zend/bad/zend/errmsg_042.php.exp rename to hphp/test/zend/good/zend/errmsg_042.php.exp index c398da075..e7b5d7120 100644 --- a/hphp/test/zend/bad/zend/errmsg_042.php.exp +++ b/hphp/test/zend/good/zend/errmsg_042.php.exp @@ -1 +1 @@ -HipHop Fatal error: Key element cannot be a reference in hphp/test/zend/bad/errmsg_042.php on line %d +HipHop Fatal error: Key element cannot be a reference in hphp/test/zend/good/zend/errmsg_042.php on line 5 diff --git a/hphp/test/zend/bad/zend/error_reporting04.php b/hphp/test/zend/good/zend/error_reporting04.php similarity index 100% rename from hphp/test/zend/bad/zend/error_reporting04.php rename to hphp/test/zend/good/zend/error_reporting04.php diff --git a/hphp/test/zend/good/zend/error_reporting04.php.exp b/hphp/test/zend/good/zend/error_reporting04.php.exp new file mode 100644 index 000000000..8639cae8b --- /dev/null +++ b/hphp/test/zend/good/zend/error_reporting04.php.exp @@ -0,0 +1,3 @@ +HipHop Notice: Undefined variable: undef in hphp/test/zend/good/zend/error_reporting04.php on line 6 +int(32767) +Done diff --git a/hphp/test/zend/bad/zend/error_reporting09.php b/hphp/test/zend/good/zend/error_reporting09.php similarity index 100% rename from hphp/test/zend/bad/zend/error_reporting09.php rename to hphp/test/zend/good/zend/error_reporting09.php diff --git a/hphp/test/zend/good/zend/error_reporting09.php.exp b/hphp/test/zend/good/zend/error_reporting09.php.exp new file mode 100644 index 000000000..ebab42115 --- /dev/null +++ b/hphp/test/zend/good/zend/error_reporting09.php.exp @@ -0,0 +1,4 @@ +HipHop Notice: Undefined variable: blah in hphp/test/zend/good/zend/error_reporting09.php on line 13 +HipHop Notice: Undefined variable: undef2 in hphp/test/zend/good/zend/error_reporting09.php on line 7 +int(32767) +Done diff --git a/hphp/test/zend/bad/zend/exception_004.php b/hphp/test/zend/good/zend/exception_004.php similarity index 100% rename from hphp/test/zend/bad/zend/exception_004.php rename to hphp/test/zend/good/zend/exception_004.php diff --git a/hphp/test/zend/good/zend/exception_004.php.exp b/hphp/test/zend/good/zend/exception_004.php.exp new file mode 100644 index 000000000..04a494895 --- /dev/null +++ b/hphp/test/zend/good/zend/exception_004.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Exceptions must be valid objects derived from the Exception base class in hphp/test/zend/good/zend/exception_004.php on line 8 diff --git a/hphp/test/zend/bad/zend/exception_005.php b/hphp/test/zend/good/zend/exception_005.php similarity index 100% rename from hphp/test/zend/bad/zend/exception_005.php rename to hphp/test/zend/good/zend/exception_005.php diff --git a/hphp/test/zend/bad/zend/exception_005.php.exp b/hphp/test/zend/good/zend/exception_005.php.exp similarity index 59% rename from hphp/test/zend/bad/zend/exception_005.php.exp rename to hphp/test/zend/good/zend/exception_005.php.exp index 714585bf6..c301d149f 100644 --- a/hphp/test/zend/bad/zend/exception_005.php.exp +++ b/hphp/test/zend/good/zend/exception_005.php.exp @@ -1 +1 @@ -HipHop Fatal error: Cannot instantiate interface a in hphp/test/zend/bad/exception_005.php on line %d +HipHop Fatal error: Cannot instantiate interface a in hphp/test/zend/good/zend/exception_005.php on line 5 diff --git a/hphp/test/zend/good/zend/exception_010.php.exp b/hphp/test/zend/good/zend/exception_010.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/foreach_undefined.php b/hphp/test/zend/good/zend/foreach_undefined.php similarity index 100% rename from hphp/test/zend/bad/zend/foreach_undefined.php rename to hphp/test/zend/good/zend/foreach_undefined.php diff --git a/hphp/test/zend/good/zend/foreach_undefined.php.exp b/hphp/test/zend/good/zend/foreach_undefined.php.exp new file mode 100644 index 000000000..ef89abb26 --- /dev/null +++ b/hphp/test/zend/good/zend/foreach_undefined.php.exp @@ -0,0 +1,3 @@ +HipHop Notice: Undefined variable: a in hphp/test/zend/good/zend/foreach_undefined.php on line 3 +HipHop Warning: Invalid argument supplied for foreach() in hphp/test/zend/good/zend/foreach_undefined.php on line 3 +Done diff --git a/hphp/test/zend/good/zend/get_called_class_001.php.exp b/hphp/test/zend/good/zend/get_called_class_001.php.exp deleted file mode 100644 index 5c0c0681d..000000000 --- a/hphp/test/zend/good/zend/get_called_class_001.php.exp +++ /dev/null @@ -1 +0,0 @@ -bool(false) diff --git a/hphp/test/zend/good/zend/get_class_methods_002.php.exp b/hphp/test/zend/good/zend/get_class_methods_002.php.exp deleted file mode 100644 index 47524b8e7..000000000 --- a/hphp/test/zend/good/zend/get_class_methods_002.php.exp +++ /dev/null @@ -1,16 +0,0 @@ -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" -} diff --git a/hphp/test/zend/bad/zend/get_class_vars_002.php b/hphp/test/zend/good/zend/get_class_vars_002.php similarity index 100% rename from hphp/test/zend/bad/zend/get_class_vars_002.php rename to hphp/test/zend/good/zend/get_class_vars_002.php diff --git a/hphp/test/zend/good/zend/get_class_vars_002.php.exp b/hphp/test/zend/good/zend/get_class_vars_002.php.exp new file mode 100644 index 000000000..6df89947c --- /dev/null +++ b/hphp/test/zend/good/zend/get_class_vars_002.php.exp @@ -0,0 +1,17 @@ +array(1) { + ["a"]=> + int(1) +} +array(3) { + ["a"]=> + int(1) + ["aa"]=> + int(4) + ["cc"]=> + int(6) +} +HipHop Notice: Undefined property: C::$b in hphp/test/zend/good/zend/get_class_vars_002.php on line 20 +HipHop Notice: Undefined property: C::$c in hphp/test/zend/good/zend/get_class_vars_002.php on line 20 +int(1) +NULL +NULL diff --git a/hphp/test/zend/bad/zend/get_defined_vars.php b/hphp/test/zend/good/zend/get_defined_vars.php similarity index 100% rename from hphp/test/zend/bad/zend/get_defined_vars.php rename to hphp/test/zend/good/zend/get_defined_vars.php diff --git a/hphp/test/zend/bad/zend/get_defined_vars.php.exp b/hphp/test/zend/good/zend/get_defined_vars.php.exp similarity index 99% rename from hphp/test/zend/bad/zend/get_defined_vars.php.exp rename to hphp/test/zend/good/zend/get_defined_vars.php.exp index 4a21b823b..12d67937e 100644 --- a/hphp/test/zend/bad/zend/get_defined_vars.php.exp +++ b/hphp/test/zend/good/zend/get_defined_vars.php.exp @@ -1,3 +1,4 @@ + *** Displaying various variables through the array captured by the get_defined_vars function call *** int(1) float(22.33) @@ -58,4 +59,4 @@ array(1) { int(3) } -Done +Done \ No newline at end of file diff --git a/hphp/test/zend/good/zend/halt_compiler3.php.exp b/hphp/test/zend/good/zend/halt_compiler3.php.exp deleted file mode 100644 index 17026517c..000000000 --- a/hphp/test/zend/good/zend/halt_compiler3.php.exp +++ /dev/null @@ -1 +0,0 @@ -==DONE== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/heredoc_008.php b/hphp/test/zend/good/zend/heredoc_008.php similarity index 100% rename from hphp/test/zend/bad/zend/heredoc_008.php rename to hphp/test/zend/good/zend/heredoc_008.php diff --git a/hphp/test/zend/good/zend/heredoc_008.php.exp b/hphp/test/zend/good/zend/heredoc_008.php.exp new file mode 100644 index 000000000..51fdf6486 --- /dev/null +++ b/hphp/test/zend/good/zend/heredoc_008.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: File not found: nowdoc.inc in hphp/test/zend/good/zend/heredoc_008.php on line 3 diff --git a/hphp/test/zend/bad/zend/indirect_method_call_004.php b/hphp/test/zend/good/zend/indirect_method_call_004.php similarity index 100% rename from hphp/test/zend/bad/zend/indirect_method_call_004.php rename to hphp/test/zend/good/zend/indirect_method_call_004.php diff --git a/hphp/test/zend/good/zend/indirect_method_call_004.php.exp b/hphp/test/zend/good/zend/indirect_method_call_004.php.exp new file mode 100644 index 000000000..32d2c30df --- /dev/null +++ b/hphp/test/zend/good/zend/indirect_method_call_004.php.exp @@ -0,0 +1,4 @@ +object(stdClass)#3 (0) { +} +object(stdClass)#5 (0) { +} diff --git a/hphp/test/zend/good/zend/instanceof_001.php.exp b/hphp/test/zend/good/zend/instanceof_001.php.exp deleted file mode 100644 index 80233fc83..000000000 --- a/hphp/test/zend/good/zend/instanceof_001.php.exp +++ /dev/null @@ -1,6 +0,0 @@ -bool(true) -bool(true) -bool(true) -bool(true) -bool(false) -HipHop Fatal error: Bad type conversion: stdClass::__toString() was not defined. in hphp/test/zend/good/zend/instanceof_001.php on line 16 diff --git a/hphp/test/zend/bad/zend/inter_05.php b/hphp/test/zend/good/zend/inter_05.php similarity index 100% rename from hphp/test/zend/bad/zend/inter_05.php rename to hphp/test/zend/good/zend/inter_05.php diff --git a/hphp/test/zend/bad/zend/inter_05.php.exp b/hphp/test/zend/good/zend/inter_05.php.exp similarity index 51% rename from hphp/test/zend/bad/zend/inter_05.php.exp rename to hphp/test/zend/good/zend/inter_05.php.exp index d732a539d..1487c062f 100644 --- a/hphp/test/zend/bad/zend/inter_05.php.exp +++ b/hphp/test/zend/good/zend/inter_05.php.exp @@ -1 +1 @@ -HipHop Fatal error: a cannot implement Exception - it is not an interface in hphp/test/zend/bad/inter_05.php on line %d +HipHop Fatal error: a cannot implement Exception - it is not an interface in hphp/test/zend/good/zend/inter_05.php on line 3 diff --git a/hphp/test/zend/bad/zend/lsb_018.php b/hphp/test/zend/good/zend/lsb_018.php similarity index 100% rename from hphp/test/zend/bad/zend/lsb_018.php rename to hphp/test/zend/good/zend/lsb_018.php diff --git a/hphp/test/zend/bad/zend/lsb_018.php.exp b/hphp/test/zend/good/zend/lsb_018.php.exp similarity index 69% rename from hphp/test/zend/bad/zend/lsb_018.php.exp rename to hphp/test/zend/good/zend/lsb_018.php.exp index 487f57db9..d18b2c47b 100644 --- a/hphp/test/zend/bad/zend/lsb_018.php.exp +++ b/hphp/test/zend/good/zend/lsb_018.php.exp @@ -1,37 +1,37 @@ -object(Foo)#%d (1) { +object(Foo)#1 (1) { ["instanceId":"Singleton":private]=> int(0) } -object(Bar)#%d (1) { +object(Bar)#2 (1) { ["instanceId":"Singleton":private]=> int(1) } -object(Baz)#%d (1) { +object(Baz)#3 (1) { ["instanceId":"Singleton":private]=> int(2) } -object(Foo)#%d (1) { +object(Foo)#1 (1) { ["instanceId":"Singleton":private]=> int(0) } -object(Bar)#%d (1) { +object(Bar)#2 (1) { ["instanceId":"Singleton":private]=> int(1) } -object(Baz)#%d (1) { +object(Baz)#3 (1) { ["instanceId":"Singleton":private]=> int(2) } -object(Foo)#%d (1) { +object(Foo)#1 (1) { ["instanceId":"Singleton":private]=> int(0) } -object(Bar)#%d (1) { +object(Bar)#2 (1) { ["instanceId":"Singleton":private]=> int(1) } -object(Baz)#%d (1) { +object(Baz)#3 (1) { ["instanceId":"Singleton":private]=> int(2) } -===DONE=== +===DONE=== \ No newline at end of file diff --git a/hphp/test/zend/bad/zend/magic_by_ref_001.php b/hphp/test/zend/good/zend/magic_by_ref_001.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_001.php rename to hphp/test/zend/good/zend/magic_by_ref_001.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_001.php.exp b/hphp/test/zend/good/zend/magic_by_ref_001.php.exp new file mode 100644 index 000000000..ba2b9daf8 --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_001.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__set() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_001.php on line 4 diff --git a/hphp/test/zend/bad/zend/magic_by_ref_002.php b/hphp/test/zend/good/zend/magic_by_ref_002.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_002.php rename to hphp/test/zend/good/zend/magic_by_ref_002.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_002.php.exp b/hphp/test/zend/good/zend/magic_by_ref_002.php.exp new file mode 100644 index 000000000..e3f673088 --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_002.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__set() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_002.php on line 4 diff --git a/hphp/test/zend/bad/zend/magic_by_ref_003.php b/hphp/test/zend/good/zend/magic_by_ref_003.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_003.php rename to hphp/test/zend/good/zend/magic_by_ref_003.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_003.php.exp b/hphp/test/zend/good/zend/magic_by_ref_003.php.exp new file mode 100644 index 000000000..32caca741 --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_003.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__get() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_003.php on line 4 diff --git a/hphp/test/zend/bad/zend/magic_by_ref_004.php b/hphp/test/zend/good/zend/magic_by_ref_004.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_004.php rename to hphp/test/zend/good/zend/magic_by_ref_004.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_004.php.exp b/hphp/test/zend/good/zend/magic_by_ref_004.php.exp new file mode 100644 index 000000000..14fdb96b2 --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_004.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__unset() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_004.php on line 4 diff --git a/hphp/test/zend/bad/zend/magic_by_ref_005.php b/hphp/test/zend/good/zend/magic_by_ref_005.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_005.php rename to hphp/test/zend/good/zend/magic_by_ref_005.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_005.php.exp b/hphp/test/zend/good/zend/magic_by_ref_005.php.exp new file mode 100644 index 000000000..04e510ed4 --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_005.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__isset() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_005.php on line 4 diff --git a/hphp/test/zend/bad/zend/magic_by_ref_006.php b/hphp/test/zend/good/zend/magic_by_ref_006.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_006.php rename to hphp/test/zend/good/zend/magic_by_ref_006.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_006.php.exp b/hphp/test/zend/good/zend/magic_by_ref_006.php.exp new file mode 100644 index 000000000..7093d58a6 --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_006.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__call() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_006.php on line 4 diff --git a/hphp/test/zend/bad/zend/magic_by_ref_007.php b/hphp/test/zend/good/zend/magic_by_ref_007.php similarity index 100% rename from hphp/test/zend/bad/zend/magic_by_ref_007.php rename to hphp/test/zend/good/zend/magic_by_ref_007.php diff --git a/hphp/test/zend/good/zend/magic_by_ref_007.php.exp b/hphp/test/zend/good/zend/magic_by_ref_007.php.exp new file mode 100644 index 000000000..f274f77ce --- /dev/null +++ b/hphp/test/zend/good/zend/magic_by_ref_007.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: Method test::__call() cannot take arguments by reference in hphp/test/zend/good/zend/magic_by_ref_007.php on line 4 diff --git a/hphp/test/zend/bad/zend/mod_001.php b/hphp/test/zend/good/zend/mod_001.php similarity index 100% rename from hphp/test/zend/bad/zend/mod_001.php rename to hphp/test/zend/good/zend/mod_001.php diff --git a/hphp/test/zend/good/zend/mod_001.php.exp b/hphp/test/zend/good/zend/mod_001.php.exp new file mode 100644 index 000000000..0ee5b3386 --- /dev/null +++ b/hphp/test/zend/good/zend/mod_001.php.exp @@ -0,0 +1,3 @@ +HipHop Warning: Division by zero in hphp/test/zend/good/zend/mod_001.php on line 6 +bool(false) +Done diff --git a/hphp/test/zend/bad/zend/nowdoc_008.php b/hphp/test/zend/good/zend/nowdoc_008.php similarity index 100% rename from hphp/test/zend/bad/zend/nowdoc_008.php rename to hphp/test/zend/good/zend/nowdoc_008.php diff --git a/hphp/test/zend/good/zend/nowdoc_008.php.exp b/hphp/test/zend/good/zend/nowdoc_008.php.exp new file mode 100644 index 000000000..7445522fc --- /dev/null +++ b/hphp/test/zend/good/zend/nowdoc_008.php.exp @@ -0,0 +1 @@ +HipHop Fatal error: File not found: nowdoc.inc in hphp/test/zend/good/zend/nowdoc_008.php on line 3 diff --git a/hphp/test/zend/good/zend/ns_033.php.exp b/hphp/test/zend/good/zend/ns_033.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/good/zend/ns_068.php.exp b/hphp/test/zend/good/zend/ns_068.php.exp deleted file mode 100644 index e6d2d6b11..000000000 --- a/hphp/test/zend/good/zend/ns_068.php.exp +++ /dev/null @@ -1 +0,0 @@ -HipHop Fatal error: Namespace declaration statement has to be the very first statement in the script: (Line: 3, Char: 14) in hphp/test/zend/good/zend/ns_068.php on line 3 diff --git a/hphp/test/zend/good/zend/ns_075.php.exp b/hphp/test/zend/good/zend/ns_075.php.exp deleted file mode 100644 index e69de29bb..000000000 diff --git a/hphp/test/zend/bad/zend/objects_012.php b/hphp/test/zend/good/zend/objects_012.php similarity index 100% rename from hphp/test/zend/bad/zend/objects_012.php rename to hphp/test/zend/good/zend/objects_012.php diff --git a/hphp/test/zend/bad/zend/objects_012.php.exp b/hphp/test/zend/good/zend/objects_012.php.exp similarity index 51% rename from hphp/test/zend/bad/zend/objects_012.php.exp rename to hphp/test/zend/good/zend/objects_012.php.exp index 3284265f9..0804fea7f 100644 --- a/hphp/test/zend/bad/zend/objects_012.php.exp +++ b/hphp/test/zend/good/zend/objects_012.php.exp @@ -1 +1 @@ -HipHop Fatal error: bar cannot implement foo - it is not an interface in hphp/test/zend/bad/objects_012.php on line %d +HipHop Fatal error: bar cannot implement foo - it is not an interface in hphp/test/zend/good/zend/objects_012.php on line 6 diff --git a/hphp/test/zend/bad/zend/objects_024.php b/hphp/test/zend/good/zend/objects_024.php similarity index 100% rename from hphp/test/zend/bad/zend/objects_024.php rename to hphp/test/zend/good/zend/objects_024.php diff --git a/hphp/test/zend/bad/zend/objects_024.php.exp b/hphp/test/zend/good/zend/objects_024.php.exp similarity index 55% rename from hphp/test/zend/bad/zend/objects_024.php.exp rename to hphp/test/zend/good/zend/objects_024.php.exp index f4459f471..868b28b96 100644 --- a/hphp/test/zend/bad/zend/objects_024.php.exp +++ b/hphp/test/zend/good/zend/objects_024.php.exp @@ -6,9 +6,9 @@ NULL int(2) NULL -object(foo)#%d (0) { +object(foo)#2 (0) { } int(3) -object(foo)#%d (0) { +object(foo)#2 (0) { } diff --git a/hphp/test/zend/bad/zend/objects_025.php b/hphp/test/zend/good/zend/objects_025.php similarity index 100% rename from hphp/test/zend/bad/zend/objects_025.php rename to hphp/test/zend/good/zend/objects_025.php diff --git a/hphp/test/zend/bad/zend/objects_025.php.exp b/hphp/test/zend/good/zend/objects_025.php.exp similarity index 81% rename from hphp/test/zend/bad/zend/objects_025.php.exp rename to hphp/test/zend/good/zend/objects_025.php.exp index 9138df8a5..526d07d2b 100644 --- a/hphp/test/zend/bad/zend/objects_025.php.exp +++ b/hphp/test/zend/good/zend/objects_025.php.exp @@ -6,4 +6,4 @@ non-static - ok static - ok non-static - ok static - ok -HipHop Fatal error: Method name must be a string in hphp/test/zend/bad/objects_025.php on line %d +HipHop Fatal error: Method name must be a string in hphp/test/zend/good/zend/objects_025.php on line 30 diff --git a/hphp/test/zend/bad/zend/objects_031.php b/hphp/test/zend/good/zend/objects_031.php similarity index 100% rename from hphp/test/zend/bad/zend/objects_031.php rename to hphp/test/zend/good/zend/objects_031.php diff --git a/hphp/test/zend/good/zend/objects_031.php.exp b/hphp/test/zend/good/zend/objects_031.php.exp new file mode 100644 index 000000000..aa0d4b432 --- /dev/null +++ b/hphp/test/zend/good/zend/objects_031.php.exp @@ -0,0 +1,13 @@ +array(3) { + [0]=> + object(stdClass)#2 (1) { + ["a"]=> + int(1) + } + [1]=> + object(stdClass)#4 (0) { + } + [2]=> + object(stdClass)#6 (0) { + } +} diff --git a/hphp/test/zend/bad/zend/settype_int.php b/hphp/test/zend/good/zend/settype_int.php similarity index 100% rename from hphp/test/zend/bad/zend/settype_int.php rename to hphp/test/zend/good/zend/settype_int.php diff --git a/hphp/test/zend/bad/zend/settype_int.php.exp b/hphp/test/zend/good/zend/settype_int.php.exp similarity index 72% rename from hphp/test/zend/bad/zend/settype_int.php.exp rename to hphp/test/zend/good/zend/settype_int.php.exp index c00c0221e..71f2b42d5 100644 --- a/hphp/test/zend/bad/zend/settype_int.php.exp +++ b/hphp/test/zend/good/zend/settype_int.php.exp @@ -9,7 +9,7 @@ int(1) int(0) int(1) int(0) -int(%d) -HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/bad/settype_int.php on line %d +int(4) +HipHop Notice: Object of class test could not be converted to int in hphp/test/zend/good/zend/settype_int.php on line 30 int(1) Done diff --git a/hphp/test/zend/bad/zend/unset_cv01.php b/hphp/test/zend/good/zend/unset_cv01.php similarity index 100% rename from hphp/test/zend/bad/zend/unset_cv01.php rename to hphp/test/zend/good/zend/unset_cv01.php diff --git a/hphp/test/zend/good/zend/unset_cv01.php.exp b/hphp/test/zend/good/zend/unset_cv01.php.exp new file mode 100644 index 000000000..8f4c42658 --- /dev/null +++ b/hphp/test/zend/good/zend/unset_cv01.php.exp @@ -0,0 +1,2 @@ +ok +HipHop Notice: Undefined variable: x in hphp/test/zend/good/zend/unset_cv01.php on line 5 diff --git a/hphp/test/zend/bad/zend/unset_cv02.php b/hphp/test/zend/good/zend/unset_cv02.php similarity index 100% rename from hphp/test/zend/bad/zend/unset_cv02.php rename to hphp/test/zend/good/zend/unset_cv02.php diff --git a/hphp/test/zend/good/zend/unset_cv02.php.exp b/hphp/test/zend/good/zend/unset_cv02.php.exp new file mode 100644 index 000000000..526239c3c --- /dev/null +++ b/hphp/test/zend/good/zend/unset_cv02.php.exp @@ -0,0 +1,2 @@ +ok +HipHop Notice: Undefined variable: x in hphp/test/zend/good/zend/unset_cv02.php on line 4 diff --git a/hphp/tools/import_zend_test.py b/hphp/tools/import_zend_test.py index 372d1d4fc..bdddc8489 100644 --- a/hphp/tools/import_zend_test.py +++ b/hphp/tools/import_zend_test.py @@ -48,6 +48,7 @@ bad_tests = ( # works in interp but not others 'bug25922.php', + 'bug34064.php', ) errors = ( @@ -129,10 +130,84 @@ def walk(filename, source): test = sections['FILE'] + dest_filename = os.path.basename(filename).replace('.phpt', '.php') + source_dir = source.lower().replace('/tests', '').replace('/', '-') + + for key in ('EXPECT', 'EXPECTF', 'EXPECTREGEX'): + if sections.has_key(key): + exp = sections[key] + + # tests are really inconsistent about whitespace + exp = re.sub(r'(\r\n|\r|\n)', '\n', exp.strip()) + + exp = exp.replace('in %s on', 'in %s/%s/%s on' % ('hphp/test/zend/all', source_dir, dest_filename)) + + # PHP puts a newline in that we don't + exp = exp.replace('\n\nFatal error:', '\nFatal error:') + exp = exp.replace('\n\nWarning:', '\nWarning:') + exp = exp.replace('\n\nNotice:', '\nNotice:') + + exp = exp.replace('Fatal error:', 'HipHop Fatal error:') + exp = exp.replace('Warning:', 'HipHop Warning:') + exp = exp.replace('Notice:', 'HipHop Notice:') + + for error in errors: + exp = re.sub(error[0], error[1], exp) + + sections[key] = exp + if sections.has_key('EXPECT'): exp = sections['EXPECT'] elif sections.has_key('EXPECTF'): - exp = sections['EXPECTF'] + wanted_re = sections['EXPECTF'] + + # from run-tests.php + temp = ""; + r = "%r"; + startOffset = 0; + length = len(wanted_re); + while startOffset < length: + start = wanted_re.find(r, startOffset) + if start != -1: + end = wanted_re.find(r, start+2); + if ent == -1: + # unbalanced tag, ignore it. + end = start = length; + else: + start = end = length; + + temp = temp + re.escape(wanted_re[startOffset:start - startOffset]) + if (end > start): + temp = temp + '(' + wanted_re[start+2:end - start-2] + ')' + + startOffset = end + 2 + + wanted_re = temp + + ## different from php, since python escapes % + wanted_re = wanted_re.replace('\\%', '%') + + wanted_re = wanted_re.replace('%binary_string_optional%', 'string') + wanted_re = wanted_re.replace('%unicode_string_optional%', 'string') + wanted_re = wanted_re.replace('%unicode\|string%', 'string') + wanted_re = wanted_re.replace('%string\|unicode%', 'string') + wanted_re = wanted_re.replace('%u\|b%', '') + wanted_re = wanted_re.replace('%b\|u%', '') + + # Stick to basics + wanted_re = wanted_re.replace('%e', '\\/') + wanted_re = wanted_re.replace('%s', '[^\r\n]+') + wanted_re = wanted_re.replace('%S', '[^\r\n]*') + wanted_re = wanted_re.replace('%a', '.+') + wanted_re = wanted_re.replace('%A', '.*') + wanted_re = wanted_re.replace('%w', '\s*') + wanted_re = wanted_re.replace('%i', '[+-]?\d+') + wanted_re = wanted_re.replace('%d', '\d+') + wanted_re = wanted_re.replace('%x', '[0-9a-fA-F]+') + wanted_re = wanted_re.replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?') + wanted_re = wanted_re.replace('%c', '.') + exp = wanted_re + elif sections.has_key('EXPECTREGEX'): exp = sections['EXPECTREGEX'] else: @@ -161,9 +236,7 @@ def walk(filename, source): print "Unsupported test with section --%s--: " % name, filename return - dest_filename = os.path.basename(filename).replace('.phpt', '.php') cur_dir = os.path.dirname(__file__) - source_dir = source.lower().replace('/tests', '').replace('/', '-') dest_subdir = os.path.join(cur_dir, '../test/zend/all', source_dir) mkdir_p(dest_subdir) full_dest_filename = os.path.join(dest_subdir, dest_filename) @@ -173,20 +246,6 @@ def walk(filename, source): if 'bug44805.php' in full_dest_filename: test = test.replace("1)) {\n\tunlink($file2", "2)) {\n\tunlink($file2") - exp = exp.replace('in %s on', 'in %s/%s/%s on' % ('hphp/test/zend/all', source_dir, dest_filename)) - - # PHP puts a newline in that we don't - exp = exp.replace('\n\nFatal error:', '\nFatal error:') - exp = exp.replace('\n\nWarning:', '\nWarning:') - exp = exp.replace('\n\nNotice:', '\nNotice:') - - exp = exp.replace('Fatal error:', 'HipHop Fatal error:') - exp = exp.replace('Warning:', 'HipHop Warning:') - exp = exp.replace('Notice:', 'HipHop Notice:') - - for error in errors: - exp = re.sub(error[0], error[1], exp) - file(full_dest_filename, 'w').write(test) file(full_dest_filename+'.exp', 'w').write(exp) @@ -270,58 +329,30 @@ for root, dirs, files in os.walk('test/zend/all'): # no diff file or is empty if (not os.path.exists(original_name + '.diff') or \ os.stat(original_name + '.diff')[6] == 0): + if args.verbose: + print '\n', original_name, '\nNo .diff, passed' return True + # PHP is very inconsistent with whitespace in tests + diff = file(original_name + '.diff').read() + diff = re.sub(r'-(.*)\n\\ No newline at end of file\n\+\1', '', diff) + if not re.search(r'\n-', diff): + if args.verbose: + print '\n', original_name, '\nOnly whitespace .diff, passed' + return True + + # I hack a bit and store the regex in the .exp file, use that wanted_re = file(original_name + '.exp').read().strip() output = file(original_name + '.out').read().strip() - - # from run-tests.php - temp = ""; - r = "%r"; - startOffset = 0; - length = len(wanted_re); - while startOffset < length: - start = wanted_re.find(r, startOffset) - if start != -1: - end = wanted_re.find(r, start+2); - if ent == -1: - # unbalanced tag, ignore it. - end = start = length; - else: - start = end = length; - temp = temp + re.escape(wanted_re[startOffset:start - startOffset]) - if (end > start): - temp = temp + '(' + wanted_re[start+2:end - start-2] + ')' - - startOffset = end + 2 + import sre_constants + try: + match = re.match(wanted_re, output) + except (OverflowError, AssertionError, sre_constants.error) as e: + if args.verbose: + print '\n', original_name, '\nException', '\n', e + return False - wanted_re = temp - - ## different from php, since python escapes % - wanted_re = wanted_re.replace('\\%', '%') - - wanted_re = wanted_re.replace('%binary_string_optional%', 'string') - wanted_re = wanted_re.replace('%unicode_string_optional%', 'string') - wanted_re = wanted_re.replace('%unicode\|string%', 'string') - wanted_re = wanted_re.replace('%string\|unicode%', 'string') - wanted_re = wanted_re.replace('%u\|b%', '') - wanted_re = wanted_re.replace('%b\|u%', '') - - # Stick to basics - wanted_re = wanted_re.replace('%e', '\\/') - wanted_re = wanted_re.replace('%s', '[^\r\n]+') - wanted_re = wanted_re.replace('%S', '[^\r\n]*') - wanted_re = wanted_re.replace('%a', '.+') - wanted_re = wanted_re.replace('%A', '.*') - wanted_re = wanted_re.replace('%w', '\s*') - wanted_re = wanted_re.replace('%i', '[+-]?\d+') - wanted_re = wanted_re.replace('%d', '\d+') - wanted_re = wanted_re.replace('%x', '[0-9a-fA-F]+') - wanted_re = wanted_re.replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?') - wanted_re = wanted_re.replace('%c', '.') - - match = re.match(wanted_re, output) if args.verbose: print '\n', original_name, '\n', repr(wanted_re), '\n', repr(output), '\n', match is not None return match and match.group() == output