php class, method from file
<p>how insert method in class from another file?
Now i get error:</p>

<p>`T_FUNCTION' in C:\wamp\www\index.php on line 9</p>

<pre><code>    index.php file:
    &lt;?php

    class cars
    {
        public function go()
        {
            echo 'go go';
        }    
        include('stop.php');
    }

    $c = new cars;
    $c-&gt;go();
    ?&gt;

    stop.php file
    &lt;?php
    public function stop()
    {
        echo 'stop method';
    }

?&gt; 
</code></pre>
