<?php $petr=array(1,2,4,5,6,8,4,7,5,6); function bazar($cyfr){ return ($cyfr & 1); } $petr_fil=array_filter($petr, bazar); print_r($petr); print_r($petr_fil);
You have javascript disabled. You will not be able to edit any code.