Deprecate quotemeta function

From: Date: Mon, 01 Jul 2013 21:49:05 +0000
Subject: Deprecate quotemeta function
Groups: php.internals 
Request: Send a blank email to internals+get-68028@lists.php.net 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

« previous php.internals (#68028) next »