xref: /PHP-8.0/ext/mbstring/tests/bug71606.phpt (revision 418da85f)
1--TEST--
2Bug #71606 (Segmentation fault mb_strcut + mb_list_encodings)
3--SKIPIF--
4<?php
5if (!extension_loaded('mbstring')) die('skip ext/mbstring not available');
6?>
7--FILE--
8<?php
9echo mb_strcut('&quot;', 0, 0, 'HTML-ENTITIES');
10echo 'DONE', PHP_EOL;
11?>
12--EXPECT--
13DONE
14