Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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