ini_get() changes in PHP 5
| From: | Nuno Lopes | Date: | Wed, 07 Jul 2004 19:00:10 +0000 |
| Subject: | ini_get() changes in PHP 5 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10953@lists.php.net to get a copy of this message | ||
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