Re: error handling

From: Date: Thu, 21 Nov 2002 15:45:41 +0000
Subject: Re: error handling
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-91410@lists.php.net to get a copy of this message
We were talking about parse errors here. php -l before you put it life should be enough for that. And yes, I run that before 'cvs commit'.
Well, I am afraid that it is not that simple, as there are other fatal errors that cannot be caught and where lint is useless. For example, $object->wrong_function_name() is a fatal error. Since I am no perfect and make mistakes all the time, I would like my programming environment of choice to help me as much as possible. Also, from a management point of view (I manage programmers), what you are describing there can work in some cases but what if a programmer forgets/is-too-lazy to to that? I don't want to wait for the next morning to know about it. Ivan

« previous php.dev (#91410) next »