3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $reward_league = 6; //$reward_league = ($reward_league > 5) ? 5 : ($reward_league < 1) ? 1 : $reward_league; $reward_league = ($reward_league > 5) ? 5 : ($reward_league < 1) ? 1 : $reward_league; echo $reward_league;
based on S3HrQ
Output for 5.6.38 - 7.3.0rc3
1