Re: Making a method called "list" or other "language constructs" names.
| From: | Antony Dovgal | Date: | Mon, 04 Dec 2006 13:49:25 +0000 |
| Subject: | Re: Making a method called "list" or other "language constructs" names. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26790@lists.php.net to get a copy of this message | ||
On 12/04/2006 05:22 PM, Urbanose wrote:
And it works. So there's my question : why can't we make methods with the same name as those used by "language constructs" ? I don't see the point.http://www.php.net/manual/en/reserved.php The point is that these names are reserved by the parser and cannot be used for other purposes. -- Wbr, Antony Dovgal