Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.7.2

Request #17095 Token for variable variables
Submitted: 2010-02-13 09:41 UTC
From: youngian Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.2.2)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-02-13 09:41 UTC] youngian (Ian Young)
Description: ------------ The tokenizer gets confused by variable variables. Attached is a patch that recognizes the first '$' as a T_DOLLAR token (the rest of the variable is parsed as a T_VARIABLE, as usual).

Comments

 [2010-02-13 09:42 UTC] youngian (Ian Young)
 [2010-02-18 05:28 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
Patch applied in SVN. Thanks for submitting.