3v4l.org

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

preferences:
38.4 ms | 402 KiB | 5 Q