3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(setlocale(LC_CTYPE, '0')); var_dump(pathinfo('Снимок экрана 2020-09-21 в 13.05.29.png', PATHINFO_FILENAME));
based on 51S9F
Output for 8.0.0 - 8.0.2
string(1) "C" string(48) "Снимок экрана 2020-09-21 в 13.05.29"
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.26, 7.4.0 - 7.4.13
string(1) "C" string(36) " экрана 2020-09-21 в 13.05.29"