Re: Re: PHP console (php.exe -a)
| From: | Ferenc Kovacs | Date: | Mon, 28 Dec 2009 09:59:49 +0000 |
| Subject: | Re: Re: PHP console (php.exe -a) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29783@lists.php.net to get a copy of this message | ||
On Sun, Dec 27, 2009 at 11:44 PM, Sascha Meyer <harlequin2@gmx.de> wrote:
> Hi Carsten,
>
> Carsten wrote:
>> But on Windows that's buggy:
>> | # php -a
>> | Interactive mode enabled
>> |
>> | <?php
>> | $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:
>> | 6
>> |
>> | #
same for me on windows xp 32bit, php 5.3.1.
>> So on Windows the whole code/input is executed at once and not step by
>> step.
>> And because PHP is also terminated with "^C", I can't enter additional
>> code.
>
> just tried with PHP 5.3 on XP and Windows 7 and both directly output code when the echo command
> is called, not when the script is terminated.
> Which PHP version did you use that shows the buggy behaviour?
>
> Best regards,
>
> Sascha
> --
> Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
> http://portal.gmx.net/de/go/dsl01
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>