3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $phone = "983456"; $label = "%".substr($phone, 0, 3)."%".substr($phone, 3, 3)."%".substr($phone, 6, 4)."%"; echo $label;
based on EiGGQ
Output for 4.3.0 - 7.1.7
%983%456%%