#21311 [Com]: strip_tags strips everything after <!DOCTYPE

From: Date: Fri, 03 Jan 2003 12:12:29 +0000
Subject: #21311 [Com]: strip_tags strips everything after <!DOCTYPE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28967@lists.php.net to get a copy of this message
ID: 21311 Comment by: work@sopnet.ch Reported By: work@sopnet.ch Status: Closed Bug Type: Strings related Operating System: WinXP PHP Version: 4.3.0 New Comment: Oh, funny new year questions... >When was PHP 4.3.0 released? 27-Dec-2002 >When did you report this bug? 31-Dec-2002 ----- Download of latest Stable (4.3.x-dev) does not help. In which version from http://snaps.php.net, Stable (4.3.x-dev) or Latest CVS (4.4.x-dev), is it fixed? Please can somebody answer clearly? Thanks, Claudio Previous Comments: ------------------------------------------------------------------------ [2003-01-03 04:33:42] derick@php.net Trick questions: When was PHP 4.3.0 released? When did you report this bug? ------------------------------------------------------------------------ [2003-01-03 04:32:48] devilkin@gmx.net Was this fixed in the 4.4 or in 4.3? ------------------------------------------------------------------------ [2002-12-31 09:19:16] rasmus@php.net Fixed in CVS ------------------------------------------------------------------------ [2002-12-31 07:32:40] work@sopnet.ch $str1 = "Hello <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"> World."; $str1 = strip_tags($str1); After this $str1 contains only 'Hello' and not 'Hello World.' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21311&edit=1

« previous php.bugs (#28967) next »