Edit report at http://bugs.php.net/bug.php?id=52424&edit=1
ID: 52424
Comment by: giorgio dot liscio at email dot it
Reported by: php-bugs at majkl578 dot cz
Summary: Function naming inconsistency: htmlentities() x
html_entity_decode()
Status: Open
Type: Bug
Package: Unknown/Other Function
PHP Version: 5.3.3
New Comment:
php functions uses a lot of different syntax
isset
is_array
isPublic
but aliasing is evil and renaming is not appreciated by users... the
best thing you can do is implement your renamed function in your
namespace
bye
Previous Comments:
------------------------------------------------------------------------
[2010-07-24 07:11:06] php-bugs at majkl578 dot cz
Description:
------------
I suggest adding a function htmlentities_decode() as a replacement for
html_entity_decode() and possibly deprecate that one.
It is really misleading and unintuitive because there are functions
htmlspecialchars() and htmlspecialchars_decode() doing similar thing.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52424&edit=1