note 41869 deleted from function.base-convert by danbrown

From: Date: Sat, 02 Jul 2011 15:41:22 +0000
Subject: note 41869 deleted from function.base-convert by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-181174@lists.php.net to get a copy of this message
Note Submitter: Matt AKA Junkie ---- You seem to not see the simplicity of using assembly-esque ideals when inverting colors... <? // precond: $color is a hex integer // postcond: returns inversion function InvertColor($color) { return (int) 0xffffff - $color; } ?>

« previous php.notes (#181174) next »