Reply to Re: official interactive PHP?

Your name:

Reply:


Posted by gosha bine on 09/26/07 21:02

Summercool wrote:
> On Sep 26, 11:59 am, ZeldorBlat <zeldorb...@gmail.com> wrote:
>> On Sep 26, 2:36 pm, Summercool <Summercooln...@gmail.com> wrote:
>>
>>> 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 "interactive" 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.


--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация