RFC #0033: Annotation support for members / lang.reflect.Fieldat 2005-08-19 in RFCs by friebe (0 comments) Scope of ChangeAnnotations will be supported for member variables. XPClass::getFields() will no longer return a hash of name and value for each member variable but an array of Field objects. Rationale A situation in which this will be useful is when generating WSDLs for complex types (objects). Because PHP can not initialize member variables to objects and because PHP variables only get a type when they're assigned something, we cannot correctly reflect types of those member variables. Read the full RFC here |
|