Explicitly invoking constructors in PHP
<p>Let me first clarify that I'm not much familiar with PHP language, since I have been working with Java web and Android. Following is a simple PHP class where I'm trying to invoke explicitly a parameterized constructor.</p>

<pre><code>final class Demo
{
    private $x;
    private $y;             

    public function __constructor($x, $y)
    {
        $this-&gt;x=$x;
        $this-&gt;y=$y;                
    }   

    public function show()
    {
        echo "Sum = ", $this-&gt;x+$this-&gt;y;   
    }
}

$d=new Demo(10, 20);
$d-&gt;show();
</code></pre>

<p>It however displays <code>Sum = 0</code> means that the constructor is not being invoked (In Java, C# and languages alike, it's very handy to invoke constructors somewhat in such way). How can I then invoke the specified parameterized constructor in the above class?</p>
