3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print preg_replace('/[^\d\.]/', '', 0.000009); print "<br/>"; print preg_replace('/[^\d\.]/', '', '0.000009');
based on nFphc
Output for 5.2.2 - 7.3.0
9.06<br/>0.000009
Output for 4.3.0 - 5.2.1
906<br/>0.000009