Feature or bug?
| From: | Yasuo Ohgaki | Date: | Wed, 31 Oct 2001 09:21:13 +0000 |
| Subject: | Feature or bug? | ||
| Groups: | php.lang | ||
| Request: | Send a blank email to php-lang+get-234@lists.php.net to get a copy of this message | ||
PHP does not report any errors for too many parameters for user
defined functions, both normal function and class method :(
Is PHP designed not to report error for this?
Too many parameters for a function is obvious error and any
language MUST report error for this, unless variable length of
parameters is allowed. IMO
I'm using PHP-4.2.0-dev.
--
Yasuo Ohgaki