Hey gang,
I'm getting a negative return value from memory_get_usage() using the
following script. My I've got --enable-memory-limit enabled and my
memory_limit is set to 100MB (which should more than enough memory).
I suspect that there is a bug in utf8_encode() but I'd like others to
test it (on different platforms) before I submit it as a bug.
<?php
for ($i=0; $i < 20000; $i++) {
echo utf8_encode('This is a test');
}
echo memory_get_usage();
?>
Chris
chris@xxxxxxxxxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php