From: Rui Hirokawa Date: Sat, 24 Sep 2011 02:11:48 +0000 (+0000) Subject: added tests for #40685. X-Git-Tag: php-5.5.0alpha1~1079 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb17a1b216d5205096431a98728889a7fb69dda9;p=php added tests for #40685. --- diff --git a/ext/mbstring/tests/bug40685.phpt b/ext/mbstring/tests/bug40685.phpt new file mode 100644 index 0000000000..1a673e5d15 --- /dev/null +++ b/ext/mbstring/tests/bug40685.phpt @@ -0,0 +1,25 @@ +--TEST-- +Bug #40685 (mb_decode_numericentity() removes '&' in the string) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +string(1) "&" +string(3) "&&&" +string(2) "&#" +string(3) "&#x" +string(4) "=" +string(5) "=" +string(1) "=" +string(1) "="