PHP Code:
$arraycount = count($array);
for($i = 0; $i < 3; $i++) // note the 3 here
{
$random = rand(0, $arraycount);
$array[$random] = "New Content :O!";
}
Probably can be done lots better though. (by smarter people) It also wouldn't stop the content from being changed twice. :P