3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = 'someprefix3333'; if($val > 0){ echo $val . ' is greater than 0'; } else { echo $val . ' is NOT greater than 0'; }
Output for 8.0.0 - 8.0.23, 8.1.0 - 8.1.10
someprefix3333 is greater than 0
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.30
someprefix3333 is NOT greater than 0

preferences:
62.3 ms | 410 KiB | 5 Q