Re: Simple variable handling.
| From: | Rowan Collins | Date: | Thu, 11 Aug 2016 15:31:52 +0000 |
| Subject: | Re: Simple variable handling. | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95043@lists.php.net to get a copy of this message | ||
On 11/08/2016 16:22, Michał Brzuchalski wrote:
Wgat about static analysis and IDE support? They probably can handle all those sugarcandies because tgey are sticjed to variable but not with any dynamic rules procedural style. Am I right?Yep, that's a good point, add "machine-friendly" alongside "user-friendly" in my previous mail. :) That is, if there is a comprehensive list of standard filters, IDEs and other tools can build them in and give useful hints. I guess it might also be possible to have an inspection of "validation rule assigned to variable appears to never be checked" in some cases. In case it's not clear, I would welcome a smarter syntax to replace filter_* functions, as I think they're pretty unreadable as is. Regards, -- Rowan Collins [IMSoP]