PHP Classes

Question about the $max_count parameter in the gist method

Recommend this page to a friend!

      Gistfy  >  All threads  >  Question about the $max_count...  >  (Un) Subscribe thread alerts  
Subject:Question about the $max_count...
Summary:What exactly $max_count means?
Messages:3
Author:Kostadin Tonev
Date:2013-09-02 11:27:02
Update:2013-09-04 08:19:33
 

 


  1. Question about the $max_count...   Reply   Report abuse  
Picture of Kostadin Tonev Kostadin Tonev - 2013-09-02 11:27:03
public function gist($string, $max_count) {...}
What exactly $max_count means?

  2. Re: Question about the $max_count...   Reply   Report abuse  
Picture of V Loganathane V Loganathane - 2013-09-04 06:32:39 - In reply to message 1 from Kostadin Tonev
$max_count : maximum length of the final summary.

  3. Re: Question about the $max_count...   Reply   Report abuse  
Picture of Kostadin Tonev Kostadin Tonev - 2013-09-04 08:19:33 - In reply to message 2 from V Loganathane
Length of the words, chars or.. :) I'm playing with your code with different texts and I can't get relation between the value of $mac_count and the length of the output text.