Hi,Is there a better/more efficient way to determine how many bits are set in an integer than this?
substr_count(base_convert($myValue, 10, 2), '1'); I'm using PHP 4. Thanks, Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php