From: Antony Dovgal Date: Mon, 26 Feb 2007 09:57:54 +0000 (+0000) Subject: new test X-Git-Tag: RELEASE_1_0_1~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a8829137e83467eed2ea959f6a7b592fadf91f3;p=php new test --- diff --git a/ext/standard/tests/strings/bug40637.phpt b/ext/standard/tests/strings/bug40637.phpt new file mode 100644 index 0000000000..fa1a28d824 --- /dev/null +++ b/ext/standard/tests/strings/bug40637.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #40637 (strip_tags() does not handle single quotes correctly) +--FILE-- +Text'; +var_dump(strip_tags($html)); + +echo "Done\n"; +?> +--EXPECTF-- +string(4) "Text" +Done +--UEXPECTF-- +unicode(4) "Text" +Done