NYCPHP Meetup

NYPHP.org

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

Joseph Crawford codebowl at gmail.com
Wed Jun 29 09:36:27 EDT 2005


Phil,

post your code either in the actual email message or use something like 
pastebin.org <http://pastebin.org> and post the url here.

On 6/29/05, Phil Duffy <phil at bearingasset.com> wrote:
> 
>  Brian,
> 
>  I did a Find Next on ";;" and found nothing, then a Find Next on ";" and 
> likewise found nothing suspicious. I am using Macromedia's Dreamweaver 
> editor, which offers PHP editing with syntax coloring, but it did not 
> complain when I introduced the ";;" error. I sense that this editor was not 
> designed for PHP but simply offers PHP editing as an add-on. I'll 
> investigate Zend. Thanks for the tip.
> 
>  Phil
> 
>   ------------------------------
>  
> *From:* talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] 
> *On Behalf Of *Brian O'Connor
> *Sent:* Wednesday, June 29, 2005 12:00 AM
> *To:* NYPHP Talk
> *Subject:* Re: [nycphp-talk] Parse Error: Unexpected ";", expected 
> T_FUNCTION in Line 247
>  
>  The way I usually find it is through Zend, but I'm assuming you're not 
> using Zend, or another editor with the red underlining on errors. My only 
> suggestion would be to do a search for a ';;' (two semi-colors), or try out 
> Zend :D
> 
> Good luck.
>  
> On 6/28/05, *Phil Duffy* <phil at bearingasset.com> wrote:
>  
> My thanks to the following who responded to my call for help:
> 
>  Flavio – I tested your code and reproduced the same error message.
> 
>  Brian – The extra ";" is the prime suspect, but two visual reviews have 
> not surfaced the problem.
> 
>  Jeff – I suspect you are right about the missing (or extra) ";" further 
> up the code. That makes sense.
> 
>  Joseph – The suspects have been narrowed with the help of Flavio, Brian 
> and Jeff, but the problem is still unresolved. What is the best way to send 
> the code – attachment or paste into e-mail?
> 
>  Phil
> 
>   ------------------------------
>  
> *From:* talk-bounces at lists.nyphp.org [mailto: talk-bounces at lists.nyphp.org] 
> *On Behalf Of *Joseph Crawford
> *Sent:* Tuesday, June 28, 2005 2:11 PM
> *To:* NYPHP Talk
> *Subject:* Re: [nycphp-talk] Parse Error: Unexpected ";", expected 
> T_FUNCTION in Line 247
>  
>  show your code ;)
> 
> -- 
> Joseph Crawford Jr.
> Codebowl Solutions, Inc.
> 1-802-671-2021
> codebowl at gmail.com 
>  
> 
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>  
> 
> 
> 
> -- 
> Brian O'Connor 
>  
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
> 
> 


-- 
Joseph Crawford Jr.
Codebowl Solutions, Inc.
1-802-671-2021
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050629/254a7575/attachment.html>


More information about the talk mailing list