ID: 38506 Updated by: [EMAIL PROTECTED] Reported By: contact-nospampleaz at fplanque dot net -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: wiin XP PHP Version: 5.1.5 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php memory limit is not enabled in our windows builds, which is a requirement for this function. Previous Comments: ------------------------------------------------------------------------ [2006-08-19 00:06:47] contact-nospampleaz at fplanque dot net Description: ------------ I was expecting to use enable memory_get_usage() on windows. It's still not compiled into version 5.1.5 win32. (Although someone said it would). I would request this for the 4.x branch too. No wonder so much PHP code is not memory efficient if windows devs have no way of checking on it. PHP devs on windows are not going to recompile PHP themselves. Doesn't fit the profile! :> Reproduce code: --------------- echo memory_get_usage(); Expected result: ---------------- a value Actual result: -------------- Fatal error: Call to undefined function memory_get_usage() in c:\www\b2evo\blogs\inc\_misc\_misc.funcs.php on line 1961 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38506&edit=1