3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_detect_order()); var_dump(mb_detect_encoding("ЋϊЁγϋГИБЫЫЏωАДрмдп"));
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.29, 8.0.0 - 8.0.19, 8.1.0 - 8.1.6
array(2) { [0]=> string(5) "ASCII" [1]=> string(5) "UTF-8" } string(5) "UTF-8"

preferences:
58.88 ms | 411 KiB | 5 Q