>>I just wonder if there is an official interactive PHP interpreter?
>>kind of like the one IDLE for Python or irb for Ruby.
>php -a
>
is it true that you have to keep on typing
>
<? php statements ?>
>
on each line?
>
anything just to test the programming side and let you omit the <?
php ? ?
>
>
<?php
first statement
second statement
third statement
?>
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attgl obal.net
=============== ===
>>I just wonder if there is an official interactive PHP interpreter?
>>kind of like the one IDLE for Python or irb for Ruby.
>php -a
>
is it true that you have to keep on typing
>
<? php statements ?>
>
on each line?
>
anything just to test the programming side and let you omit the <?
php ? ?
>
>
php -a is only truly "interactiv e" when compiled with readline support,
otherwise it waits for eof before executing anything. You still don't
need <?...?with it. There's also -r option for immediate code execution.
Comment