ID: 14479
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: W2k
PHP Version: 4.1.0
Assigned To: derick
New Comment:

Fixed in CVS (the documentation CVS)

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-12-13 05:16:23] [EMAIL PROTECTED]

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() 

------------------------------------------------------------------------

[2001-12-13 05:14:08] [EMAIL PROTECTED]

checking this out

------------------------------------------------------------------------

[2001-12-13 05:07:15] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to