|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 1125 | minor | always | 05-18-06 14:06 | 05-19-06 07:11 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.0.20 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|
|||||
| Summary: | 0001125: Numeric comparisons don't auto-cast strings | ||||
| Description: |
PHP: <?php $foo = "-1"; if ($foo && ($foo > 0)) { error_log("bad!"); } else { error_log("good!"); } ?> This prints "bad!" under Quercus (running in interpreted mode) and "good!" under Zend PHP. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | 2006/05/17 snapshot | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||