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

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

Reply via email to