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]


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to