php-src/ext/standard/tests/strings/bug23650.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

31 lines
303 B
PHP

--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:
3:
4:
5:abc - def
6:
1:
2:
3:
4:<abc - def>
5:abc - def
6:</abc>