1--TEST--
2Bug #21744 (strip_tags misses exclamation marks in alt text)
3--FILE--
4<?php
5$test = <<< HERE
6<a href="test?test\\!!!test">test</a>
7<!-- test -->
8HERE;
9
10print strip_tags($test, '');
11print strip_tags($test, '<a>');
12?>
13--EXPECT--
14test
15<a href="test?test\!!!test">test</a>
16