xref: /PHP-8.0/ext/mbstring/tests/bug79037.phpt (revision 2bcbc95f)
1--TEST--
2Bug #79037: global buffer-overflow in `mbfl_filt_conv_big5_wchar`
3--FILE--
4<?php
5
6var_dump(mb_convert_encoding("\x81\x3a", "UTF-8", "CP950"));
7
8?>
9--EXPECT--
10string(1) "?"
11