Bug #14479 Updated: ini_get('memory_limit') returns empty string (Not FALSE or so)
| From: | bs_php at infeer dot com | Date: | Thu, 13 Dec 2001 10:16:24 +0000 |
| Subject: | Bug #14479 Updated: ini_get('memory_limit') returns empty string (Not FALSE or so) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73493@lists.php.net to get a copy of this message | ||
ID: 14479
User updated by: bs_php@infeer.com
Reported By: bs_php@infeer.com
Old Status: Assigned
Status: Open
Bug Type: Feature/Change Request
Operating System: W2k
PHP Version: 4.1.0
Old Assigned To: derick
Assigned To:
New Comment:
I'v managed to get the value with
get_cfg_var('memory_limit')
So it is more a documentation issu. :o)
I'v added a "User Contributed Notes" to ini_get()
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 05:14:08] derick@php.net
checking this out
------------------------------------------------------------------------
[2001-12-13 05:07:15] bs_php@infeer.com
ini_get('memory_limit') returns empty string (Not FALSE or so).
I understand that it may not be possable to set 'memory_limit' but at least it should be
possable to read it.
I would like to use it, to set a buffer size in % to the available memory.
Also
ini_get('any value that is not in php.ini')
returns an empty string too. I would have expected FALSE.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14479&edit=1