3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(basename('/var/www/html/static3.arrivo.ru/temp/кЮМЮ/дНЛХМХЙЮМЮ/яЮМРН дНЛХМЦН 28/йНОХЪ Dominikana-Santo-Domingo-muzey-yantarya-flickr.com-stanleygee.jpg'));
Output for 5.0.0 - 7.1.0
string(66) " Dominikana-Santo-Domingo-muzey-yantarya-flickr.com-stanleygee.jpg"
Output for 4.3.0 - 4.4.9
string(76) "йНОХЪ Dominikana-Santo-Domingo-muzey-yantarya-flickr.com-stanleygee.jpg"