php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51058 error(?) in memory_limit description in:Description of core php.ini directives
Submitted: 2010-02-16 16:10 UTC Modified: 2010-02-16 23:40 UTC
From: cephas dot cordin at gmail dot com Assigned: joey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
 [2010-02-16 16:10 UTC] 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....





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-16 16:45 UTC] 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:56 UTC] cephas dot cordin at gmail dot com
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().
 [2010-02-16 23:38 UTC] svn@php.net
Automatic comment from SVN on behalf of joey
Revision: http://svn.php.net/viewvc/?view=revision&revision=295187
Log: Clarify the effect of the --enable-memory-limit compile-time flag prior to 5.2.1,
closes PHP Bug #51058
 [2010-02-16 23:40 UTC] joey@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 04:01:33 2024 UTC