What Will Be The Output Of The Following Php Code Before The #356
What will be the output of the following PHP code? (Before the version PHP 5.2)</p> <pre><code class="language-php" line="1"> class StringThing {} $st = new StringThing(); print $st; </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 Objects and Databases - PHP Object Advanced Features - Quiz No.3.
What will be the output of the following PHP code? (Before the version PHP 5.2)
class StringThing {} $st = new StringThing(); print $st;
Object Not Found
Object id #1
PHP Catchable fatal error
Cannot initialize object