You are here: Re: unexpected } « PHP Programming Language « IT news, forums, messages
Re: unexpected }

Posted by Rik Wasmus on 11/22/07 01:35

On Thu, 22 Nov 2007 02:09:23 +0100, Oliver Grätz <oliver.graetz@gmx.de>
wrote:
> Rik Wasmus schrieb:
>>> A "php -l" did not yield a parsing error AND the file is 692 lines long
>>> (not 638) AND it is not matching the filename from the error message,
>>> so
>>> I doubt the file in question was attached...
>>
>> Hmmm, don't know where something went different, a php -l here gave me
>> a:
>> Parse error: syntax error, unexpected '}' in G:\Personal\quiztaker.php
>> on
>> line 648

> PHP 4.4.7-0.dotdeb.0 with Suhosin-Patch 0.9.6 (cli) (built: May 9 2007
> 16:38:02)
> No syntax errors detected in quiztaker.php

> PHP 5.2.5-0.dotdeb.0 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 12
> 2007 19:09:20)
> No syntax errors detected in quiztaker.php

> PHP 5.2.1 (cli) (built: Feb 7 2007 23:11:26)
> No syntax errors detected in quiztaker.php
>
>
> No problems here, not with PHP4 nor PHP5, and not on win32.
> I even changed the file from CR+LF to just LF, no change.
> Have to mark this as WORKSFORME ;-)

Win64,
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
Parse error: syntax error, unexpected '}' in quiztaker.php on line 648

Weird....
--
Rik Wasmus

 

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

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