What Will Be The Output Of The Following Php Codep Pre Langphp #484
What will be the output of the following PHP code?</p> <pre><code class="language-php" line="1"> <?php class Constants { define('MIN_VALUE', '0.0'); define('MAX_VALUE', '1.0'); public static function getMinValue() { return self::MIN_VALUE; } public static function getMaxValue() { return self::MAX_VALUE; } } echo Constants::getMinValue(); echo Constants::getMaxValue(); ?> </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 PHP Constants - PHP Constants - Quiz No.1.