Mantis Bugtracker
  

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

- Relationships

- Notes
(0001647)
nam
12-12-06 06:32

php/1123
 

- Issue History
Date Modified Username Field Change
12-10-06 08:24 at4u New Issue
12-12-06 06:31 nam Status new => assigned
12-12-06 06:31 nam Assigned To  => nam
12-12-06 06:32 nam Status assigned => closed
12-12-06 06:32 nam Note Added: 0001647
12-12-06 06:32 nam Resolution open => fixed
12-12-06 06:32 nam Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker