ID: 22110
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: freeBSD 4.7
PHP Version: 4.3.0
New Comment:
empty string is returned for any ini setting that isn't set.
Not bug.
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 10:48:23] [EMAIL PROTECTED]
Here's how I see it. You must have used --enable-memory-limit to use
this directive at all so it essentially isn't being used so it returns
an empty string. I believe this is intentional but ideally a php-dev
person will answer:
Why doesn't it return the default value? Whether that be 8M or -1 (not
sure which it is :) ... when not compiled in. An empty string seems
misleading.
------------------------------------------------------------------------
[2003-02-07 10:29:28] [EMAIL PROTECTED]
ini_get ("memory_limit"); does not return anything.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22110&edit=1