#51058 [Asn->Csd]: error(?) in memory_limit description in:Description of core php.ini directives

From: Date: Tue, 16 Feb 2010 23:40:17 +0000
Subject: #51058 [Asn->Csd]: 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-3910@lists.php.net to get a copy of this message
ID: 51058 Updated by: joey@php.net Reported By: cephas dot cordin at gmail dot com -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: - PHP Version: Irrelevant Assigned To: joey New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2010-02-16 23:38:02] 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 16:56:57] 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 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

« previous php.doc.bugs (#3910) next »