Anonymous | Login | Signup for a new account | 12-17-2024 10:54 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 | ||||
0001257 | [Quercus] | minor | always | 07-18-06 13:56 | 07-18-06 16:32 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.20 | Product Version | 3.0.19 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |