Reply to Re: NEWBIE: error line numbers...are they always correct?

Your name:

Reply:


Posted by Aaron Saray on 09/02/07 15:20

On Sep 2, 8:51 am, la...@portcommodore.com wrote:
> On Sep 1, 5:02 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
>
> > Well, the line it's in is usually correct. It could however happen the
> > parser encounters an error there due to a mistake made earlier:
>
> > <?php
> > echo 'foo'
> > /* we forgot the ending semicolon */
> > echo 'bar';
> > ?>
>
> Also line number may be off if you have the wrong type of variable,
> etc. Look at that the line is doing if the quotes and all are in
> order it may be related to your data assignments in previous parts.

You can also have a line number of 0 when fatal errors or say...
exceptions are thrown in destructors.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация