Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1257 | minor | always | 07-18-06 13:56 | 07-18-06 16:32 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.19 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001257: in_array causes NumberFormatException | ||||
Description: |
PHP: <?php if (in_array(".", array(1))) error_log("yep"); ?> This dies with an exception: java.lang.NumberFormatException: For input string: "." at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224) at java.lang.Double.parseDouble(Double.java:482) at com.caucho.quercus.env.StringBuilderValue.toDouble(StringBuilderValue.java:317) at com.caucho.quercus.env.Value.eq(Value.java:170) at com.caucho.quercus.env.ArrayValue.contains(ArrayValue.java:626) at com.caucho.quercus.lib.ArrayModule.in_array(ArrayModule.java:1473) ... |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|