3v4l.org

run code in 300+ PHP versions simultaneously
<?php version_compare(PHP_VERSION, '5.4', '>=');

preferences:
49.88 ms | 402 KiB | 5 Q