Re: "use strict" or similar in PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hans Schultz wrote:
> Thanks a lot for your info, I will check that IDE too. But those
> warning levels give me warning only when they encounter offending
> code? Are you telling me that it can be setup to fail entire script
> prior to any execution if there are errors in it? Can you please
> point me how to setup my PHP installation that way?
> 
Only thing I can think of is to set auto_prepend_file in php.ini and
then setup a custom error handler in that file to die() on whatever
errors you want.

http://php.net/manual/function.set-error-handler.php

-Shawn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux