PHP 4.0 Bug #7220: Error Report on Function Arguments
| From: | beckett at ductape dot net | Date: | Sun, 15 Oct 2000 15:38:02 +0000 |
| Subject: | PHP 4.0 Bug #7220: Error Report on Function Arguments | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35052@lists.php.net to get a copy of this message | ||
From: beckett@ductape.net
Operating system: HP-UX / Linux / FreeBSD
PHP version: 4.0.3
PHP Bug Type: *Function Specific
Bug description: Error Report on Function Arguments
function bob($arg1, $arg2) {
;
}
bob(4);
bob(5,2);
i.e., PHP will falselpy report the error with bob(4) in funcion Bob (i.e., line 1)
instead of bob(4) i.e., line 5.
This is quite annoying when tracking down function calls that have an
incorrect number of arguments
--
Edit Bug report at: http://bugs.php.net/?id=7220&edit=1