You are here: Re: what does this mean « PHP Programming Language « IT news, forums, messages
Re: what does this mean

Posted by Steve on 10/17/07 02:24

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:l76dncC2w7Sy_4janZ2dnUVZ_hOdnZ2d@comcast.com...
> Bint wrote:
>> "Michael Fesser" <netizen@gmx.de> wrote in message
>> news:2oiah3t0rfv0u4bfqp7gustq1ojripmk8r@4ax.com...
>>> .oO(Bint)
>>>
>>>> I'm getting this returned from a PHP script. What does this mean?
>>>>
>>>> <b>Parse error</b>: syntax error, unexpected ')', expecting
>>>> T_PAAMAYIM_NEKUDOTAYIM in <b>/ho
>>> The parser expects a '::' somewhere (yes, it's a strange name for that,
>>> Google knows some details about it). Please post the code around the
>>> line that was mentioned (and snipped by you) in the error message.
>>>
>>> Micha
>>
>>
>> Well, the error stems from an include file, I think. At least, if I
> > comment out the include file, then I just get a "missing function"
> error.
> > If I include the file, I get that error.
> >
> > In trying to track down this error, I've commented out everything
> except the
> > function definition, including the function's content. Here's what
> it looks
> > like, and I get the error. Is there something wrong with this?
> >
> > <?php
> >
> > function RLE_Uncompress(&$in, $insize, $bytemode) {
> > }
> >
> > ?>
> >
> >
>
> (top posting fixed)
>
> Nothing wrong with the function AFAICS. But it could be almost anyplace
> and just showing up there.
>
> For instance, unmatched single or double quotes may show an error dozens
> of lines later in the file.

right. odd...today i got that same message. seems that i was typing to fast
and used a semi-colon instead of a comma between two function parameters.

it could be the version of php you're using...newer versions don't like the
depreciated use of referencing an argument...as in the &$in. the newer the
version, the more flack php gives about it.

can you reproduce it with *just* that line of code being processed?

 

Navigation:

[Reply to this 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

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