mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
d013d94985
We need to initialize the optional argument `trimmarker` with its default value. Closes GH-9273.
11 lines
199 B
PHP
11 lines
199 B
PHP
--TEST--
|
|
Bug GH-9248 (Segmentation fault in mb_strimwidth())
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
var_dump(mb_strimwidth('The quick brown fox', 0, 8));
|
|
?>
|
|
--EXPECT--
|
|
string(8) "The quic"
|