mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
add new test
This commit is contained in:
parent
94d7b8b004
commit
666370d7ee
13
ext/standard/tests/strings/bug40637.phpt
Normal file
13
ext/standard/tests/strings/bug40637.phpt
Normal file
@ -0,0 +1,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
|
Loading…
Reference in New Issue
Block a user