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

[email protected] (Libor Jelinek)
Newsgroups php.windows
Message-ID <[email protected]>
Hello Sascha,
yes, running "php -a" should await input from STDIN but it should
means keyboard. And I don't know how to end STDIN input from keyboard
(how to tell to php.exe "execute what I typed").

I am typing typing but I don't know how to force php to execute what I
typed on keyboard :-(

Thanks!
Libor


2009/12/27 Sascha Meyer <[email protected]>:
> Hi Libor,
>
> 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.
>
> I never worked with php as an interactive console application but as far as I can see on the php.net homepage [1], the -a switch is used to call a script which then takes direct user input from the console via STDIN stream instead of working with predefined variable values.
>
> Regards, Sascha
>
> [1] http://de.php.net/manual/en/features.commandline.php
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>
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.