Re: Interactive mode not very useful
- From: "C. (http://symcbean.blogspot.com/)" <colin.mckinnon@xxxxxxxxx>
- Date: Sat, 31 May 2008 04:43:29 -0700 (PDT)
On May 30, 6:14 pm, Sal <h...@xxxxxxxxxxx> wrote:
I'm running PHP 5.2.6 on WindowsXP. When I try interactive mode with
">php -a" the slightest syntax error throws me out of the interpreter
and back to the command line. This is not very useful. Isn't there a
way to stay in interactive mode after a syntax error?
No - that's not how PHP works. Indeed, apart from a very old version
of Forth, it's not how any programming language I've ever used works.
Try editing the file first then running it.
C.
.
- Follow-Ups:
- Re: Interactive mode not very useful
- From: The Natural Philosopher
- Re: Interactive mode not very useful
- References:
- Interactive mode not very useful
- From: Sal
- Interactive mode not very useful
- Prev by Date: Re: using fopen() in write mode is failing
- Next by Date: Re: include 'filename.php' vs. exit 'whatever'
- Previous by thread: Interactive mode not very useful
- Next by thread: Re: Interactive mode not very useful
- Index(es):
Relevant Pages
|