use php command line
<p>Like the way we can use python in command line from its command line interpreter in order to test whether small code snippets are fine or not, how can I do the same with PHP (or can I)?</p>

<pre><code>ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:22:14) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; print "abc"
abc
&gt;&gt;&gt;

C:\wamp\bin\php\php5.3.4&gt;php -a
Interactive mode enabled
</code></pre>

<p>doesn't give me php prompt</p>

<p>can someone show an example on how do have an interactive shell in php. </p>
