- strstr: documentation ( source)
- print_r: documentation ( source)
- array_filter: documentation ( source)
- range: documentation ( source)
<?php
$list = range(111111111,999999999,1);
$non_zero = array_filter($list, function($item) {
if(strstr($item, '0')) return false;
});
print_r();