Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes - first class attribute support would be great. Late static binding (coming in PHP 5.3) will be nice once it is ubiquitous.

Attributes are a way of declaratively making a statement at a more "meta" level. Because doccomments are a first class language construct in PHP (i.e. Reflection provides doccomments for you) it seemed the most appropriate place for providing additional metadata.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: