<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>$this-&gt;varname-&gt;method(); が書きにくい。 省略するには、カレントのスコープに変数展開をする必要がある。 &lt;?php //略 extract(get_object_vars($this)); 副作用があるとしたら、関数の引数と衝突してしまう。 関数の引数と衝突しないようにするには &lt;?php //略 extract( array_merge ( get_object_vars($this) , func_get_args()); などとする必要があります。長いなコレ。 しかも、代入が出来ない。困る。 php は this の省略が出来ない。悲しい java などオブジェ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F05%2F03%2F162723&quot; title=&quot; クラスの $thisを省略したい - それマグで！&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>2016-05-03 16:27:23</published>
  <title> クラスの $thisを省略したい</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2016/05/03/162723</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
