?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
<?php
function onespan>()
{
define("const","I am awesome!");
echo constant("const");
}
one();
?>
<?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”.
Join the Discussion
Login to post a comment or share your explanation.
Login