3v4l.org

run code in 300+ PHP versions simultaneously
<?php function привет() { echo 'привет'; } $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:
40.6 ms | 402 KiB | 5 Q