Print the answer
echo " LCM = " , ▁ $ lcm , STRNEWLINE " , Length = " , ▁ $ length , ▁ " " ; STRNEWLINE echo ▁ " Indexes = " for ( $ i = 0 ; $ i < $ n ; ++ $ i ) if ( $ lcm % $ arr [ $ i ] == 0 ) echo $ i , " ▁ " ; } }