3v4l.org

run code in 300+ PHP versions simultaneously
<?php $versions = ['7', '7.2', '8','8.2', '8.2.3', '8.3', '8.2.3.8.alpha']; while ($version1 = array_pop($versions)) { foreach ($versions as $version2) { echo $version1.' '.(version_compare($version1,$version2) < 0 ? '<' : '>=').' '.$version2."\n"; } }

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
151.04 ms | 1629 KiB | 12 Q