title: magic function __call function is not working
body: <p>I am trying to work on Overloading using magic function</p>
  
  <p>Here is my code:</p>
  
  <p>class file1</p>
  
  <pre><code>    class vLiteUser{
          public function __call($methodname,$arguments)
          {
              if($methodname=='UserLogin'){
                  switch(count($arguments)){
                      case 1:
                                  $this-&gt;UserLogin($arguments[0]);
                          break;
                      case 2:
                                  $this-&gt;UserLogin($arguments[0],$arguments[1]);
                          break;
                      default:    echo "string";
                                  break
                  }
              }   
          }    
  
      public function UserLogin($data0='')
      {
          echo $data0;
      }
  
      public function UserLogin($data0='',$data2='')
      {   
              echo $pass
      }
  } ?&gt;
  </code></pre>
  
  <p>I have created object in another file </p>
  
  <pre><code> $userObj = new vLiteUser();
   $userObj-&gt;UserLogin(data0,data1);
   $userObj-&gt;UserLogin(data0);
  </code></pre>
  
  <p>My be something I have missing and not able to find what exactly it is</p>
  
  <p>Also I want to ask is private functions also covered in overloading.</p>