Anonymous | Login | Signup for a new account | 12-17-2024 08:26 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 3.0.19 | ||||||
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) ... |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |