Cuz the the way the PHP parser is written makes it impossible to discover
the error before it gets to the end of the file, and realizes that there
are no more braces to go around.
It definitely sucks... almost as badly as a stray backtick. Try finding
that little bugger at 1600x1280...
This is
This isn't really a problem with PHP, you will encounter it with many
other languages how is the parser supposed to know you haven't closed a
brace until it reaches the end of the file? It doesn't match using
indentation like humans do.
Indenting code and code syntax highlighting make it very
Curt Zirzow mailto:[EMAIL PROTECTED]
on Friday, August 29, 2003 7:54 PM said:
Why do people insist on using their work address so we are plagued
with privacy notices and autorespond's letting us know that he will
be gone one extra day over the weekend
Well fortunately for me I don't
--- Curt Zirzow [EMAIL PROTECTED] wrote:
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]):
Chris Shiflett mailto:[EMAIL PROTECTED]
on Friday, August 29, 2003 2:16 PM said:
if ($foo) { if ($bar) echo 'blah'; else { echo 'else'; }
^ ^
Why do people insist on using their work address so we are plagued
with privacy notices and autorespond's letting us know that he will
be gone one extra day over the weekend
p.s. you'll know why I'm griping if you reply to this bg
p.s.s. at least till i get him booted off the list vbg
You could equally ask why we get plagued with silly strap lines like
I used to think I was indecisive, but now I'm not so sure.
HTH
On Saturday 30 Aug 2003 3:54 am, Curt Zirzow wrote:
Why do people insist on using their work address so we are plagued
with privacy notices and autorespond's
* Thus wrote Nicholas Robinson ([EMAIL PROTECTED]):
You could equally ask why we get plagued with silly strap lines like
I used to think I was indecisive, but now I'm not so sure.
No, you can't *equally* ask why. It is perfectly acceptable to
have a signature attached to your email. It is
Why is it that when you forget a } the error says:
Unexpected $ on line [last line of file]
Why can't it just say:
Missing } on or before (best guess).
-Jackson
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
[EMAIL PROTECTED]
cold feet presents Emma
the world's easiest
Cuz the the way the PHP parser is written makes it impossible to
discover the error before it gets to the end of the file, and realizes
that there are no more braces to go around.
It definitely sucks... almost as badly as a stray backtick. Try finding
that little bugger at 1600x1280...
On Friday 29 August 2003 3:27, Pete James wrote:
Cuz the the way the PHP parser is written makes it impossible to
discover the error before it gets to the end of the file, and realizes
that there are no more braces to go around.
Yeah, i understand the difficulty. It was a gripe and not a bug
Jackson Miller wrote:
Why is it that when you forget a } the error says:
Unexpected $ on line [last line of file]
Why can't it just say:
Missing } on or before (best guess).
How could the parser possibly know that one was missing as it's going
through the file? It just keeps a count and can only
--- John W. Holmes [EMAIL PROTECTED] wrote:
How could the parser possibly know that one was missing as it's going
through the file? It just keeps a count and can only realize something
is wrong when it gets to the end of the file and sees the count is off.
I can't see how a human could
Chris Shiflett mailto:[EMAIL PROTECTED]
on Friday, August 29, 2003 2:16 PM said:
if ($foo) { if ($bar) echo 'blah'; else { echo 'else'; }
^
Where is the missing brace? :-) |
Chris W. Parker
on Friday, August 29, 2003 2:23 PM said:
I'm pretty sure I've seen an error message from something (maybe,
asp.net, or classic asp) that shows a line like i've drawn and points
to where it thinks the problem is. (And no it wasn't always the end
of the last line.) But
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]):
Chris Shiflett mailto:[EMAIL PROTECTED]
on Friday, August 29, 2003 2:16 PM said:
if ($foo) { if ($bar) echo 'blah'; else { echo 'else'; }
^ ^ ^
Where is the missing brace? :-) |
Curt Zirzow mailto:[EMAIL PROTECTED]
on Friday, August 29, 2003 3:12 PM said:
Here +--+-/
| |
Or Here -+--/
|
Or Here -/
Oh yeah of course. But I thought
16 matches
Mail list logo