Send a blank email to [email protected] to get a copy of this message
Hi!
I think we should deprecate (and remove in 1-2 versions) quasi-aliases. E.g. functions which call
another function with the same arguments and a few additional invariable arguments.
Like quotemeta (http://php.net/quotemeta).
// Except for empty($str)
quotemeta($str) == addcslashes($str, ".\+*?[^]($)")
Also it's a bit odd that quotemeta returns false on an empty string what makes no sense.
Are there still uses for quotemeta which aren't negligible? (any reasons why we shouldn't
deprecate it?)
Bob Weinand