3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(setlocale(LC_ALL, 'en_US.UTF-8')); var_dump(pathinfo('Снимок экрана 2020-09-21 в 13.05.29.png', PATHINFO_FILENAME));
based on IsUBA
Output for 7.2.0 - 7.2.34, 7.3.0 - 7.3.26, 7.4.0 - 7.4.13, 8.0.0 - 8.0.2
string(11) "en_US.UTF-8" string(48) "Снимок экрана 2020-09-21 в 13.05.29"