<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gallu</author_name>
  <author_url>https://blog.hatena.ne.jp/gallu/</author_url>
  <blog_title>がるの健忘録</blog_title>
  <blog_url>https://gallu.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>PHPで「型宣言された引数の型の名前」を知る方法 - がるの健忘録 の続編。いやPHP8になって「union typesとか増えたしなぁ」とか思って検証コード書いてみたので、勿体ないんで、忘れる前に(絶対忘れるだろうしｗ)、記録しておく。 &lt;?php namespace Foo; // class Bar { } // 調査用クラス class Hoge { public function t(\Exception $e, Bar $ar, $s, int|float $i, mixed $m) { } } /* // $ref = new \ReflectionMethod('Hoge', …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgallu.hatenadiary.jp%2Fentry%2F2021%2F05%2F16%2F232835&quot; title=&quot;PHPで「型宣言された引数の型の名前」を知る方法 続編 - がるの健忘録&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>2021-05-16 23:28:35</published>
  <title>PHPで「型宣言された引数の型の名前」を知る方法 続編</title>
  <type>rich</type>
  <url>https://gallu.hatenadiary.jp/entry/2021/05/16/232835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
