Porsche's next competition-focused sports car was the 904 in 1964, and some of them continued to use the four-cam four-cylinder engine. 

However, the writing was on the wall that four cylinders might not be enough for top-level racing anymore because Porsche also installed the new 911's flat six into some 904s.