3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'prefix.column alias'; $pos = strpos ($str, '.'); $posr = strrpos ($str, ' '); echo substr ($str, $pos + 1, $posr - $pos);
based on b92Pp
Output for 5.6.0 - 7.3.0alpha1
column