original_string: public static function indexOf(array $input, $value)
      {
          foreach ($input as $key => $inputValue) {
              if ($inputValue === $value) {
                  return $key;
              }
          }
  
          return false;
      }
code: public static function indexOf(array $input, $value)
      {
          foreach ($input as $key => $inputValue) {
              if ($inputValue === $value) {
                  return $key;
              }
          }
  
          return false;
      }
code_tokens: public static function indexOf ( array $ input , $ value ) { foreach ( $ input as $ key => $ inputValue ) { if ( $ inputValue === $ value ) { return $ key ; } } return false ; }
docstring: Returns the index of the first occurrence of a value in the provided
  array.
  
  If the value is not found, false is returned.
  
  @param array $input
  @param mixed $value
  
  @return int|string|bool
docstring_tokens: Returns the index of the first occurrence of a value in the provided array .