<?
$arr = [
9933, 7687, 9214, 1024, 8339,
7585, 5792, 7799, 3207, 2702,
2996, 4924, 3847, 6293, 2135,
6094, 1928, 2664, 5349, 3151,
4486, 5314, 7750, 3714, 5660,
8040, 7643, 6091, 7395, 6227,
];
foreach ($arr as $elem) {
if (strpos($elem, '3') !== false) {
echo "{$elem} <br />";
}
}
?>