3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( version_compare('1.0.0', '1.0.0', '=') );
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.16, 8.3.0 - 8.3.3
bool(true)

preferences:
59.05 ms | 402 KiB | 54 Q