Is there any difference between <?=$value?> and <? echo $value; ?>
<p>Environment: Windows/7 + Apache/2.2.21 + PHP/5.3.8</p>

<p>File contents of <code>test.php</code>:</p>

<pre><code>hello, &lt;?=$test?&gt;
</code></pre>

<p>File contents of <code>index1.php</code>:</p>

<pre><code>&lt;?php
$test = 'world';

require './test.php';
?&gt;
</code></pre>

<p>File contents of <code>index2.php</code>:</p>

<pre><code>&lt;?php
global $test;
$test = 'world';

require './test.php';
?&gt;
</code></pre>

<p>Output of <code>index1.php</code> is:</p>

<pre><code>hello,
</code></pre>

<p>Output of index2.php is:</p>

<pre><code>hello, world
</code></pre>

<p>When the contents of <code>test.php</code> is:</p>

<pre><code>hello, &lt;? echo $test; ?&gt;
</code></pre>

<p>Output of <code>index1.php</code> and <code>index2.php</code> both are:</p>

<pre><code>hello, world
</code></pre>

<p>So, my question is: Is there any difference between <code>&lt;?=$test?&gt;</code> and <code>&lt;? echo $test; ?&gt;</code> ?</p>
