<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>そもそもrtrimとは文字列の末尾から空白文字を取り除くやつですが、 これって配列を回しても使えるのだろうか。 &lt;?php $str[] = &quot;文字列,&quot;; $str[] = &quot;文字列,&quot;; $str[] = &quot;文字列,&quot;; foreach($str as $st) { echo rtrim($st, ','); // 末尾のコンマを除いた文字を出力 } ?&gt; 文字列文字列文字列 Yes, you could.</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120624%2F1340532355&quot; title=&quot;配列を回してrtrimを使う - by shigemk2&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>2012-06-24 19:05:55</published>
  <title>配列を回してrtrimを使う</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120624/1340532355</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
