RE: [PHP-DEV] option to start in PHP mode
| From: | Mike Robinson | Date: | Fri, 27 Dec 2002 19:39:38 +0000 |
| Subject: | RE: [PHP-DEV] option to start in PHP mode | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92878@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
> We've talked about this in the past, but let's bring it up
> again. It is a bit awkward to use CLI when it requires those
> <?php and ?> tags. We should probably have a command-line
> option that tells the parser to start in PHP mode instead of
> HTML/text. Any thoughts on this?
FWIW, almost without fail every time I write a new CLI script
I forget to put the start/stop tags in and I get an error the
first time I run it. So from an 'intuitive' point of view,
[ and notwithstanding the value of my opinion :P ], the switch
sounds like a good idea to me.
Best Regards
Mike Robinson