note 10551 added to decbin

From: Date: Wed, 10 Jan 2001 05:55:14 +0000
Subject: note 10551 added to decbin
Groups: php.notes 
Request: Send a blank email to php-notes+get-9535@lists.php.net to get a copy of this message
I had the same problem on PHP 3.0.9, so the str_repeat was not an option. This maight help: while (strlen($result)<3) $result="0".$result; http://www.php.net/manual/function.decbin.php

« previous php.notes (#9535) next »