> The page for function ini_get()
(http://www.php.net/manual/en/function.ini-get.php) says:
>
>     When querying boolean values: A boolean ini value of off will be
returned
>     as an empty string while a boolean ini value of on will be returned as
"1".
>
> However, when I set boolean ini values using the php_flag directive in my
.htaccess file, ini_get() returns "0" for Off. I'm using PHP 4.3.4 (and
Apache 1.3.31).

I've tested this, and ini_get() returns '0' for PHP 4 and an empty string in
PHP 5. This seems to be a backward incompatible change. I'll contact dev
guys so that they explain whether this a bug or feature (and update the docs
where necessary.

Nuno

> Do you observe the same behavior?
>
>  -- Alexander

Reply via email to