3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_substr("香港亿阳实业钻井工程施工服务应付账款转让项目(二期)", 0, 8, 'utf-8') . '****' . mb_substr("香港亿阳实业钻井工程施工服务应付账款转让项目(二期)", -8, 'utf-8'));
based on QoeGL
Output for 7.0.0 - 7.2.0
Warning: mb_substr() expects parameter 3 to be integer, string given in /in/hCM7h on line 3 string(28) "香港亿阳实业钻井****"
Output for 5.4.10 - 5.6.28
string(28) "香港亿阳实业钻井****"
Output for 5.3.20 - 5.3.29
Warning: mb_substr() expects parameter 3 to be long, string given in /in/hCM7h on line 3 string(28) "香港亿阳实业钻井****"