<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet title="XSL formatting" type="text/xsl" href="/atom.xsl" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title>Jason Stubbs</title>
<link rel="self" type="application/atom+xml" href="http://jstubbs.blogspirit.com/atom.xml"/>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/" />
<subtitle>You want a summary?</subtitle>
<updated>2007-07-26T17:48:29+09:00</updated>
<rights>All Rights Reserved blogSpirit</rights>
<generator uri="http://www.blogspirit.com/" version="6.0">blogSpirit</generator>
<id>http://jstubbs.blogspirit.com/</id>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>更新(BlogPet)</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/07/26/書新-blogpet.html" />
<id>tag:jstubbs.blogspirit.com,2007-07-26:1336044</id>
<updated>2007-07-26T17:48:29+09:00</updated>
<published>2007-07-26T17:48:29+09:00</published>
<summary> きのう、ジェイソンはジェイソンは更新された。  *このエントリは、 ブログペット の「 tux 」が書きました。 </summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
きのう、ジェイソンはジェイソンは更新された。&lt;br /&gt;&lt;br /&gt;*このエントリは、&lt;a href=&quot;http://www.blogpet.net/&quot; target=&quot;_blank&quot;&gt;ブログペット&lt;/a&gt;の「&lt;a href=&quot;http://www.blogpet.net/profile/view/fd482db8fb31299b7825d19e4cdc5628&quot;&gt;tux&lt;/a&gt;」が書きました。
</content>
</entry>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>test2</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/07/20/test2.html" />
<id>tag:jstubbs.blogspirit.com,2007-07-20:1331681</id>
<updated>2007-07-20T13:20:33+09:00</updated>
<published>2007-07-20T13:20:33+09:00</published>
<summary> line   two breaks before this line no breaks before this line </summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
line&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;two breaks before this line&lt;br /&gt;no breaks before this line
</content>
</entry>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>test</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/07/20/test.html" />
<id>tag:jstubbs.blogspirit.com,2007-07-20:1331679</id>
<updated>2007-07-20T13:17:13+09:00</updated>
<published>2007-07-20T13:17:13+09:00</published>
<summary> test </summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
test
</content>
</entry>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>リニューアル (今日のテーマ)</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/07/12/リニュヽアル-今日のテヽマ.html" />
<id>tag:jstubbs.blogspirit.com,2007-07-12:1325944</id>
<updated>2007-07-12T17:07:23+09:00</updated>
<published>2007-07-12T17:07:23+09:00</published>
<summary>   BlogPet 今日のテーマ リニューアル  「ブログペットがリニューアルしてペットが増えました。あなたはどのペットを新しく飼いますか？」  yay!  </summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
&lt;blockquote class=&quot;pet_theme_q&quot;&gt;&lt;a href=&quot;http://www.blogpet.net/theme/view/2007-07-12&quot; target=&quot;_blank&quot;&gt;BlogPet 今日のテーマ リニューアル&lt;/a&gt;&lt;br /&gt;「ブログペットがリニューアルしてペットが増えました。あなたはどのペットを新しく飼いますか？」&lt;/blockquote&gt;&lt;div class=&quot;pet_theme_a&quot;&gt;yay!&lt;/div&gt;
</content>
</entry>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>test trackback</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/07/10/test-trackback.html" />
<id>tag:jstubbs.blogspirit.com,2007-07-10:1324144</id>
<updated>2007-07-10T14:19:38+09:00</updated>
<published>2007-07-10T13:50:00+09:00</published>
<summary> test trackback </summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
test trackback
</content>
</entry>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>投稿のテスト(BlogPet)</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/05/14/投稿のテスト-blogpet.html" />
<id>tag:jstubbs.blogspirit.com,2007-05-14:1276633</id>
<updated>2007-05-14T17:24:20+09:00</updated>
<published>2007-05-14T17:24:20+09:00</published>
<summary> うまく投稿できるかな？   *このエントリは、 BlogPet(ブログペット) の「 Pandy 」がテスト投稿の為に書きました。 </summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
うまく投稿できるかな？&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*このエントリは、&lt;a href=&quot;http://www.blogpet.net/&quot; target=&quot;_blank&quot;&gt;BlogPet(ブログペット)&lt;/a&gt;の「&lt;a href=&quot;http://www.blogpet.net/profile.php?id=fd482db8fb31299b7825d19e4cdc5628&quot; target=&quot;_blank&quot;&gt;Pandy&lt;/a&gt;」がテスト投稿の為に書きました。
</content>
</entry>
<entry>
<author>
<name>Jason Stubbs</name>
<uri>http://jstubbs.blogspirit.com/about.html</uri>
</author>
<title>PHP Idiosyncrasies</title>
<link rel="alternate" type="text/html" href="http://jstubbs.blogspirit.com/archive/2007/05/01/php-idiosyncrasies.html" />
<id>tag:jstubbs.blogspirit.com,2007-05-01:1264982</id>
<updated>2007-05-01T18:56:15+09:00</updated>
<published>2007-05-01T18:50:00+09:00</published>
<category term="General" scheme="http://www.blogspirit.com/ns/types#category" />
<summary> Three reasons to make sure you know your programming language:   &amp;lt;?php...</summary>
<content type="html" xml:base="http://jstubbs.blogspirit.com/">
&lt;p&gt;Three reasons to make sure you know your programming language:&lt;/p&gt;&lt;br /&gt;&lt;div style=&quot;background: lightblue; font-family: monospace&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;function test($code) {&lt;br /&gt;    $result = @eval(&quot;return ({$code});&quot;);&lt;br /&gt;    print ($result ? 'true  ' : 'false ') . &quot;$coden&quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;test( &quot;gettype(key(array('s' =&gt; ''))) == 'string'&quot; );&lt;br /&gt;test( &quot;gettype(key(array('1' =&gt; ''))) == 'string'&quot; );&lt;br /&gt;&lt;br /&gt;test( &quot;'s' == 0&quot; );&lt;br /&gt;test( &quot;0 == 's'&quot; );&lt;br /&gt;&lt;br /&gt;test( &quot;$x == $x++&quot; );&lt;br /&gt;test( &quot;(int)$x == $x++&quot; );&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;And here's the output:&lt;/p&gt;&lt;br /&gt;&lt;div style=&quot;background: lightgreen; font-family: monospace&quot;&gt;true  gettype(key(array('s' =&gt; ''))) == 'string'&lt;br /&gt;false gettype(key(array('1' =&gt; ''))) == 'string'&lt;br /&gt;true  's' == 0&lt;br /&gt;true  0 == 's'&lt;br /&gt;false $x == $x++&lt;br /&gt;true  (int)$x == $x++&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;In case you didn't catch what PHP is doing on the last pair, here's the equivalent processing in PHP code:&lt;/p&gt;&lt;br /&gt;&lt;div style=&quot;background: lightblue&quot;; font-family: monospace&gt;$y = &amp;$x;&lt;br /&gt;$x++;&lt;br /&gt;($x == $y)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;When casting &lt;code&gt;$x&lt;/code&gt; with &lt;code&gt;(int)&lt;/code&gt;, PHP is no longer able to make use of the &quot;let's just use a reference&quot; over-optimization. Personally, I think it's a bug that the behaviour differs between the two.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Debuggers beware! ;)&lt;/p&gt;
</content>
</entry>
</feed>