#20664 [Opn->Ver]: strip_tags strips out exclaimation (!) points

From: Date: Wed, 27 Nov 2002 01:33:38 +0000
Subject: #20664 [Opn->Ver]: strip_tags strips out exclaimation (!) points
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25898@lists.php.net to get a copy of this message
ID: 20664 Updated by: iliaa@php.net Reported By: mark@seventhcycle.net -Status: Open +Status: Verified Bug Type: Strings related Operating System: Linux -PHP Version: 4.3.0RC1 +PHP Version: 4.3.0-dev Previous Comments: ------------------------------------------------------------------------ [2002-11-26 17:44:34] mark@seventhcycle.net Code instance: echo "<P>txt1 = $txt"; $txt = strip_tags($txt, "<b><i><u><a><img>"); echo "<P>txt2 = $txt"; With an input of "Testing!!!?!?!?!!!!!" The output looks like "Testing???" Configure Line: ./configure --with-mysql=/usr/local/mysql \ --with-xml \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-track-vars \ --with-gd \ --with-freetype-dir=/usr \ --enable-gd-native-ttf \ --enable-gd-imgstrttf \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20664&edit=1

« previous php.bugs (#25898) next »