#22737 [NEW]: Rename empty()
| From: | php dot net at trenkner dot de | Date: | Sun, 16 Mar 2003 18:26:24 +0000 |
| Subject: | #22737 [NEW]: Rename empty() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-35711@lists.php.net to get a copy of this message | ||
From: php dot net at trenkner dot de
Operating system: ANY
PHP version: 4.3.0
PHP Bug Type: Feature/Change Request
Bug description: Rename empty()
Maybe this is a FAQ but I didn't found it, so...
The function empty() seems to be named inconsistently. We say is_null,
is_string, is_object so why there is no function is_empty()? BTW isset()
is also not in sync :-(
I would like to see a function is_empty() which behaves in the same way
then empty(), same for is_set() replacing isset().
--
Edit bug report at http://bugs.php.net/?id=22737&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22737&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22737&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22737&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22737&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22737&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22737&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22737&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22737&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22737&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22737&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22737&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22737&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22737&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22737&r=gnused