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:[EMAIL PROTECTED]

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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to