3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'Čovjek'; echo substr(strtolower($string), 0, 1);

preferences:
73.91 ms | 1487 KiB | 5 Q