mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
14 lines
226 B
PHP
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
|