Arquivos
hhvm/hphp/test/quick/generator_varargs.php.expect
T
Jan Oravec 9662396bf0 Store variable arguments in optional local
Save 8 bytes of m_args and its initialization for Continuations without
func_get_args() call (does not save real memory due to 16-byte alignment).
Store variable arguments in optional local.
2013-06-11 11:48:06 -07:00

244 linhas
3.0 KiB
Plaintext

int(0)
array(0) {
}
bool(false)
int(0)
bool(false)
int(1)
array(1) {
[0]=>
string(11) "defined_arg"
}
bool(false)
string(11) "defined_arg"
int(1)
bool(false)
int(2)
array(2) {
[0]=>
string(3) "dst"
[1]=>
string(11) "replacement"
}
bool(false)
string(3) "dst"
string(11) "replacement"
int(2)
bool(false)
int(2)
array(2) {
[0]=>
string(3) "src"
[1]=>
string(11) "replacement"
}
bool(false)
string(3) "src"
string(11) "replacement"
int(2)
bool(false)
int(2)
array(2) {
[0]=>
string(3) "idx"
[1]=>
string(11) "replacement"
}
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
int(2)
array(2) {
[0]=>
string(5) "undef"
[1]=>
string(11) "replacement"
}
bool(false)
string(5) "undef"
string(11) "replacement"
int(2)
bool(false)
int(1)
array(1) {
[0]=>
string(5) "hello"
}
bool(false)
int(0)
string(5) "hello"
bool(false)
int(2)
array(2) {
[0]=>
string(11) "defined_arg"
[1]=>
string(5) "hello"
}
bool(false)
string(11) "defined_arg"
int(1)
string(5) "hello"
bool(false)
int(3)
array(3) {
[0]=>
string(3) "dst"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
}
bool(false)
string(3) "dst"
string(11) "replacement"
int(2)
string(5) "hello"
bool(false)
int(3)
array(3) {
[0]=>
string(3) "src"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
}
bool(false)
string(3) "src"
string(11) "replacement"
int(2)
string(5) "hello"
bool(false)
int(3)
array(3) {
[0]=>
string(3) "idx"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
}
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
int(3)
array(3) {
[0]=>
string(5) "undef"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
}
bool(false)
string(5) "undef"
string(11) "replacement"
int(2)
string(5) "hello"
bool(false)
int(2)
array(2) {
[0]=>
string(5) "hello"
[1]=>
int(47)
}
bool(false)
int(0)
string(5) "hello"
int(47)
bool(false)
int(3)
array(3) {
[0]=>
string(11) "defined_arg"
[1]=>
string(5) "hello"
[2]=>
int(47)
}
bool(false)
string(11) "defined_arg"
int(1)
string(5) "hello"
int(47)
bool(false)
int(4)
array(4) {
[0]=>
string(3) "dst"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
[3]=>
int(47)
}
bool(false)
string(3) "dst"
string(11) "replacement"
int(2)
string(5) "hello"
int(47)
bool(false)
int(4)
array(4) {
[0]=>
string(3) "src"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
[3]=>
int(47)
}
bool(false)
string(3) "src"
string(11) "replacement"
int(2)
string(5) "hello"
int(47)
bool(false)
int(4)
array(4) {
[0]=>
string(3) "idx"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
[3]=>
int(47)
}
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
string(3) "idx"
int(4)
array(4) {
[0]=>
string(5) "undef"
[1]=>
string(11) "replacement"
[2]=>
string(5) "hello"
[3]=>
int(47)
}
bool(false)
string(5) "undef"
string(11) "replacement"
int(2)
string(5) "hello"
int(47)
bool(false)