PHP 4.0 Bug #7220 Updated: Error Report on Function Arguments
| From: | jmoore@php.net | Date: | Sat, 24 Feb 2001 17:38:22 +0000 |
| Subject: | PHP 4.0 Bug #7220 Updated: Error Report on Function Arguments | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47387@lists.php.net to get a copy of this message | ||
ID: 7220
Updated by: jmoore
Reported By: beckett@ductape.net
Status: Open
Old-Bug Type: *Function Specific
Bug Type: Feature/Change Request
Assigned To:
Comments:
Not really a bug.. its the expected behaviour. Changing to feature request.
James
Previous Comments:
---------------------------------------------------------------------------
[2000-10-15 11:38:02] beckett@ductape.net
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7220&edit=2