<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>elm200</author_name>
  <author_url>https://blog.hatena.ne.jp/elm200/</author_url>
  <blog_title>elm200 の日記(旧はてなダイアリー)</blog_title>
  <blog_url>https://elm200.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>最近は、PHP にはまっている。（なかなか Ruby on Rails にたどり着かない） PHP4 のオブジェクトコピーは、トリッキーである。 ここに、$a というオブジェクトがあるとすると、$b = $a;は、「$b が $a につながれているオブジェクトのアドレスを参照するのではなく、$a につながれているオブジェクトがコピーされて、$b につながれるようになる」のだと説明される。しかしそれは、片面の真実でしかない。 実際には、PHP4 では、$b = $a の瞬間には、オブジェクトのコピーは起こらない。そのかわり、$a または $b に対して、オブジェクトの変更操作が行われた瞬間に、コ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Felm200.hatenadiary.org%2Fentry%2F20070203%2F1170509548&quot; title=&quot; PHP4 のオブジェクトコピー - elm200 の日記(旧はてなダイアリー)&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>2007-02-03 22:32:28</published>
  <title> PHP4 のオブジェクトコピー</title>
  <type>rich</type>
  <url>https://elm200.hatenadiary.org/entry/20070203/1170509548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
