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

2009-12-30 Thread Carsten Wiedmann
Am 30.12.2009 12:12, schrieb Richard Quadling: >> Specifically, autoload functions, though registered (either by having >> __autoload() or by using spl_autoload_register()), are not invoked for >> missing classes. >> >> So, for windows, what's the point of the interactive mode? > > [2009/12/30 11:

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

2009-12-30 Thread Carsten Wiedmann
Am 30.12.2009 11:56, schrieb Richard Quadling: > As mentioned, CTRL+Z is the END-OF-TEXT character needed to terminate > input from STDIN. ctrl-z signals end-of-file. On *nix that's ctrl-d (ctrl-z on *nix is for job control). > [2009/12/30 10:56:09] [C:\] [] >php -v > PHP 5.3.2-dev (cli) (built:

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

2009-12-28 Thread Louis Solomon
n behalf of Carsten Wiedmann Sent: Mon 2009/12/28 10:00 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: PHP console (php.exe -a) 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 lin

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 >

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

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

2009-12-27 Thread Carsten Wiedmann
Am 27.12.2009 17:30, schrieb Rasmus Lerdorf: >> Is there anybody with Linux to try run "php -a" and tell us how to >> send typed code to execution? > > You just type it in and hit Enter. There is no trick. And without > libreadline there really is no point. Maybe you have another PHP-CLI then m