original_string: protected static function parse_seconds($seconds) {
          foreach (self::get_units() as $unit => $unused) {
              if ($seconds % $unit === 0) {
                  return array('v'=>(int)($seconds/$unit), 'u'=>$unit);
              }
          }
          return array('v'=>(int)$seconds, 'u'=>1);
      }
code: protected static function parse_seconds($seconds) {
          foreach (self::get_units() as $unit => $unused) {
              if ($seconds % $unit === 0) {
                  return array('v'=>(int)($seconds/$unit), 'u'=>$unit);
              }
          }
          return array('v'=>(int)$seconds, 'u'=>1);
      }
code_tokens: protected static function parse_seconds ( $ seconds ) { foreach ( self :: get_units ( ) as $ unit => $ unused ) { if ( $ seconds % $ unit === 0 ) { return array ( 'v' => ( int ) ( $ seconds / $ unit ) , 'u' => $ unit ) ; } } return array ( 'v' => ( int ) $ seconds , 'u' => 1 ) ; }
docstring: Finds suitable units for given duration.
  @static
  @param int $seconds
  @return array
docstring_tokens: Finds suitable units for given duration .