Re: [PHP-WIN] PHP console (php.exe -a)

[email protected] (Shahar Evron)
Newsgroups php.windows
Message-ID <[email protected]>
Hi,

Did it just print out back the stuff you typed in?

When working with -a don't forget to add the opening '<?php' tag, just
like you would in a regular script.

BTW on *nix if you build PHP with gettext support there's real
interactive mode support (a command prompt, history, completion, and no
need to type the '<?php' stuff) but I'm not sure if that is available on
Windows.

Shahar.

On 27/12/09 17:05 PM, Libor wrote:
> Hi all,
> I don't know if I am stupid or what but I can't find out how to send
> typed code to execute.
>
> > php.exe -a
> Interactive mode enabled
>
> Pressing <Enter> or <Ctrl-D> didn't execute code. Please, help me!
>
> (I am running PHP 5.3.0 on Win XP.)
>
> Thanks
> Libor
>
-- 
Shahar Evron <[email protected]>

Product Manager
Zend Technologies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.