Skip to content

Commit dd95144

Browse files
committed
Add mbstring to readme example
1 parent 812f227 commit dd95144

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,12 @@ PHP's standard string functions.
105105

106106
```php
107107
// Standard library
108-
strtoupper('fòôbàř'); // 'FòôBàř'
109-
strlen('fòôbàř'); // 10
108+
strtoupper('fòôbàř'); // 'FòôBàř'
109+
strlen('fòôbàř'); // 10
110+
111+
// mbstring
112+
mb_strtoupper('fòôbàř'); // 'FÒÔBÀŘ'
113+
mb_strlen('fòôbàř'); // '6'
110114

111115
// Stringy
112116
s('fòôbàř')->toUpperCase(); // 'FÒÔBÀŘ'

0 commit comments

Comments
 (0)