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

2009-12-28 Thread Louis Solomon
> ... But, if I now enter "^C" ... although maybe not a solution to php being a strange beast, IIFC Ctrl-Z is the normal way to terminate input via stdin. Louis Solomon www.SteelBytes.com From: news on behalf of Carsten Wiedman

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

2009-12-28 Thread Ferenc Kovacs
On Mon, Dec 28, 2009 at 12:00 PM, Carsten Wiedmann wrote: > Am 27.12.2009 23:44, schrieb Sascha Meyer: >>> | echo $a.PHP_EOL; >>> | >>> Nothing happens on Windows at this point. The cursor is in the next line >>> waiting for input. But, if I now enter "^C", I can see the result: >>> | 6 >>> | >>>

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

2009-12-28 Thread Ferenc Kovacs
On Sun, Dec 27, 2009 at 11:44 PM, Sascha Meyer wrote: > Hi Carsten, > > Carsten wrote: >> But on Windows that's buggy: >> | # php -a >> | Interactive mode enabled >> | >> | > | $a=5; >> | $a++; >> | echo $a.PHP_EOL; >> | >> Nothing happens on Windows at this point. The cursor is in the next line >

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

2009-12-27 Thread Sascha Meyer
Hi Carsten, Carsten wrote: > But on Windows that's buggy: > | # php -a > | Interactive mode enabled > | > | | $a=5; > | $a++; > | echo $a.PHP_EOL; > | > Nothing happens on Windows at this point. The cursor is in the next line > waiting for input. But, if I now enter "^C", I can see the result: >