note 75462 deleted from function.empty by tularis
| From: | tularis@php.net | Date: | Thu, 31 May 2007 09:20:44 +0000 |
| Subject: | note 75462 deleted from function.empty by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-127052@lists.php.net to get a copy of this message | ||
Note Submitter: romy4 at online dot ua
Reason: bad code
----
you cannot use empty and isset to test in function_exists();
example:
$myfunc="empty";
//this always return false
if(function_exists($myfunc))
{
//..code
}