#7220 [Opn]: Error Report on Function Arguments

From: Date: Wed, 04 Dec 2002 16:37:24 +0000
Subject: #7220 [Opn]: Error Report on Function Arguments
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26630@lists.php.net to get a copy of this message
ID: 7220 Updated by: philip@php.net Reported By: beckett@ductape.net 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] jmoore@php.net Not really a bug.. its the expected behaviour. Changing to feature request. James ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7220&edit=1

« previous php.bugs (#26630) next »