3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = "2_【23区・千葉】"; echo strlen( $tmp ) *(-1) + 3 ; $tmp = mb_strimwidth($tmp , strlen( $tmp ) *(-1) + 3 , strlen($tmp ) - 3 ); echo $tmp ;

preferences:
47 ms | 402 KiB | 5 Q