original_string: public static function isIndexed(array $array)
      {
          $i = 0;
          foreach (array_keys($array) as $k) {
              if ($k !== $i) {
                  return false;
              }
              $i++;
          }
          return true;
      }
code: public static function isIndexed(array $array)
      {
          $i = 0;
          foreach (array_keys($array) as $k) {
              if ($k !== $i) {
                  return false;
              }
              $i++;
          }
          return true;
      }
code_tokens: public static function isIndexed ( array $ array ) { $ i = 0 ; foreach ( array_keys ( $ array ) as $ k ) { if ( $ k !== $ i ) { return false ; } $ i ++ ; } return true ; }
docstring: Checks if an array is indexed.
docstring_tokens: Checks if an array is indexed .