Arquivos
hhvm/hphp/test/slow/reflection_classes/1363.php.expect
T
drussi 6e8178da16 expose type annotation to reflection including generics, function types and tuples
This is intended so reflection can be used (via getTypehintText and getReturnTypehintText) to regenerate code the user annotated with types. Essentially using reflection to intrispect code in order to generate type safe
(hack safe) code. That is particularly important for the tools that do dependency injection. The runtime should be oblivious to the change as the rich type annotation is currently only stored for the sake of reflection. For
functions the values are in the shared portion which is cold and should also take care of traits.
2013-04-19 12:21:55 -07:00

8 linhas
119 B
Plaintext

string(11) "Vector<int>"
string(3) "int"
bool(false)
string(6) "string"
string(6) "string"
string(1) "T"
string(1) "C"