Re: In regards to E_STRICT and PHP5

From: Date: Thu, 16 Jun 2005 20:39:42 +0000
Subject: Re: In regards to E_STRICT and PHP5
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-16766@lists.php.net to get a copy of this message
Hello Rasmus, Thanks. I guess I did not realize that because all of my application logic is included after I set error_reporting() Thanks for pointing this out. -- Best regards, Jason mailto:jason@ionzoft.com Thursday, June 16, 2005, 4:32:11 PM, you wrote: RL> Jason Garber wrote: >> Hello boots, >> >> if(AppDevLevel == 'Production') >> { >> error_reporting(E_ALL); >> } >> else >> { >> error_reporting(E_ALL | E_STRICT); >> } >> >> Why don't you implement something like this in your application - >> then you CAN control what error level is used at the client site. RL> Because setting E_SCRIPT at runtime is mostly useless as many of the RL> E_STRICT checks are compile-time. RL> -Rasmus

« previous php.internals (#16766) next »