<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>&lt;? class AAA{ public $x=&quot;hoge&quot;; } $a = new AAA; $b = &quot;piyo&quot;; $c = array(&quot;fuga&quot;,$a); $z = &quot;{$a-&gt;x}_${b}_${c[0]}_{$c[1]-&gt;x}&quot;; print(&quot;$z\n&quot;); // hoge_piyo_fuga_hoge 変数のパースについて PHP: 文字列 - Manual 基本的には、全体を{ }で囲うのが無難だけど、そのまま書いても認識される。変数に続けて 英数字や_、[]や-&gt; がくるときは{ }でくくらないと 誤認される。また、単純な変数の場合は $ の後ろに{ }をつけてもいいけ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20151107%2Fstrings&quot; title=&quot; 変数内での文字列の置換 - 揮発性のメモ２&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>2015-11-07 00:00:00</published>
  <title> 変数内での文字列の置換</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20151107/strings</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
