#39807 [Opn->Csd]: --enable-memory-limit for win32 binaries default on

From: Date: Wed, 20 Dec 2006 12:05:33 +0000
Subject: #39807 [Opn->Csd]: --enable-memory-limit for win32 binaries default on
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106630@lists.php.net to get a copy of this message
ID: 39807 Updated by: derick@php.net Reported By: jagermeistermeister at gmail dot com -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Windows PHP Version: 5.2.0 New Comment: This has been done for PHP 5.2.x and HEAD now in CVS. Previous Comments: ------------------------------------------------------------------------ [2006-12-12 15:47:58] jagermeistermeister at gmail dot com Description: ------------ I'd like to use the memory limit on Windows, after 2 days of trying to compile it, I'd just thought I'd suggest it to be on by default. --enable-memory-limit adds functions like memory_get_usage(), let's you set a max. memory consumption of a PHP script and several extensions make use of it (APD, Xdebug). I think it would be an useful addition. I read in another bugpost that this is off by default for performance reasons, which is rather contradicting... I read somewhere that most PHP developers work on Windows (I believe that statement came from Zend itself). If those developers were to write their code keeping in mind a memory limit, overall performance of PHP scripts would go up, in my humble opinion. Expected result: ---------------- Could --enable-memory-limit be on by default for win32 binaries? Actual result: -------------- --enable-memory-limit is off by default for win32 binaries ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39807&edit=1

« previous php.bugs (#106630) next »