3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = '$123,34.00A'; $var2 = '12334.00'; $reg = "/\d[.,]\d/"; print preg_match($reg,$var2); ?>
Output for 4.3.0 - 7.1.0
1