title: php check if abstract method exists
body: <pre><code>abstract class A{
     abstract test();
     function __construct (){
         //check if test method exists on B//
     }
  }
  
  class B extends A{
  
  }
  
  new B();
  </code></pre>
  
  <p>my question is ... is there a way to check if the <code>test</code> method exists on <code>class B</code>?
  so I can avoid the fatal error ?</p>
  
  <p>hope it makes sense.</p>