They do use PHP5's OOP features in Thrift. I'm guessing that the FaceBook code covers a long time period. The parts that have been leaked are core site functionality, which means they were probably written early on. PHP5 was still quite new and untested when FaceBook was developed in 2004.