Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
512 | minor | always | 12-19-05 05:53 | 12-30-05 15:21 | |
|
|||||
Reporter: | bago | Platform: | x86 | ||
Assigned To: | OS: | Windows XP | |||
Priority: | normal | OS Version: | 3.0.15 | ||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|||||
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: | |||||
System Description: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|