Re: Using CLI as a shell
| From: | (Michael Mauch) | Date: | Tue, 04 Feb 2003 18:04:28 +0000 |
| Subject: | Re: Using CLI as a shell | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94008@lists.php.net to get a copy of this message | ||
Marcus Börger <marcus.boerger@t-online.de> wrote:
> There is a difference between interactive mode and this idea. The
> idea was to execute every single line. So if you type 'echo "Hello\n";
> and press enter "Hello" should be displayed.
That's how it works for me (PHP-4.3.0). The only pitfall is that you
need to use "<?php":
# php -a
Interactive mode enabled
<?php
echo "Hello\n";
Hello
Regards...
Michael