original_string: public function draw($filters=Array())
      {
  
          $word = $this->createWord();
  
          for($j=0;$j<5;$j++){
  
  
              if(file_exists($this->font)){
                  imagettftext($this->image, rand(8,18), rand(0,30), rand(0,200), rand(0,200), $this->ink_color, $this->font, 'not the code');
              } else {
                  imagestring($this->image, rand(1,3), rand(0,200), rand(0,200), 'not the word', $this->ink_color );
              }
          }
  
          if(file_exists($this->font)){
              imagettftext($this->image, 30, rand(-45,45), rand(10,80), rand(80,120), $this->ink_color, $this->font, $this->word);
          } else {
  
              imagestring($this->image, 5, rand(10,80), rand(80,120), $this->word, $this->ink_color );
          }
  
          foreach($filters as $filter){
              imagefilter($this->image, $filter);
          }
  
          return     $this->image;
      }
code: public function draw($filters=Array())
      {
  
          $word = $this->createWord();
  
          for($j=0;$j<5;$j++){
  
  
              if(file_exists($this->font)){
                  imagettftext($this->image, rand(8,18), rand(0,30), rand(0,200), rand(0,200), $this->ink_color, $this->font, 'not the code');
              } else {
                  imagestring($this->image, rand(1,3), rand(0,200), rand(0,200), 'not the word', $this->ink_color );
              }
          }
  
          if(file_exists($this->font)){
              imagettftext($this->image, 30, rand(-45,45), rand(10,80), rand(80,120), $this->ink_color, $this->font, $this->word);
          } else {
  
              imagestring($this->image, 5, rand(10,80), rand(80,120), $this->word, $this->ink_color );
          }
  
          foreach($filters as $filter){
              imagefilter($this->image, $filter);
          }
  
          return     $this->image;
      }
code_tokens: public function draw ( $ filters = Array ( ) ) { $ word = $ this -> createWord ( ) ; for ( $ j = 0 ; $ j < 5 ; $ j ++ ) { if ( file_exists ( $ this -> font ) ) { imagettftext ( $ this -> image , rand ( 8 , 18 ) , rand ( 0 , 30 ) , rand ( 0 , 200 ) , rand ( 0 , 200 ) , $ this -> ink_color , $ this -> font , 'not the code' ) ; } else { imagestring ( $ this -> image , rand ( 1 , 3 ) , rand ( 0 , 200 ) , rand ( 0 , 200 ) , 'not the word' , $ this -> ink_color ) ; } } if ( file_exists ( $ this -> font ) ) { imagettftext ( $ this -> image , 30 , rand ( - 45 , 45 ) , rand ( 10 , 80 ) , rand ( 80 , 120 ) , $ this -> ink_color , $ this -> font , $ this -> word ) ; } else { imagestring ( $ this -> image , 5 , rand ( 10 , 80 ) , rand ( 80 , 120 ) , $ this -> word , $ this -> ink_color ) ; } foreach ( $ filters as $ filter ) { imagefilter ( $ this -> image , $ filter ) ; } return $ this -> image ; }
docstring: Draws the wor text on the image using the true type font specified.  If no font is specified than
  
  @param arary $filters AN array of GD filter constants to run on the image
  @return resource THe image is returned and can be used with imagepng to display or export to file
docstring_tokens: Draws the wor text on the image using the true type font specified . If no font is specified than