88f1bcf907
It now handles filenames in strings that have been var_dumped, without having to special case them. I also renamed it to default.filter and changed verify to run it on every test. This lets us remove a lot of symlinks that used to point to filepath.filter and changed the expected output for a bunch of tests.
218 linhas
3.3 KiB
Plaintext
218 linhas
3.3 KiB
Plaintext
array(5) {
|
|
[0]=>
|
|
array(6) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(9)
|
|
["function"]=>
|
|
string(3) "foo"
|
|
["class"]=>
|
|
string(1) "A"
|
|
["type"]=>
|
|
string(2) "::"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[1]=>
|
|
array(7) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(15)
|
|
["function"]=>
|
|
string(3) "bar"
|
|
["class"]=>
|
|
string(1) "A"
|
|
["object"]=>
|
|
object(A)#1 (0) {
|
|
}
|
|
["type"]=>
|
|
string(2) "->"
|
|
["args"]=>
|
|
array(3) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
string(3) "str"
|
|
[2]=>
|
|
array(3) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(2)
|
|
[2]=>
|
|
int(3)
|
|
}
|
|
}
|
|
}
|
|
[2]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(20)
|
|
["function"]=>
|
|
string(3) "bar"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[3]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(29)
|
|
["function"]=>
|
|
string(3) "foo"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[4]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(34)
|
|
["function"]=>
|
|
string(4) "main"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
}
|
|
array(5) {
|
|
[0]=>
|
|
array(6) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(9)
|
|
["function"]=>
|
|
string(3) "foo"
|
|
["class"]=>
|
|
string(1) "A"
|
|
["type"]=>
|
|
string(2) "::"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[1]=>
|
|
array(5) {
|
|
["function"]=>
|
|
string(3) "bar"
|
|
["class"]=>
|
|
string(1) "A"
|
|
["object"]=>
|
|
object(A)#1 (0) {
|
|
}
|
|
["type"]=>
|
|
string(2) "->"
|
|
["args"]=>
|
|
array(2) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(2)
|
|
}
|
|
}
|
|
[2]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(20)
|
|
["function"]=>
|
|
string(3) "bar"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[3]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(29)
|
|
["function"]=>
|
|
string(3) "foo"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
[4]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(34)
|
|
["function"]=>
|
|
string(4) "main"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
}
|
|
array(2) {
|
|
[0]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(32)
|
|
["function"]=>
|
|
string(13) "error_handler"
|
|
["args"]=>
|
|
array(6) {
|
|
[0]=>
|
|
int(8)
|
|
[1]=>
|
|
string(63) "Use of undefined constant FakeConstant - assumed 'FakeConstant'"
|
|
[2]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
[3]=>
|
|
int(32)
|
|
[4]=>
|
|
string(0) ""
|
|
[5]=>
|
|
array(2) {
|
|
[0]=>
|
|
array(2) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(32)
|
|
}
|
|
[1]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(34)
|
|
["function"]=>
|
|
string(4) "main"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
[1]=>
|
|
array(4) {
|
|
["file"]=>
|
|
"hphp/test/vm/debug_backtrace.php"
|
|
["line"]=>
|
|
int(34)
|
|
["function"]=>
|
|
string(4) "main"
|
|
["args"]=>
|
|
array(0) {
|
|
}
|
|
}
|
|
}
|