1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/standard/tests/strings/bug40637.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

14 lines
225 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";
?>
--EXPECT--
string(4) "Text"
Done