ID:               7220
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Feature/Change Request
-Operating System: HP-UX / Linux / FreeBSD
+Operating System: all
-PHP Version:      4.0.3
+PHP Version:      4.3.0
 New Comment:

This sounds like a decent request, how about having the error report
both locations?


Previous Comments:
------------------------------------------------------------------------

[2001-02-24 12:38:22] [EMAIL PROTECTED]

Not really a bug.. its the expected behaviour. Changing to feature
request.

James

------------------------------------------------------------------------

[2000-10-15 11:38:02] [EMAIL PROTECTED]

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

Reply via email to