3v4l.org

run code in 150+ 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 P3p8Q
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
200-500