- array_map: documentation ( source)
- var_dump: documentation ( source)
- filter_var: documentation ( source)
<?php
$hehe = [
"xd",
"11",
"1a1",
"a11",
"b1",
"3",
"0",
"FFxD",
"0x44"
];
array_map(function($value){
var_dump( filter_var($value, FILTER_VALIDATE_INT) );
}, $hehe);