List
is a restricted PHP word.
You cannot use any of the following words as constants, class names, function or method names.
http://www.php.net/manual/en/reserved.keywords.php
--
To answer your question, you will have to change your list
class name to something else. MyList
, CarList
, Listing
, etc..