Mantis - Quercus
Viewing Issue Advanced Details
1526 minor always 12-26-06 17:05 01-18-07 02:42
koreth  
nam  
normal  
closed 3.1.0  
fixed  
none    
none 3.1.1  
0001526: preg_match_all doesn't support PREG_OFFSET_CAPTURE option
The following PHP code causes a Java stack trace to be dumped to the user's browser under Quercus:

<?php
preg_match_all('/(abc)/', "testing", $out, PREG_OFFSET_CAPTURE);
?>

Notes
(0001731)
nam   
01-18-07 02:24   
php/152m

Quercus was not using PREG_PATTERN_ORDER by default when the passed in flag did not specify PATTERN or SET order.