title: PHP get_class_methods() returning null when methods exist
body: <p>I have a class I'm using with three methods, the constructor and two others.  When I run <code>get_class_methods(new classForTesting())</code> or <code>get_class_methods('classForTesting')</code> it returns null, even though there are three methods in the class. I've spent more time Googling this problem than I'd care to admit, to no avail.</p>
  
  <p>Why is <code>get_class_methods()</code> not working for me?  Have I set up my class improperly or is it something else?</p>
  
  <p><strong>EDIT:</strong>  This is part of a codebase I'm working with at a company, and I'm not sure how much I'm allowed to post publicly.  What I've posted below is a pared down version of what I'm working with.  The code is basically the same, but the first class is much longer and has more functions.</p>
  
  <p>My code:</p>
  
  <pre><code>class someOtherClass {
      private $aVar;
  
      public function someFunction() {
          return "data";
      }
  }
  
  class classForTesting {
      public $testVar;
  
      public function classForTesting () {
          return true;
      }
  
      public function methodTrue () {
          return true;
      }
  
      public function methodFalse () {
          return false;
      }
  }
  </code></pre>