3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo mb_strlen("안녕", "utf-8"); echo strlen("안녕", "utf-8");
Output for 5.3.0 - 7.1.0
2 Warning: strlen() expects exactly 1 parameter, 2 given in /in/XgmEP on line 3
Output for 5.2.3 - 5.2.17
2 Warning: Wrong parameter count for strlen() in /in/XgmEP on line 3
Output for 4.3.0 - 5.2.2
2<br /> <b>Warning</b>: Wrong parameter count for strlen() in <b>/in/XgmEP</b> on line <b>3</b><br />