|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-15 06:52 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 13:00:02 2025 UTC |
Description: ------------ Declaring 'list' method in class leads to parse error. Reproduce code: --------------- <?php class foo { function list() { echo "I'm list function!\n"; } } $o = new foo; $o->list(); ?> Expected result: ---------------- I'm list function! Actual result: -------------- Parse error: parse error, unexpected T_LIST, expecting T_STRING in list.php on line 5