ID:               22737
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php dot net at trenkner dot de
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: ANY
 PHP Version:      4.3.0
 New Comment:

So what's your plan to mitigate BC problems? What about 
the users who have written their own functions called 
is_empty() and is_set()? 
 
You can't just replace something as commonly used as 
isset() or empty(). 
 
If you really want this functionality, wrap a userland 
function around empty() and isset(), because the odds of 
this changing are infintesimally small. 
 
J 


Previous Comments:
------------------------------------------------------------------------

[2003-03-16 12:26:24] php dot net at trenkner dot de

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 this bug report at http://bugs.php.net/?id=22737&edit=1

Reply via email to