|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4686 | major | always | 07-27-11 04:33 | 07-27-11 04:33 | |
|
|
|||||
| Reporter: | gislik | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.14 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| There are no notes attached to this issue. |