Fixed PHP to be OO