Dear All

Is this a bug or a feature?

Tested on Apache 1.3.22 + PHP 4.1.2  and
Apache 2.0.35 + PHP 4.2.0RC4

With php.ini setting "some_var=On" I get the following:

ini_get("some_var") returns 1

Fair enough.

If you set "some_var=Off" the results are:

ini_get("some_var") returns ""

i.e. ini_get() returns an empty string or undefined or something, whereas I 
was expecting "0" - is this a bug?

Many thanks

Ian

-- 
Ian Thurlbeck                http://www.stams.strath.ac.uk/
Statistics and Modelling Science, University of Strathclyde
Livingstone Tower, 26 Richmond Street, Glasgow, UK,  G1 1XH
Tel: +44 (0)141 548 3667           Fax: +44 (0)141 552 2079


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to