3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(filter_var(3000.10, FILTER_VALIDATE_REGEXP,array("options"=>array("regexp"=>"/^([1-9][0-9]*|[0-9])(\.[0-9]{2})?$/"))));
based on 0Pl9c