3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test1 = strcmp('test', 'Test'); $test2 = ('test' > 'Test'); echo $test1 . '\n' . $test2;

preferences:
41.76 ms | 402 KiB | 5 Q