Hello,
A user have reported a bug in the documentation about ini_get()
.
Check this:
<?
// if register_globals is off
var_dump(ini_get('register_globals'));
?>
outputs:
string(1) "0" in PHP 4
-and-
string(0) "" in PHP 5
I think the issue must be clarified, as if it is a a feature it is a
backward incompatible change and must be documented.
Nuno
i experienced this using PHP4 ( guess it is 4.2.x ) in our local
production enviroment and with one of our clients servers ( 4.3.2 )
-- red
Nuno Lopes wrote:
Hello,
A user have reported a bug in the documentation about
ini_get()
.Check this:
<?
// if register_globals is off
var_dump(ini_get('register_globals'));
?>outputs:
string(1) "0" in PHP 4
-and-
string(0) "" in PHP 5I think the issue must be clarified, as if it is a a feature it is a
backward incompatible change and must be documented.Nuno