3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //echo date('m/d/Y + 3 days'); //echo date('F d Y', strtotime(date('m/d/Y') . ' + 4 days')); $accNo = '123456789'; $masked = (substr($accNo, -3)); echo str_repeat('X', 12 - strlen($masked)).$masked;
Output for 4.3.0 - 7.1.0
XXXXXXXXX789