Anonymous | Login | Signup for a new account | 01-05-2025 08:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000512 | [Quercus] | minor | always | 12-19-05 05:53 | 12-30-05 15:21 | ||||
Reporter | bago | View Status | @0@ | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | Platform | x86 | ||||
Status | closed | OS | Windows XP | ||||||
Projection | none | OS Version | 3.0.15 | ||||||
ETA | none | Fixed in Version | 3.0.18 | Product Version | |||||
Product Build | |||||||||
Summary | 0000512: incorrect handling of default parameters (wrong warning) | ||||||||
Description |
A call to a method with default parameters not passed output this warning: Warning: incorrect number of arguments The weird things is that the first time the working doesn't appear. After the second reload I start seeing this "wrong" Warning. |
||||||||
Steps To Reproduce |
function test(param1, param2 = 'default') { print($param1."=>".$param2); } test(param1); >>> Warning: incorrect number of arguments |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0000551) ferg 12-20-05 14:39 |
In the first time Quercus is running in interpreted mode. In the second, it's running in compiled mode, i.e. the bug only exists in compiled mode. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |