Nilesh Govindrajan wrote:
Yeah that's true. Placing an @ before the function is a bad idea. Instead use
error_reporting(E_NONE) OR error_reporting(0)
You should never use error_reporting(E_NONE), not even in production
mode. The correct options are:
error_reporting(E_ALL | E_STRICT);
ini_
On Monday 29 September 2008 10:02:06 pm Richard Lynch wrote:
> > -Original Message-
> > i try to understand the error_reporting statement and to avoid all
> > warning
> > or error messages.
> > for example i stop the postgresql service and i try to connect to it.
> > when error_reporting is
> -Original Message-
> i try to understand the error_reporting statement and to avoid all
> warning
> or error messages.
> for example i stop the postgresql service and i try to connect to it.
> when error_reporting is set to E_ALL, i get the following warning :
> *Warning*: pg_connect()
>
i only set it via php code like error_reporting(0);
On Sun, Sep 28, 2008 at 11:11 AM, Ashley Sheridan
<[EMAIL PROTECTED]>wrote:
> On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote:
> > Hi,
> >
> > i try to understand the error_reporting statement and to avoid all
> warning
> > or error messag
On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote:
> Hi,
>
> i try to understand the error_reporting statement and to avoid all warning
> or error messages.
> for example i stop the postgresql service and i try to connect to it.
> when error_reporting is set to E_ALL, i get the following warnin
5 matches
Mail list logo