3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function matchIndetifier($str) { if (ucfirst($str) == $str) { //Ullllll } else if (strtolower($str) == $str) { //llllll } else if (strtoupper($str) == $str) { //UUUUUU } else if (isnumeric($str)) { //999999 } }
Output for 4.3.0 - 7.2.0