ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

What will be the output of the following PHP code?
<?php
function onespan>()
{
    define("const","I am awesome!");
    echo constant("const");
}
one();
?>

Answer & Solution
Correct Answer: Option A
Using the define function to define the constant “const”.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.