3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $price='105'; $filter='501'; if($price>'500'||$filter='200-500') if($price>'200'||$filter='100-200') if($price>'100'||$filter='50-100') if($price>'50'||$filter='20-50') if($price>'20'||$filter='0-20') if($price<='0')$filter=0; echo$filter;
based on aLPum
Output for 4.3.0 - 7.1.0
100-200