1--TEST--
2mb_strimwidth() is deprecated with negative width
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7var_dump(mb_strimwidth("some string", 1, -2, '...', 'ASCII'));
8?>
9--EXPECTF--
10Deprecated: mb_strimwidth(): passing a negative integer to argument #3 ($width) is deprecated in %s on line %d
11string(8) "ome s..."
12