3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $price='105'; echo$filter=( ($price>'500')?'501': (($price>'200')?'200-500': (($price>'100')?'100-200': (($price>'50')?'50-100': (($price>'20')?'20-50': (($price>'0')?'0-20': '0' ))))));
based on nrUBa
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
100-200