Test: /ext/standard/tests/strings/show_source_variation2.phpt - Version 5.5.0alpha5    

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
1 (50%)
003+ <span style="color: #0000CC">&lt;?php<br /></span><span style="color: #006600">echo&nbsp;</span><span style="color: #CC0000">"***&nbsp;Test&nbsp;by&nbsp;calling&nbsp;method&nbsp;or&nbsp;function&nbsp;with&nbsp;its&nbsp;expected&nbsp;arguments&nbsp;and&nbsp;output&nbsp;to&nbsp;variable&nbsp;***\n"</span><span style="color: #006600">;<br /></span><span style="color: #0000CC">$foo&nbsp;</span><span style="color: #006600">=&nbsp;</span><span style="color: #CC0000">'bar'</span><span style="color: #006600">;<br /></span><span style="color: #0000CC">$baz&nbsp;</span><span style="color: #006600">=&nbsp;</span><span style="color: #CC0000">"something&nbsp;"</span><span style="color: #006600">.</span><span style="color: #0000CC">$foo</span><span style="color: #006600">.</span><span style="color: #CC0000">"\n"</span><span style="color: #006600">;<br /><br />if&nbsp;(&nbsp;</span><span style="color: #0000CC">$foo&nbsp;</span><span style="color: #006600">==&nbsp;</span><span style="color: #CC0000">'bar'&nbsp;</span><span style="color: #006600">)&nbsp;<br />{<br />&nbsp;&nbsp;</span><span style="color: #0000CC">$baz&nbsp;</span><span style="color: #006600">=&nbsp;</span><span style="color: #CC0000">"baz\n"</span><span style="color: #006600">;<br />}<br /><br />&nbsp;</span><span style="color: #FF9900">/*&nbsp;some&nbsp;code&nbsp;here&nbsp;*/&nbsp;<br /></span><span style="color: #0000CC">$source&nbsp;</span><span style="color: #006600">=&nbsp;</span><span style="color: #0000CC">show_source</span><span style="color: #006600">(</span><span style="color: #0000CC">__FILE__</span><span style="color: #006600">,&nbsp;</span><span style="color: #0000CC">true</span><span style="color: #006600">);<br /><br /></span><span style="color: #0000CC">var_dump</span><span style="color: #006600">(</span><span style="color: #0000CC">$source</span><span style="color: #006600">);<br /></span><span style="color: #0000CC">?&gt;<br /></span>
003- <span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"***&nbsp;Test&nbsp;by&nbsp;calling&nbsp;method&nbsp;or&nbsp;function&nbsp;with&nbsp;its&nbsp;expected&nbsp;arguments&nbsp;and&nbsp;output&nbsp;to&nbsp;variable&nbsp;***\n"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$foo&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$baz&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"something&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">$foo</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br /><br />if&nbsp;(&nbsp;</span><span style="color: #0000BB">$foo&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">'bar'&nbsp;</span><span style="color: #007700">)&nbsp;<br />{<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$baz&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"baz\n"</span><span style="color: #007700">;<br />}<br /><br />&nbsp;</span><span style="color: #FF8000">/*&nbsp;some&nbsp;code&nbsp;here&nbsp;*/&nbsp;<br /></span><span style="color: #0000BB">$source&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">show_source</span><span style="color: #007700">(</span><span style="color: #0000BB">__FILE__</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$source</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;<br /></span>