note 53151 deleted from function.empty by didou
| From: | didou@php.net | Date: | Sun, 18 May 2008 00:59:55 +0000 |
| Subject: | note 53151 deleted from function.empty by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139489@lists.php.net to get a copy of this message | ||
Note Submitter: Zigbigidorlu
----
This function is of very little use, as the "!" operator creates the same effect.
<?
if(empty($_POST['username']) exit;
?>
has the exact same functionality as:
<?
if(!$_POST['username']) exit;
?>