What is the correct output of the following PHP 7.1 code snippet?
interface exp1
{
const c = }
echo exp1 ::c;
class exp2 implements exp1
{
const c = 'Second Example';
}
echo exp2::c;
?>
Correct Answer:
First Example
Fatal error
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP 5 MCQ Questions