php-src/ext/standard/tests/strings/bug40637.phpt
2007-02-26 09:58:04 +00:00

14 lines
226 B
PHP

--TEST--
Bug #40637 (strip_tags() does not handle single quotes correctly)
--FILE--
<?php
$html = '<span title="Bug \' Trigger">Text</span>';
var_dump(strip_tags($html));
echo "Done\n";
?>
--EXPECTF--
string(4) "Text"
Done