title: PHP - Extend multiple classes
body: <p>With "implements" I can force a class to define certain functions, but I need to add some functions to the interface to avoid duplicate code. This is only possible if I make the class "abstract" and use "extends". But "extends" only accepts one class. Because each of these classes are different, sort of like features of an app, I can't just extend one with the other. So is there any way to have </p>
  
  <pre><code>class My extends Feature1, Feature2, Feature3{
  }
  </code></pre>
  
  <p>??</p>