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. |