#35313 [Opn]: Missing argument for function line number report

From: Date: Mon, 21 Nov 2005 15:00:44 +0000
Subject: #35313 [Opn]: Missing argument for function line number report
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88616@lists.php.net to get a copy of this message
ID: 35313 Updated by: sniper@php.net Reported By: ross at golder dot org Status: Open -Bug Type: Scripting Engine problem +Bug Type: Feature/Change Request Operating System: All PHP Version: 5.0.5 New Comment: Missing features are not bugs. Reclassified. Previous Comments: ------------------------------------------------------------------------ [2005-11-21 15:25:05] ross at golder dot org Description: ------------ [Exactly as per #17904. I am unable to re-open or add a comment to a 'bogus' report, and was told it would be best just to open a new bug report. See #17904 for background and a 'reproduce code' section. The following is the comment I would like to have added to the original report regarding the issue.] I agree with David - it should be reporting the calling line number, so the developer can fix it the caller, not the line of the callee (the function definition) of which there is nothing wrong. I have to disagree with Derrick's comments when closing this report. Normal developers shouldn't have to install third-party libraries or write their own stacktrace code just to find out where they're calling their own functions incorrectly! It's annoyed the hell out of me (and others I know who uses PHP) for years now, and I *really* can't believe (having just found out today) that this is considered 'expected behaviour' and a 'bogus' bug report! Derrick, are you sure? Any chance we could get this re-opened and/or fixed properly? Thanks. Expected result: ---------------- The 'missing argument' warning/error should report the line number of the caller, not the function ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35313&edit=1

« previous php.bugs (#88616) next »