Re: [PHP-DEV] php_value error_reporting

2001-01-12 Thread Zeev Suraski

At 21:34 12/1/2001, Cynic wrote:
>At 20:15 12.1. 2001, Zeev Suraski wrote the following:
>--
> >At 19:32 12/1/2001, Cynic wrote:
> >>A quick one: is PHP supposed to recognize named constants in
> >>php_value error_reporting, or is it a bug?
> >
> >No, it's a feature of the php.ini parser - it's not supported by the 
> Apache module php_value directives...
>
>Well, that's surely pitty, because the advantage of named error level
>constants is gone.

It's not gone, it's never been there :)
It's actually relatively new in php.ini as well.

Zeev

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] php_value error_reporting

2001-01-12 Thread Cynic

At 20:15 12.1. 2001, Zeev Suraski wrote the following:
-- 
>At 19:32 12/1/2001, Cynic wrote:
>>A quick one: is PHP supposed to recognize named constants in
>>php_value error_reporting, or is it a bug?
>
>No, it's a feature of the php.ini parser - it's not supported by the Apache module 
>php_value directives...

Well, that's surely pitty, because the advantage of named error level
constants is gone.

>>If it's supposed to take only integer values, why do the
>>numbers differ from the 'usual' stuff (php.ini)?
>
>What do you mean?  They're not supposed to be different.

I'll check again... Ah, I got mistaken because 
http://www.php.net/manual/configuration.php only lists error 
levels up to E_NOTICE, sans the named constants. So I guess 
it's rather a docu prob.

Sorry for false alarm.

Cynic


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] php_value error_reporting

2001-01-12 Thread Zeev Suraski

At 19:32 12/1/2001, Cynic wrote:
>A quick one: is PHP supposed to recognize named constants in
>php_value error_reporting, or is it a bug?

No, it's a feature of the php.ini parser - it's not supported by the Apache 
module php_value directives...


>If it's supposed to take only integer values, why do the
>numbers differ from the 'usual' stuff (php.ini)?

What do you mean?  They're not supposed to be different.

Zeev


--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]