summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug40637.phpt
blob: d6b56918ff83780b2fd93f201ca0d744a0c37def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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