output issue with command line
<p>main.php</p>

<pre><code>&lt;?php
mb_internal_encoding("UTF-8");
require_once('./TController.php');

TController::doMain($argc, $argv);

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

<p>TController.php</p>

<pre><code>&lt;?php
require_once(dirname(__FILE__)."/A.php");
require_once(dirname(__FILE__)."/../../B.php");
require_once(dirname(__FILE__)."/../../C.php");
require_once(dirname(__FILE__)."/D.php");
require_once(dirname(__FILE__)."/E.php");
class TController
{
    public function doMain($argc, $argv)
    {
        StockPriceDefiner::defineStock();

        if($argc != 10) {
            $file = "main.php";
            echo &lt;&lt;&lt;EOT
usage:
php $file year month day width 500 ana_ana isDiv

ex):
input parameters
EOT;
            return;
        }
        print_r($argv); 
    }
}
?&gt;
</code></pre>

<p>I have tried to <code>php main.php [enter]</code> from the command prompt but the usage above isn't displayed. is there anything incorrect you can spot, please help me. </p>

<p>[<strong>UPDATE</strong>]<br>
there is no error, just nothing is displayed.</p>
