RFC #0033: Annotation support for members / lang.reflect.Field

at 2005-08-19 in RFCs by friebe (0 comments)

Scope of Change
Annotations 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



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES

Related

Find related articles by a search for «RFC».