Arquivos
hhvm/hphp/test/vm/debug_backtrace_continuation.php.expectf
T
seanc 0840deb71a Use name to be consistent with Zend in backtraces
Generators should specify function names as the name instead of the
full name for consistency with Zend 5.5 (and more importantly because
this breaks PHPUnit), this was exposed by the backtrace removal of
file and line info
2013-04-11 12:13:43 -07:00

97 linhas
1.4 KiB
Plaintext

array(3) {
[0]=>
array(2) {
["function"]=>
string(12) "my_generator"
["args"]=>
array(1) {
[0]=>
object(Continuation)#1 (0) {
}
}
}
[1]=>
array(7) {
["file"]=>
string(%d) "%s"
["line"]=>
int(10)
["function"]=>
string(4) "send"
["class"]=>
string(12) "Continuation"
["object"]=>
object(Continuation)#1 (0) {
}
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
NULL
}
}
[2]=>
array(4) {
["file"]=>
string(%d) "%s"
["line"]=>
int(26)
["function"]=>
string(10) "my_wrapper"
["args"]=>
array(0) {
}
}
}
array(3) {
[0]=>
array(4) {
["function"]=>
string(19) "my_member_generator"
["class"]=>
string(8) "my_class"
["type"]=>
string(2) "::"
["args"]=>
array(1) {
[0]=>
object(Continuation)#1 (0) {
}
}
}
[1]=>
array(7) {
["file"]=>
string(%d) "%s"
["line"]=>
int(23)
["function"]=>
string(4) "send"
["class"]=>
string(12) "Continuation"
["object"]=>
object(Continuation)#1 (0) {
}
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
NULL
}
}
[2]=>
array(4) {
["file"]=>
string(%d) "%s"
["line"]=>
int(27)
["function"]=>
string(16) "my_class_wrapper"
["args"]=>
array(0) {
}
}
}