title: What does RETURN TRUE do in a php function?
body: <p>I was just looking at this code and i don't understand what RETURN TRUE does or what the point of it is? Can someone please explain?</p>
  
  <pre><code>class Elephpant {
  
      public $colour;
  
      public function dance() {
          echo "elephpant dances!\n";
          return true;
      }
  }
  </code></pre>
  
  <p>Thankyou in advance ;-)</p>