note 105796 deleted from language.operators.arithmetic by danbrown

From: Date: Thu, 15 Sep 2011 22:32:17 +0000
Subject: note 105796 deleted from language.operators.arithmetic by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183202@lists.php.net to get a copy of this message
Note Submitter: Korvin Szanto ---- <?php function mod($base,$mod) { for($i=-1;$base>=0;$i++)$base-=$mod; return array($base + $mod,$i); } ?> Simple function to count modulus iterations.

« previous php.notes (#183202) next »