3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace('/[^0-9.]+/g', '', '10000.00'));

preferences:
55.15 ms | 402 KiB | 5 Q