note 12502 deleted from function.count by philip

From: Date: Fri, 28 Sep 2001 01:57:51 +0000
Subject: note 12502 deleted from function.count by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-18400@lists.php.net to get a copy of this message
My own take on a count function :-).<br> function xcount($text) { global $debug; foreach (count_chars($text) as $my_value) $length=$length+$my_value; tracker($length); return($length); } and help in debugging function tracker($message) { global $debug; if($debug == "yes") { echo"<br>$message<br>"; } }

« previous php.notes (#18400) next »