function task($y = null, $z = null){
$x = 1;
while($x <= $y){
if($z == 1){
if($x == 10){
echo " [Равно] ".'<br />';
$x++;
}
}else{
echo $x.'<br />';
$x++;
}
}
}
task(15, 1);
preg_match_all('/<div class="web_http(.*?)\>/s', $content, $id);
for ($x=0; $x<count($id[1]); $x++){
echo $x.'<br />';
}