Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $array = array('1','34',45,"pro","23","max");
- $array = array_filter($array, function($e) {
- return is_numeric($e);
- });
- print_r($array);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement