Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
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.