3v4l.org

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