Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function iloczyn(){
- $ilosc = count($this->getZbiory());
- $this->wynik = $this->zbiory[0];
- for($i=1; $i < $ilosc;$i++)
- {
- $this->wynik = array_intersect($this->wynik, $this->zbiory[$i]);
- }
- $this->wynik = array_values($this->wynik);
- return $this->wynik;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement