snipt

Ctrl+h for KB shortcuts
Notice: Snipt is moving away from free accounts on May 1st, 2014. Read more about the transition here.
#35098

PHP

echo in PHP

1
2
3
4
5
<?php

 echo "Hello World";

?>
https://snipt.net/embed/9d6f70d4f32f7d1627c5dcc99a9a8261/
https://snipt.net/raw/9d6f70d4f32f7d1627c5dcc99a9a8261/
9d6f70d4f32f7d1627c5dcc99a9a8261
php
PHP
5
2014-04-23T15:28:11
True
False
/api/public/snipt/35098/
echo-in-php
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a> <span class="k">echo</span> <span class="s2">&quot;Hello World&quot;</span><span class="p">;</span> </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
php