xref: /PHP-8.3/ext/mbstring/tests/gh13123.phpt (revision 67051eb8)
1--TEST--
2Segfault in mb_fast_convert() when mbstring.encoding_translation is enabled (GH-13123)
3--EXTENSIONS--
4mbstring
5--POST_RAW--
6Content-Type: multipart/form-data, boundary=Blah
7
8--Blah
9Content-Disposition: form-data; name="file"; filename="file.txt"
10Content-Type: text/plain
11
12foo
13--Blah
14
15--INI--
16error_reporting=E_ALL&~E_DEPRECATED
17mbstring.encoding_translation=On
18mbstring.http_input=pass
19--FILE--
20<?php
21print "Done!\n";
22?>
23--EXPECT--
24Done!
25