3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function get_file_extension($file_name) { return substr(strrchr($file_name,'.'),1); } print get_file_extension('1992bee8-8fd3-11e3-8787-b32da4f9060f.xml');
Output for 4.3.0 - 7.1.7
xml