note 14962 deleted from language.oop by vincent

From: Date: Thu, 11 Sep 2003 19:55:29 +0000
Subject: note 14962 deleted from language.oop by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56196@lists.php.net to get a copy of this message
Note Submitter: nanderson@volvojimfisher.com ---- [Ed. note: default is a keyword in PHP (used with switch()) and therefor can't be used as a function- or methodname.] It would appear that no class method can be called 'default()'. PHP generates an error if you attempt the following: class MyClass { function default() { ... } ... }

« previous php.notes (#56196) next »