xref: /PHP-8.2/ext/mbstring/tests/gh9248.phpt (revision d013d949)
1--TEST--
2Bug GH-9248 (Segmentation fault in mb_strimwidth())
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7var_dump(mb_strimwidth('The quick brown fox', 0, 8));
8?>
9--EXPECT--
10string(8) "The quic"
11