[nycphp-talk] Parse Error: Unexpected "; ", expected T_FUNCTION in Line 247
Phil Duffy
phil at bearingasset.com
Wed Jun 29 09:01:31 EDT 2005
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:
<mailto:talk-bounces at lists.nyphp.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050629/2d2c0ff6/attachment.html>
More information about the talk
mailing list