From: 3172continuum at gmail dot com Operating system: w2k PHP version: 5.2.1 PHP Bug Type: Performance problem Bug description: [raw]urldecode memory consumption
Description: ------------ every call of [raw]urldecode consumes (iirc) like 200 extra bytes of my memory! if i just delete parts of the array like below, i have a workaround for the next few weeks... this may though not be useful to other users... i traced it down to this single line which starts with $IMPORT_filepath Reproduce code: --------------- //the next line use several extra bytes on each call, why that????? #$IMPORT_filepath = rawurldecode($res[$i]->path); $IMPORT_filepath = urldecode($res[$i]->path); //with this extra line, memory usage gets lowered: $res[$i] = ''; -- Edit bug report at http://bugs.php.net/?id=41249&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41249&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41249&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41249&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41249&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41249&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41249&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41249&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41249&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41249&r=support Expected behavior: http://bugs.php.net/fix.php?id=41249&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41249&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41249&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41249&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41249&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41249&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41249&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41249&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41249&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41249&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41249&r=mysqlcfg
