From: [EMAIL PROTECTED]
Operating system:
PHP version: 5CVS-2004-02-17 (dev)
PHP Bug Type: Feature/Change Request
Bug description: warning msg on missing function argument should mention file/line of
caller too
Description:
------------
usually the location of the caller what you really want to know here,
especially if you are trying to track this down from not-so-recent
messages in your error_log ...
Reproduce code:
---------------
<?php
function foo($bar) {
}
foo();
?>
Expected result:
----------------
Warning: Missing argument 1 for foo() in foo.php on line 2, called in
foo.php on line 4
Actual result:
--------------
Warning: Missing argument 1 for foo() in - on line 2
--
Edit bug report at http://bugs.php.net/?id=27290&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27290&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27290&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27290&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27290&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27290&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27290&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27290&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27290&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27290&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27290&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27290&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27290&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27290&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27290&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27290&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27290&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27290&r=float