Arquivos
hhvm/hphp/test/quick/callable.php.expect
T
Paul Tarjan ae4d1a0def fix callble typehint in interp mode
Somehow the JIT doesn't hit this codepath, but with interp mode the param is a string, but we think `callable` means an object of type callable.

I hate to hadd another top-level if statement to every call. Would a switch statement on the type be better?
2013-06-03 10:54:36 -07:00

9 linhas
122 B
Plaintext

string(0) ""
bool(false)
string(2) "id"
bool(true)
string(8) "blarblah"
bool(false)
string(6) "worked"
string(6) "worked"