| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function benchUtfStringRandomAccessWithUnicode(): void |
||
| 44 | { |
||
| 45 | $text = 'abcdefghijklmnopqrstuvwxyz |
||
| 46 | áéíóúýěřťǔǐǒǎšďȟǰǩľžčǚň |
||
| 47 | 🦋😄😃😀😊😉😍😘😚😗😂👿😮😨😱😠😡😤😖😆😋👯 |
||
| 48 | P\xf8\xed\xb9ern\xec \xbelu\xbbou\xe8k\xfd k\xf3d \xfap\xecl \xef\xe1belsk\xe9 k\xf3dy |
||
| 49 | xℤⅿↈⅬ⅀ↆℜℝ⅗ℾ℧ⅰℓⅯⅵⅣ⅒21⅞'; |
||
| 50 | |||
| 51 | $str1 = new UtfString($text); |
||
| 52 | $str1->offsetGet(10); |
||
| 53 | $str1->offsetGet(100); |
||
| 54 | $str1->offsetGet(20); |
||
| 55 | $str1->offsetGet(0); |
||
| 56 | } |
||
| 58 |