title: How can I get a list of methods that are originally *defined* in a class in php?
body: <p>I'm trying to get a list of methods that were actually defined in a definition for a given class (not just inherited from another class). For example:</p>
  
  <pre><code>class A
  {   function bob()
      {
      }
  }
  class B extends A
  {   function rainbrew()
      {
      }
  
  }
  class C extends B
  {   function bob()
      {
      }
  }
  
  echo print_r(get_defined_class_methods("A"), true)."&lt;br&gt;\n";
  echo print_r(get_defined_class_methods("B"), true)."&lt;br&gt;\n";
  echo print_r(get_defined_class_methods("C"), true)."&lt;br&gt;\n";
  </code></pre>
  
  <p>I'd like the result to be:</p>
  
  <pre><code>array([0]=&gt;bob)
  array([0]=&gt;rainbrew)
  array([0]=&gt;bob)
  </code></pre>
  
  <p>Is this possible?</p>