[UPHPU] @include_once bad?

Wade Preston Shearer wadeshearer.lists at me.com
Fri Mar 27 00:44:38 MDT 2009


On 27 Mar 2009, at 0:41, thinbegin wrote:

> My stance has always been that suppressing the warning is fine if  
> the file is auxiliary. But i would suggest an "if file_exists"  
> condition

Why? if the file is not required (we only want to include it if it  
exists), why do we need to check if it exists? if it doesn't and the  
include fails, what's the consequence? is there one?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2431 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20090327/8e0a3850/smime.bin


More information about the UPHPU mailing list