3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $domain['items']['dom'] = 'com.РФ'; $is_dot = strrpos($domain['items']['dom'], '.'); $domain_suffix = ($is_dot === FALSE )?$domain['items']['dom']:mb_substr($domain['items']['dom'],$is_dot+1); echo $domain_suffix; echo mb_strtoupper('ау');
Output for 5.6.0 - 7.1.0
РФАУ
Output for 4.3.0 - 5.5.38
РФау