3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function returnFirst($rsrnum) { $char = $rsrnum[0]; return ctype_alpha($char) ? strtolower($char) : '%23'; } echo returnFirst('ADSASTEADS')."\n"; echo returnFirst(2342342)."\n"; echo returnFirst('3SASDAsd')."\n";
Output for 4.3.0 - 7.2.0
a %23 %23