3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string="這是wibibi測試字串"; echo mb_strlen( $string,0,8,"utf-8");
Output for 5.2.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: mb_strlen() expects at most 2 parameters, 4 given in /in/VuhjA on line 3
Output for 5.0.0 - 5.2.2
<br /> <b>Warning</b>: mb_strlen() expects at most 2 parameters, 4 given in <b>/in/VuhjA</b> on line <b>3</b><br />
Output for 4.3.0 - 4.4.9
<br /> <b>Warning</b>: Wrong parameter count for mb_strlen() in <b>/in/VuhjA</b> on line <b>3</b><br />