php filter only numbers

Solutions on MaxInterview for php filter only numbers by the best coders in the world

showing results for - "php filter only numbers"
Isabella
20 Jun 2016
1$output = preg_replace( '/[^0-9]/', '', $string );