What is the output of the following code run using PHP 5.6.0 or higher? const ONE = 1; class foo { const TWO = ONE * 2; const THREE = ONE + self::TWO; const SENTENCE = 'The value of THREE is '.self::THREE; } echo foo::SENTENCE . "\n";
Correct Answer: The value of THREE is 3
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions