original_string: public static function generateSuffixedIdentName( array $identNames, $suffix )
      {
          $ident = implode( "_", $identNames ) . "_" . $suffix;
          $i = 0;
          $last = -1;
  
          while ( strlen( $ident ) > self::IDENTIFIER_MAX_LENGTH )
          {
              if ( strlen( $identNames[$i] ) > 1 || $last == $i )
              {
                  $identNames[$i] = substr( $identNames[$i], 0, strlen( $identNames[$i] ) - 1 );
                  $last = $i;
              }
              $i = ( $i + 1 ) % count( $identNames );
              $ident = implode( "_", $identNames ) . "_" . $suffix;
          }
          return $ident;
      }
code: public static function generateSuffixedIdentName( array $identNames, $suffix )
      {
          $ident = implode( "_", $identNames ) . "_" . $suffix;
          $i = 0;
          $last = -1;
  
          while ( strlen( $ident ) > self::IDENTIFIER_MAX_LENGTH )
          {
              if ( strlen( $identNames[$i] ) > 1 || $last == $i )
              {
                  $identNames[$i] = substr( $identNames[$i], 0, strlen( $identNames[$i] ) - 1 );
                  $last = $i;
              }
              $i = ( $i + 1 ) % count( $identNames );
              $ident = implode( "_", $identNames ) . "_" . $suffix;
          }
          return $ident;
      }
code_tokens: public static function generateSuffixedIdentName ( array $ identNames , $ suffix ) { $ ident = implode ( "_" , $ identNames ) . "_" . $ suffix ; $ i = 0 ; $ last = - 1 ; while ( strlen ( $ ident ) > self :: IDENTIFIER_MAX_LENGTH ) { if ( strlen ( $ identNames [ $ i ] ) > 1 || $ last == $ i ) { $ identNames [ $ i ] = substr ( $ identNames [ $ i ] , 0 , strlen ( $ identNames [ $ i ] ) - 1 ) ; $ last = $ i ; } $ i = ( $ i + 1 ) % count ( $ identNames ) ; $ ident = implode ( "_" , $ identNames ) . "_" . $ suffix ; } return $ ident ; }
docstring: Generate single identifier name for constraints for example obeying oracle 30 chars ident restriction.
  
  @param array $identNames
  @param string $suffix
  @return string
docstring_tokens: Generate single identifier name for constraints for example obeying oracle 30 chars ident restriction .