3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $♫ = "music"; var_dump( $♫ ); // string(5) "music" $string = "♫"; echo mb_substr($string, 0, 3);
Output for 4.3.0 - 7.2.0
string(5) "music" ♫