original_string: public static function findByKey($array, $key, $value) {
          foreach ($array as $element)
              if (call_user_func(array($element, $key)) === $value)
                  return $element;
          return null;
      }
code: public static function findByKey($array, $key, $value) {
          foreach ($array as $element)
              if (call_user_func(array($element, $key)) === $value)
                  return $element;
          return null;
      }
code_tokens: public static function findByKey ( $ array , $ key , $ value ) { foreach ( $ array as $ element ) if ( call_user_func ( array ( $ element , $ key ) ) === $ value ) return $ element ; return null ; }
docstring: Finds an array element by comparing a member with the given value.
  @param array $array
  @param callable $key
  @param mixed $value
  @return object
docstring_tokens: Finds an array element by comparing a member with the given value .