Re: Unexcepted $this
| From: | Eric Butera | Date: | Thu, 13 Mar 2008 17:27:40 +0000 |
| Subject: | Re: Unexcepted $this | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271528@lists.php.net to get a copy of this message | ||
On Thu, Mar 13, 2008 at 12:56 PM, Ray Hauge <ray.hauge.lists@gmail.com> wrote:
>
> Eric Butera wrote:
> > 2008/3/13 Anup Shukla <anup.shkl@gmail.com>:
> >> Murat BEŞER wrote:
> >> > So what do you thing about on this thing ?
> >> >
> >>
> >> I really would like to figure out the problem.
> >> However, my simple script to mimic your code did not throw any errors.
> >>
> >> If you could provide some more details, maybe we can figure out the problem.
> >>
> >> --
> >> Regards,
> >> Anup Shukla
> >>
> >>
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> > It could just be a special character in the code somewhere. Since
> > pushing/pulling files happens across so many servers with different
> > encodings it happens sometimes. On OSX there is a text editor named
> > TextWrangler that has a feature called "Zap Gremlins" that I use to
> > get rid of it when it happens.
>
> Would it be possible to post the code you have now to
> http://pastebin.com/ ?
>
> That might assist in locating odd characters if that's the case, though
> I'd think that your editor would display them as well. Usually an
> "Unexpected XXXX" means that you missed a parenthesis or curly brace, etc.
>
>
>
> --
> Ray Hauge
> www.primateapplications.com
>
I would if I had any to show. It usually happens to me when I copy an
example off the php or zend framework site.
It isn't a parse error on my part. I use PDT which has real time
parse error checking. ;)