title: Call class method with variable
body: <p>I have the following class:</p>
  
  <pre><code>class Actions_con extends Calls
  {
      public function __construct()
      {
          parent::__construct();
      }
  
      public function redirect()
      {
          $this-&gt;_data['request'] = '_' . $this-&gt;url[3] . '()';
          return $this-&gt;{$this-&gt;_data['request']};
      }
  }
  </code></pre>
  
  <p>In the parent class <code>Calls</code> I have the following method:</p>
  
  <pre>protected function <b>_login()</b>{
      echo 'login';
  }</pre>
  
  <p>In my base class the property <code>$this-&gt;url[3]</code> is equal to "login". And what I want to do is to call this method by this variable name. Is it even possible?</p>