3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = "hello"; strtoupper ( $string1 ); echo $string1; ?>

preferences:
35.93 ms | 402 KiB | 5 Q