Anonymous | Login | Signup for a new account | 12-17-2024 08:39 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 | ||||
0001502 | [Quercus] | major | always | 12-10-06 08:24 | 12-12-06 06:32 | ||||
Reporter | at4u | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.22 | ||||||
Summary | 0001502: stristr implementation seems to be buggy | ||||||||
Description |
Hi there, while testing a PHP Java bridge and server side JVM management for performance reasons I installed Resin 3.0.22. I found the following bug while doing so: Script: <?php if (stristr ("bug","bug")) { echo "Everything works as expected"; } else { echo "We found a new bug here!"; } ?> Actual result: Output: "We found a new bug here!" Expected: Output: "Everything works as expected" |
||||||||
Additional Information |
Same for the following comparision: if (stristr ("bugab","bug")) { echo "Everything works as expected"; } else { echo "We found a new bug here!"; } Looks like Quercus ignores a matches if its at the beginning of the string. |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |