Add default value for length in mb_substr and mb_strcut #133
In this commit(s) I added "null" default values for length in mb_strcut and mb_substr.
I added this similar to function array_slice (length parametr) php.net/manual/en/function.array-slice.php
I think no great BC there. All exist tests passed.
If you like this idea, I can add tests for my patch.
Yes, I know about mb_internal_encoding.
The text was updated successfully, but these errors were encountered: