ID: 21453 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Strings related Operating System: Windows XP PHP Version: 4.3.0 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-01-06 01:14:11] [EMAIL PROTECTED] A "<" as plaintext is something strip_tags can't make much sense of, sure. My previous report ( http://bugs.php.net/bug.php?id=21253 ) was indeed bogus, but what about this. <?php print("<pre>"); $test = "<table>\n<tr><td>first cell before < first cell after</td></tr>\n<tr><td>second cell before < second cell after</td></tr>\n</table>\n"; $testarray = explode("\n",strip_tags($test)); print_r($testarray); print("</pre>"); /* 4.2.3 ===== Array ( [0] => [1] => first cell before [2] => second cell before [3] => [4] => ) 4.3.0 ===== Array ( [0] => [1] => first cell before ) */ ?> Is this also per design? Parsing third-party webpages created by someone/some program that disregards that < should be used instead of "<" became a bit more difficult with 4.3.0. Not hard to code around, but certainly an annoyance compared to 4.2.3. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21453&edit=1