Re: [Announce] PHPLint 0.3 - PHP source parser and validator
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: [Announce] PHPLint 0.3 - PHP source parser and validator

From: Janwillem Borleffs <jw@jwscripts.com>
Date: Sat Oct 01 2005 - 22:21:40 CEST

Umberto Salsi wrote:
> A final note about the usage of the "@" operator: if $_REQUEST['NAME']
> is not set the assignment fail and the variable assigned is not set:
>
> <?
> $x = @ $undefinedvar;
> echo isset($x)? "set":"not set";
>>
>
> gives:
>
> not set
>

Yes, and? You are only seeing a snippet, which doesn't show the validation.

[snip rest of ''advise'']

JW
Received on Tue Oct 18 02:30:17 2005