Can a class extend both a class and implement an Interface December 23, 2022 by Tarik Try it the other way around: class database extends mysqli implements databaseInterface { ...} This should work.