NYCPHP Meetup

NYPHP.org

[nycphp-talk] Parse Error: Unexpected "; ", expected T_FUNCTION in Line 247

Jeff Knight jeff.knight at gmail.com
Tue Jun 28 15:44:03 EDT 2005


The missing ";" is from further up in the code. It doesn't complain
about it until the closing ?> because it isn't sure until then that
you aren't going to provide it.

On 6/28/05, Alberto dos Santos <acas at sapo.pt> wrote:
>  If your command line is like this <?php, i.e., ?>.  you've got your error,
> if not show us the code
> 
>  
> 
>  
>  
> 
> -- 
> 
> Alberto dos Santos 
> 
> email: acas at sapo.pt
> skype: fatflash
> 
> Este email  e seus anexos estão protegidos de vírus e programas maliciosos.
> Se notar algo de anormal por favor informe-me. Obrigado.
> This email and it's attachments are protected from virus and malicious
> software. If you notice something unusual please report. Thanks.
> Este email y sus anexos están protegidos contra virus y software malévolo.
> Si usted nota algo inusual por favor divulgar. Gracias.
> Ces email et c'est des attachements sont protégés contre le virus et le
> logiciel malveillant. Si vous notez quelque chose de peu commun svp pour
> rapporter. Merci.
> Questi email è su collegamenti sono protetti dal virus e dal software
> cattivo. Se notate qualche cosa di insolito prego segnalare. Grazie. 
> 
>   
> 
> 
> 
> > -----Original Message-----
> > From: talk-bounces at lists.nyphp.org
> > [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Phil
> Duffy
> > Sent: Tuesday, June 28, 2005 8:03 PM
> > To: 'NYPHP Talk'
> > Subject: [nycphp-talk] Parse Error: Unexpected ";", expected
> > T_FUNCTION in Line 247
> 
> >
> > Greetings to the List,
> >
> > I thought I recognized the above error message until I saw
> > that Line 247 was
> > simply the trailing tag to <?php, i.e., ?>.  There was no ";"
> > on that line,
> > and a review of neighboring code did not reveal anything out of order.
> >
> > Has anybody seen this type of behavior before?
> >
> > My appreciation in advance.
> >
> > Phil
> >
> >
> >
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> > 
> 
>  
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
> 
>



More information about the talk mailing list