php command line print in object not returning <p>I am trying to run some php from the command line but the php in my class is not being hit.</p> <pre><code>&lt;?php print "1"; try { print ",2"; $a = new myClass(""); } catch (Exception $e) { print $e-&gt;getMessage(); } print ",3"; </code></pre> <p>myClass</p> <pre><code>&lt;?php class myClass{ function __construct($var) { print "My Class"; } } </code></pre> <p>The output I am getting is:</p> <pre><code>1,2 Process finished with exit code 255 </code></pre> <p>Why is the print in the constructor not outputting to the command line?</p>