original_string: private static function findByRel(array $a, $rel)
      {
          $relName = mb_strtolower($rel, 'UTF-8');
          foreach ($a as $name => $value) {
              if (mb_strtolower($name, 'UTF-8') === $relName) {
                  return $value;
              }
          }
          
          return null;
      }
code: private static function findByRel(array $a, $rel)
      {
          $relName = mb_strtolower($rel, 'UTF-8');
          foreach ($a as $name => $value) {
              if (mb_strtolower($name, 'UTF-8') === $relName) {
                  return $value;
              }
          }
          
          return null;
      }
code_tokens: private static function findByRel ( array $ a , $ rel ) { $ relName = mb_strtolower ( $ rel , 'UTF-8' ) ; foreach ( $ a as $ name => $ value ) { if ( mb_strtolower ( $ name , 'UTF-8' ) === $ relName ) { return $ value ; } } return null ; }
docstring: Looks for the given relation name in a case-insensitive
  fashion and returns the corresponding value.
  @return	mixed	The value in $a matching the relation name
  or null if not found.
docstring_tokens: Looks for the given relation name in a case - insensitive fashion and returns the corresponding value .