note 54526 deleted from ref.errorfunc by betz
| From: | betz@php.net | Date: | Thu, 07 Jul 2005 09:19:58 +0000 |
| Subject: | note 54526 deleted from ref.errorfunc by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91584@lists.php.net to get a copy of this message | ||
Note Submitter: spacejam[AT at ]gmx[dot dot ]ch
----
<<I would like a warning to be triggered whenever a single equal sign is used in a condition,
eg:
if( $a = 100 )
{
}
Does anyone know if this is possible?
>>
Should be possible if you write your condition like this:
if(100 = $a)
{
}
But I don't know another way...