note 97527 deleted from function.isset by danbrown
| From: | danbrown@php.net | Date: | Sat, 24 Apr 2010 12:59:21 +0000 |
| Subject: | note 97527 deleted from function.isset by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-168589@lists.php.net to get a copy of this message | ||
Note Submitter: whookam
----
@ Robert dot VanDell at cbs dot com
Why make a function for something you can do inline?
$b = ($isset ($a) ? $a : "default");
works just as well, without having to add yet another function.