#7220 [Opn->Csd]: Error Report on Function Arguments
| From: | helly@php.net | Date: | Mon, 29 May 2006 22:48:49 +0000 |
| Subject: | #7220 [Opn->Csd]: Error Report on Function Arguments | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97768@lists.php.net to get a copy of this message | ||
ID: 7220
Updated by: helly@php.net
Reported By: beckett at ductape dot net
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
-Operating System: all
+Operating System: *
-PHP Version: 4.3.0
+PHP Version: 5.0.*
New Comment:
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
Fixed in 5.1.0
Previous Comments:
------------------------------------------------------------------------
[2002-12-04 10:37:23] philip@php.net
This sounds like a decent request, how about having the error report
both locations?
------------------------------------------------------------------------
[2001-02-24 12:38:22] jmoore@php.net
Not really a bug.. its the expected behaviour. Changing to feature
request.
James
------------------------------------------------------------------------
[2000-10-15 11:38:02] beckett at ductape dot 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=7220&edit=1