ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

What will be the output of the following PHP code?
<?php
   define("GREETING","Hello you! How are you today?");
   echo constant("GREETING");
?>

Answer & Solution
Correct Answer: Option A
The define() function defines a constant.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.