Skip to content

Commit

Permalink
code updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugur KAZDAL committed Dec 25, 2016
1 parent 9c52aa1 commit 1c0a2e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion strlen.php
Expand Up @@ -8,4 +8,8 @@

echo mb_strlen('ö');

//çıktı 1 olacaktır.
//çıktı 1 olacaktır.

//mantıklı olan ise decode etmek
$length = strlen(utf8_decode($s));
//burada karakterleri ? işaretine çevirir ve asıl amaç saymak olduğu için işine yaracaktır.

0 comments on commit 1c0a2e4

Please sign in to comment.