Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
5
Task/String-length/PHP/string-length.php
Normal file
5
Task/String-length/PHP/string-length.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
foreach (array('møøse', '𝔘𝔫𝔦𝔠𝔬𝔡𝔢', 'J̲o̲s̲é̲') as $s1) {
|
||||
printf('String "%s" measured with strlen: %d mb_strlen: %s grapheme_strlen %s%s',
|
||||
$s1, strlen($s1),mb_strlen($s1), grapheme_strlen($s1), PHP_EOL);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue