Re: [PHP] More toroughly checking a script before execution

2005-07-22 Thread Markus Fischer
Richard Lynch wrote: On Thu, July 21, 2005 3:50 pm, Markus Fischer said: is there a way to have a more torough checking of PHP code before executing? Use E_ALL if you aren't already. Most people aren't because the default is E_ALL ~ E_NOTICE, which is a Big Mistake for a default, imnsho.

Re: [PHP] More toroughly checking a script before execution

2005-07-22 Thread Markus Fischer
Rasmus Lerdorf wrote: Sounds like you just need to turn on E_NOTICE. At least for your variable access stuff assuming your test case actually hits that part of the code. I was talking about finding the problems bevore executing the code. If you are talking about complete code coverage

[PHP] More toroughly checking a script before execution

2005-07-21 Thread Markus Fischer
Hi, is there a way to have a more torough checking of PHP code before executing? I can't remember the number of times when I try to read a variable which hasn't assigned a value yet. This increases as projects are getting bigger and more files are used. I know that due it's loosely typed

Re: [PHP] More toroughly checking a script before execution

2005-07-21 Thread Rasmus Lerdorf
Markus Fischer wrote: Hi, is there a way to have a more torough checking of PHP code before executing? I can't remember the number of times when I try to read a variable which hasn't assigned a value yet. This increases as projects are getting bigger and more files are used. I know

Re: [PHP] More toroughly checking a script before execution

2005-07-21 Thread Richard Lynch
On Thu, July 21, 2005 3:50 pm, Markus Fischer said: is there a way to have a more torough checking of PHP code before executing? Use E_ALL if you aren't already. Most people aren't because the default is E_ALL ~ E_NOTICE, which is a Big Mistake for a default, imnsho. -- Like Music?