3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $price='200.01'; 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 O4Rpc
Output for 4.3.0 - 7.1.7
200-500