cvs: php4(PHP_4_3) /ext/standard/tests/strings bug23650.phpt

From: Date: Fri, 16 May 2003 06:21:57 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard/tests/strings bug23650.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20955@lists.php.net to get a copy of this message
moriyoshi Fri May 16 02:21:57 2003 EDT Added files: (Branch: PHP_4_3) /php4/ext/standard/tests/strings bug23650.phpt Log: MFH(r-1.1): added test case for bug #23650 Index: php4/ext/standard/tests/strings/bug23650.phpt +++ php4/ext/standard/tests/strings/bug23650.phpt --TEST-- Bug #23650 (strip_tags() removes hyphens) --FILE-- <?php $str = <<< HERE 1:<!-- abc - --> 2:<!doctype -- > 3: 4:<abc - def> 5:abc - def 6:</abc> HERE; echo strip_tags($str); echo strip_tags($str, '<abc>'); ?> --EXPECT-- 1: 2: ?> --EXPECT-- 1: 2: 3: 4: 5:abc - def 6: 1: 2: 3: 4:<abc - def> 5:abc - def 6:</abc>

« previous php.cvs (#20955) next »