3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( version_compare('1.0.0', '1.0.1', '<') );

preferences:
30.16 ms | 402 KiB | 5 Q