Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1502 | major | always | 12-10-06 08:24 | 12-12-06 06:32 | |
|
|||||
Reporter: | at4u | Platform: | GNU/Linux | ||
Assigned To: | nam | OS: | Gentoo Linux | ||
Priority: | normal | OS Version: | N/A | ||
Status: | closed | Product Version: | 3.0.22 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.0 | ||
|
|||||
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" |
||||
Steps To Reproduce: | Save the script as a PHP file and load it via Resin. | ||||
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. |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|