|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-12-13 05:07 UTC] bs_php at infeer dot 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 09:00:01 2025 UTC |
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()