Two students with hand guns opened fire in a high school in the central Philippines, killing three fellow students and wounding another seven, police said.