Open jj5 opened 7 years ago
The offsets in the serialization format are binary, not unicode. So on line 22 instead of:
$this->string = preg_split('//u', $string, -1, PREG_SPLIT_NO_EMPTY);
Try just:
$this->string = $string;
Hello @jj5, I think it would be nice and helpful to open directly pull requests to implement your suggestions, WDYT?
The offsets in the serialization format are binary, not unicode. So on line 22 instead of:
Try just: