On Wed, Nov 12, 2008 at 04:58, Gregory Beaver <[EMAIL PROTECTED]> wrote: > Stanislav Malyshev wrote: >> stas Tue Nov 11 19:45:34 2008 UTC >> >> Modified files: (Branch: PHP_5_3) >> /ZendEngine2 zend.h zend_compile.c zend_compile.h zend_constants.c >> zend_execute_API.c zend_language_parser.y >> zend_vm_def.h zend_vm_execute.h >> /ZendEngine2/tests bug42802.phpt bug42819.phpt bug43332_1.phpt >> class_alias_021.phpt ns_002.phpt ns_004.phpt >> ns_010.phpt ns_034.phpt ns_035.phpt ns_036.phpt >> ns_037.phpt ns_038.phpt ns_054.phpt ns_055.phpt >> ns_056.phpt ns_057.phpt ns_058.phpt ns_070.phpt >> ns_071.phpt ns_072.phpt ns_073.phpt ns_074.phpt >> Log: >> Namespace resolution streamlining patch >> [DOC] new resolution rules should be documented soon >> >> > > Hi, > > I've got brand new docs for namespaces ready to go, and just waiting for > two things > > 1) commit of namespace brackets support > 2) review by Stas for any problems > > Once these two things are done, I'll commit. For those interested, I > have a draft up at > > http://pear.php.net/~greg/nsdocs/language.namespaces.html
Could you add, into the FAQ, Q&A for like: - How do I use internal function name in namespace now? - How do I use global class as type hint in a namespace? - How do I use my current namespaced class as type hint? - How do I extend a global class from a namespace? - How do I extend a class from my current namespace? - If I don't use namespaces, should I care about any of this? - Can I use throw new \Exception from global scope? Does it matter? And basically duplicate the name resolution rules page in the form of braindead Q&A. -Hannes
