<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eth0jp</author_name>
  <author_url>https://blog.hatena.ne.jp/eth0jp/</author_url>
  <blog_title>よしだ’s diary</blog_title>
  <blog_url>https://yoshida-eth0.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>ReflectionMethodクラスに定義されている、invokeメソッドとinvokeArgsメソッドについて。 第1引数は必ず$method-&gt;classのインスタンスでなければならない 第1引数は、$method-&gt;classもしくは$method-&gt;classを継承したクラスのインスタンスじゃなきゃ駄目。 つまり、instanceofでtrueになるクラスのインスタンスじゃなきゃ駄目。 テストソース &lt;?php class HelloWorld { public function sayHelloTo($name) { return 'Hello ' . $name . &quot;\n&quot;; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshida-eth0.hatenablog.com%2Fentry%2F20111016%2F1318721749&quot; title=&quot;ReflectionMethod::invoke()が自由じゃない - よしだ’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-10-16 08:35:49</published>
  <title>ReflectionMethod::invoke()が自由じゃない</title>
  <type>rich</type>
  <url>https://yoshida-eth0.hatenablog.com/entry/20111016/1318721749</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
