php5 OOP INCLUDE HTML TEMPLATE : Am having issues with this and was informed PHP5 OOP doesn't allow include statement in classes?

Just verifying if this is right or wrong advice, and if right is this resolved in PHP7.