Perl has such a feature, it's called "taint mode" [1], it marks all variables receiving external data as "tainted" and disallows their usage in sensitive contexts.
PHP has an inactive proposal to implement it as well [2].
PHP has an inactive proposal to implement it as well [2].
No comments yet.