Reserved Word Issue? Just need confirmation.

2010-01-13 Thread SonnyBurnette
I am trying to create a model called List but I keep getting Parse error: syntax error, unexpected T_LIST, expecting T_STRING for the line of code class List extends AppModel { I haven't had this issue with my other models so I am assuming that this is a reserved word issue. Is that correct?

Re: Reserved Word Issue? Just need confirmation.

2010-01-13 Thread mike karthauser
List is indeed a reserved word http://www.php.net/manual/en/reserved.keywords.php Mike Karthauser Brightstorm limited Tel: 07939252144 On 13 Jan 2010, at 22:06, SonnyBurnette schuch...@gmail.com wrote: I am trying to create a model called List but I keep getting Parse error: syntax error,

Re: Reserved Word Issue? Just need confirmation.

2010-01-13 Thread SonnyBurnette
So even creating a class named List causes issues I take it. I guess I can fake the name with routing. On Jan 13, 5:22 pm, mike karthauser mi...@brightstorm.co.uk wrote: List is indeed a reserved wordhttp://www.php.net/manual/en/reserved.keywords.php Mike Karthauser Brightstorm limited

Re: Reserved Word Issue? Just need confirmation.

2010-01-13 Thread Miles J
Ya reserved words can be annoying. Just rename it to Listing. On Jan 13, 3:07 pm, SonnyBurnette schuch...@gmail.com wrote: So even creating a class named List causes issues I take it. I guess I can fake the name with routing. On Jan 13, 5:22 pm, mike karthauser mi...@brightstorm.co.uk wrote:

Re: Reserved Word Issue? Just need confirmation.

2010-01-13 Thread euromark
if php only was case-sensitive^^ On 14 Jan., 02:47, Miles J mileswjohn...@gmail.com wrote: Ya reserved words can be annoying. Just rename it to Listing. On Jan 13, 3:07 pm, SonnyBurnette schuch...@gmail.com wrote: So even creating a class named List causes issues I take it. I guess I can