Bug #13532 Updated: bit_count()

From: Date: Wed, 03 Oct 2001 17:12:37 +0000
Subject: Bug #13532 Updated: bit_count()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67224@lists.php.net to get a copy of this message
ID: 13532 Updated by: derick Reported By: russlndr@online.no Old Status: Open Status: Closed Old Bug Type: Variables related Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: function bit_count($var) { return strlen($var) * 8; } It's very easy to do in PHP itself, thus I see no use for this function. Derick Previous Comments: ------------------------------------------------------------------------ [2001-10-03 13:10:44] russlndr@online.no Suggestion: Add a function who can count number of bits who are set in a variable. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13532&edit=1

« previous php.dev (#67224) next »