3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $domain['items']['dom'] = 'РФ'; $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;
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
РФ
Output for hhvm-3.10.0

Process exited with code 153.