| Anonymous | Login | Signup for a new account | 11-30-2025 07:45 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 | ||||
| 0001125 | [Quercus] | minor | always | 05-18-06 14:06 | 05-19-06 07:11 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product 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. |
||||||||
| Additional Information | 2006/05/17 snapshot | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001149) koreth 05-18-06 14:06 |
Should be under Quercus (thanks, Mantis) |
|
(0001153) ferg 05-19-06 07:11 |
php/035a |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |