Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004686 [Quercus] major always 07-27-11 04:33 07-27-11 04:33
Reporter gislik View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.0.14
Summary 0004686: preg_replace_callback does not return empty groups
Description When running Wordpress 3.2.1 on top of Quercus there was a difference between the results I got from PHP/5.3.4 and Quercus 4.0.18.

The problam is that the implementation for preg_replace_callback (pregReplaceCallbackImpl) does not return empty groups.

When going through the Quercus source code I found the following lines commented out in pregReplaceCallbackImpl.

        /* PHP's preg_replace_callback does not return empty groups
        else
          regs.put(empty);
        */

so it seems PHP's previous implementations did not return empty groups. Uncommenting the else-clause solved my problem running Wordpress on Quercus.
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-27-11 04:33 gislik New Issue


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