3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $number = 1; $answer = "p__v_"; $letter = mb_substr( $answer , 2, 1 ); $answer = preg_replace('/'.$letter.'/u', '_',$answer,1); echo $answer;
based on p0ppV
Output for 5.3.21 - 7.3.0beta1
p__v_