3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d="efwerfwergwergwerg"; $dots = str_repeat('.', 60); $dots = substr($dots, 0, strlen($d)); echo $dots;

preferences:
45.61 ms | 402 KiB | 5 Q