3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = 'cs_CZ.ISO8859-2'; setlocale( LC_CTYPE, $locale); $char = 'ž'; echo "Testing strtoupper('{$char}'):\n"; echo "Expected result: Ž\n"; echo 'Actual result: ' . strtoupper($char) . "\n";

preferences:
56.19 ms | 405 KiB | 5 Q