<?php for ($i=0; $i <= $dlina; $i++){ for ($k=0; $k<=$dlinaAra2-1;$k++){ if ($ara[$i]==$ara2[$k]){ $ara3[]=$ara2[$k]; } } } ?>
Standard input is empty
Array ( [0] => 1 [1] => 5 )
PHP Notice: Undefined offset: 4 in /home/jNrwV9/prog.php on line 12 PHP Notice: Undefined offset: 4 in /home/jNrwV9/prog.php on line 12 PHP Notice: Undefined offset: 4 in /home/jNrwV9/prog.php on line 12 PHP Notice: Undefined offset: 4 in /home/jNrwV9/prog.php on line 12