3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $col_name = "#1.ID"; $col_name = preg_replace('/#(\d+)\./', 't\1.', $col_name); echo $col_name;
based on bpAcT
Output for 4.3.0 - 7.1.0
t1.ID