RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-30 Thread Ford, Mike [LSS]
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: 29 July 2003 19:22 > To: Ford, Mike [LSS]; Gabriel Guzman; Peter James > Cc: [EMAIL PROTECTED] > Subject: RE: Fw: [PHP] debuging and getting mor information about > failures > > >

Re: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Curt Zirzow
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): > [snip] > I wonder why the heck the author didn't just go for the alternative > syntax with proper end-tokens and get the added value they deliver. > [/snip] > > At the risk of stepping of of the curb into the holy-war that rages > about this the an

RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris W. Parker
Ford, Mike on Tuesday, July 29, 2003 11:00 AM said: > I know the braces vs. end-token debate is almost on the scale of a > holy war, and I admit to hating the curly-brace style with a passion, > but when I see code like this: > > function doit() > { > for() > { >

Re: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris Boget
> I know the braces vs. end-token debate is almost on the scale of a holy war, > and I admit to hating the curly-brace style with a passion, but when I see code > like this: [snip code] Yeah, I'd hate curly braces with a passion if I saw code like that, too. How can anyone *possibly* read that

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Mike Migurski
>These errors are usually caused by an extra or missing brace or >quote/apostrophe/backtick. The best way to find where this is happening >is to use another error. Alternatively, use a text editor that's syntax-aware. In bbedit for the mac, finishing a closure or double-clicking on one (parens, b

RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Jay Blanchard
[snip] I wonder why the heck the author didn't just go for the alternative syntax with proper end-tokens and get the added value they deliver. [/snip] At the risk of stepping of of the curb into the holy-war that rages about this the answer Mike is that a lot of PHP coders are what as known as "ol

RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Ford, Mike [LSS]
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: 29 July 2003 17:56 [...snip...] > As opposed to the much easier to read (and line up curly > braces) method: > > function doit() > { > for() > { > if() > } >

RE: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris W. Parker
Gabriel Guzman on Tuesday, July 29, 2003 9:44 AM said: > A tip on avoiding errors cause by not enough }'s is to close any > bracket immediately after you open it, so if I were writing a block > of code: Good tip. I do this too. > I would write the above first, and

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Marek Kilimajer
Yes, you are right. But this depends on your perspective ;) Adam Voigt wrote: Umm, semicolons? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Gabriel Guzman
s wrote: > Just forwarding this reply back to the list. > > - Original Message - > From: "Chris W. Parker" <[EMAIL PROTECTED]> > To: "Peter James" <[EMAIL PROTECTED]> > Sent: Tuesday, July 29, 2003 10:26 AM > Subject: RE: [PHP] debuging and getti

RE: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Chris W. Parker
Peter James on Tuesday, July 29, 2003 9:33 AM said: > Just forwarding this reply back to the list. Damn that Reply button!! Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Peter James
Just forwarding this reply back to the list. - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Peter James" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 10:26 AM Subject: RE: [PHP] debuging and getting mor information about failu

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Adam Voigt
Umm, semicolons? On Tue, 2003-07-29 at 12:29, Marek Kilimajer wrote: > Check semicommas too. > > Peter James wrote: > > > These errors are usually caused by an extra or missing brace or > > quote/apostrophe/backtick. The best way to find where this is happening is > > to use another error. > >

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Marek Kilimajer
Check semicommas too. Peter James wrote: These errors are usually caused by an extra or missing brace or quote/apostrophe/backtick. The best way to find where this is happening is to use another error. Start at the bottom of your script and introduce some garbage on a line by itself. "asdf" for

Re: [PHP] debuging and getting mor information about failures

2003-07-29 Thread Peter James
These errors are usually caused by an extra or missing brace or quote/apostrophe/backtick. The best way to find where this is happening is to use another error. Start at the bottom of your script and introduce some garbage on a line by itself. "asdf" for example. This should cause a parse error

[PHP] debuging and getting mor information about failures

2003-07-29 Thread chrstian brensteiner
whats the best option to get more information about a failure in your sorce code ? whenever i get failures that are situated at the very end of my script how do i get to know wherer they start? now i have get from apache + php this return Parse error: parse error, unexpected $ in c:\programme\e