====== Request for Comments: Allow use T_AS in closure use statement ====== * Version: 1.0 * Date: 2012/04/12 * Author: Xinchen Hui * Status: Withdrawn * First Published at: http://wiki.php.net/rfc/useas ===== Introduction ===== Allow use AS in the closure declaration, like: ===== Proposal ===== I have made a patch, after patch, the following script: closure(); $a(); will output: 2224object(Foo)#2 (0) { } I will be keeping improve this patch. ===== Patch ===== * https://gist.github.com/2367913 ===== Changelog ===== * 2012-04-12 Xinchen Hui Initial version * 2012-07-18 Xinchen Hui Open voting * 2012-07-19 Xinchen Hui Draw back, add dynamic variable supporting