3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $transport = " Koszt: 283,04 zł "; preg_match('/(\d+),(\d*)/', $transport, $transport); var_dump(filter_var($transport[1] . '.' . $transport[2], FILTER_VALIDATE_FLOAT));
based on dFD5k
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
float(283.04)