Last active
August 29, 2015 14:13
-
-
Save laruence/d2071962dd54ee7a97c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ext/standard/tests/array/array_multisort_variation7.log | |
---- EXPECTED OUTPUT | |
*** Testing array_multisort() : usage variation - test sort order of all types*** | |
bool(true) | |
array(10) { | |
["empty string DQ"]=> | |
string(0) "" | |
["int 0"]=> | |
int(0) | |
["uppercase NULL"]=> | |
NULL | |
["undefined var"]=> | |
NULL | |
[0]=> | |
array(0) { | |
} | |
["instance of classWithToString"]=> | |
object(classWithToString)#1 (0) { | |
} | |
["instance of classWithoutToString"]=> | |
object(classWithoutToString)#2 (0) { | |
} | |
["lowercase true"]=> | |
bool(true) | |
["float -10.5"]=> | |
float(-10.5) | |
["string DQ"]=> | |
string(6) "string" | |
} | |
===DONE=== | |
---- ACTUAL OUTPUT | |
*** Testing array_multisort() : usage variation - test sort order of all types*** | |
bool(true) | |
array(10) { | |
["float -10.5"]=> | |
float(-10.5) | |
["int 0"]=> | |
int(0) | |
[0]=> | |
array(0) { | |
} | |
["uppercase NULL"]=> | |
NULL | |
["empty string DQ"]=> | |
string(0) "" | |
["undefined var"]=> | |
NULL | |
["lowercase true"]=> | |
bool(true) | |
["instance of classWithToString"]=> | |
object(classWithToString)#1 (0) { | |
} | |
["string DQ"]=> | |
string(6) "string" | |
["instance of classWithoutToString"]=> | |
object(classWithoutToString)#2 (0) { | |
} | |
} | |
===DONE=== | |
---- FAILED | |
$ hhvm ext/standard/tests/array/array_multisort_variation7.php | |
*** Testing array_multisort() : usage variation - test sort order of all types*** | |
bool(true) | |
array(10) { | |
["empty string DQ"]=> | |
string(0) "" | |
["int 0"]=> | |
int(0) | |
["uppercase NULL"]=> | |
NULL | |
["undefined var"]=> | |
NULL | |
[0]=> | |
array(0) { | |
} | |
["instance of classWithToString"]=> | |
object(classWithToString)#1 (0) { | |
} | |
["instance of classWithoutToString"]=> | |
object(classWithoutToString)#2 (0) { | |
} | |
["lowercase true"]=> | |
bool(true) | |
["float -10.5"]=> | |
float(-10.5) | |
["string DQ"]=> | |
string(6) "string" | |
} | |
===DONE=== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment