#51058 [Asn]: error(?) in memory_limit description in:Description of core php.ini directives
| From: | cephas dot cordin at gmail dot com | Date: | Tue, 16 Feb 2010 16:56:58 +0000 |
| Subject: | #51058 [Asn]: error(?) in memory_limit description in:Description of core php.ini directives | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3909@lists.php.net to get a copy of this message | ||
ID: 51058
User updated by: cephas dot cordin at gmail dot com
Reported By: cephas dot cordin at gmail dot com
Status: Assigned
Bug Type: Documentation problem
Operating System: -
PHP Version: Irrelevant
Assigned To: joey
New Comment:
ok, so a more clear version could be :
Using this option during compile time also defines the functions
memory_get_usage() and memory_get_peak_usage().
Previous Comments:
------------------------------------------------------------------------
[2010-02-16 16:45:33] joey@php.net
No, but the documentation could probably be clarified. The listed
functions actually didn't exist if you didn't compile PHP with that
flag.
------------------------------------------------------------------------
[2010-02-16 16:10:00] cephas dot cordin at gmail dot com
Description:
------------
this page : http://php.net/manual/en/ini.core.php
says, in the "Resource Limits" paragraph :
Prior to PHP 5.2.1 [...] This was also required to define the functions
memory_get_usage() and....
shouldn't it be :
Prior to PHP 5.2.1 [...] This was also required to *use* the functions
memory_get_usage() and....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=51058&edit=1