note 40126 deleted from function.isset by nlopess
| From: | nlopess@php.net | Date: | Sun, 22 Feb 2004 19:06:54 +0000 |
| Subject: | note 40126 deleted from function.isset by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65548@lists.php.net to get a copy of this message | ||
Note Submitter: badbrush@gmx.de
----
if(isset($var) && $var=="something"))
is one of the reasons whi I hate php. Why not initialize vars like
var $var; // action script
or
my $var; // perl
This would avoid ERROR_NOTIFICATIONS, lead to compacter code and increase clarity.