[FX.php List] PHP Notices OK?

Leo R. Lundgren leo at finalresort.org
Wed Dec 12 09:17:20 MST 2007


In my opinion there shouldn't be any notices, at least for undefined  
variables or the like. You shouldn't have undefined variables. If for  
some reason you need to test if a variable is set you can use isset()  
(read the manual for it though, it has some quirks).

|

12 dec 2007 kl. 17.05 skrev Jonathan Schwartz:

> Hi Folks,
>
> Is it acceptable for a solution to produce NOTICES (for undefined  
> variables) and then essentially hide them by turning off  
> error_reporting NOTICES?
>
> Or at minimum, should the solution run clean without notices?
>
>
> Thx
> -- 
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list