This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
grapheme_substr inconsistency as compared to substr #73
Open
Description
grapheme_substr
from Intl have differing behavior as compared to substr
:
var_dump(substr('a', 1, null)); // string(0) ""`
var_dump(grapheme_substr('a', 1, null)); // bool(false)
It looks like on php 5.x it also produces warning.
This behavior needs to be investigated against other wrappers and corrected if needed.
Metadata
Metadata
Assignees
Labels
No labels