ID:               39807
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to