[PHP-DEV] Bug #14479 Updated: ini_get('memory_limit') returns empty string (Not FALSE or so)

2001-12-13 Thread derick

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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14479 Updated: ini_get('memory_limit') returns empty string (Not FALSE or so)

2001-12-13 Thread bs_php

ID: 14479
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14479 Updated: ini_get('memory_limit') returns empty string (Not FALSE or so)

2001-12-13 Thread derick

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

checking this out

Previous Comments:


[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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]