3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'привет'; $str2 = 'Hello'; echo $str . "\n"; echo strtoupper($str) . "\n"; echo $str2 . "\n"; echo strtoupper($str2) . "\n"; echo $str.$str2 . "\n"; echo $str == strtoupper($str);

preferences:
36.7 ms | 402 KiB | 5 Q