1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-04 13:57:40 +02:00

Merge pull request #27 from NiklasBr/patch-1

Multibyte-aware string function
This commit is contained in:
Andrew
2019-01-11 19:17:37 -06:00
committed by GitHub

View File

@@ -37,7 +37,7 @@ You can also return a value from a function. You can only
return a single value from a function. return a single value from a function.
```php ```php
function capitalize($value) { function capitalize($value) {
return strtoupper($value); return mb_strtoupper($value);
} }
``` ```