title: Trying to make a class called "List", but the list() function is breaking it
body: <pre><code>class List {
    public function hello()
    {
      return "hello";
    }
  }
  
  $list = new List;
  
  echo $list::hello();
  </code></pre>
  
  <p><strong>Gives Error:</strong></p>
  
  <pre><code>PHP Parse error: syntax error, unexpected 'List' (T_LIST), expecting identifier (T_STRING) in /home/WtGTRQ/prog.php on line 3
  </code></pre>
  
  <p>Changing "List" to "Lizt" fixes the issue.</p>
  
  <p>I sadly understand that <a href="https://stackoverflow.com/questions/5643496/are-php-functions-case-sensitive">Php functions are case-insensitive</a>, but I really don't want to make a List object a Lizt object... Is there some way to circumvent this without renaming my class?</p>