note 40247 deleted from function.base-convert by danbrown

From: Date: Sat, 02 Jul 2011 15:41:41 +0000
Subject: note 40247 deleted from function.base-convert by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-181176@lists.php.net to get a copy of this message
Note Submitter: hkh at netnords dot dk ---- An optimized version of fiftytoo InvertColor() function. <?php function InvertColor($hex) { return sprintf("%06X", $hex ^ 0xFFFFFF); } ?>

« previous php.notes (#181176) next »