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

2009-12-28 Thread Sascha Meyer
Hi all, had to check my php installation today and just realized that php.exe called from command line was not the same as used by my Apache2 webserver (because of different locations set in PATH and PHPRC environment variables). Means that my test from yesterday was not performed with PHP 5.3.

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

2009-12-28 Thread Carsten Wiedmann
Am 28.12.2009 13:47, schrieb Pierre Joye: > 2009/12/27 Libor : >> 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. > > As far as I remember the interactive mode never got ported to windows. OK, but as you can read in my other Mail, it's wor

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

2009-12-28 Thread Libor Jelinek
It's not good message for me but thank you for definitive answer. Libor 2009/12/28 Pierre Joye : > 2009/12/27 Libor : >> 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 or didn

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] PHP console (php.exe -a)

2009-12-28 Thread Ferenc Kovacs
nice :D Tyrael On Mon, Dec 28, 2009 at 1:47 PM, Pierre Joye wrote: > 2009/12/27 Libor : >> 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 or didn't execute code. Please, help

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

2009-12-28 Thread Pierre Joye
2009/12/27 Libor : > 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 or didn't execute code. Please, help me! > > (I am running PHP 5.3.0 on Win XP.) > As far as I remember the interac

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 >>> | >>>

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

2009-12-28 Thread Carsten Wiedmann
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 >> | >> | # >> So on Windows the whole code/input is executed at once and no

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 >