title: method_exists returning false
body: <p>I am new to php oop so please bear with me...</p>
  
  <p>I have a method in a class called regions that is not returning a result and when I use <code>method_exists</code> it say it does not exist.  I can not see what I am doing wrong.</p>
  
  <p>This is the class:</p>
  
  <pre><code>&lt;?php
  class SeniorMentor {
      public $regions;
  
      public function __toString() {
  
            $output = '';   
              $output .= $this-&gt;uid . "&lt;br&gt;";
              $output .= $this-&gt;fName . "&lt;br&gt;";
              $output .= $this-&gt;lName . "&lt;br&gt;";
              $output .= $this-&gt;email . "&lt;br&gt;";
              return $output;
      }
  
      public function regions() {
          $uid = 120;
          include 'classes/con.php';  
      $stmt = $conn-&gt;prepare('SELECT region, region_id FROM regions WHERE uid = :uid');
      $stmt-&gt;execute(array('uid' =&gt; $this-&gt;uid));
  
      while($row2 = $stmt-&gt;fetchAll(PDO::FETCH_KEY_PAIR)) {
       $regions = $row2;
       return $regions;
          }           
      }
  } 
  </code></pre>
  
  <p>This is the script calling it:</p>
  
  <pre><code>&lt;?php
  
  include 'classes/con.php';
  include 'classes/SeniorMentor.php';
  
  $uid = 120;
  
  $seniorMentor = new SeniorMentor;
  
  echo $seniorMentor-&gt;regions($uid);
  
  var_dump(method_exists($seniormentor,'regions'));
  
  $sq = $conn-&gt;query("SELECT * FROM primary_profile", PDO::FETCH_INTO, $seniorMentor);
  
  while($row = $sq-&gt;fetch()) {
  
      echo "$row &lt;br/&gt;";
  }
  
  ?&gt;
  </code></pre>
  
  <p>Thanks for taking a look</p>