title: Does Php support method overloading
body: <p>Does php support method overloading. While trying below code it suggests it supports method overloading. Any views</p>
  
  <pre><code>class test
  {
    public test($data1)
    {
       echo $data1;
    }
  }
  
  class test1 extends test
  {
      public test($data1,$data2)
      {
         echo $data1.' '.$data2;
      }
  }
  
  $obj = new test1();
  $obj-&gt;test('hello','world');
  </code></pre>
  
  <p>As i have overload the method it gives the output as "hello world". 
  Above code snippet suggests php supports method overloading. So my question is does php support method overloading.</p>