Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001705 [Quercus] minor always 04-24-07 20:44 04-25-07 04:43
Reporter snb View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.1
Summary 0001705: problems with preg_split() results when using sub patterns and branches
Description It appears that the fix for bug 0001673 caused a new problem with preg_split(). Using the latest svn version of Quercus, the test script I provided in that bug (http://bugs.caucho.com/file_download.php?file_id=14&type=bug) [^] gives the following output with Quercus:
Array ( [0] => This is a string with a nowiki tag: ''' [1] => nowiki [2] => [3] => > 
 [4] => [[blah blah]]''' )

Array ( [0] => Here's something with an html comment: [1] => [2] => !-- [3] => this is a
 comment --> )

And with PHP 5.2.1 I get:
Array ( [0] => This is a string with a nowiki tag: ''' [1] => nowiki [2] => [3] => > 
 [4] => [[blah blah]]''' )

Array ( [0] => Here's something with an html comment: [1] => [2] => [3] => [4] => !--
 [5] => this is a comment --> )

Now the string with the nowiki tags is split the same way, but the one with the HTML comment gives different results with Quercus.
Additional Information
Attached Files

- Relationships

- Notes
(0001860)
nam
04-25-07 04:43

php/152v
 

- Issue History
Date Modified Username Field Change
04-24-07 20:44 snb New Issue
04-25-07 04:43 nam Status new => assigned
04-25-07 04:43 nam Assigned To  => nam
04-25-07 04:43 nam Status assigned => closed
04-25-07 04:43 nam Note Added: 0001860
04-25-07 04:43 nam Resolution open => fixed
04-25-07 04:43 nam Fixed in Version  => 3.1.1


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