6e8178da16
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.
8 linhas
119 B
Plaintext
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"
|