Why is this simple hello world PHP code not working?
<pre><code>class saySomething {

    var $helloWorld = 'hello world';

    function sayHelloWorld($helloWorld)
    {
        echo $helloWorld;
    }

}

$saySomething = new saySomething();
$saySomething-&gt;sayHelloWorld();
</code></pre>

<p>the above gives this error:</p>

<pre><code>Warning: Missing argument 1 for saySomething::sayHelloWorld(), called in C:\xampp\htdocs\test.php on line 15 and defined in C:\xampp\htdocs\test.php on line 7
</code></pre>
