Re: Re: Checking to see what value error_reporting is set at?
| From: | David Robley | Date: | Mon, 11 Mar 2002 02:14:42 +0000 |
| Subject: | Re: Re: Checking to see what value error_reporting is set at? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87938@lists.php.net to get a copy of this message | ||
In article <01ba01c1c7ca$bd95b1f0$0501a8c0@zaireweb>,
eric.coleman@zaireweb.com says...
> I ment, if you re-set it, as im setting it to error_reporting(E_ALL);
> depending on a value i get from a db query...
>
> -Eric
>
> ----- Original Message -----
> From: "David Robley" <robleyd@paradise.net.nz>
> To: <>
> Sent: Saturday, March 09, 2002 6:52 PM
> Subject: [PHP] Re: Checking to see what value error_reporting is set at?
>
>
> > In article <00b801c1c714$b4854230$0501a8c0@zaireweb>,
> > eric.coleman@zaireweb.com says...
> > > Is it possible to return what error_reporting is set at currently? If
> not, think they would be able to throw it into the newest build of php?
> > >
> > > Thanks,
> > > Eric
> > >
> >
> > Have a look at the ini_get function
Well, the way I understand the manual entry, it returns the current value
- mind you I haven't tried it. Looking through the manual, I also found
get_cfg_var which might be worth a try.
I would highly recommend you grab a copy of the manual - if you are on
Windows the CFM version is readily searchable and has useful cross
referencing links.
--
David Robley
Temporary Kiwi!
Quod subigo farinam